:root.dark-mode, html.dark-mode, :root.dark-mode body, body.dark-mode { 
    --bg-main: #0B1120 !important; 
    --bg-surface: #1E293B !important; 
    --text-main: #F8FAFC !important; 
    --text-muted: #94A3B8 !important; 
    --text-light: #94A3B8 !important; 
    --border: rgba(255,255,255,0.1) !important; 
    --min-blue: #38BDF8 !important; 
    --min-blue-dark: #60A5FA !important; 
    --min-blue-light: rgba(56, 189, 248, 0.15) !important; 
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.5) !important; 
    --shadow-md: 0 12px 32px rgba(0,0,0,0.6) !important; 
    --shadow-lg: 0 24px 48px rgba(0,0,0,0.7) !important; 
    background-color: var(--bg-main) !important;
    color: var(--text-main) !important;
}

:root.dark-mode .hero, :root.dark-mode .section, :root.dark-mode .page-hero, :root.dark-mode .about-wrap,
:root.dark-mode .quick-specs-bar, :root.dark-mode .radio-hero, :root.dark-mode .error-hero {
    background: var(--bg-main) !important;
}

:root.dark-mode .card, :root.dark-mode .prof-card, :root.dark-mode .mgmt-card, :root.dark-mode .bursa-card, 
:root.dark-mode .h-pill, :root.dark-mode .gallery-filter, :root.dark-mode .h-float, :root.dark-mode .ach-card,
:root.dark-mode .prog-card, :root.dark-mode .stat-card, :root.dark-mode .c-filter-btn,
:root.dark-mode .spec-card-long, :root.dark-mode .table-container, :root.dark-mode .feature-box,
:root.dark-mode .lab-card, :root.dark-mode .career-card, :root.dark-mode .radio-player-box,
:root.dark-mode .feed-box, :root.dark-mode .msg-bubble, :root.dark-mode .sch-card,
:root.dark-mode .calif-card, :root.dark-mode .year-progress-card, :root.dark-mode .step-card,
:root.dark-mode .partner-pill, :root.dark-mode .news-card, :root.dark-mode .contact-box, :root.dark-mode .accred-bar, :root.dark-mode .news-feat, :root.dark-mode .office-hours-section, :root.dark-mode .accred-box, :root.dark-mode .doc-card, :root.dark-mode .teacher-card, :root.dark-mode .about-grid, :root.dark-mode .stats-grid, :root.dark-mode .prog-grid, :root.dark-mode .dedic-box,
:root.dark-mode .cat-card, :root.dark-mode .guide-box, :root.dark-mode .support-card, :root.dark-mode .bell-card, :root.dark-mode .extra-card, :root.dark-mode .info-box, :root.dark-mode .route-map-box, :root.dark-mode .faq-item, :root.dark-mode .schedule-wrapper, :root.dark-mode .step-box, :root.dark-mode .doc-box, :root.dark-mode .dpo-box, :root.dark-mode .notice-box, :root.dark-mode .benefit-card, :root.dark-mode .award-card, :root.dark-mode .alumni-card, :root.dark-mode .comp-card, :root.dark-mode .inst-card, :root.dark-mode .download-card, :root.dark-mode .video-card, :root.dark-mode .partner-card, :root.dark-mode .kpi-card, :root.dark-mode .form-wrapper, :root.dark-mode .cta-box, :root.dark-mode .dual-perk-box, :root.dark-mode .bento-item, :root.dark-mode .gal-card, :root.dark-mode .n-card, :root.dark-mode .org-card, :root.dark-mode .jump-pill, :root.dark-mode .quick-jump-bar {
    background: var(--bg-surface) !important;
    color: var(--text-main) !important;
    border-color: var(--border) !important;
}

:root.dark-mode input, :root.dark-mode textarea, :root.dark-mode select,
:root.dark-mode .rp-controls, :root.dark-mode .dedic-form input, :root.dark-mode .dedic-form textarea {
    background: var(--bg-main) !important;
    color: var(--text-main) !important;
    border-color: var(--border) !important;
}

:root.dark-mode .sched-btn {
    color: var(--text-muted) !important;
}
:root.dark-mode .sched-btn.active {
    background: var(--bg-surface) !important;
    color: #38BDF8 !important;
    border-bottom-color: var(--gold) !important;
}
:root.dark-mode .faq-question:hover, :root.dark-mode .bell-card:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}
:root.dark-mode .module-item {
    background: var(--bg-main) !important;
    color: var(--text-main) !important;
}

