/* =============================================
   LetsAI Jobs Dashboard - SaaS Style
   Brand: #18274e (navy) / #50cbc9 (teal)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700;800&display=swap');

:root {
    --navy: #18274e;
    --navy-light: #1e3264;
    --navy-dark: #111c38;
    --teal: #50cbc9;
    --teal-light: rgba(80, 203, 201, 0.1);
    --teal-dark: #3db8b6;
    --bg: #f5f7fa;
    --white: #ffffff;
    --text: #1a1a2e;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: all 0.2s ease;
}

/* Reset for dashboard page */
.letsai-dashboard-page {
    margin: 0;
    padding: 0;
    background: var(--bg);
    font-family: 'Assistant', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.letsai-dashboard-page #wpadminbar {
    display: none !important;
}

.letsai-dashboard-page html {
    margin-top: 0 !important;
}

/* =============================================
   Layout
   ============================================= */
.letsai-dash {
    display: flex;
    min-height: 100vh;
    direction: rtl;
}

.letsai-dash-sidebar {
    width: 240px;
    background: var(--navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    transition: var(--transition);
}

.letsai-dash-main {
    flex: 1;
    margin-right: 240px;
    padding: 32px;
    min-height: 100vh;
    position: relative;
}

/* =============================================
   Sidebar
   ============================================= */
.letsai-dash-logo {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--teal);
    display: block;
}

.logo-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.letsai-dash-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.nav-item.active {
    background: rgba(80, 203, 201, 0.15);
    color: var(--teal);
}

.nav-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.letsai-dash-user {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-name {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.user-logout {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}

.user-logout:hover {
    color: var(--danger);
}

/* =============================================
   Views
   ============================================= */
.dash-view {
    display: none;
}

.dash-view.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.dash-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.dash-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dash-back-link:hover {
    color: var(--navy);
    background: var(--bg);
}

.dash-back-link::after {
    content: '←';
    font-size: 16px;
}
/* =============================================
   Stats Cards
   ============================================= */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat-card.accent {
    border-color: var(--teal);
    border-width: 2px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.stat-card.accent .stat-number {
    color: var(--teal);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* =============================================
   Tables
   ============================================= */
.dash-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-collapse: collapse;
    overflow: hidden;
}

.dash-table th {
    background: var(--bg);
    padding: 12px 16px;
    text-align: right;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.dash-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    vertical-align: middle;
}

.dash-table tr:last-child td {
    border-bottom: none;
}

.dash-table tr:hover td {
    background: rgba(80, 203, 201, 0.03);
}

/* =============================================
   Cards Grid (Jobs)
   ============================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.job-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.job-card-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.job-card-stat {
    font-size: 13px;
    color: var(--text-secondary);
}

.job-card-stat strong {
    color: var(--navy);
}

.job-card-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.job-card-shortcode {
    font-family: monospace;
    font-size: 11px;
    background: var(--bg);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: all;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--navy-light);
    box-shadow: var(--shadow-md);
}

.btn-teal {
    background: var(--teal);
    color: #fff;
}

.btn-teal:hover {
    background: var(--teal-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 12px;
}

.btn-ghost:hover {
    color: var(--navy);
    background: var(--bg);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

/* =============================================
   Status Badges
   ============================================= */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
}

.badge-open { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-closed { background: rgba(239,68,68,0.1); color: var(--danger); }
.badge-new { background: rgba(80,203,201,0.15); color: var(--teal-dark); }
.badge-reviewed { background: rgba(24,39,78,0.1); color: var(--navy); }
.badge-accepted { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-rejected { background: rgba(239,68,68,0.1); color: var(--danger); }

/* =============================================
   Filters
   ============================================= */
.dash-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    align-items: center;
}

.filter-select, .filter-input {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    background: var(--white);
    color: var(--text);
    min-width: 160px;
}

.filter-input {
    min-width: 220px;
}

.filter-select:focus, .filter-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(80,203,201,0.15);
}

.dash-dynamic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

/* =============================================
   AI Score
   ============================================= */
.ai-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
}

.ai-score.high { background: rgba(16,185,129,0.1); color: var(--success); }
.ai-score.medium { background: rgba(245,158,11,0.1); color: var(--warning); }
.ai-score.low { background: rgba(239,68,68,0.1); color: var(--danger); }

/* =============================================
   Application Detail
   ============================================= */
.app-detail-header {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.app-detail-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.app-detail-info div {
    font-size: 14px;
}

.app-detail-info strong {
    color: var(--navy);
}

.app-detail-actions {
    display: flex;
    gap: 8px;
}

.app-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.app-section h3 {
    font-size: 16px;
    color: var(--navy);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--teal);
    display: inline-block;
}

.app-field {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.app-field:last-child {
    border-bottom: none;
}

.app-field-label {
    font-weight: 700;
    color: var(--navy);
    min-width: 200px;
    font-size: 14px;
}

.app-field-value {
    color: var(--text);
    font-size: 14px;
    flex: 1;
}

.ai-analysis-box {
    background: linear-gradient(135deg, rgba(80,203,201,0.08), rgba(24,39,78,0.05));
    border: 1px solid var(--teal);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
}

.ai-analysis-box h3 {
    color: var(--navy);
    margin: 0 0 12px;
    border: none;
    padding: 0;
}

/* =============================================
   Forms (Job Editor, Settings)
   ============================================= */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 14px;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    box-sizing: border-box;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(80,203,201,0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.form-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-toggle input[type="checkbox"] {
    width: 44px;
    height: 24px;
    appearance: none;
    background: #d1d5db;
    border-radius: 99px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.form-toggle input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.form-toggle input[type="checkbox"]:checked {
    background: var(--teal);
}

.form-toggle input[type="checkbox"]:checked::after {
    right: 22px;
}

/* =============================================
   Modal
   ============================================= */
.letsai-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.letsai-modal {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 560px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    direction: rtl;
}

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

.modal-header h2 {
    margin: 0;
    color: var(--navy);
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    line-height: 1;
}

/* =============================================
   Loading
   ============================================= */
.dash-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245,247,250,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.dash-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* =============================================
   Login Page
   ============================================= */
.letsai-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    font-family: 'Assistant', sans-serif;
}

.letsai-login-box {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 380px;
    max-width: 90%;
}

.letsai-login-box .login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.letsai-login-box .logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--teal);
}

.letsai-login-box .logo-sub {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
}

.login-field {
    margin-bottom: 16px;
}

.login-field label {
    display: block;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 14px;
}

.login-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.login-field input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(80,203,201,0.15);
}

