/* Dashboard SPA Styles */

/* Status Indicators */
.history-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.status-pending {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-researching {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-complete {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Spinning animation for researching status */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

/* Credit refund notice */
.history-refund-notice {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #22c55e;
    font-size: 12px;
    margin-top: 4px;
    padding: 4px 0;
}

.history-refund-notice svg {
    flex-shrink: 0;
}

/* Check status in active check view */
.check-status-display {
    flex-shrink: 0;
}

.check-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.checks-subject-info {
    text-align: right;
}

.dashboard-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

/* Header Styles */
.dashboard-header {
    background: #1f1f1d;
    border-bottom: 1px solid #2a2f3e;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 60px;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    height: 24px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Credits Badge */
.credits-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: #3b82f6;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.credits-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.credits-badge.low-credits {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.credits-number {
    font-weight: 600;
}

/* User Menu */
.dropdown {
    position: relative;
}

.user-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.user-menu-btn:hover {
    background: #475569;
    border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg-tertiary);
}

.user-email {
    font-size: 14px;
    color: var(--text-secondary);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--bg-tertiary);
}

.dropdown-divider {
    height: 1px;
    background: var(--bg-tertiary);
    margin: 8px 0;
}

/* Main Content - scrolling handled by base-spa.css */
.dashboard-main {
    /* Properties set in base-spa.css */
}

.dashboard-content {
    display: flex;
    height: 100%;
}

/* Sidebar Navigation */
.dashboard-nav {
    width: 240px;
    background: #1a1f2e;
    border-right: 1px solid #2a2f3e;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-btn.active {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Content Area */
.content-area {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.content-area .view-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.content-area .view-container.active {
    display: flex;
}

/* Checks View */
.checks-landing {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.checks-content {
    text-align: center;
    margin-bottom: 60px;
}

.logo-section {
    margin-bottom: 40px;
}

.main-logo {
    width: 150px;
    height: 150px;
    margin-top: 20px;
}


.main-heading {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #00bcd4;
}

.main-subtext {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Input Container */
.input-container {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 600px;
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    border: 1px solid #334155;
    background: #1e293b;
}

.query-input, .chat-input {
    flex: 1;
    padding: 10px 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.2s;
    outline: none;
}

.query-input:focus, .chat-input:focus {
    outline: none;
}

.voice-btn, .chat-voice-btn {
    width: 44px;
    height: 44px;
    margin-right: 8px;
    background: #333;
    color: #666;
    padding: 0;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.voice-btn:hover, .chat-voice-btn:hover {
    background: #444;
    color: #888;
}

.voice-btn.recording, .chat-voice-btn.recording {
    background: #ef4444;
    border-color: #ef4444;
    animation: pulse 1.5s infinite;
}

.submit-btn, .chat-submit-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #00bcd4;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover, .chat-submit-btn:hover {
    background: #00acc1;
    transform: scale(1.05);
}

/* Chat View */
.checks-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
}

.checks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 20px;
}

.checks-title-section {
    flex: 1;
}

.checks-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    margin-top: 0;
}

.checks-subtitle {
    color: var(--text-secondary);
    margin: 0;
}

.new-check-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.new-check-btn:hover {
    background: #475569;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #1b1f2d;
    min-height: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
    align-items: flex-end;
}

.assistant-message {
    align-self: flex-start;
    align-items: flex-start;
}

.message-timestamp {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 5px;
    padding: 0 4px;
}

.message-content {
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.5;
}

.user-message .message-content {
    background: #4f84f0;
    color: white;
}

.assistant-message .message-content {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--bg-tertiary);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 16px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Chat Input - Removed duplicate, see line 1107 for consolidated styles */

/* History View */
.view-header {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bg-tertiary);
}

.view-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.view-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.history-content {
    padding: 40px;
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
}

.history-search {
    position: relative;
    margin: 24px 0;
}

.history-search-input {
    width: 100%;
    padding: 12px 48px 12px 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s;
}

.history-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

/* Compact History Item */
.history-item-compact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    margin-bottom: 10px;
}