:root.dark-mode .feed-body {
    background: var(--bg-main) !important;
}

:root.dark-mode .h-card-main {
    background: #020617 !important;
    border: 1px solid var(--border) !important;
}

:root.dark-mode h1, :root.dark-mode h2, :root.dark-mode h3, 
:root.dark-mode h4, :root.dark-mode h5, :root.dark-mode h6,
:root.dark-mode .headline, :root.dark-mode .nav-title-main,
:root.dark-mode .hs-val, :root.dark-mode .st-val,
:root.dark-mode .spec-card-title, :root.dark-mode .rh-title {
    color: var(--text-main) !important;
}

:root.dark-mode .rh-desc {
    color: var(--text-muted) !important;
}

:root.dark-mode .navbar {
    background: rgba(11, 17, 32, 0.92) !important;
    border-bottom: 1px solid var(--border) !important;
}

:root.dark-mode .nav-icon-btn, body.dark-mode .nav-icon-btn {
    background: #1E293B !important;
    color: #C5A059 !important;
    border: 1.5px solid #C5A059 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
}

:root.dark-mode .nav-icon-btn:hover, body.dark-mode .nav-icon-btn:hover {
    background: #C5A059 !important;
    color: #0B1120 !important;
    border-color: #C5A059 !important;
}

:root.dark-mode .mob-menu {
    background: var(--bg-main) !important;
}

:root.dark-mode .footer {
    background: #020617 !important;
    border-top: 1px solid var(--border) !important;
}

:root.dark-mode .table-responsive table, :root.dark-mode .table-container table {
    color: var(--text-main) !important;
}
:root.dark-mode th {
    background: var(--bg-surface) !important;
    color: var(--text-main) !important;
    border-color: var(--border) !important;
}
:root.dark-mode td {
    border-color: var(--border) !important;
}
:root.dark-mode tr:hover, :root.dark-mode tr:hover td {
    background: rgba(255,255,255,0.05) !important;
}
:root.dark-mode .subtext, :root.dark-mode p, :root.dark-mode .spec-card-desc, :root.dark-mode li {
    color: var(--text-muted) !important;
}

:root.dark-mode .blue, :root.dark-mode .headline .blue {
    color: #38BDF8 !important;
}

:root.dark-mode .btn-outline {
    color: #38BDF8 !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    background: transparent !important;
}
:root.dark-mode .btn-outline:hover {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: #38BDF8 !important;
}

:root.dark-mode .a11y-panel-header {
    color: var(--gold) !important;
    border-bottom: 1px solid var(--border) !important;
}
:root.dark-mode .a11y-close {
    color: var(--text-muted) !important;
}
:root.dark-mode .a11y-close:hover {
    color: var(--gold) !important;
}
:root.dark-mode .a11y-opt {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #F8FAFC !important;
    border-color: transparent !important;
}
:root.dark-mode .a11y-opt:hover {
    background: rgba(56, 189, 248, 0.2) !important;
    border-color: #38BDF8 !important;
}
:root.dark-mode .a11y-opt.active {
    background: var(--gold) !important;
    color: #020617 !important;
}

:root.dark-mode .h-row {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--border) !important;
}
:root.dark-mode .h-row span:first-child {
    color: var(--text-main) !important;
}

:root.dark-mode .h-card-stats > div {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--border) !important;
}
:root.dark-mode .h-card-stats .hf-val {
    color: #38BDF8 !important;
}

/* Fallback if theme-toggle is placed outside navbar */
body > #theme-toggle { 
    position: fixed; 
    top: 90px; 
    right: 20px; 
    background-color: #0B284A; 
    color: #C5A059; 
    border: 1.5px solid #C5A059; 
    border-radius: 50%; 
    width: 40px; 
    height: 40px; 
    cursor: pointer; 
    z-index: 9999; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.25s ease;
}

/* ==========================================================================
   GDPR CONSENT MANAGEMENT PLATFORM (CMP) - STYLES
   Conformitate: Regulamentul (UE) 2016/679, Legea 506/2004, Planet49 CJUE, Ghiduri ANSPDCP
   ========================================================================== */

