/* Suspect File Upload System & Employee Notes Styles */

/* ========================================
   File Button on Suspect Card
   ======================================== */

.files-button {
    display: inline-block;
    padding: 4px 15px;
    font-size: 13px;
    background-color: #f7fafc;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    color: #2d3748;
    min-width: 120px; /* Make button 50% wider */
}

.files-button:hover {
    background-color: #edf2f7;
    border-color: #a0aec0;
}

.files-button-badge {
    color: #718096;
    font-weight: 500;
}

/* ========================================
   File Upload Modal
   ======================================== */

.file-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s;
    padding-top: 84px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.file-modal-content {
    background-color: #ffffff;
    margin: 0 auto 24px auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.file-modal-header {
    padding: 20px 24px;
    background-color: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.file-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
}

.file-modal-subtitle {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #718096;
    font-weight: normal;
}

.file-modal-close {
    color: #a0aec0;
    font-size: 28px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.file-modal-close:hover,
.file-modal-close:focus {
    color: #2d3748;
    background-color: #edf2f7;
}

.file-modal-body {
    padding: 24px;
}

.file-modal-footer {
    padding: 16px 24px;
    background-color: #f7fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
    text-align: right;
}

/* ========================================
   Upload Zone
   ======================================== */

.upload-section {
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.upload-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 16px 0;
}

.file-type-selector {
    margin-bottom: 16px;
}

.file-type-selector label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 6px;
}

.file-type-select {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    background-color: #ffffff;
    color: #2d3748;
}

.file-type-info {
    display: inline-block;
    margin-left: 8px;
    color: #718096;
    font-size: 13px;
    font-style: italic;
}

.upload-drop-zone {
    border: 2px dashed #cbd5e0;
    border-radius: 6px;
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-drop-zone:hover {
    border-color: #4299e1;
    background-color: #ebf8ff;
}

.upload-drop-zone.drag-over {
    border-color: #3182ce;
    background-color: #bee3f8;
    border-style: solid;
}

.upload-drop-zone-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.upload-drop-zone-text {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 8px;
}

.upload-drop-zone-hint {
    font-size: 13px;
    color: #718096;
}

.upload-progress {
    margin-top: 16px;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.upload-progress-file {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 8px;
}

.upload-progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.upload-progress-bar-fill {
    height: 100%;
    background-color: #48bb78;
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.upload-progress-info {
    font-size: 12px;
    color: #718096;
}

.upload-success {
    margin-top: 12px;
    padding: 12px;
    background-color: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 4px;
    color: #22543d;
    font-size: 14px;
}

.upload-error {
    margin-top: 12px;
    padding: 12px;
    background-color: #fff5f5;
    border: 1px solid #fc8181;
    border-radius: 4px;
    color: #742a2a;
    font-size: 14px;
}

/* ========================================
   File Lists
   ======================================== */

.files-list-section {
    margin-bottom: 24px;
}

.files-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 16px;
}

.files-list-title {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-type-icon {
    font-size: 18px;
}

.file-count-badge {
    background-color: #edf2f7;
    color: #4a5568;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.version-history-toggle {
    background: none;
    border: none;
    color: #4299e1;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.version-history-toggle:hover {
    background-color: #ebf8ff;
    color: #2c5282;
}

.file-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.file-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.file-card.current-version {
    border-left: 3px solid #48bb78;
    background-color: #f0fff4;
}

.file-card.inactive-version {
    background-color: #f9fafb;
    border-color: #e2e8f0;
    opacity: 0.85;
}

.file-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 4px;
    word-break: break-word;
}

.file-meta {
    font-size: 12px;
    color: #718096;
}

.file-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.file-btn {
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    background-color: #ffffff;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.file-btn:hover {
    background-color: #f7fafc;
    border-color: #a0aec0;
}

.file-btn-download {
    border-color: #4299e1;
    color: #2c5282;
}

.file-btn-download:hover {
    background-color: #ebf8ff;
}

.file-btn-delete {
    border-color: #fc8181;
    color: #c53030;
}

.file-btn-delete:hover {
    background-color: #fff5f5;
}

.version-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    margin-left: 8px;
}

.version-badge.current {
    background-color: #48bb78;
    color: #ffffff;
}

.version-badge.inactive {
    background-color: #e2e8f0;
    color: #718096;
}

/* Version History */
.version-history {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #cbd5e0;
}

.version-history-header {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.version-history .file-card {
    margin-left: 20px;
}

/* Empty State */
.files-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.files-empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.files-empty-state-text {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 8px;
}

.files-empty-state-hint {
    font-size: 13px;
    color: #a0aec0;
}

/* ========================================
   Mobile Responsive
   ======================================== */

@media (max-width: 768px) {
    .file-modal-content {
        width: 95%;
        margin: 0 auto 16px auto;
        max-height: calc(100vh - 96px);
    }

    .file-modal-header,
    .file-modal-body,
    .file-modal-footer {
        padding: 16px;
    }

    .file-modal-title {
        font-size: 18px;
    }

    .upload-section {
        padding: 16px;
    }

    .upload-drop-zone {
        padding: 30px 16px;
    }

    .file-card-header {
        flex-direction: column;
        gap: 12px;
    }

    .file-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .file-btn {
        flex: 1;
    }

    .file-type-select {
        max-width: 100%;
    }

    .version-history .file-card {
        margin-left: 10px;
    }
}

/* ========================================
   Loading State
   ======================================== */

.files-loading {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.files-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #4299e1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.files-loading-text {
    font-size: 14px;
    color: #4a5568;
}

/* ========================================
   File Type Colors
   ======================================== */

.file-type-linkedin .files-list-title {
    color: #0077b5;
}

.file-type-ai-report .files-list-title {
    color: #8b5cf6;
}

.file-type-resume .files-list-title {
    color: #10b981;
}

.file-type-notes .files-list-title {
    color: #f59e0b;
}

.file-type-company .files-list-title {
    color: #3b82f6;
}

.file-type-other .files-list-title {
    color: #6b7280;
}

/* ========================================
   Employee Notes System
   ======================================== */

.notes-button {
    display: inline-block;
    padding: 4px 15px;
    font-size: 13px;
    background-color: #fef3c7;
    border: 1px solid: #fbbf24;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    margin-left: 8px;
    color: #92400e;
    min-width: 120px; /* Match Files button width */
}

.notes-button:hover {
    background-color: #fde68a;
    border-color: #f59e0b;
}

.notes-button-indicator {
    display: none;
    width: 8px;
    height: 8px;
    background-color: #f59e0b;
    border-radius: 50%;
    margin-left: 4px;
    display: inline-block;
}

.notes-button-badge {
    color: #92400e;
    font-weight: 500;
}

/* Notes Modal uses same base styles as file modal */
.notes-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s;
    padding-top: 84px;
}

.notes-modal-content {
    background-color: #ffffff;
    margin: 0 auto 24px auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s;
}

.notes-modal-close {
    color: #a0aec0;
    font-size: 28px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.notes-modal-close:hover {
    color: #2d3748;
    background-color: #edf2f7;
}

/* Note Textarea */
.note-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    resize: vertical;
    line-height: 1.5;
}

.note-textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.note-version-info {
    display: none;
    font-size: 13px;
    color: #718096;
    margin-bottom: 12px;
    padding: 8px 12px;
    background-color: #f7fafc;
    border-left: 3px solid #48bb78;
    border-radius: 4px;
}

.note-save-status {
    display: none;
    margin-top: 12px;
}

/* Note History */
.note-history-toggle {
    background: none;
    border: none;
    color: #4299e1;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    margin-top: 16px;
    display: none;
}

.note-history-toggle:hover {
    background-color: #ebf8ff;
}

.note-history-container {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #cbd5e0;
}

.note-history-header {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.note-history-item {
    background-color: #f9fafb;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.note-history-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.note-history-version {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    background-color: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
}

.note-history-date {
    font-size: 12px;
    color: #718096;
}

.note-history-preview {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 8px;
    line-height: 1.4;
    font-style: italic;
}

.note-history-view-btn {
    padding: 4px 12px;
    font-size: 12px;
    background-color: #ffffff;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s;
}

.note-history-view-btn:hover {
    background-color: #f7fafc;
    border-color: #a0aec0;
}

/* ========================================
   Threaded Notes Display
   ======================================== */

.notes-thread-container {
    margin-bottom: 20px;
}

.notes-thread-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.notes-thread-header h3 {
    margin: 0;
    font-size: 16px;
    color: #2d3748;
}

.notes-thread-info {
    font-size: 12px;
    color: #718096;
}

.notes-thread-scrollbox {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f8f9fa;
    padding: 12px;
}

.notes-empty-state {
    text-align: center;
    padding: 20px;
    color: #a0aec0;
}

.notes-empty-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.notes-empty-text {
    font-weight: 500;
    margin-bottom: 4px;
}

.notes-empty-hint {
    font-size: 12px;
}

.notes-loading-state {
    text-align: center;
    padding: 30px 20px;
    color: #718096;
}

.notes-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-top-color: #4299e1;
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.notes-loading-text {
    font-size: 14px;
    color: #718096;
}

.note-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.note-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.note-timestamp {
    font-size: 11px;
    color: #718096;
    margin-bottom: 6px;
    font-weight: 500;
}

.note-content {
    background-color: white;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.new-note-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.new-note-label {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.new-note-type-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.new-note-type-row .new-note-label {
    margin-bottom: 0;
}

.note-entry-type-select,
.note-assignee-select {
    font-size: 14px;
    padding: 6px 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background: #fff;
    color: #2d3748;
}

.note-assignee-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.note-assignee-row .new-note-label {
    margin-bottom: 0;
}

.history-entry-action .note-content {
    border-left: 3px solid #dd6b20;
    background: #fffaf0;
}

/* Action status (Open = light yellow, Done = light green) */
.person-info-action-card,
.person-info-history-item.history-entry-action {
    position: relative;
}

.person-info-action-card .person-action-status-text,
.person-info-history-item .person-action-status-text {
    border: 1px solid transparent;
    border-radius: 6px;
}

.person-info-action-card .person-info-action-card-text.person-action-status-text {
    padding: 8px 10px;
}

.person-info-action-card .person-action-status-text.is-open,
.person-info-history-item .person-action-status-text.is-open {
    background: #fffbeb;
    border-color: #fde68a;
}

.person-info-action-card .person-action-status-text.is-done,
.person-info-history-item .person-action-status-text.is-done {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.person-info-history-item .note-content.person-action-status-text {
    border-left: 3px solid #dd6b20;
}

.person-info-action-card.is-done .person-info-action-card-meta,
.person-info-history-item.is-done .note-timestamp {
    padding-right: 24px;
}

.person-action-done-check {
    position: absolute;
    top: 8px;
    right: 10px;
    display: inline-flex;
    line-height: 0;
}

.person-info-history-item .person-action-done-check {
    top: 0;
    right: 2px;
}

/* Actions header: Hide/Show Done toggle */
.person-info-actions-title-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.person-actions-done-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.person-actions-done-toggle:hover {
    background: #edf2f7;
}

.person-actions-done-toggle:focus-visible {
    outline: 2px solid #4299e1;
    outline-offset: 1px;
}

/* Action card footer: comment toggle + buttons */
.person-action-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.person-action-footer-buttons {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.person-action-btn {
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    background: #fff;
    color: #2d3748;
    cursor: pointer;
    white-space: nowrap;
}

.person-action-btn:hover:not(:disabled) {
    background: #f7fafc;
    border-color: #a0aec0;
}

.person-action-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.person-action-btn-done {
    border-color: #86efac;
    color: #166534;
}

.person-action-btn-done:hover:not(:disabled) {
    background: #f0fdf4;
    border-color: #4ade80;
}

.person-action-btn-reopen {
    border-color: #fcd34d;
    color: #92400e;
}

.person-action-btn-reopen:hover:not(:disabled) {
    background: #fffbeb;
    border-color: #f59e0b;
}

.person-action-btn-primary {
    background: #4a90e2;
    border-color: #4a90e2;
    color: #fff;
}

.person-action-btn-primary:hover:not(:disabled) {
    background: #357abd;
    border-color: #357abd;
}

.person-action-comment-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: inherit;
    font-size: 12px;
    padding: 3px 6px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #718096;
    cursor: pointer;
}

.person-action-comment-toggle:hover {
    background: #edf2f7;
    color: #2d3748;
}

.person-action-comment-caret {
    transition: transform 0.15s ease;
}

.person-action-comment-icon {
    position: relative;
    display: inline-flex;
}

.person-action-comment-unread-dot {
    position: absolute;
    top: -3px;
    right: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #EF4444;
    box-shadow: 0 0 0 1.5px #FFFFFF;
    pointer-events: none;
}

.person-action-comment-toggle.is-expanded .person-action-comment-caret {
    transform: rotate(180deg);
}

/* Collapsible comment thread */
.person-action-comments {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    cursor: default;
}

.person-action-comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.person-action-comment {
    background: #f7fafc;
    border: 1px solid #edf2f7;
    border-radius: 5px;
    padding: 6px 8px;
}

.person-action-comment-meta {
    font-size: 11px;
    color: #718096;
    margin-bottom: 2px;
}

.person-action-comment-text {
    font-size: 13px;
    line-height: 1.4;
    color: #2d3748;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.person-action-comments-empty {
    font-size: 12px;
    color: #a0aec0;
    padding: 2px 0;
}

.person-action-comment-composer {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    margin-top: 8px;
}

.person-action-comment-input {
    flex: 1 1 auto;
    font: inherit;
    font-size: 13px;
    padding: 6px 8px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    resize: vertical;
    min-height: 36px;
}

.history-entry-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 1px 6px;
    border-radius: 4px;
    margin-right: 4px;
    vertical-align: middle;
}

.history-entry-badge-note {
    background: #edf2f7;
    color: #4a5568;
}

.history-entry-badge-action {
    background: #feebc8;
    color: #9c4221;
}

/* Mobile responsive for notes */
@media (max-width: 768px) {
    .notes-modal-content {
        width: 95%;
        margin: 0 auto 16px auto;
        max-height: calc(100vh - 96px);
    }
    
    .note-textarea {
        min-height: 150px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .notes-thread-scrollbox {
        max-height: 250px;
    }
}

/* LinkedIn profile shortcut on suspect cards (uses /static/images/linkedin-in-bug.png) */
.btn.suspect-card-linkedin-btn {
    padding: 0;
    border: none;
    background: transparent;
    line-height: 0;
    box-shadow: none;
}
.btn.suspect-card-linkedin-btn:hover,
.btn.suspect-card-linkedin-btn:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 0.88;
}
.btn.suspect-card-linkedin-btn .suspect-card-linkedin-img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}