.history-item-compact:hover {
    background: var(--bg-tertiary);
    border-color: rgba(255, 255, 255, 0.1);
}

.history-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-item-icon.person {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.history-item-icon.company {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.history-item-details {
    flex: 1;
    min-width: 0;
}

.history-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-item-company {
    font-size: 14px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 12px;
    text-transform: capitalize;
}

.history-badge.pending {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.history-item-delete {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.history-item-delete:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Old styles kept for reference */
.history-item {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.history-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.history-date {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.history-query {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.history-preview {
    font-size: 14px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-secondary);
}

.empty-state svg {
    margin-bottom: 24px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Recording Indicator */
.recording-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    z-index: 1000;
}

.recording-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* Error State */
.error {
    text-align: center;
    padding: 40px;
    color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-nav {
        width: 60px;
    }
    
    .nav-btn span {
        display: none;
    }
    
    .nav-btn {
        justify-content: center;
    }
    
    .main-heading {
        font-size: 32px;
    }
    
    .main-subtext {
        font-size: 16px;
    }
    .checks-header {
        padding: 10px 20px;
    }
    .checks-landing {
        padding: 20px;
    }
    .tab-pane {
        height: calc( 100vh - 320px );
    }
    .checks-subtitle {
        display:none;
    }
    .check-status {
        font-size:8pt;
        margin-top:-50px;
    }
    
}

/* Credit Notice */
.credit-notice {
    margin-top: 16px;
    padding-top: 8px;
    text-align: center;
    font-size: 14px;
    color: #94a3b8; /* Same as "Check them at the gate" text */
}

/* Check Details Navigation Header */
.check-navigation-header {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    padding: 0;
    position: sticky;
    top: 55px; /* Below main header */
    z-index: 90;
}

.check-nav-subject {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid #1e293b;
}

.subject-info-nav {
    flex: 1;
    min-width: 0;
}

.subject-name-nav {
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.subject-details-nav {
    font-size: 14px;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.check-status-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.check-status-nav .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.check-status-nav.pending {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.check-status-nav.researching {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.check-status-nav.failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.check-status-nav.complete,
.check-status-nav.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Navigation Tabs */
.check-nav-tabs {
    display: flex;
    padding: 0 20px;
    background: #0f172a;
}

.nav-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.nav-tab-btn:hover {
    color: #e2e8f0;
}

.nav-tab-btn.active {
    color: #f1f5f9;
}

.nav-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #3b82f6;
    border-radius: 3px 3px 0 0;
}

.nav-tab-btn svg {
    width: 20px;
    height: 20px;
}

/* Bio indicator on nav tab */
.nav-tab-btn .bio-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.nav-tab-btn .bio-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Adjust conversation container for new header */
.conversation-main {
    padding-top: 0;
    background: #1b1f2d;
    min-height: 100vh;
}

.conversation-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #1b1f2d;
}

.conversation-container .tab-content {
    flex: 1;
    overflow: hidden;
    margin-top: 0;
    background: #1b1f2d;
}

/* Remove old conversation header styles */
.conversation-header {
    display: none;
}

.conversation-tabs {
    display: none;
}

/* Dark mode optimizations for conversation views */
.tab-pane {
    background: #1b1f2d;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
}

#chatTab {
    display: flex;
    flex-direction: column;
}

/* Removed duplicate .chat-messages definition - see line 478 for primary definition */

.message {
    margin-bottom: 16px;
}

.user-message {
    text-align: right;
}

.user-message .message-timestamp {
    text-align: right;
}

.assistant-message .message-timestamp {
    text-align: left;
}

.user-message .message-content {
    background: #4f84f0;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    display: inline-block;
    max-width: 80%;
    text-align: left;
}

.assistant-message .message-content {
    background: #1e293b;
    color: #e2e8f0;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    display: inline-block;
    max-width: 80%;
}

.chat-input-container {
    background: #1b1f2d;
    border-top: 1px solid #2d3748;
    padding: 15px 20px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    background: #0f172a;
    border: 1px solid #334155;
    color: #f1f5f9;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}

.chat-input:focus {
    border-color: #475569;
    background: #1e293b;
}

.chat-input::placeholder {
    color: #64748b;
}

/* Bio tab dark mode */
.bio-container {
    background: #1b1f2d;
    padding: 20px;
    height: calc(100% - 80px);
    overflow-y: auto;
}

.bio-content {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 24px;
}

.bio-section {
    margin-bottom: 32px;
}

.bio-section:last-child {
    margin-bottom: 0;
}

.bio-section h3 {
    color: #f1f5f9;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2d3748;
}

.bio-details {
    color: #cbd5e1;
}

.bio-item {
    margin-bottom: 12px;
    line-height: 1.6;
}

.bio-item strong {
    color: #e2e8f0;
}

.bio-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #94a3b8;
}

.bio-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #2d3748;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

/* Insights tab dark mode */
.insights-container {
    background: #1b1f2d;
    padding: 40px 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon,
.insights-coming-soon,
.bio-coming-soon {
    text-align: center;
    color: #64748b;
    padding: 40px;
}

.coming-soon svg,
.insights-coming-soon svg,
.bio-coming-soon svg {
    color: #334155;
    margin-bottom: 20px;
}

.coming-soon h3,
.insights-coming-soon h3,
.bio-coming-soon h3 {
    color: #94a3b8;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.coming-soon p,
.insights-coming-soon p,
.bio-coming-soon p {
    color: #64748b;
    font-size: 16px;
}

.coming-soon-icon {
    color: #334155;
}

/* Additional dark mode elements */
.stage-indicator {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stage-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
}

.target-confirm-dialog {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 20px;
    margin: 16px 20px;
}

.confirm-content h4 {
    color: #f1f5f9;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.confirm-content p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
}

.bio-actions {
    background: #1b1f2d;
    border-top: 1px solid #2d3748;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.bio-empty {
    text-align: center;
    padding: 40px;
    color: #64748b;
}

.bio-concerns {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
}

.concern-item {
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.concern-item:last-child {
    margin-bottom: 0;
}

.bio-updated {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #2d3748;
    text-align: right;
    color: #64748b;
    font-size: 14px;
}

.experience-item {
    background: #1e293b;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.experience-item strong {
    color: #f1f5f9;
}

.experience-item p {
    color: #cbd5e1;
    margin-top: 8px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #64748b;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

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

/* Button styles for dark mode */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-primary:disabled {
    background: #475569;
    cursor: not-allowed;
}

.btn-secondary {
    background: #334155;
    color: #e2e8f0;
}

.btn-secondary:hover {
    background: #475569;
}

.chat-submit-btn,
.chat-voice-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: #334155;
    color: #94a3b8;
}

.chat-submit-btn:hover,
.chat-voice-btn:hover {
    background: #475569;
    color: #e2e8f0;
}

.chat-submit-btn {
    background: #3b82f6;
    color: white;
}

.chat-submit-btn:hover {
    background: #2563eb;
}

/* Responsive adjustments for check navigation */
@media (max-width: 768px) {
    .check-nav-subject {
        padding: 10px 16px;
    }
    
    .subject-name-nav {
        font-size: 16px;
    }
    
    .subject-details-nav {
        font-size: 13px;
    }
    
    .check-nav-tabs {
        padding: 0 16px;
    }
    
    .nav-tab-btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .nav-tab-btn span {
        display: none; /* Hide text labels on mobile */
    }
    
    .nav-tab-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .check-status-nav {
        font-size: 13px;
        padding: 4px 10px;
    }
}