/* 1. GDPR Banner (Bottom Bar) */
.gdpr-banner { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    width: 100%;
    background-color: rgba(11, 40, 74, 0.98); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); 
    color: #ffffff; 
    border-top: 2px solid var(--gold, #C5A059); 
    padding: 14px 24px; 
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.45); 
    z-index: 99990; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease; 
    box-sizing: border-box; 
} 

.gdpr-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.gdpr-content { 
    display: flex; 
    align-items: flex-start; 
    gap: 14px; 
    flex: 1 1 540px; 
    min-width: 280px; 
} 

.gdpr-content svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.gdpr-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gdpr-title {
    font-family: 'Cinzel', serif;
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gdpr-title .gold-badge {
    color: var(--gold, #C5A059);
    font-size: 0.72rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.gdpr-content p { 
    color: #F8FAFC !important; 
    font-size: 0.81rem; 
    line-height: 1.5; 
    margin: 0; 
} 

.gdpr-policy-link {
    color: var(--gold, #C5A059);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.gdpr-policy-link:hover {
    color: #ffffff;
}

/* 3-Button Action Group: Equal visual prominence for Accept vs Reject as required by EDPB/ANSPDCP */
.gdpr-actions { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    flex-shrink: 0; 
    flex-wrap: wrap;
} 

.gdpr-btn {
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    border: 1.5px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
}

/* Equal visual prominence & contrast */
.btn-gdpr-accept {
    background-color: var(--gold, #C5A059);
    color: #0B284A;
    border-color: var(--gold, #C5A059);
}

.btn-gdpr-accept:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #0B284A;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.45);
}

.btn-gdpr-reject {
    background-color: #1E293B;
    color: #F8FAFC;
    border-color: #94A3B8;
}

.btn-gdpr-reject:hover {
    background-color: #334155;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.btn-gdpr-settings {
    background-color: transparent;
    color: #38BDF8;
    border-color: rgba(56, 189, 248, 0.5);
    font-weight: 600;
}

.btn-gdpr-settings:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38BDF8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* 2. Granular Modal Overlay (#gdprModalOverlay) */
.gdpr-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gdpr-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.gdpr-modal-box {
    background: var(--bg-surface, #ffffff);
    color: var(--text-main, #1E293B);
    width: 100%;
    max-width: 680px;
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border, rgba(18,64,118,0.15));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gdpr-modal-overlay.open .gdpr-modal-box {
    transform: translateY(0) scale(1);
}

.gdpr-modal-header {
    background: linear-gradient(135deg, #0B284A 0%, #124076 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-bottom: 2px solid var(--gold, #C5A059);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}

.gdpr-modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.gdpr-modal-title i, .gdpr-modal-title svg {
    color: var(--gold, #C5A059);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.gdpr-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gdpr-modal-close:hover {
    background: var(--gold, #C5A059);
    color: #0B284A;
}

.gdpr-modal-body {
    padding: 22px 24px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gdpr-modal-intro {
    font-size: 0.85rem;
    color: var(--text-muted, #64748B);
    line-height: 1.6;
    margin: 0 0 6px 0;
}

/* 4 Granular Category Cards */
.gdpr-cat-card {
    background: var(--bg-main, #F8FAFC);
    border: 1px solid var(--border, rgba(18,64,118,0.1));
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.gdpr-cat-card:hover {
    border-color: rgba(18, 64, 118, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.gdpr-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.gdpr-cat-title {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--min-blue-dark, #0B284A);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.gdpr-cat-title i, .gdpr-cat-title svg {
    color: var(--min-blue, #124076);
    font-size: 1.15rem;
}

.gdpr-cat-card p {
    font-size: 0.82rem;
    color: var(--text-muted, #64748B);
    line-height: 1.55;
    margin: 0 0 6px 0;
}

.gdpr-tech-note {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.74rem;
    color: #475569;
    background: rgba(0, 0, 0, 0.04);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    border-left: 2px solid var(--min-blue, #124076);
}

/* Badges */
.gdpr-badge-always {
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.gdpr-badge-zero {
    background: rgba(100, 116, 139, 0.14);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Toggle Switch Styles */
.gdpr-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}

.gdpr-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gdpr-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #CBD5E1;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
}

.gdpr-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.gdpr-switch input:checked + .gdpr-slider {
    background-color: #10B981;
}

.gdpr-switch input:checked + .gdpr-slider:before {
    transform: translateX(22px);
}

.gdpr-switch input:focus-visible + .gdpr-slider {
    outline: 2px solid var(--min-blue, #124076);
    outline-offset: 2px;
}

.gdpr-switch input:disabled + .gdpr-slider {
    background-color: #0284C7;
    opacity: 0.7;
    cursor: not-allowed;
}

/* Modal Footer */
.gdpr-modal-footer {
    background: var(--bg-main, #F8FAFC);
    padding: 16px 24px;
    border-top: 1px solid var(--border, rgba(18,64,118,0.1));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-gdpr-modal-save {
    background-color: var(--min-blue, #124076);
    color: #ffffff;
    border: 1.5px solid var(--min-blue, #124076);
}

.btn-gdpr-modal-save:hover {
    background-color: var(--min-blue-dark, #0B284A);
    border-color: var(--min-blue-dark, #0B284A);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(18, 64, 118, 0.25);
}

.btn-gdpr-modal-reject {
    background-color: #1E293B;
    color: #F8FAFC;
    border: 1.5px solid #94A3B8;
}

.btn-gdpr-modal-reject:hover {
    background-color: #334155;
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-gdpr-modal-accept {
    background-color: var(--gold, #C5A059);
    color: #0B284A;
    border: 1.5px solid var(--gold, #C5A059);
}

.btn-gdpr-modal-accept:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #0B284A;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.45);
}

/* 3. Floating Shield Badge (#gdpr-shield-btn) */
.gdpr-floating-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #0B284A;
    color: #C5A059;
    border: 1.5px solid #C5A059;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9990;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    padding: 0;
}

.gdpr-floating-badge svg, .gdpr-floating-badge i {
    width: 22px;
    height: 22px;
    font-size: 22px;
    fill: currentColor;
}

.gdpr-floating-badge:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #124076;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.gdpr-floating-badge:focus-visible {
    outline: 2px solid #C5A059;
    outline-offset: 3px;
}

/* 4. Feedback Toast (.gdpr-toast) */
.gdpr-toast {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: #0F172A;
    color: #F8FAFC;
    border: 1px solid #10B981;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.84rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100005;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 400px;
    line-height: 1.4;
}

.gdpr-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.gdpr-toast i, .gdpr-toast svg {
    color: #10B981;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* 5. Control Panel Styles (for gdpr.html) */
.gdpr-control-panel {
    background: var(--bg-surface, #ffffff);
    border: 2px solid var(--border-gold, rgba(197, 160, 89, 0.35));
    border-radius: var(--rad-lg, 24px);
    padding: 32px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-md, 0 12px 32px rgba(18,64,118,0.06));
    position: relative;
    overflow: hidden;
}

.gdpr-control-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--min-blue), var(--gold));
}

.gdpr-cp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gdpr-cp-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--min-blue-dark, #0B284A);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gdpr-cp-title i {
    color: var(--gold, #C5A059);
}

.gdpr-status-box {
    background: var(--bg-main, #F8FAFC);
    border: 1px solid var(--border, rgba(18,64,118,0.1));
    border-radius: var(--rad-md, 16px);
    padding: 20px;
    margin: 18px 0;
}

.gdpr-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gdpr-status-badge.all {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.gdpr-status-badge.necessary {
    background: rgba(2, 132, 199, 0.15);
    color: #0284C7;
    border: 1px solid rgba(2, 132, 199, 0.35);
}

.gdpr-status-badge.custom {
    background: rgba(197, 160, 89, 0.2);
    color: #B08F4F;
    border: 1px solid rgba(197, 160, 89, 0.45);
}

.gdpr-status-badge.none {
    background: rgba(100, 116, 139, 0.15);
    color: #64748B;
    border: 1px solid rgba(100, 116, 139, 0.35);
}

.gdpr-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.gdpr-status-item {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border, rgba(18,64,118,0.08));
    border-radius: var(--rad-sm, 8px);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gdpr-status-item-lbl {
    font-size: 0.78rem;
    color: var(--text-muted, #64748B);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gdpr-status-item-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main, #1E293B);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gdpr-cp-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* 6. Dark Mode Overrides for GDPR Components */
:root.dark-mode .gdpr-modal-box {
    background: #0F172A !important;
    color: #F8FAFC !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

:root.dark-mode .gdpr-modal-intro {
    color: #94A3B8 !important;
}

:root.dark-mode .gdpr-cat-card {
    background: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

:root.dark-mode .gdpr-cat-title {
    color: #F8FAFC !important;
}

:root.dark-mode .gdpr-cat-card p {
    color: #94A3B8 !important;
}

:root.dark-mode .gdpr-tech-note {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #CBD5E1 !important;
    border-left-color: #38BDF8 !important;
}

:root.dark-mode .gdpr-modal-footer {
    background: #0B1120 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

:root.dark-mode .btn-gdpr-modal-reject {
    background: #1E293B !important;
    color: #F8FAFC !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

:root.dark-mode .btn-gdpr-modal-reject:hover {
    background: #334155 !important;
    border-color: #ffffff !important;
}

:root.dark-mode .gdpr-control-panel {
    background: #1E293B !important;
    border-color: rgba(197, 160, 89, 0.35) !important;
}

:root.dark-mode .gdpr-status-box {
    background: #0B1120 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

:root.dark-mode .gdpr-status-item {
    background: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

:root.dark-mode .gdpr-status-item-val {
    color: #F8FAFC !important;
}

:root.dark-mode #a11y-panel, body.dark-mode #a11y-panel {
    background: #0F172A !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) { 
    .gdpr-banner { 
        padding: 12px 14px; 
    } 
    .gdpr-inner { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 10px; 
    }
    .gdpr-content {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }
    .gdpr-text p {
        font-size: 0.76rem;
        line-height: 1.45;
    }
    .gdpr-actions { 
        width: 100%; 
        display: flex;
        flex-direction: column;
        gap: 6px;
    } 
    .gdpr-actions .gdpr-btn {
        width: 100%;
        text-align: center;
        padding: 8px 12px;
        font-size: 0.78rem;
    }
    .gdpr-modal-box {
        max-height: 92vh;
    }
    .gdpr-modal-header {
        padding: 14px 18px;
    }
    .gdpr-modal-body {
        padding: 16px 18px;
    }
    .gdpr-modal-footer {
        padding: 14px 18px;
        flex-direction: column-reverse;
    }
    .gdpr-modal-footer .gdpr-btn {
        width: 100%;
    }
    .gdpr-floating-badge {
        bottom: 16px;
        left: 16px;
    }
    .gdpr-toast {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .gdpr-floating-badge {
        width: 38px;
        height: 38px;
        bottom: 14px;
        left: 12px;
    }
    .gdpr-floating-badge svg,
    .gdpr-floating-badge i {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
    #radioWidgetBox {
        bottom: 14px !important;
        right: 12px !important;
    }
}

/* ==========================================================================
   7. Comprehensive Dark Mode Overrides across all 23 Pages
   ========================================================================== */

/* Sections & Backgrounds */
:root.dark-mode .video-section,
:root.dark-mode .notice-section,
:root.dark-mode .achiev-section,
:root.dark-mode .cta-section,
:root.dark-mode .error-hero,
:root.dark-mode .quick-specs-bar,
body.dark-mode .video-section,
body.dark-mode .notice-section,
body.dark-mode .achiev-section,
body.dark-mode .cta-section,
body.dark-mode .error-hero,
body.dark-mode .quick-specs-bar {
    background: var(--bg-main, #0B1120) !important;
    color: var(--text-main, #F8FAFC) !important;
}

/* Cards, Boxes & Containers */
:root.dark-mode .lightbox-container,
:root.dark-mode .article-modal-box,
:root.dark-mode .featured-article,
:root.dark-mode .doc-item,
:root.dark-mode .gdpr-info-card,
:root.dark-mode .side-nav-card,
:root.dark-mode .sitemap-col,
:root.dark-mode .sitemap-search-bar,
:root.dark-mode .testi-card,
:root.dark-mode .proj-item,
:root.dark-mode .ps-box,
:root.dark-mode .doc-section,
:root.dark-mode .results-table-box,
:root.dark-mode .c-card,
:root.dark-mode .form-box,
:root.dark-mode .ab-feature,
:root.dark-mode .nl-item,
:root.dark-mode .contact-card,
:root.dark-mode .right-item,
:root.dark-mode .error-quick-links,
:root.dark-mode .eql-card,
:root.dark-mode .error-badge,
:root.dark-mode #radioWidgetBox,
:root.dark-mode .bursa-card.featured,
:root.dark-mode .article-modal-footer,
:root.dark-mode .lightbox-meta-bar,
body.dark-mode .lightbox-container,
body.dark-mode .article-modal-box,
body.dark-mode .featured-article,
body.dark-mode .doc-item,
body.dark-mode .gdpr-info-card,
body.dark-mode .side-nav-card,
body.dark-mode .sitemap-col,
body.dark-mode .sitemap-search-bar,
body.dark-mode .testi-card,
body.dark-mode .proj-item,
body.dark-mode .ps-box,
body.dark-mode .doc-section,
body.dark-mode .results-table-box,
body.dark-mode .c-card,
body.dark-mode .form-box,
body.dark-mode .ab-feature,
body.dark-mode .nl-item,
body.dark-mode .contact-card,
body.dark-mode .right-item,
body.dark-mode .error-quick-links,
body.dark-mode .eql-card,
body.dark-mode .error-badge,
body.dark-mode #radioWidgetBox,
body.dark-mode .bursa-card.featured,
body.dark-mode .article-modal-footer,
body.dark-mode .lightbox-meta-bar {
    background: var(--bg-surface, #1E293B) !important;
    color: var(--text-main, #F8FAFC) !important;
    border-color: var(--border, rgba(255, 255, 255, 0.1)) !important;
}

:root.dark-mode .mgmt-avatar,
body.dark-mode .mgmt-avatar {
    background: #0B1120 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Inputs, Buttons & Filters */
:root.dark-mode .form-control,
:root.dark-mode .f-filter-btn,
:root.dark-mode .gal-filter-btn,
:root.dark-mode .filter-btn,
:root.dark-mode .sched-btn,
:root.dark-mode .c-search-input,
:root.dark-mode .search-input,
:root.dark-mode .sitemap-search-bar input,
:root.dark-mode .dedic-input,
:root.dark-mode .sub-strip-form input,
:root.dark-mode .modal-close-btn,
:root.dark-mode .lightbox-close,
body.dark-mode .form-control,
body.dark-mode .f-filter-btn,
body.dark-mode .gal-filter-btn,
body.dark-mode .filter-btn,
body.dark-mode .sched-btn,
body.dark-mode .c-search-input,
body.dark-mode .search-input,
body.dark-mode .sitemap-search-bar input,
body.dark-mode .dedic-input,
body.dark-mode .sub-strip-form input,
body.dark-mode .modal-close-btn,
body.dark-mode .lightbox-close {
    background: var(--bg-main, #0B1120) !important;
    color: var(--text-main, #F8FAFC) !important;
    border-color: var(--border, rgba(255, 255, 255, 0.15)) !important;
}

:root.dark-mode .form-control:focus,
:root.dark-mode .c-search-input:focus,
:root.dark-mode .search-input:focus,
:root.dark-mode .sitemap-search-bar input:focus,
:root.dark-mode .dedic-input:focus,
:root.dark-mode .sub-strip-form input:focus,
body.dark-mode .form-control:focus,
body.dark-mode .c-search-input:focus,
body.dark-mode .search-input:focus,
body.dark-mode .sitemap-search-bar input:focus,
body.dark-mode .dedic-input:focus,
body.dark-mode .sub-strip-form input:focus {
    border-color: #38BDF8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
    outline: none !important;
}

:root.dark-mode .f-filter-btn.active,
:root.dark-mode .gal-filter-btn.active,
:root.dark-mode .filter-btn.active,
body.dark-mode .f-filter-btn.active,
body.dark-mode .gal-filter-btn.active,
body.dark-mode .filter-btn.active {
    background: var(--gold, #C5A059) !important;
    color: #0B1120 !important;
    border-color: var(--gold, #C5A059) !important;
}

/* Headings and High-Contrast Text in Dark Mode */
:root.dark-mode .error-number,
:root.dark-mode .error-title,
:root.dark-mode .eql-header,
:root.dark-mode .eql-card-title,
:root.dark-mode .spec-item-val,
:root.dark-mode .comp-card h4,
:root.dark-mode .lab-title,
:root.dark-mode .bc-val,
:root.dark-mode .bc-title,
:root.dark-mode .bc-features,
:root.dark-mode .table-header h3,
:root.dark-mode .step-box h4,
:root.dark-mode .faq-question,
:root.dark-mode .mgmt-name,
:root.dark-mode .prof-title-box h4,
:root.dark-mode .pd-val,
:root.dark-mode .cat-card h3,
:root.dark-mode .guide-box h4,
:root.dark-mode .support-card h3,
:root.dark-mode .cc-title,
:root.dark-mode .cc-text strong,
:root.dark-mode .form-header h2,
:root.dark-mode .form-group label,
:root.dark-mode .info-box h3,
:root.dark-mode .gal-card-title,
:root.dark-mode .vid-title,
:root.dark-mode .lightbox-title,
:root.dark-mode .n-title,
:root.dark-mode .fa-title,
:root.dark-mode .am-title,
:root.dark-mode .am-body h4,
:root.dark-mode .nl-title,
:root.dark-mode .ab-text h4,
:root.dark-mode .t-name,
:root.dark-mode .m-name,
:root.dark-mode .sc-head h3,
:root.dark-mode .sc-subjects li,
:root.dark-mode .career-list li,
:root.dark-mode .proj-title,
:root.dark-mode .ps-val,
:root.dark-mode .ta-name,
:root.dark-mode .part-name,
:root.dark-mode .step-title,
:root.dark-mode .doc-info h4,
:root.dark-mode .rule-title,
:root.dark-mode .right-item h5,
:root.dark-mode .res-val,
:root.dark-mode .c-val,
:root.dark-mode .sitemap-col h3,
:root.dark-mode .sitemap-list a,
:root.dark-mode #radioWidgetBox div[onclick],
body.dark-mode .error-number,
body.dark-mode .error-title,
body.dark-mode .eql-header,
body.dark-mode .eql-card-title,
body.dark-mode .spec-item-val,
body.dark-mode .comp-card h4,
body.dark-mode .lab-title,
body.dark-mode .bc-val,
body.dark-mode .bc-title,
body.dark-mode .bc-features,
body.dark-mode .table-header h3,
body.dark-mode .step-box h4,
body.dark-mode .faq-question,
body.dark-mode .mgmt-name,
body.dark-mode .prof-title-box h4,
body.dark-mode .pd-val,
body.dark-mode .cat-card h3,
body.dark-mode .guide-box h4,
body.dark-mode .support-card h3,
body.dark-mode .cc-title,
body.dark-mode .cc-text strong,
body.dark-mode .form-header h2,
body.dark-mode .form-group label,
body.dark-mode .info-box h3,
body.dark-mode .gal-card-title,
body.dark-mode .vid-title,
body.dark-mode .lightbox-title,
body.dark-mode .n-title,
body.dark-mode .fa-title,
body.dark-mode .am-title,
body.dark-mode .am-body h4,
body.dark-mode .nl-title,
body.dark-mode .ab-text h4,
body.dark-mode .t-name,
body.dark-mode .m-name,
body.dark-mode .sc-head h3,
body.dark-mode .sc-subjects li,
body.dark-mode .career-list li,
body.dark-mode .proj-title,
body.dark-mode .ps-val,
body.dark-mode .ta-name,
body.dark-mode .part-name,
body.dark-mode .step-title,
body.dark-mode .doc-info h4,
body.dark-mode .rule-title,
body.dark-mode .right-item h5,
body.dark-mode .res-val,
body.dark-mode .c-val,
body.dark-mode .sitemap-col h3,
body.dark-mode .sitemap-list a,
body.dark-mode #radioWidgetBox div[onclick] {
    color: #F8FAFC !important;
}

:root.dark-mode .sitemap-list a:hover,
body.dark-mode .sitemap-list a:hover {
    color: #38BDF8 !important;
}

/* Faculty Cards, Icon Containers & Badges in Dark Mode */
:root.dark-mode .fac-card,
body.dark-mode .fac-card {
    background: var(--bg-surface, #1E293B) !important;
    color: var(--text-main, #F8FAFC) !important;
    border-color: var(--border, rgba(255, 255, 255, 0.1)) !important;
}

:root.dark-mode .fac-name,
body.dark-mode .fac-name {
    color: #F8FAFC !important;
}

:root.dark-mode .fac-avatar,
:root.dark-mode .ach-icon,
:root.dark-mode .award-icon,
:root.dark-mode .dp-icon,
:root.dark-mode .p-icon-wrap,
:root.dark-mode .ab-icon,
:root.dark-mode .nl-icon,
:root.dark-mode .acc-icon,
:root.dark-mode .cc-icon,
:root.dark-mode .cat-icon,
:root.dark-mode .doc-icon,
:root.dark-mode .rule-icon,
:root.dark-mode .eql-icon,
:root.dark-mode .prof-avatar,
:root.dark-mode .spec-item-icon,
body.dark-mode .fac-avatar,
body.dark-mode .ach-icon,
body.dark-mode .award-icon,
body.dark-mode .dp-icon,
body.dark-mode .p-icon-wrap,
body.dark-mode .ab-icon,
body.dark-mode .nl-icon,
body.dark-mode .acc-icon,
body.dark-mode .cc-icon,
body.dark-mode .cat-icon,
body.dark-mode .doc-icon,
body.dark-mode .rule-icon,
body.dark-mode .eql-icon,
body.dark-mode .prof-avatar,
body.dark-mode .spec-item-icon {
    background: rgba(56, 189, 248, 0.14) !important;
    color: #38BDF8 !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
}

:root.dark-mode .gal-zoom-icon,
body.dark-mode .gal-zoom-icon {
    background: rgba(15, 23, 42, 0.92) !important;
    color: #38BDF8 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

:root.dark-mode .badge-blue,
body.dark-mode .badge-blue {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38BDF8 !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
}

:root.dark-mode .badge-green,
body.dark-mode .badge-green {
    background: rgba(16, 185, 129, 0.16) !important;
    color: #34D399 !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
}

:root.dark-mode .badge-gold,
body.dark-mode .badge-gold {
    background: rgba(197, 160, 89, 0.2) !important;
    color: #E2C07D !important;
    border-color: rgba(197, 160, 89, 0.4) !important;
}

:root.dark-mode .nav-links a.active,
:root.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active,
body.dark-mode .nav-links a:hover {
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
}

/* ==========================================================================
   8. Mobile Telemetry & Quick-Specs Bar Optimization (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .quick-specs-bar {
        padding: 16px 0 !important;
    }
    .specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px 10px !important;
    }
    .spec-item {
        gap: 10px !important;
        align-items: center !important;
    }
    .spec-item-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.1rem !important;
    }
    .spec-item-val {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
    }
    .spec-item-lbl {
        font-size: 0.6rem !important;
        letter-spacing: 0.6px !important;
    }
}

/* ==========================================================================
   9. Dark Mode Deep Navy Surface Preservation (.min-bar, .h-card-head, etc.)
   ========================================================================== */
:root.dark-mode .min-bar,
body.dark-mode .min-bar {
    background: #071326 !important;
    border-bottom: 2px solid #C5A059 !important;
}

:root.dark-mode .h-card-head,
body.dark-mode .h-card-head {
    background: linear-gradient(135deg, #0B284A 0%, #124076 100%) !important;
    color: #FFFFFF !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25) !important;
}

:root.dark-mode .stats-section,
:root.dark-mode .gal-stats-bar,
:root.dark-mode .testim-section,
body.dark-mode .stats-section,
body.dark-mode .gal-stats-bar,
body.dark-mode .testim-section {
    background: #071326 !important;
}

:root.dark-mode .st-cell,
body.dark-mode .st-cell {
    background: #0F1E36 !important;
}

:root.dark-mode .nav-crest rect,
body.dark-mode .nav-crest rect {
    fill: #0B284A !important;
    stroke: #C5A059 !important;
    stroke-width: 1.5px !important;
}

:root.dark-mode .btn-primary,
body.dark-mode .btn-primary {
    background: #124076 !important;
    color: #FFFFFF !important;
    border-color: rgba(197, 160, 89, 0.45) !important;
}

:root.dark-mode .btn-primary:hover,
body.dark-mode .btn-primary:hover {
    background: #1E3A8A !important;
    border-color: #C5A059 !important;
}

:root.dark-mode #radioWidgetBox button,
body.dark-mode #radioWidgetBox button {
    background: #124076 !important;
    color: #C5A059 !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
}