.login-btn {
    width: 100%;
    padding: 13px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.login-btn:hover {
    background: var(--navy-light);
}

.login-error {
    background: rgba(239,68,68,0.1);
    color: var(--danger);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

/* =============================================
   Pagination
   ============================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
}

.pagination button {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    transition: var(--transition);
}

.pagination button.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.pagination button:hover:not(.active) {
    background: var(--bg);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
    .letsai-dash-sidebar {
        width: 60px;
    }
    .letsai-dash-sidebar .logo-sub,
    .letsai-dash-sidebar .nav-item span:not(.nav-icon),
    .letsai-dash-sidebar .user-name,
    .letsai-dash-sidebar .user-logout {
        display: none;
    }
    .letsai-dash-main {
        margin-right: 60px;
        padding: 16px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .dash-filters {
        flex-direction: column;
    }
    .filter-select, .filter-input {
        min-width: auto;
        width: 100%;
    }
}

/* =============================================
   Utility
   ============================================= */
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.flex-gap-8 { display: flex; gap: 8px; }
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}
.empty-state h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

/* =============================================
   Job Card Links Row
   ============================================= */
.job-card-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

/* =============================================
   Status Progress Bar (Overview)
   ============================================= */
.stats-status-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.status-progress-bar {
    display: flex;
    height: 12px;
    border-radius: 99px;
    overflow: hidden;
    background: var(--bg);
    margin-bottom: 12px;
}

.status-segment {
    transition: width 0.5s ease;
    min-width: 2px;
}

.status-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* =============================================
   Mini Progress Bar (Completion in table)
   ============================================= */
.mini-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.mini-bar {
    flex: 1;
    height: 6px;
    background: var(--bg);
    border-radius: 99px;
    overflow: hidden;
}

.mini-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.3s ease;
}

.mini-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 35px;
}

/* =============================================
   Questionnaire Builder
   ============================================= */
.section-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.section-block:hover {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px rgba(80,203,201,0.2);
}

.section-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.section-number {
    background: var(--navy);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.section-title-input {
    flex: 1;
    font-weight: 700;
    font-size: 15px;
}

.section-block-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.fields-header-row {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.field-row:last-child {
    border-bottom: none;
}

.field-row .form-input,
.field-row .form-select {
    padding: 7px 10px;
    font-size: 13px;
}

.field-cb-wrap {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.field-cb-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--teal);
}

.field-remove-btn {
    color: var(--danger);
    width: 36px;
    flex-shrink: 0;
}

.btn-add-field {
    border-style: dashed;
}

/* =============================================
   Job Editor Wrap
   ============================================= */
.job-editor-wrap {
    max-width: 900px;
}

.job-editor-wrap .app-section {
    margin-bottom: 20px;
}

/* =============================================
   Responsive additions
   ============================================= */
@media (max-width: 768px) {
    .field-row {
        flex-wrap: wrap;
    }
    .field-row .form-input,
    .field-row .form-select {
        flex: 1 1 100% !important;
    }
    .fields-header-row {
        display: none;
    }
    .section-block-header {
        flex-wrap: wrap;
    }
}
.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #50cbc9;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    margin-right: 4px;
}

.filters-modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 60vh;
    overflow-y: auto;
}

.filter-modal-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* =============================================
   Scores Bar
   ============================================= */
.scores-bar {
    display: flex;
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    min-width: 80px;
}

.score-item.score-active {
    border-color: var(--teal);
    background: var(--teal-light);
}

.score-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-empty {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 700;
}

/* =============================================
   Interview Cards
   ============================================= */
.interview-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    background: var(--white);
    transition: var(--transition);
}

.interview-card.interview-active {
    border-color: var(--teal);
    border-width: 2px;
}

.interview-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.interview-date {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    flex: 1;
}

.interview-notes {
    font-size: 14px;
    color: var(--text);
    padding: 8px 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.interview-ai {
    background: var(--teal-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 10px;
    font-size: 14px;
}

.interview-ai p {
    margin: 4px 0;
}
/* =============================================
   HR Notes
   ============================================= */
.hr-note-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 10px;
    background: var(--white);
}

.hr-note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.hr-note-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.hr-note-actions {
    display: flex;
    gap: 4px;
}

.hr-note-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    white-space: pre-wrap;
}

.hr-note-add {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 16px;
}