/* ============================================
   Faculty Feedback System — Academic UI Theme
   Clean, subtle, low cognitive load, responsive
   ============================================ */

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

:root {
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #fcfdfe;
    --bg-subtle: #f1f5f9;
    --bg-input: #ffffff;

    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-focus: #b91c1c;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-dim: #94a3b8;

    /* Academic Crimson Palette */
    --accent: #b91c1c;
    --accent-hover: #991b1b;
    --accent-light: #fef2f2;
    --accent-border: #fecaca;

    --emerald: #15803d;
    --emerald-bg: #f0fdf4;
    --emerald-border: #bbf7d0;

    --amber: #b45309;
    --amber-bg: #fffbeb;
    --amber-border: #fde68a;

    --rose: #be123c;
    --rose-bg: #fff1f2;
    --rose-border: #fecdd3;

    --star: #f59e0b;
    --star-empty: #cbd5e1;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);

    --transition: all 0.2s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.015em;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

/* ============================================
   HEADER
   ============================================ */

.app-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid var(--accent-border);
}

.brand h2 {
    font-size: 1.05rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.class-badge {
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   CONTAINER
   ============================================ */

.app-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.app-content.wide {
    max-width: 1240px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-primary:hover:not(:disabled) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-subtle);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

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

.btn-ghost:hover:not(:disabled) {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

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

.btn-full {
    width: 100%;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.form-input::placeholder {
    color: var(--text-dim);
}

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

/* ============================================
   LOGIN CARD
   ============================================ */

.login-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 36px 32px;
    width: 100%;
    max-width: 400px;
}

.login-card .logo {
    text-align: center;
    margin-bottom: 24px;
}

.login-card .logo-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.login-card h1 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.login-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   PROGRESS SECTION (STUDENT PAGE)
   ============================================ */

.feedback-progress {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

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

.progress-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
}

.progress-header span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.progress-bar {
    height: 6px;
    background: var(--bg-subtle);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* ============================================
   FACULTY CARDS (STUDENT FEEDBACK)
   ============================================ */

.faculty-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faculty-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.faculty-card.submitted {
    background: #fafbfc;
    border-color: var(--emerald-border);
}

.faculty-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faculty-card-header:hover {
    background: var(--bg-subtle);
}

.faculty-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faculty-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.faculty-details h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.subject-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    padding: 1px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    white-space: nowrap;
}

.status-badge.pending {
    background: var(--amber-bg);
    color: var(--amber);
    border: 1px solid var(--amber-border);
}

.status-badge.done {
    background: var(--emerald-bg);
    color: var(--emerald);
    border: 1px solid var(--emerald-border);
}

.faculty-card-body {
    padding: 0 20px 20px;
    display: none;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 18px;
}

.faculty-card.active .faculty-card-body {
    display: block;
}

/* Rating Grid */
.rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.rating-category {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-category .cat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 24px;
    color: var(--star-empty);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 2px;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--star);
}

.star-rating-display {
    display: flex;
    gap: 2px;
    align-items: center;
}

.star-rating-display .star {
    color: var(--star-empty);
    font-size: 14px;
}

.star-rating-display .star.filled {
    color: var(--star);
}

.feedback-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 12px;
}

/* ============================================
   THANK YOU COMPLETION CARD
   ============================================ */

.thank-you-card {
    background: var(--bg-card);
    border: 1px solid var(--emerald-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 48px 24px;
    text-align: center;
    max-width: 520px;
    margin: 40px auto;
}

.thank-you-icon {
    width: 64px;
    height: 64px;
    background: var(--emerald-bg);
    color: var(--emerald);
    border: 1px solid var(--emerald-border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
}

.thank-you-card h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.thank-you-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto;
}

.thank-you-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-bg);
    color: var(--emerald);
    border: 1px solid var(--emerald-border);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 20px;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
}

.empty-icon {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.empty-state p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   ADMIN DASHBOARD TABS
   ============================================ */

.tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.tab-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* ============================================
   ADMIN STATS GRID
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow);
}

.stat-card .stat-icon {
    display: none;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.stat-card .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

/* ============================================
   CHARTS
   ============================================ */

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.chart-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.chart-card canvas {
    max-height: 280px;
}

/* ============================================
   UPLOAD CARDS
   ============================================ */

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.upload-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.upload-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.upload-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.upload-zone {
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-page);
    transition: var(--transition);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.upload-zone .upload-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.upload-zone h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.upload-zone p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.upload-zone .file-name {
    margin-top: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
}

.upload-format {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.upload-result {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    display: none;
}

.upload-result.success {
    background: var(--emerald-bg);
    border: 1px solid var(--emerald-border);
    color: var(--emerald);
}

.upload-result.error {
    background: var(--rose-bg);
    border: 1px solid var(--rose-border);
    color: var(--rose);
}

/* ============================================
   TABLES
   ============================================ */

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

.section-header h2 {
    font-size: 1.05rem;
    font-weight: 600;
}

.data-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table thead {
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
}

.data-table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.data-table tbody tr:hover {
    background: #fafbfc;
}

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

/* ============================================
   BADGES & UTILITIES
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-accent {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent-border);
}

.badge-emerald {
    background: var(--emerald-bg);
    color: var(--emerald);
    border: 1px solid var(--emerald-border);
}

.badge-amber {
    background: var(--amber-bg);
    color: var(--amber);
    border: 1px solid var(--amber-border);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 340px;
    animation: slideIn 0.25s ease;
}

.toast.success { border-left: 3px solid var(--emerald); }
.toast.error { border-left: 3px solid var(--rose); }
.toast.warning { border-left: 3px solid var(--amber); }

.toast.fade-out {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    backdrop-filter: blur(2px);
}

.page-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

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

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   RESPONSIVE DESIGN (MOBILE FOCUS)
   ============================================ */

@media (max-width: 768px) {
    .app-header {
        padding: 10px 14px;
    }

    .brand h2 {
        font-size: 0.95rem;
    }

    .app-content {
        padding: 14px 12px 48px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .chart-grid,
    .upload-grid {
        grid-template-columns: 1fr;
    }

    .faculty-card-header {
        padding: 12px 14px;
    }

    .faculty-card-body {
        padding: 0 14px 16px;
    }

    .rating-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .star-rating label {
        font-size: 26px;
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .user-info .user-name {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ============================================
   MODAL & FACULTY REPORT
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-content {
    padding: 24px;
    overflow-y: auto;
    background: #ffffff;
}

.report-pdf-header {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 14px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.report-org h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2px;
}

.report-org p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.report-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.report-stat-card {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    text-align: center;
}

.report-stat-card.highlight {
    background: var(--accent-light);
    border-color: var(--accent-border);
}

.report-stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.report-stat-card.highlight .report-stat-label {
    color: var(--accent);
}

.report-stat-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.report-stat-card.highlight .report-stat-val {
    color: var(--accent);
}

@media print {
    body * {
        visibility: hidden;
    }
    #reportPrintArea, #reportPrintArea * {
        visibility: visible;
    }
    #reportPrintArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
    }
}

