/* Variabile de sistem pentru o tema unitara */
:root {
    --primary: #003f7f;
    --secondary: #00509e;
    --accent: #f39c12;
    --success: #28a745;
    --danger: #dc3545;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --text-dark: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header și Hero Area */
.site-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.header-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.header-logos img {
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Navigation */
.main-nav {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    padding: 0.95rem 0.95rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    white-space: nowrap;
    transition: 0.25s ease;
    border-bottom: 3px solid transparent;
}

.nav-item:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}


@media (min-width: 769px) and (max-width: 1250px) {
    .nav-item {
        padding: 0.8rem 0.55rem;
        font-size: 0.86rem;
    }

}

/* Layout Containers */
.container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Container pentru Video Responsiv */
section {
    background: transparent;
    border: 2px solid rgba(0, 63, 127, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

body.dark-mode section {
    border-color: rgba(255, 255, 255, 0.20);
}

/* Carduri si Liste Moderne */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Card informativ standardizat (.info-card) */
.info-card {
    background: transparent;
    border: 1px solid rgba(0, 63, 127, 0.16);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body.dark-mode .info-card {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.info-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary, #003f7f);
    background: rgba(0, 63, 127, 0.02);
}

body.dark-mode .info-card:hover {
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.03);
}

/* Modificatori semantici unificați pentru .info-card */
.info-card.card-primary,
.info-card.callout-card-primary {
    border-color: rgba(0, 63, 127, 0.28);
    background: rgba(0, 63, 127, 0.015);
}

.info-card.card-accent,
.info-card.callout-card-accent {
    border-color: rgba(243, 156, 18, 0.35);
    background: rgba(243, 156, 18, 0.02);
}

.info-card.card-secondary {
    border-color: rgba(0, 80, 158, 0.3);
    background: rgba(0, 80, 158, 0.02);
}

body.dark-mode .info-card.card-primary,
body.dark-mode .info-card.callout-card-primary {
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(96, 165, 250, 0.03);
}

body.dark-mode .info-card.card-accent,
body.dark-mode .info-card.callout-card-accent {
    border-color: rgba(243, 156, 18, 0.4);
    background: rgba(243, 156, 18, 0.03);
}

body.dark-mode .info-card.card-secondary {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.03);
}

/* Tabele Admitere */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.modern-table th {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    text-align: left;
}

.modern-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.modern-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.modern-table tr:hover {
    background-color: #f1f7ff;
}

.status-badge {
    background: var(--success);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
}

/* Calendar Timeline style */
/* Utilitare */
.btn-cta {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: 0.3s;
}

.btn-cta:hover {
    background: #e67e22;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

/* Mobile optimizations */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-item {
        text-align: center;
        padding: 0.8rem;
    }

    section {
        padding: 1.2rem;
    }

    .header-logos img {
        height: 60px;
    }

}

/* Stil pentru titlurile de sub-secțiuni */
.footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary);
    color: white;
    margin-top: 3rem;
}

/* Stiluri specifice pentru conceptul de Threads / Micro-blogging (admitere.html) */
.thread-column {
    background: #f0f2f5;
    padding: 1.5rem;
    border-radius: 16px;
    max-height: 800px;
    overflow-y: auto;
}

.thread-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e4e8;
}

.thread-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.user-info .name {
    font-weight: bold;
    display: block;
    font-size: 0.9rem;
}

.user-info .handle {
    color: #65676b;
    font-size: 0.8rem;
}

.thread-content {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.thread-footer {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    color: #65676b;
    font-size: 0.85rem;
}

.thread-footer i {
    cursor: pointer;
}

.thread-footer i:hover {
    color: var(--accent);
}

.tag {
    color: var(--secondary);
    font-weight: 500;
}


@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    /* Force single column for info cards on small screens */
}

/* ==========================================================================

   EXTENSII MODERNE ȘI ESTETICĂ PREMIUM (COMPATIBILITATE DEPLINĂ)

   ========================================================================== */
/* Tranzitii generale */
.nav-item,
.btn-cta,
.info-card,
.thread-card,
.filter-btn,
.theme-toggle {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Glassmorphism navbar efect la scroll */
.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    -webkit- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Meniu Dropdown pe Desktop */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Elemente noi pentru navigare: logo si toggles */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 10;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
}


@media (min-width: 769px) {
    .nav-container {
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        padding: 0 1rem;
        position: relative;
    }

    .nav-brand {
        position: static;
        transform: none;
        flex-shrink: 0;
        margin: 0;
    }

    .nav-menu {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
}

@media (min-width: 769px) and (max-width: 1250px) {
    .nav-container {
        gap: 0.75rem;
    }

    .nav-item {
        padding: 0.85rem 0.5rem;
        font-size: 0.86rem;
    }

    .theme-toggle {
        margin-left: 0.4rem;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mod Dark Mode */
body.dark-mode {
    --bg-light: #0b132b;
    --white: #1c2541;
    --text-dark: #e0e6ed;
    --primary: #48cae4;
    --secondary: #00b4d8;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .main-nav {
    background: #1c2541;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .main-nav.scrolled {
    background: rgba(28, 37, 65, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .nav-item {
    color: #e0e6ed;
}

body.dark-mode .thread-column {
    background: #151e3d;
}

body.dark-mode .thread-card {
    border-color: #3a506b;
}

body.dark-mode .modern-table tr:nth-child(even) {
    background-color: #151e3d;
}

body.dark-mode .modern-table tr:hover {
    background-color: #2a3b68;
}

body.dark-mode .modern-table td {
    border-bottom: 1px solid #3a506b;
}

/* Buton toggle tema */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--accent);
}

body.dark-mode .theme-toggle {
    color: var(--accent);
}

body.dark-mode .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--white);
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(50px);
    opacity: 0;
    animation: toast-in 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    font-weight: 600;
    min-width: 250px;
}

.toast.success {
    border-left-color: var(--success);
}

.toast.danger {
    border-left-color: var(--danger);
}

.toast.info {
    border-left-color: var(--secondary);
}


@keyframes toast-in {
    to {

        transform: translateY(0);

        opacity: 1;

    }
}

/* Statistici animate */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Filtru interactiv programe educatie */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 80, 158, 0.2);
}

.program-card {
    display: block;
    animation: fadeIn 0.5s ease;
}

.program-card.hidden {
    display: none !important;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buton Scroll-to-Top */
.scroll-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: var(--primary);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.scroll-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Micro-blogging user interaction */
/* Mobile responsive modifications */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        text-align: left;
        padding: 1rem 2rem;
        border-bottom: none;
        border-left: 4px solid transparent;
    }

    .nav-item:hover {
        border-left-color: var(--accent);
        border-bottom-color: transparent;
        background-color: #f8fafc;
    }

    body.dark-mode .nav-menu {
        background-color: var(--white);
    }

    body.dark-mode .nav-item:hover {
        background-color: #202d54;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

}

/* ==========================================================================
   CONTEXTUAL SECONDARY RIBBON / SUB-NAVIGATION BAR
   ========================================================================== */
.subnav-ribbon {
    background: linear-gradient(90deg, #002d5a, #003f7f);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 57px;
    /* Sub meniul principal */
    z-index: 990;
    transition: all 0.3s ease;
}

.subnav-container {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: safe center;
    max-width: 1400px;
    gap: 6px;
    padding: 6px 14px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.subnav-container::-webkit-scrollbar {
    display: none;
}

.subnav-item {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.84rem;
    padding: 6px 13px;
    border-radius: 20px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.subnav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.subnav-item.active {
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

/* Dark mode compatibility */
body.dark-mode .subnav-ribbon {
    background: linear-gradient(90deg, #071322, #0e243f);
    border-bottom-color: var(--accent);
}

/* ==========================================================================
   FIXED WATERMARK (FILIGRAN TRANSPARENT PE FUNDAL LA SCROLL)
   ========================================================================== */
body.dark-mode

/* ==========================================================================
   AVIZIER DIGITAL HOMEPAGE (PANOU ANUNȚURI RAPIDE CU STICLĂ TRANSLUCIDĂ / GLASSMORPHISM)
   ========================================================================== */
.avizier-section {
    background: rgba(255, 255, 255, 0.1);
    -webkit- border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--accent);
    position: relative;
    z-index: 1;
}

body.dark-mode .avizier-section {
    background: rgba(14, 26, 43, 0.85);
    -webkit- border-color: var(--accent);
}

.avizier-filter-btn {
    background: rgba(241, 245, 249, 0.8);
    -webkit- color: #334155;
    border: 1px solid rgba(203, 213, 225, 0.7);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.avizier-filter-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: translateY(-1px);
}

.avizier-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 63, 127, 0.3);
}

body.dark-mode .avizier-filter-btn {
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    border-color: #334155;
}

body.dark-mode .avizier-filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.avizier-card {
    background: transparent !important;
    border: none !important;
    padding: 1rem 0;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(0, 63, 127, 0.08) !important;
}

body.dark-mode .avizier-card {
    background: transparent !important;
    border: none !important;
    padding: 1rem 0;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(0, 63, 127, 0.08) !important;
}

.avizier-card.important-notice {
    border: 2px solid var(--accent) !important;
    border-radius: 12px !important;
    padding: 1.1rem 1.2rem !important;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.22), 0 6px 18px rgba(0, 0, 0, 0.05) !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode .avizier-card.important-notice {
    border: 2px solid var(--accent) !important;
    border-radius: 12px !important;
    padding: 1.1rem 1.2rem !important;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.22), 0 6px 18px rgba(0, 0, 0, 0.3) !important;
    background: rgba(30, 41, 59, 0.9) !important;
}

.avizier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.94);
}

body.dark-mode .avizier-card:hover {
    background: rgba(26, 40, 66, 0.92);
}

/* ==========================================================================
   FIXED WATERMARK (FILIGRAN COMPLET CLAR ȘI CRISP PE FUNDAL)
   ========================================================================== */
.site-watermark {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, 85vw);
    height: min(720px, 85vw);
    background: url('../img/sigla_faithm_watermark.png') no-repeat center center;
    background-size: contain;
    opacity: 0.08;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

body.dark-mode .site-watermark {
    opacity: 0.18;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.15));
}

/* ==========================================================================
   AVIZIER DIGITAL ȘI SEARCH 2026 (FĂRĂ BLUR, CRISTALIN)
   ========================================================================== */
.avizier-section {
    background: transparent !important;
    border: 2px solid var(--accent) !important;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

body.dark-mode .avizier-section {
    border-color: var(--accent) !important;
}

.avizier-filter-btn {
    background: transparent;
    color: #334155;
    border: 1.5px solid rgba(0, 63, 127, 0.25);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

body.dark-mode .avizier-filter-btn {
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.2);
}

.avizier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    border-color: var(--secondary) !important;
}

/* ==========================================================================
   ANUNȚURI COMPLETE AVIZIER DIGITAL (PAGINĂ DEDICATĂ /AVIZIER/)
   ========================================================================== */
.avizier-full-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.avizier-full-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2.2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    scroll-margin-top: 130px;
    position: relative;
}

.avizier-full-card:hover {
    border-color: rgba(0, 63, 127, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.avizier-full-card.important-notice {
    border: 2.5px solid var(--accent) !important;
    border-radius: 14px !important;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.22), 0 10px 28px rgba(0, 0, 0, 0.06) !important;
    background: #ffffff !important;
}

body.dark-mode .avizier-full-card.important-notice {
    border: 2.5px solid var(--accent) !important;
    border-radius: 14px !important;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.22), 0 10px 28px rgba(0, 0, 0, 0.3) !important;
    background: #1e293b !important;
}

.avizier-full-card:target {
    border: 2.5px solid var(--accent) !important;
    box-shadow: 0 0 0 6px rgba(243, 156, 18, 0.35), 0 14px 34px rgba(0, 0, 0, 0.12) !important;
    animation: targetGlow 3s ease-out;
}


@keyframes targetGlow {
    0% {
        background-color: rgba(243, 156, 18, 0.18);
    }

    100% {
        background-color: #ffffff;
    }
}

.avizier-full-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
}

.avizier-full-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.2rem;
    line-height: 1.35;
}

.avizier-full-body {
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.8;
}

.avizier-full-body p {
    margin-bottom: 1rem;
}

.avizier-full-body ul {
    margin: 0.8rem 0 1.2rem 1.5rem;
    padding-left: 0.5rem;
}

.avizier-full-body li {
    margin-bottom: 0.4rem;
}

.avizier-full-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px dashed #e2e8f0;
}

body.dark-mode .avizier-full-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

body.dark-mode .avizier-full-title {
    color: #93c5fd;
}

body.dark-mode .avizier-full-body {
    color: #cbd5e1;
}

body.dark-mode .avizier-full-header {
    border-bottom-color: #334155;
}

body.dark-mode .avizier-full-footer {
    border-top-color: #334155;
}

/* ==========================================================================
   AVIZIER MULTIMEDIA: FOTO, GALERIE (2+ POZE), VIDEO & LIGHTBOX
   ========================================================================== */
.avizier-media-block {
    margin: 1.25rem 0 1.5rem 0;
    width: 100%;
}

.avizier-single-image-wrap {
    width: 100%;
}

.avizier-img-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: transparent;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 63, 127, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avizier-img-frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 63, 127, 0.16);
}

.avizier-zoomable-img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.avizier-img-frame:hover .avizier-zoomable-img {
    transform: scale(1.02);
}

.avizier-img-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease;
}

/* Galerie 2 sau mai multe poze */
.avizier-gallery-grid {
    display: grid;
    gap: 12px;
    width: 100%;
}

.avizier-gallery-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.avizier-gallery-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

    .avizier-gallery-grid.cols-2,
    .avizier-gallery-grid.cols-3 {
        grid-template-columns: 1fr;
    }
}

.avizier-gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    background: #0f172a;
    border: 1px solid rgba(0, 63, 127, 0.15);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avizier-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 63, 127, 0.18);
}

.avizier-gallery-item .avizier-zoomable-img {
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.avizier-gallery-item:hover .avizier-zoomable-img {
    transform: scale(1.05);
}

.avizier-gallery-item .avizier-img-zoom-badge {
    padding: 4px 10px;
    font-size: 0.72rem;
    bottom: 8px;
    right: 8px;
}

.avizier-media-caption {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.dark-mode .avizier-media-caption {
    color: #94a3b8;
}

/* Video Responsive 16:9 */
.avizier-video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 63, 127, 0.15);
}

.avizier-video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.avizier-video-responsive iframe,
.avizier-video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Lightbox Modal */
.avizier-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.avizier-lightbox-overlay.active {
    display: flex;
}

.avizier-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avizier-lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.avizier-lightbox-caption {
    margin-top: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
    text-align: center;
    max-width: 800px;
    background: rgba(15, 23, 42, 0.7);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.avizier-lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.avizier-lightbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.1);
}

/* ==========================================================================
   STYLIZED 2026 SEARCH BAR COMPONENT
   ========================================================================== */
.search-box-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 30px;
    padding: 6px 14px 6px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 290px;
}

.search-box-modern:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 14px rgba(0, 80, 158, 0.12);
}

.search-box-modern:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 63, 127, 0.12), 0 8px 24px rgba(0, 63, 127, 0.12);
    transform: translateY(-1px);
}

.search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-right: 10px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.search-box-modern:focus-within .search-icon-wrapper {
    color: var(--accent);
    transform: scale(1.1);
}

#avizier-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.92rem;
    color: var(--text-dark);
    width: 100%;
    font-family: inherit;
    font-weight: 500;
}

#avizier-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

#avizier-search-clear {
    display: none;
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    line-height: 20px;
    text-align: center;
    color: #475569;
    cursor: pointer;
    margin-left: 6px;
    padding: 0;
    transition: all 0.2s ease;
}

#avizier-search-clear:hover {
    background: var(--danger);
    color: white;
}

.search-shortcut {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-left: 8px;
    user-select: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

body.dark-mode .search-box-modern {
    background: #141f33;
    border-color: #2b3b55;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

body.dark-mode .search-box-modern:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.2);
}

body.dark-mode #avizier-search-input {
    color: #f1f5f9;
}

body.dark-mode #avizier-search-input::placeholder {
    color: #64748b;
}

body.dark-mode .search-shortcut {
    background: #1c2a42;
    border-color: #2b3b55;
    color: #94a3b8;
}

/* ==========================================================================
   MOTTO OFICIAL — ÎNCADRARE ELEGANTĂ, PRESTIGIOASĂ ȘI ARMONIOASĂ
   ========================================================================== */
/* ==========================================================================
   AVIZIER — BUTON DETALII FINUȚ, COMPACT ȘI RAFINAT (NU BLOONCOS)
   ========================================================================== */
.avizier-btn-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    width: 100%;
}

.avizier-btn-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.25px;
    color: var(--primary);
    background: rgba(0, 63, 127, 0.04);
    border: 1.2px solid rgba(0, 63, 127, 0.28);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    width: fit-content;
}

.avizier-btn-details .btn-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease;
    font-size: 0.85rem;
}

.avizier-btn-details:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(0, 63, 127, 0.22);
    transform: translateY(-1px);
}

.avizier-btn-details:hover .btn-arrow {
    transform: translateX(3px);
}

/* Variantă finuță pentru anunțuri urgente / importante */
.avizier-btn-details.important {
    color: #b7791f;
    background: rgba(243, 156, 18, 0.06);
    border-color: rgba(243, 156, 18, 0.45);
}

.avizier-btn-details.important:hover {
    background: var(--accent);
    color: #ffffff !important;
    border-color: var(--accent);
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

body.dark-mode .avizier-btn-details {
    color: #93c5fd;
    background: rgba(147, 197, 253, 0.06);
    border-color: rgba(147, 197, 253, 0.3);
}

body.dark-mode .avizier-btn-details:hover {
    background: var(--secondary);
    color: #ffffff !important;
    border-color: var(--secondary);
}

body.dark-mode .avizier-btn-details.important {
    color: #fcd34d;
    background: rgba(252, 211, 77, 0.08);
    border-color: rgba(252, 211, 77, 0.35);
}

body.dark-mode .avizier-btn-details.important:hover {
    background: var(--accent);
    color: #ffffff !important;
}

/* ==========================================================================
   PAGINA CONDUCERE ȘI ORGANIZARE ACADEMICĂ (STILURI MODULARE PENTRU COD CURAT)
   ========================================================================== */
/* Antet și Navigare rapidă prin ancore */
.quick-nav-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.quick-nav-link {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.quick-nav-link.active {
    background: #ffffff;
    color: var(--primary, #003f7f);
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

body.dark-mode .quick-nav-link.active {
    background: #60a5fa;
    color: #0f172a;
    border-color: #60a5fa;
}

.quick-nav-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Campus Filter Bar & Buttons (Filtru Rapid Campus Licență & Masterat)
   ========================================================================== */
.campus-filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
}

.campus-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #1e293b;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    user-select: none;
}

.campus-filter-btn:hover {
    background: #e2e8f0;
    color: var(--primary, #003f7f);
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.campus-filter-btn.active {
    background: var(--primary, #003f7f);
    color: #ffffff;
    border-color: var(--primary, #003f7f);
    box-shadow: 0 4px 14px rgba(0, 63, 127, 0.35);
    transform: translateY(-1px);
}

.campus-filter-btn .filter-count-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    transition: all 0.2s ease;
}

.campus-filter-btn.active .filter-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Dark Mode pentru Campus Filter */
body.dark-mode .campus-filter-btn {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .campus-filter-btn:hover {
    background: #334155;
    color: #ffffff;
    border-color: #475569;
}

body.dark-mode .campus-filter-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

body.dark-mode .campus-filter-btn .filter-count-badge {
    background: rgba(255, 255, 255, 0.12);
}

body.dark-mode .campus-filter-btn.active .filter-count-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* Fallback: stilizare non-transparentă dacă .quick-nav-link este utilizat pe fundal alb */
.org-section .quick-nav-link,
.container .quick-nav-link:not(.page-hero-banner .quick-nav-link) {
    background: #f1f5f9;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.org-section .quick-nav-link:hover,
.container .quick-nav-link:not(.page-hero-banner .quick-nav-link):hover {
    background: #e2e8f0;
    color: var(--primary, #003f7f);
    border-color: #94a3b8;
}

.org-section .quick-nav-link.active,
.container .quick-nav-link:not(.page-hero-banner .quick-nav-link).active {
    background: var(--primary, #003f7f);
    color: #ffffff;
    border-color: var(--primary, #003f7f);
    box-shadow: 0 4px 14px rgba(0, 63, 127, 0.35);
}

body.dark-mode .org-section .quick-nav-link,
body.dark-mode .container .quick-nav-link:not(.page-hero-banner .quick-nav-link) {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #334155;
}

body.dark-mode .org-section .quick-nav-link.active,
body.dark-mode .container .quick-nav-link:not(.page-hero-banner .quick-nav-link).active {
    background: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
}

/* Secțiuni și Titluri Standardizate */
.academic-section,
.org-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 90px;
}

/* 1. Decanat (Card Principal Decan și Prodecani) */
.decan-card {
    border-top: 4px solid var(--accent) !important;
    margin-bottom: 1.5rem;
    padding: 1.8rem;
}

.decan-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.decan-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
    border: 2px solid rgba(243, 156, 18, 0.4);
}

.decan-content {
    flex: 1;
    min-width: 280px;
}

.decan-role-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #b7791f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(243, 156, 18, 0.1);
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 0.4rem;
}

.decan-name {
    margin: 0;
    color: var(--primary);
    font-size: 1.45rem;
    line-height: 1.3;
}

.decan-desc {
    margin: 0.6rem 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.decan-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: #475569;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.8rem;
}

.decan-meta a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

.prodecani-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.prodecan-card {
    padding: 1.5rem;
}

.prodecan-card.invatamant {
    border-top: 4px solid var(--primary) !important;
}

.prodecan-card.cercetare {
    border-top: 4px solid var(--secondary) !important;
}

.prodecan-wrapper {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.prodecan-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.prodecan-avatar.invatamant {
    background: rgba(0, 63, 127, 0.1);
    border: 1.5px solid rgba(0, 63, 127, 0.3);
}

.prodecan-avatar.cercetare {
    background: rgba(0, 80, 158, 0.1);
    border: 1.5px solid rgba(0, 80, 158, 0.3);
}

.prodecan-content {
    flex: 1;
}

.prodecan-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 8px;
    border-radius: 8px;
    margin-bottom: 0.3rem;
}

.prodecan-tag.invatamant {
    color: var(--primary);
    background: rgba(0, 63, 127, 0.08);
}

.prodecan-tag.cercetare {
    color: var(--secondary);
    background: rgba(0, 80, 158, 0.08);
}

.prodecan-name {
    margin: 0 0 0.3rem 0;
    color: var(--primary);
    font-size: 1.15rem;
}

.prodecan-resort {
    margin: 0 0 0.8rem 0;
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
}

.prodecan-desc {
    margin: 0 0 0.8rem 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.prodecan-meta {
    font-size: 0.84rem;
    color: #475569;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.6rem;
}

.prodecan-meta a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}

/* 2. Reprezentanți în Senat */
.senat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.senat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.6rem;
}

.senat-card-title {
    margin: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.senat-counter {
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(0, 63, 127, 0.08);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 10px;
}

.senat-counter.accent {
    background: rgba(243, 156, 18, 0.12);
    color: #b7791f;
}

.senat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.senat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.senat-item:last-child {
    border-bottom: none;
}

.senat-item-num {
    color: var(--accent);
    font-weight: 700;
}

.senat-item-subtitle {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
}

.senat-item-subtitle.highlight {
    color: #b7791f;
    font-weight: 600;
}

.senat-student-box {
    background: rgba(0, 63, 127, 0.03);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 63, 127, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.senat-student-icon {
    font-size: 1.4rem;
}

.senat-student-name {
    color: var(--primary);
    font-size: 1rem;
}

/* 3. Consiliul Facultății */
.consiliu-cadre-card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0.5rem 0 !important;
}

.consiliu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.6rem;
}

.consiliu-grid-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    font-size: 0.92rem;
}

.consiliu-member-item {
    padding: 8px 12px;
    background: rgba(0, 63, 127, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(0, 63, 127, 0.1);
}

.consiliu-member-item.leader {
    font-weight: 600;
    color: var(--primary);
}

.consiliu-students-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.consiliu-students-title {
    margin: 0 0 0.8rem 0;
    color: var(--secondary);
    font-size: 1.05rem;
}

.consiliu-students-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.student-tag {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #925400;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.86rem;
    font-weight: 600;
}

/* Comisii de specialitate */
.comisii-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.2rem;
}

.comisie-card {
    padding: 1.2rem;
}

.comisie-card.c1 {
    border-top: 3px solid var(--accent) !important;
}

.comisie-card.c2 {
    border-top: 3px solid var(--secondary) !important;
}

.comisie-card.c3 {
    border-top: 3px solid var(--primary) !important;
}

.comisie-card.c4 {
    border-top: 3px solid #28a745 !important;
}

.comisie-card.c5 {
    border-top: 3px solid #6f42c1 !important;
}

.comisie-name {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
}

.comisie-leader {
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.comisie-card.c1 .comisie-leader {
    color: #b7791f;
}

.comisie-card.c2 .comisie-leader {
    color: var(--secondary);
}

.comisie-card.c3 .comisie-leader {
    color: var(--primary);
}

.comisie-card.c4 .comisie-leader {
    color: #28a745;
}

.comisie-card.c5 .comisie-leader {
    color: #6f42c1;
}

.comisie-members {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* 4. Secretariat */
.secretariat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.secretariat-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
}

.secretariat-box-title {
    margin: 0;
    color: var(--primary);
    font-size: 1.15rem;
}

.schedule-panel {
    background: rgba(0, 63, 127, 0.03);
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 63, 127, 0.1);
    margin-bottom: 1rem;
}

.schedule-row {
    font-size: 0.95rem;
}

.schedule-row:first-child {
    margin-bottom: 0.6rem;
}

.schedule-time-badge {
    display: inline-block;
    background: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 4px;
    border: 1px solid #cbd5e1;
}

.secretariat-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.staff-card {
    text-align: center;
    padding: 1.5rem;
}

.staff-photo-ring {
    margin: 0 auto 0.8rem auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.staff-photo-ring.accent {
    border: 3px solid var(--accent);
}

.staff-photo-ring.primary {
    border: 3px solid var(--primary);
}

.staff-photo-ring.secondary {
    border: 3px solid var(--secondary);
}

.staff-photo-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-role-badge {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
}

.staff-role-badge.accent {
    color: #b7791f;
    background: rgba(243, 156, 18, 0.1);
}

.staff-role-badge.primary {
    color: var(--primary);
    background: rgba(0, 63, 127, 0.08);
}

.staff-role-badge.secondary {
    color: var(--secondary);
    background: rgba(0, 80, 158, 0.08);
}

.staff-name {
    margin: 0.5rem 0 0.2rem 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.staff-desc {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.staff-card-top-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.staff-center-badge {
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
}

.staff-function-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary, #0056b3);
    margin-bottom: 0.4rem;
}

.staff-contact-details {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(0, 63, 127, 0.15);
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.staff-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    word-break: break-all;
}

.staff-contact-link {
    color: var(--primary, #003f7f);
    text-decoration: none;
    transition: color 0.15s ease;
}

.staff-contact-link:hover {
    color: #005cb8;
    text-decoration: underline;
}

body.dark-mode .staff-contact-details {
    border-top-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .staff-contact-item {
    color: #cbd5e1;
}

body.dark-mode .staff-contact-link {
    color: #93c5fd;
}

body.dark-mode .staff-desc {
    color: #94a3b8;
}

body.dark-mode .staff-function-title {
    color: #60a5fa;
}

/* Dark mode adjustments */
body.dark-mode .decan-avatar {
    background: rgba(243, 156, 18, 0.2);
}

body.dark-mode .senat-student-box,
body.dark-mode .consiliu-member-item,
body.dark-mode .schedule-panel {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .schedule-time-badge {
    background: rgba(30, 41, 59, 0.8);
    color: #93c5fd;
    border-color: #334155;
}

/* ==========================================================================
   GLOBAL REUSABLE COMPONENT CLASSES (SITE-WIDE CLEAN REFACTORING)
   ========================================================================== */
/* 1. Page Hero Banner și Headers */
.page-hero-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 3.5rem 1rem;
    border-radius: 0 0 40px 40px;
    text-align: center;
}

.page-hero-title {
    font-size: 2.3rem;
    color: #ffffff !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0.5rem;
    text-align: center;
}

.page-hero-subtitle {
    font-size: 1.15rem;
    max-width: 860px;
    margin: 0 auto;
    opacity: 0.95;
    text-align: center;
    line-height: 1.6;
}

/* 2. Badges și Cartouches */
.academic-pill-badge {
    display: inline-block;
    background: rgb(255, 255, 255);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(0, 63, 127, 0.2);
}

.academic-pill-badge.accent {
    color: var(--accent);
    background: rgba(243, 156, 18, 0.12);
    border-color: rgba(243, 156, 18, 0.3);
}

.academic-pill-badge.muted {
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
    border-color: rgba(100, 116, 139, 0.25);
}

.academic-pill-badge.secondary {
    color: var(--secondary);
    background: rgba(0, 80, 158, 0.1);
    border-color: rgba(0, 80, 158, 0.25);
}

.academic-pill-badge.primary {
    color: var(--primary, #003f7f);
    background: rgba(0, 63, 127, 0.08);
    border-color: rgba(0, 63, 127, 0.25);
}

.academic-pill-badge.outline {
    background: transparent;
    color: var(--primary, #003f7f);
    border-color: rgba(0, 63, 127, 0.3);
}

.card-category-label {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.2rem;
}

/* 3. Section Titles, Lead Paragraphs și Academic Typography */
.section-title-academic {
    font-size: 1.9rem;
    margin-top: 0;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.section-title-academic.white {
    color: #ffffff !important;
    border: none !important;
    padding: 0 !important;
}

.lead-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.lead-paragraph.muted {
    color: #64748b;
    font-size: 0.95rem;
}

.card-title-primary {
    color: var(--primary);
    margin: 0.4rem 0;
    font-size: 1.2rem;
}

.card-text-body {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.4rem 0 0.8rem 0;
}

.card-readmore-link {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.card-readmore-link:hover {
    transform: translateX(3px);
}

/* 4. Highlight Callout Cards */
/* 5. Layout Containers și Split Sections */
.content-container-max {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.split-flex-center {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.split-content-main {
    flex: 1 1 550px;
}

.split-media-side {
    flex: 1 1 380px;
    text-align: center;
}

.media-frame-box {
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.media-frame-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 63, 127, 0.15);
}

.media-frame-caption {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
}

/* 6. Academic Tables */
.academic-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.academic-table th {
    padding: 12px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.academic-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    color: var(--text-dark);
}

.academic-table tr:nth-child(even) td {
    background: rgba(0, 63, 127, 0.02);
}

body.dark-mode .academic-table td {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

body.dark-mode .academic-table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03);
}

/* Eliminare dungi alternative (zebra striping) pentru tabele uniforme / calendar didactic */
.calendar-panel-wrapper .modern-table tr:nth-child(even),
.calendar-panel-wrapper .academic-table tr:nth-child(even) td,
.calendar-panel-wrapper .modern-table tr:nth-child(odd),
.calendar-panel-wrapper .academic-table tr:nth-child(odd) td,
.academic-table.table-uniform tr:nth-child(even) td,
.academic-table.table-uniform tr:nth-child(odd) td {
    background: transparent !important;
    background-color: transparent !important;
}

body.dark-mode .calendar-panel-wrapper .modern-table tr:nth-child(even),
body.dark-mode .calendar-panel-wrapper .academic-table tr:nth-child(even) td,
body.dark-mode .calendar-panel-wrapper .modern-table tr:nth-child(odd),
body.dark-mode .calendar-panel-wrapper .academic-table tr:nth-child(odd) td,
body.dark-mode .academic-table.table-uniform tr:nth-child(even) td,
body.dark-mode .academic-table.table-uniform tr:nth-child(odd) td {
    background: transparent !important;
    background-color: transparent !important;
}

/* 7. Avizier Homepage Elements */
.avizier-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.8rem;
}

.avizier-header-bar h2 {
    font-size: 1.8rem;
    margin: 0.4rem 0 0 0;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.avizier-categories-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.avizier-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}

.avizier-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    gap: 10px;
}

.avizier-card-date {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 600;
}

.avizier-item-title {
    font-size: 1.15rem;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
}

.avizier-item-snippet {
    font-size: 0.92rem;
    line-height: 1.55;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.avizier-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    opacity: 0.8;
}

.avizier-footer-archive-bar {
    text-align: right;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #cbd5e1;
}

.avizier-archive-link {
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.92rem;
}

/* 8. Documents și Action Cards */
.doc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

.doc-card-icon {
    font-size: 1.8rem;
}

.doc-btn-download {
    padding: 8px 16px;
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
}

/* 9. Gallery și Media Cards */
.gallery-card {
    padding: 1rem;
    text-align: center;
}

.gallery-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(0, 63, 127, 0.15);
}

.gallery-card-img.contain {
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
}

.gallery-card-title {
    margin: 0 0 0.3rem 0;
    color: var(--primary);
    font-size: 1.05rem;
}

.gallery-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* 10. Footer Components */
.footer-link-item {
    color: var(--white) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-item:hover {
    color: var(--accent) !important;
}

/* 11. Academic Features și Quick Links */
.center-action-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.academic-feature-list {
    font-size: 0.9rem;
    padding-left: 1rem;
    line-height: 1.8;
    margin-top: 0.5rem;
}

.academic-feature-text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0.5rem;
}

.academic-feature-small {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* 12. Milestones și Timeline Components */
.milestone-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.milestone-title {
    color: var(--primary);
    margin: 0;
    font-size: 1.25rem;
}

.milestone-text {
    line-height: 1.7;
    margin: 0;
    color: var(--text-dark);
}

.doc-type-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    text-transform: uppercase;
}

.doc-type-badge.primary {
    color: var(--primary);
    background: rgba(0, 63, 127, 0.08);
}

.doc-type-badge.accent {
    color: var(--accent);
    background: rgba(243, 156, 18, 0.12);
}

.doc-type-badge.muted {
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
}

.doc-type-badge.secondary {
    color: var(--secondary);
    background: rgba(0, 80, 158, 0.1);
}

.inline-action-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.inline-action-link:hover {
    color: var(--accent);
}

.gallery-grid-uniform {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.mt-08 {
    margin-top: 0.8rem;
}

.mt-10 {
    margin-top: 1rem;
}

.mt-15 {
    margin-top: 1.5rem;
}

.mb-10 {
    margin-bottom: 1rem;
}

.mb-15 {
    margin-bottom: 1.5rem;
}

/* 13. Additional Helper și Badge Classes */
.flex-column-gap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-title-flex {
    color: var(--primary);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 14. Calitate, Baza Materiala și Conducere Details */
.doc-btn-compact {
    padding: 6px 14px;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

.subgroup-heading {
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    color: var(--primary);
}

.department-stat-pill {
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--primary);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 12px;
}

.department-sub-note {
    font-size: 0.78rem;
    color: #b7791f;
    display: block;
    font-weight: 400;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.contact-phone-link {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

.contact-email-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-email-link:hover,
.contact-phone-link:hover {
    text-decoration: underline;
}

.color-secondary {
    color: var(--secondary) !important;
}

.color-primary {
    color: var(--primary) !important;
}

/* 15. Department Specific Classes */
.cv-badge-btn {
    background: var(--secondary);
    color: #ffffff !important;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.cv-badge-btn:hover {
    opacity: 0.88;
}

.lucrari-badge-btn {
    background: #0d9488;
    color: #ffffff !important;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.lucrari-badge-btn:hover {
    opacity: 0.88;
}

.director-callout-box {
    background: transparent;
    border: none !important;
    padding: 1rem 0;
    margin: 1.5rem 0;
}

body.dark-mode .director-callout-box {
    background: transparent;
    border: none !important;
    padding: 1rem 0;
    margin: 1.5rem 0;
}

.dept-field-lead {
    font-weight: 600;
    color: var(--secondary);
}

.dept-card-btn-primary {
    background: var(--primary) !important;
    margin-top: 1rem;
    display: inline-block;
}

.dept-card-btn-accent {
    background: var(--accent) !important;
    margin-top: 1rem;
    display: inline-block;
}

/* 16. Header și Navigation Structure */
.top-header-banner {
    padding: 1.2rem 1rem;
}

.header-brand-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.header-logo-ucv {
    height: 92px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s;
}

.header-logo-ucv:hover {
    transform: scale(1.03);
}

.header-brand-text {
    text-align: center;
    max-width: 780px;
}

.header-main-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.25;
}

.header-main-title-1 {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.25;
}

.header-sub-motto {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 5px 0 0 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-logo-mec {
    height: 105px;
    width: 105px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
    transition: transform 0.3s;
}

.header-logo-mec:hover {
    transform: scale(1.05);
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand-icon {
    height: 38px;
    width: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.25s ease;
}

.nav-brand-icon-old {
    height: 38px !important;
    width: 38px !important;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease;
}

.nav-brand-icon-old:hover {
    transform: scale(1.08);
}

body.dark-mode .nav-brand-icon-old {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nav-item-flex {
    display: flex;
    align-items: center;
}

/* 17. Footer Structure */
.site-footer-main {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 1rem 1.5rem 1rem;
    margin-top: 3rem;
}

.footer-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
}

.footer-logo-left {
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-logo-circle {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.footer-brand-title {
    color: var(--accent);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.footer-column-heading {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-text-line {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    font-size: 0.95rem;
    line-height: 2;
}

.footer-bottom-bar {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* 18. Generic Academic Helpers (Studenti, Educatie, Admitere, Cercetare) */
/* ==========================================================================
   ULTRA-PREMIUM ACADEMIC BUTTON SYSTEM (MODERN UI / UX)
   ========================================================================== */
/* Base Button Structure */
.btn,
.academic-card-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0.68rem 1.45rem !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.3 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    border: 1.5px solid transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Icon și Animated Arrow in Buttons */
.btn .btn-icon {
    font-size: 1.05rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.btn .btn-arrow {
    display: inline-block !important;
    font-size: 1.05rem !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn:hover .btn-arrow {
    transform: translateX(4px) !important;
}

.btn:active,
.academic-card-btn:active {
    transform: translateY(0) scale(0.98) !important;
}

/* 1. Primary Button: Deep Royal Navy Gradient with 3D Elevation */
.btn-primary,
.academic-card-btn.primary {
    background: linear-gradient(135deg, #003f7f 0%, #005cb8 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 14px rgba(0, 63, 127, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.btn-primary:hover,
.academic-card-btn.primary:hover {
    background: linear-gradient(135deg, #003063 0%, #004c99 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 20px rgba(0, 63, 127, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* 2. Outline / Glass Button: Refined Translucent Glass Pill with Hover Glow */
.btn-outline,
.academic-card-btn.outline {
    background: rgba(0, 63, 127, 0.05) !important;
    color: #003f7f !important;
    border: 1.5px solid rgba(0, 63, 127, 0.28) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    box-shadow: 0 2px 8px rgba(0, 63, 127, 0.05) !important;
}

.btn-outline:hover,
.academic-card-btn.outline:hover {
    background: linear-gradient(135deg, #003f7f 0%, #005cb8 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 63, 127, 0.28) !important;
}

/* 3. Secondary Button: Soft Emerald / Subtle Glass for PDF Downloads */
.btn-secondary,
.academic-card-btn.secondary {
    background: rgba(16, 185, 129, 0.08) !important;
    color: #047857 !important;
    border: 1.5px solid rgba(16, 185, 129, 0.32) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.06) !important;
}

.btn-secondary:hover,
.academic-card-btn.secondary:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.32) !important;
}

/* 4. Accent Button: Warm Amber / Gold Gradient */
.btn-accent,
.academic-card-btn.accent {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 14px rgba(211, 84, 0, 0.25) !important;
}

.btn-accent:hover,
.academic-card-btn.accent:hover {
    background: linear-gradient(135deg, #d35400 0%, #b04400 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.38) !important;
}

/* Sizes */
.btn-sm {
    padding: 0.45rem 1.05rem !important;
    font-size: 0.82rem !important;
}

.btn-lg {
    padding: 0.85rem 1.85rem !important;
    font-size: 0.95rem !important;
}

/* Dark Mode Button Adaptations */
body.dark-mode .btn-primary,
body.dark-mode .academic-card-btn.primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .btn-primary:hover,
body.dark-mode .academic-card-btn.primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

body.dark-mode .btn-outline,
body.dark-mode .academic-card-btn.outline {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #93c5fd !important;
    border: 1.5px solid rgba(147, 197, 253, 0.35) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .btn-outline:hover,
body.dark-mode .academic-card-btn.outline:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
}

body.dark-mode .btn-secondary,
body.dark-mode .academic-card-btn.secondary {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #6ee7b7 !important;
    border: 1.5px solid rgba(16, 185, 129, 0.35) !important;
}

body.dark-mode .btn-secondary:hover,
body.dark-mode .academic-card-btn.secondary:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: #ffffff !important;
}

/* Filter Tab Buttons */
.conf-tab-btn {
    border: 1.5px solid rgba(0, 63, 127, 0.22) !important;
    background: rgba(0, 63, 127, 0.05) !important;
    color: var(--text-dark, #1e293b) !important;
    padding: 0.52rem 1.35rem !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.conf-tab-btn:hover {
    background: rgba(0, 63, 127, 0.12) !important;
    border-color: rgba(0, 63, 127, 0.45) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 63, 127, 0.12) !important;
}

.conf-tab-btn.active {
    background: linear-gradient(135deg, #003f7f 0%, #005cb8 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(0, 63, 127, 0.28) !important;
}

body.dark-mode .conf-tab-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

body.dark-mode .conf-tab-btn:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

body.dark-mode .conf-tab-btn.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

.text-dark-sm {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0.5rem 0;
}

.text-dark-xs {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.m-0 {
    margin: 0 !important;
}

.mb-05 {
    margin-bottom: 0.5rem !important;
}

.mb-15 {
    margin-bottom: 1.5rem !important;
}

/* 19. Final Clean Utilities și Modifiers */
.footer-text-lead {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-text-address {
    font-size: 0.85rem;
    opacity: 0.75;
    margin: 0;
}

.header-brand-tag {
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Core Flexbox & Spacing Utilities */
.d-flex {
    display: flex !important;
}

.justify-between {
    justify-content: space-between !important;
}

.justify-center {
    justify-content: center !important;
}

.align-center {
    align-items: center !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.gap-10 {
    gap: 10px !important;
}

.gap-15 {
    gap: 15px !important;
}

.gap-20 {
    gap: 20px !important;
}

.ml-10 {
    margin-left: 10px !important;
}

/* ==========================================================================
   BIROUL CONSILIULUI FACULTĂȚII (BCF) ȘI CALITATE / REGULAMENTE
   ========================================================================== */
/* BCF Components */
.bcf-container {
    background: var(--card-bg, #ffffff);
    border: 1px solid rgba(0, 63, 127, 0.12);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.bcf-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 63, 127, 0.1);
}

.bcf-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px 0;
}

.bcf-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.bcf-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid rgba(0, 63, 127, 0.08);
}

.bcf-table {
    width: 100%;
    margin: 0;
}

.bcf-member-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bcf-member-icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 63, 127, 0.06);
}

.bcf-role-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bcf-badge-accent {
    background: rgba(220, 53, 69, 0.12);
    color: #c82333;
    border: 1px solid rgba(220, 53, 69, 0.25);
}

.bcf-badge-primary {
    background: rgba(0, 63, 127, 0.12);
    color: var(--primary);
    border: 1px solid rgba(0, 63, 127, 0.25);
}

.bcf-badge-secondary {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.bcf-badge-outline {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    border: 1px solid rgba(108, 117, 125, 0.25);
}

.bcf-badge-student {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.25);
}

.bcf-dept-cell {
    font-size: 0.92rem;
    color: #334155;
}

.bcf-meta-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bcf-role-desc {
    font-size: 0.85rem;
    color: #64748b;
}

.bcf-email-link {
    font-size: 0.82rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.bcf-email-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.text-center-col {
    text-align: center;
}

.width-60 {
    width: 60px;
}

.font-bold {
    font-weight: 700;
}

/* Calitate și Regulamente Components */
.calitate-ceac-banner {
    background: linear-gradient(135deg, rgba(0, 63, 127, 0.05) 0%, rgba(13, 110, 253, 0.03) 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.calitate-ceac-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e293b;
    margin-bottom: 12px;
}

.calitate-ceac-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 63, 127, 0.15);
}

.docs-category-card {
    background: var(--card-bg, #ffffff);
    border: 1px solid rgba(0, 63, 127, 0.1);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
}

.docs-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 63, 127, 0.08);
}

.docs-category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.docs-list-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-download-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    transition: all 0.2s ease;
}

.doc-download-row:hover {
    background: #ffffff;
    border-color: rgba(0, 63, 127, 0.25);
    box-shadow: 0 4px 12px rgba(0, 63, 127, 0.06);
    transform: translateY(-1px);
}

.doc-info-block {
    flex: 1 1 300px;
}

.doc-title-link {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--primary);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.doc-title-link:hover {
    color: var(--secondary);
}

.doc-meta-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.doc-actions-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-tag-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.doc-tag-pdf {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.doc-tag-external {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.btn-doc-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-doc-download:hover {
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 63, 127, 0.2);
}

.consultare-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.consultare-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.consultare-badge {
    background: #f59e0b;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Dark Mode Overrides for BCF și Calitate */
body.dark-mode .bcf-container,
body.dark-mode .docs-category-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .bcf-header-bar,
body.dark-mode .docs-category-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .bcf-title,
body.dark-mode .docs-category-title,
body.dark-mode .doc-title-link {
    color: #93c5fd;
}

body.dark-mode .bcf-subtitle,
body.dark-mode .doc-meta-desc,
body.dark-mode .bcf-role-desc {
    color: #94a3b8;
}

body.dark-mode .bcf-dept-cell {
    color: #cbd5e1;
}

body.dark-mode .bcf-table-wrapper {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .bcf-member-icon {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .doc-download-row {
    background: #0f172a;
    border-color: #334155;
}

body.dark-mode .doc-download-row:hover {
    background: #1e293b;
    border-color: #60a5fa;
}

body.dark-mode .calitate-ceac-banner {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .calitate-ceac-lead {
    color: #e2e8f0;
}

body.dark-mode .calitate-ceac-highlight {
    color: #93c5fd;
    border-top-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .consultare-card {
    background: rgba(146, 64, 14, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   DEPARTAMENTE ACADEMICE (D22, D23, D24, IMST)
   ========================================================================== */
.dept-card-btn-secondary {
    background: var(--secondary) !important;
    margin-top: 1rem;
    display: inline-block;
}

.dept-card-btn-green {
    background: #059669 !important;
    margin-top: 1rem;
    display: inline-block;
}

.dept-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.dept-stat-badge.d22 {
    background: rgba(30, 58, 138, 0.12);
    color: #1e3a8a;
    border: 1px solid rgba(30, 58, 138, 0.25);
}

.dept-stat-badge.d23 {
    background: rgba(109, 40, 217, 0.12);
    color: #6d28d9;
    border: 1px solid rgba(109, 40, 217, 0.25);
}

.dept-stat-badge.d24 {
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.dept-stat-badge.imst,
.dept-stat-badge.d37 {
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

body.dark-mode .dept-stat-badge.d22 {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.4);
}

body.dark-mode .dept-stat-badge.d23 {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.4);
}

body.dark-mode .dept-stat-badge.d24 {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.4);
}

body.dark-mode .dept-stat-badge.imst,
body.dark-mode .dept-stat-badge.d37 {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.4);
}

.dept-overview-summary {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    background: var(--bg-card);
    padding: 1.15rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.dept-summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 0;
    min-width: 0;
}

.dept-summary-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
    padding-right: 1rem;
}

.dept-summary-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.dept-summary-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    white-space: nowrap;
}

.dept-summary-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.3;
    white-space: normal;
}

/* Stil dedicat când bara de statistici este inclusă în structura .page-hero-banner (Discret, compact și finuț) */
.page-hero-banner .dept-overview-summary {
    max-width: 980px;
    margin: 1.5rem auto 0 auto;
    background: rgba(10, 25, 47, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    border-radius: 40px;
    padding: 0.65rem 1.4rem;
    text-align: left;
    gap: 0.85rem;
}

.page-hero-banner .dept-overview-summary .dept-summary-item {
    gap: 0.55rem;
    align-items: center;
}

.page-hero-banner .dept-overview-summary .dept-summary-num {
    color: #fcd34d;
    font-size: 1.0rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-hero-banner .dept-overview-summary .dept-summary-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.25;
}

.page-hero-banner .dept-overview-summary .dept-summary-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    opacity: 0.92;
}

.page-hero-banner .dept-overview-summary .dept-summary-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 0.85rem;
}

body.dark-mode .page-hero-banner .dept-overview-summary {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}


@media (max-width: 900px) {
    .dept-overview-summary {
        gap: 0.75rem;
        padding: 1rem;
    }

    .dept-summary-item:not(:last-child) {
        padding-right: 0.5rem;
    }

    .dept-summary-num {
        font-size: 1.25rem;
    }

    .dept-summary-label {
        font-size: 0.75rem;
    }

}


@media (max-width: 680px) {
    .dept-overview-summary {
        flex-wrap: wrap !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .dept-summary-item:not(:last-child) {
        border-right: none !important;
        padding-right: 0 !important;
    }

}

.dept-aux-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.dept-aux-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.dept-aux-item {
    padding: 0.65rem 0.85rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

body.dark-mode .dept-aux-item {
    background: rgba(255, 255, 255, 0.03);
}

.badge-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.badge-role.inginer {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.25);
}

body.dark-mode .badge-role.inginer {
    background: rgba(13, 110, 253, 0.2);
    color: #6ea8fe;
}

/* ==========================================================================
   Cadre Didactice și Ingineri - Miniaturi Foto Tabele Departamente
   ========================================================================== */
.cadru-photo-cell {
    width: 58px;
    min-width: 58px;
    max-width: 64px;
    padding: 6px 8px !important;
    text-align: center;
    vertical-align: middle;
}

.cadru-thumb-wrapper {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cadru-thumb-wrapper:hover {
    transform: scale(1.12);
    border-color: var(--accent, #0d6efd);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cadru-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 50%;
}

body.dark-mode .cadru-thumb-wrapper {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

body.dark-mode .cadru-thumb-wrapper:hover {
    border-color: #60a5fa;
}

/* ==========================================================================
   Modul Educație și Programe de Studii (Licență, Masterat, Doctorat)
   ========================================================================== */
/* 1. Header Secțiune și Bare de Titlu Orașe / Cicluri */
.academic-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 63, 127, 0.15);
    padding-bottom: 0.5rem;
}

body.dark-mode .academic-section-header {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.academic-section-header.compact {
    margin-bottom: 1.25rem;
}

.academic-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.academic-header-icon {
    font-size: 1.5rem;
}

.academic-header-title {
    margin: 0;
    color: var(--primary);
    font-size: 1.45rem;
}

body.dark-mode .academic-header-title {
    color: #60a5fa;
}

/* 2. Bannere de Centru Academic (Craiova / Severin) */
/* 3. Carduri de Program Academic (Licență și Masterat) */
.info-card.academic-program-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Borduri colorate pe stânga pentru carduri */
/* Tag-uri / Badges în carduri */
.academic-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

body.dark-mode .academic-card-title {
    color: #60a5fa;
}

/* Footer carduri (linkuri PDF, prezentări) */
.academic-card-footer {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.academic-card-footer.compact {
    margin-top: 1rem;
    padding-top: 0.5rem;
    display: block;
}

body.dark-mode .academic-card-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Link-uri de acțiune în carduri */
.academic-action-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.academic-action-link:hover {
    transform: translateX(3px);
    opacity: 0.9;
}

.academic-action-link.link-blue {
    color: #0d6efd;
}

.academic-action-link.link-green {
    color: #059669;
}

.academic-action-link.link-amber {
    color: #d97706;
}

/* 4. Butoane de Navigare Rapidă */
.btn-nav-quick {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 6px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-nav-quick:hover {
    background: var(--primary);
    color: #ffffff !important;
}

body.dark-mode .btn-nav-quick {
    border-color: #60a5fa;
    color: #60a5fa;
}

body.dark-mode .btn-nav-quick:hover {
    background: #60a5fa;
    color: #0f172a !important;
}

.btn-block-cta {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
    display: block;
}

/* 5. Cutii CTA (Admitere și Ghiduri) */
.academic-cta-box {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), #002752);
    border-radius: 14px;
    text-align: center;
    color: white;
}

.academic-cta-title {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.academic-cta-desc {
    margin-bottom: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.academic-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 6. Secțiuni cu Scroll Anchor */
/* 7. Variații Badges Semantice */
.badge-role.badge-primary-soft {
    background: rgba(0, 63, 127, 0.08);
    color: var(--primary);
}

body.dark-mode .badge-role.badge-primary-soft {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
}

.badge-role.badge-blue {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border: 1px solid rgba(13, 110, 253, 0.25);
}

body.dark-mode .badge-role.badge-blue {
    background: rgba(13, 110, 253, 0.2);
    color: #6ea8fe;
}

.badge-role.badge-green {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

body.dark-mode .badge-role.badge-green {
    background: rgba(5, 150, 105, 0.2);
    color: #34d399;
}

.badge-role.badge-amber {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.25);
}

body.dark-mode .badge-role.badge-amber {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.badge-role.badge-cyan {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

body.dark-mode .badge-role.badge-cyan {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
}

.badge-role.badge-indigo {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

body.dark-mode .badge-role.badge-indigo {
    background: rgba(37, 99, 235, 0.2);
    color: #818cf8;
}

.badge-role.badge-gray {
    background: #f1f5f9;
    color: #475569;
}

body.dark-mode .badge-role.badge-gray {
    background: #1e293b;
    color: #94a3b8;
}

.badge-city-header {
    background: #003f7f;
    color: #fff;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

body.dark-mode .badge-city-header {
    background: #1d4ed8;
    color: #fff;
}

.conducator-card-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.conducator-thumb {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.conducator-meta {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted, #666);
}

body.dark-mode .conducator-meta {
    color: #94a3b8;
}

/* ==========================================================================
   DOCTORAT ENHANCEMENTS — SCOALA DOCTORALA ACADEMICIAN RADU VOINEA
   ========================================================================== */
/* === DOCTORAL SCHOOL NAVIGATION ȘI HUB STYLES === */
.filter-nav-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 1.5rem 0 2rem 0;
}

.filter-nav-btn {
    background: var(--card-bg, #ffffff);
    color: var(--primary, #003f7f);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-nav-btn:hover {
    background: rgba(0, 63, 127, 0.08);
    transform: translateY(-2px);
}

.filter-nav-btn.active {
    background: var(--primary, #003f7f);
    color: #ffffff;
    border-color: var(--primary, #003f7f);
    box-shadow: 0 4px 12px rgba(0, 63, 127, 0.25);
}

body.dark-mode .filter-nav-btn {
    background: #1e293b;
    color: #cbd5e1;
    border-color: #334155;
}

body.dark-mode .filter-nav-btn:hover {
    background: #334155;
    color: #60a5fa;
}

body.dark-mode .filter-nav-btn.active {
    background: #60a5fa;
    color: #0f172a;
    border-color: #60a5fa;
}

/* === CONDUCĂTORI DOCTORAT — CARD ORIZONTAL 2 COLOANE COMPACT === */
.d-none {
    display: none !important;
}

.conducator-card {
    display: flex;
    flex-direction: row;
    background: transparent;
    border: none !important;
    border-left: none !important;
    border-radius: 0;
    overflow: visible;
    height: auto;
    min-height: 160px;
    box-shadow: none !important;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 63, 127, 0.08) !important;
}

.conducator-card:hover {
    transform: none;
    box-shadow: none !important;
}

body.dark-mode .conducator-card {
    background: transparent;
    border: none !important;
    border-left: none !important;
    box-shadow: none !important;
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .conducator-card:hover {
    box-shadow: none !important;
}

/* Borduri laterale pentru identificare vizuală a domeniului */
.conducator-card .conducator-card

/* Coloana foto în stânga — merge pe toată înălțimea cardului (toate liniile) */
.conducator-card-col-photo {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-surface-2, #f1f5f9);
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .conducator-card-col-photo {
    background: #0f172a;
    border: none !important;
}

.conducator-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Coloana conținut în dreapta */
.conducator-card-col-content {
    flex: 1 1 auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.conducator-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

/* Redefinire compactă pentru academic-pill-badge în interiorul cardurilor */
.conducator-badges-row .academic-pill-badge {
    margin-bottom: 0;
    font-size: 0.76rem;
    padding: 3px 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.conducator-name {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-heading, #0f172a);
    margin: 0 0 0.35rem 0;
}

body.dark-mode .conducator-name {
    color: #f8fafc;
}

.conducator-meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.88rem;
    color: var(--text-muted, #64748b);
    margin-bottom: 0.65rem;
}

body.dark-mode .conducator-meta-info {
    color: #94a3b8;
}

.conducator-rank-dept {
    font-size: 0.88rem;
    line-height: 1.4;
}

.conducator-email {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-color, #1e3a8a);
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    font-size: 0.86rem;
}

body.dark-mode .conducator-email {
    color: #60a5fa;
}

.conducator-email:hover {
    text-decoration: underline;
}

/* Rând butoane de acțiune compacte */
.conducator-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-color, #e2e8f0);
    margin-top: auto;
}

body.dark-mode .conducator-actions-row {
    border-top-color: #334155;
}

/* Dark mode pentru academic-pill-badge */
body.dark-mode .academic-pill-badge {
    background: #0f172a;
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
}

body.dark-mode .academic-pill-badge.accent {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.35);
}

body.dark-mode .academic-pill-badge.secondary {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.35);
}

body.dark-mode .academic-pill-badge.muted {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, 0.25);
}

body.dark-mode .academic-pill-badge.primary {
    background: rgba(96, 165, 250, 0.12);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.3);
}

body.dark-mode .academic-pill-badge.outline {
    background: transparent;
    color: #93c5fd;
    border-color: rgba(255, 255, 255, 0.2);
}


@media (max-width: 560px) {
    .conducator-card {
        display: flex;
        flex-direction: row;
        background: transparent;
        border: none !important;
        border-left: none !important;
        border-radius: 0;
        overflow: visible;
        height: auto;
        min-height: 160px;
        box-shadow: none !important;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 63, 127, 0.08) !important;
    }

    .conducator-card-col-photo {
        flex: 0 0 120px;
        width: 120px;
        min-width: 120px;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        background: var(--bg-surface-2, #f1f5f9);
        border: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

/* ==========================================================================
   SUB-CĂSUȚE DE DIVIZARE (SUB-DREPTUNGHIURI) PENTRU SUBSECȚIUNI
   Design 100% TRANSPARENT, contur fin, fără acolade (border-left)
   ========================================================================== */
.info-card,
.academic-program-card,
.secretariat-box,
.sub-box {
    background: transparent !important;
    border: 1px solid rgba(0, 63, 127, 0.16) !important;
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    border-left: 1px solid rgba(0, 63, 127, 0.16) !important;
}

.info-card:hover,
.academic-program-card:hover,
.secretariat-box:hover,
.sub-box:hover {
    transform: translateY(-2px);
    border-color: var(--primary, #003f7f) !important;
    border-left-color: var(--primary, #003f7f) !important;
    background: rgba(0, 63, 127, 0.02) !important;
    box-shadow: none !important;
}

body.dark-mode .info-card,
body.dark-mode .academic-program-card,
body.dark-mode .secretariat-box,
body.dark-mode .sub-box {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    border-left-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

body.dark-mode .info-card:hover,
body.dark-mode .academic-program-card:hover,
body.dark-mode .secretariat-box:hover,
body.dark-mode .sub-box:hover {
    border-color: #60a5fa !important;
    border-left-color: #60a5fa !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: none !important;
}

/* Conducător card as clean transparent sub-căsuță with 1px border */
.conducator-card {
    display: flex;
    flex-direction: row;
    background: transparent !important;
    border: 1px solid rgba(0, 63, 127, 0.16) !important;
    border-radius: 12px;
    overflow: hidden;
    height: auto;
    min-height: 165px;
    box-shadow: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    border-left: 1px solid rgba(0, 63, 127, 0.16) !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(0, 63, 127, 0.16) !important;
}

.conducator-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary, #003f7f) !important;
    border-left-color: var(--primary, #003f7f) !important;
    background: rgba(0, 63, 127, 0.02) !important;
    box-shadow: none !important;
}

body.dark-mode .conducator-card {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    border-left-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
    color: #f8fafc;
}

body.dark-mode .conducator-card:hover {
    border-color: #60a5fa !important;
    border-left-color: #60a5fa !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: none !important;
}

.conducator-card-col-photo {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    position: relative;
    border-radius: 11px 0 0 11px;
    overflow: hidden;
    background: transparent !important;
    border: none !important;
    border-right: 1px solid rgba(0, 63, 127, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .conducator-card-col-photo {
    background: transparent !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Footers inside sub-cards */
.academic-card-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 63, 127, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

body.dark-mode .academic-card-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   INTERACTIVE TIMETABLE ȘI CLASSROOM SCHEDULE STYLES (/studenti/orar.php)
   ========================================================================== */
/* Filter Command Center */
.timetable-control-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 63, 127, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 40, 85, 0.05);
    transition: all 0.3s ease;
}

body.dark-mode .timetable-control-panel {
    background: rgba(18, 30, 49, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Filter Step Rows */
.timetable-filter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 63, 127, 0.06);
    margin-bottom: 1rem;
}

.timetable-filter-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

body.dark-mode .timetable-filter-row {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.timetable-filter-label {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary, #003f7f);
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.dark-mode .timetable-filter-label {
    color: #60a5fa;
}

.timetable-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

/* Individual Pill Buttons */
.timetable-pill-btn {
    appearance: none;
    background: rgba(0, 63, 127, 0.05);
    border: 1.5px solid rgba(0, 63, 127, 0.16);
    color: var(--text-dark, #1e293b);
    padding: 0.48rem 1.05rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    outline: none;
    user-select: none;
}

.timetable-pill-btn:hover {
    background: rgba(0, 63, 127, 0.1);
    border-color: rgba(0, 63, 127, 0.35);
    transform: translateY(-1px);
}

.timetable-pill-btn.active {
    background: linear-gradient(135deg, #003f7f 0%, #005cb8 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 63, 127, 0.25);
    transform: translateY(-1px);
}

body.dark-mode .timetable-pill-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
}

body.dark-mode .timetable-pill-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(96, 165, 250, 0.4);
}

body.dark-mode .timetable-pill-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.timetable-pill-btn .pill-center-tag {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    background: rgba(0, 63, 127, 0.08);
    color: var(--primary-color, #003f7f);
    font-weight: 600;
    transition: all 0.2s ease;
}

.timetable-pill-btn.active .pill-center-tag {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

body.dark-mode .timetable-pill-btn .pill-center-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #93c5fd;
}

body.dark-mode .timetable-pill-btn.active .pill-center-tag {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Timetable Search Input */
.timetable-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.timetable-search-box input {
    width: 100%;
    padding: 0.55rem 1rem 0.55rem 2.4rem;
    border-radius: 50px;
    border: 1.5px solid rgba(0, 63, 127, 0.18);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    color: var(--text-dark, #1e293b);
    transition: all 0.25s ease;
}

.timetable-search-box input:focus {
    outline: none;
    border-color: #005cb8;
    box-shadow: 0 0 0 3px rgba(0, 92, 184, 0.15);
    background: #ffffff;
}

.timetable-search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.55;
    font-size: 0.95rem;
}

body.dark-mode .timetable-search-box input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
}

body.dark-mode .timetable-search-box input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

/* Timetable Results Container */
.timetable-results-container {
    margin-top: 1.5rem;
}

.timetable-day-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.5rem 0 0.85rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(0, 63, 127, 0.1);
}

body.dark-mode .timetable-day-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.timetable-day-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary, #003f7f);
}

body.dark-mode .timetable-day-title {
    color: #60a5fa;
}

.timetable-day-count {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(0, 63, 127, 0.08);
    color: var(--primary, #003f7f);
}

body.dark-mode .timetable-day-count {
    background: rgba(255, 255, 255, 0.08);
    color: #93c5fd;
}

/* Slot Cards Grid */
.timetable-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1rem;
}


@media (max-width: 640px) {
    .timetable-slots-grid {
        grid-template-columns: 1fr;
    }

}

.timetable-slot-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 63, 127, 0.12);
    border-radius: 16px;
    padding: 1.15rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 40, 85, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timetable-slot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 40, 85, 0.08);
    border-color: rgba(0, 63, 127, 0.25);
}

body.dark-mode .timetable-slot-card {
    background: rgba(18, 30, 49, 0.75);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .timetable-slot-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(96, 165, 250, 0.3);
}

/* Activity Type Accent Indicators */
.timetable-slot-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4.5px;
}

.slot-type-curs::before {
    background: linear-gradient(180deg, #005cb8 0%, #003f7f 100%);
}

.slot-type-laborator::before {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.slot-type-seminar::before {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.slot-type-proiect::before {
    background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
}

.slot-type-iarna::before {
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
}

.slot-type-vara::before {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.slot-type-speciala::before {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.slot-type-restante::before {
    background: linear-gradient(180deg, #ec4899 0%, #be185d 100%);
}

/* Slot Header */
.slot-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.slot-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    background: rgba(0, 63, 127, 0.08);
    color: var(--primary, #003f7f);
    letter-spacing: 0.02em;
}

body.dark-mode .slot-time-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #93c5fd;
}

.slot-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.22rem 0.65rem;
    border-radius: 50px;
}

.slot-tag-curs {
    background: rgba(0, 92, 184, 0.12);
    color: #005cb8;
}

.slot-tag-laborator {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.slot-tag-seminar {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.slot-tag-proiect {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
}

.slot-tag-iarna {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
}

.slot-tag-vara {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.slot-tag-speciala {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.slot-tag-restante {
    background: rgba(236, 72, 153, 0.12);
    color: #be185d;
}

body.dark-mode .slot-tag-curs {
    background: rgba(96, 165, 250, 0.2);
    color: #93c5fd;
}

body.dark-mode .slot-tag-laborator {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
}

body.dark-mode .slot-tag-seminar {
    background: rgba(251, 191, 36, 0.2);
    color: #fcd34d;
}

body.dark-mode .slot-tag-proiect {
    background: rgba(167, 139, 250, 0.2);
    color: #c4b5fd;
}

body.dark-mode .slot-tag-iarna {
    background: rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
}

body.dark-mode .slot-tag-vara {
    background: rgba(251, 191, 36, 0.2);
    color: #fcd34d;
}

body.dark-mode .slot-tag-speciala {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
}

body.dark-mode .slot-tag-restante {
    background: rgba(244, 114, 182, 0.2);
    color: #f472b6;
}

/* Slot Body */
.slot-discipline-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark, #0f172a);
    line-height: 1.35;
}

body.dark-mode .slot-discipline-name {
    color: #f8fafc;
}

/* Slot Meta Info */
.slot-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    font-size: 0.85rem;
    color: #475569;
    padding-top: 0.4rem;
    border-top: 1px dashed rgba(0, 63, 127, 0.1);
}

body.dark-mode .slot-meta-row {
    color: #cbd5e1;
    border-top-color: rgba(255, 255, 255, 0.08);
}

.slot-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.slot-room-highlight {
    font-weight: 700;
    color: var(--primary, #003f7f);
}

body.dark-mode .slot-room-highlight {
    color: #60a5fa;
}

.slot-group-highlight {
    font-weight: 700;
    color: #0f172a;
    background: rgba(0, 63, 127, 0.08);
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 63, 127, 0.12);
}

body.dark-mode .slot-group-highlight {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Frecvență și Paritate Săptămână Badges */
.slot-parity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.slot-parity-para {
    background: rgba(147, 51, 234, 0.12);
    color: #7e22ce;
    border: 1px solid rgba(147, 51, 234, 0.28);
}

body.dark-mode .slot-parity-para {
    background: rgba(168, 85, 247, 0.2);
    color: #e9d5ff;
    border-color: rgba(168, 85, 247, 0.4);
}

.slot-parity-impara {
    background: rgba(249, 115, 22, 0.12);
    color: #c2410c;
    border: 1px solid rgba(249, 115, 22, 0.28);
}

body.dark-mode .slot-parity-impara {
    background: rgba(251, 146, 60, 0.2);
    color: #fed7aa;
    border-color: rgba(251, 146, 60, 0.4);
}

.slot-parity-weekly {
    background: rgba(0, 92, 184, 0.08);
    color: #005cb8;
    border: 1px solid rgba(0, 92, 184, 0.2);
}

body.dark-mode .slot-parity-weekly {
    background: rgba(96, 165, 250, 0.14);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.25);
}

/* Header Active Indicators for Parity */
.academic-pill-badge.para {
    background: rgba(147, 51, 234, 0.15);
    color: #7e22ce;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

body.dark-mode .academic-pill-badge.para {
    background: rgba(168, 85, 247, 0.25);
    color: #e9d5ff;
    border-color: rgba(168, 85, 247, 0.4);
}

.academic-pill-badge.impara {
    background: rgba(249, 115, 22, 0.15);
    color: #c2410c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

body.dark-mode .academic-pill-badge.impara {
    background: rgba(251, 146, 60, 0.25);
    color: #fed7aa;
    border-color: rgba(251, 146, 60, 0.4);
}

/* Slot Program și Year Pill (când este selectat Toate Programele / Toți Anii) */
.slot-program-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    background: rgba(0, 63, 127, 0.08);
    color: var(--primary, #003f7f);
    border: 1px solid rgba(0, 63, 127, 0.14);
}

body.dark-mode .slot-program-pill {
    background: rgba(255, 255, 255, 0.09);
    color: #93c5fd;
    border-color: rgba(255, 255, 255, 0.16);
}

/* Classroom Guide Section Cards */
.classroom-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 63, 127, 0.12);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.8rem;
}

.classroom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 40, 85, 0.07);
    border-color: rgba(0, 63, 127, 0.25);
}

body.dark-mode .classroom-card {
    background: rgba(18, 30, 49, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .classroom-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(96, 165, 250, 0.3);
}

/* Print Specific Rules */

@media print {

    .timetable-control-panel,
    .page-hero-banner,
    .site-header,
    .subnav-ribbon,
    footer,
    .btn-print-hide {
        display: none !important;
    }

    .timetable-slot-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }

}

/* Extra styling for orar and classroom directory */
.classroom-card-title {
    font-size: 1.15rem;
    margin-top: 0.25rem;
}

.classroom-card-type {
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

.classroom-dotari-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary, #003f7f);
    margin-bottom: 4px;
}

body.dark-mode .classroom-dotari-title {
    color: #93c5fd;
}

.classroom-dotari-body {
    font-size: 0.85rem;
    line-height: 1.45;
}

.calendar-tabs {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.calendar-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid rgba(0, 63, 127, 0.15);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text, #1e293b);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-tab-btn:hover {
    background: rgba(0, 63, 127, 0.08);
    border-color: rgba(0, 63, 127, 0.3);
}

.calendar-tab-btn.active {
    background: var(--primary, #003f7f);
    color: #ffffff;
    border-color: var(--primary, #003f7f);
    box-shadow: 0 4px 12px rgba(0, 63, 127, 0.25);
}

body.dark-mode .calendar-tab-btn {
    background: rgba(18, 30, 49, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

body.dark-mode .calendar-tab-btn:hover {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
}

body.dark-mode .calendar-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   PROIECTE DE DIPLOMĂ ȘI LICENȚĂ / DISERTAȚII MASTERAT
   ========================================================================== */
.diploma-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}


@media (max-width: 768px) {
    .diploma-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

}

/* ==========================================================================
   DIPLOMA ȘI DISSERTATION PROJECT CARDS
   Conforme cu sistemul vizual global (.info-card / .academic-program-card)
   ========================================================================== */
.diploma-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent !important;
    border: 1px solid rgba(0, 63, 127, 0.16) !important;
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    box-shadow: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.diploma-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary, #003f7f) !important;
    background: rgba(0, 63, 127, 0.02) !important;
    box-shadow: none !important;
}

body.dark-mode .diploma-card {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

body.dark-mode .diploma-card:hover {
    border-color: #60a5fa !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: none !important;
}

.diploma-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.diploma-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.22rem 0.65rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.diploma-badge.code {
    background: rgba(0, 63, 127, 0.08);
    color: var(--primary, #003f7f);
    border: 1px solid rgba(0, 63, 127, 0.22);
    font-weight: 800;
    font-family: 'Consolas', 'Fira Code', monospace;
    letter-spacing: 0.04em;
}

body.dark-mode .diploma-badge.code {
    background: rgba(96, 165, 250, 0.14);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.3);
}

.diploma-badge.licenta {
    background: rgba(0, 63, 127, 0.08);
    color: var(--primary, #003f7f);
}

.diploma-badge.masterat {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

body.dark-mode .diploma-badge.licenta {
    background: rgba(96, 165, 250, 0.16);
    color: #93c5fd;
}

body.dark-mode .diploma-badge.masterat {
    background: rgba(167, 139, 250, 0.18);
    color: #c4b5fd;
}

.diploma-badge.center {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

body.dark-mode .diploma-badge.center {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.diploma-badge.spec {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

body.dark-mode .diploma-badge.spec {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.35);
}

.diploma-status-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.22rem 0.6rem;
    border-radius: 50px;
}

.diploma-status-badge.available {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.diploma-status-badge.reserved {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

body.dark-mode .diploma-status-badge.available {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.35);
}

body.dark-mode .diploma-status-badge.reserved {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.35);
}

.diploma-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--primary, #003f7f);
    margin: 0.25rem 0 0.55rem 0;
}

body.dark-mode .diploma-card-title {
    color: #60a5fa;
}

.diploma-card-domain {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    margin-bottom: 0.75rem;
}

body.dark-mode .diploma-card-domain {
    color: #94a3b8;
}

.diploma-coord-box {
    background: rgba(0, 63, 127, 0.025);
    border: 1px solid rgba(0, 63, 127, 0.1);
    border-radius: 10px;
    padding: 0.75rem 0.95rem;
    margin: 0.75rem 0;
}

body.dark-mode .diploma-coord-box {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.diploma-coord-name {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--primary, #003f7f);
    margin-bottom: 0.2rem;
}

body.dark-mode .diploma-coord-name {
    color: #60a5fa;
}

.diploma-coord-dept {
    font-size: 0.8rem;
    color: #64748b;
}

body.dark-mode .diploma-coord-dept {
    color: #94a3b8;
}

.diploma-objectives {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted, #475569);
    margin: 0.65rem 0 0.95rem 0;
    flex-grow: 1;
}

body.dark-mode .diploma-objectives {
    color: #cbd5e1;
}

.diploma-software-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}

.diploma-software-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.22rem 0.6rem;
    border-radius: 6px;
    background: rgba(0, 63, 127, 0.05);
    color: var(--primary, #003f7f);
    border: 1px solid rgba(0, 63, 127, 0.12);
}

body.dark-mode .diploma-software-tag {
    background: rgba(255, 255, 255, 0.06);
    color: #93c5fd;
    border-color: rgba(255, 255, 255, 0.12);
}

.diploma-footer {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(0, 63, 127, 0.08);
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

body.dark-mode .diploma-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

.diploma-action-btn {
    flex: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0.62rem 1.35rem !important;
    border-radius: 50px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.diploma-action-btn.primary {
    background: linear-gradient(135deg, #003f7f 0%, #005cb8 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 14px rgba(0, 63, 127, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.diploma-action-btn.primary:hover {
    background: linear-gradient(135deg, #003063 0%, #004c99 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 20px rgba(0, 63, 127, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.diploma-action-btn .btn-arrow {
    display: inline-block !important;
    font-size: 1.05rem !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.diploma-action-btn:hover .btn-arrow {
    transform: translateX(4px) !important;
}

.diploma-action-btn.disabled {
    background: rgba(148, 163, 184, 0.12) !important;
    color: #64748b !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

body.dark-mode .diploma-action-btn.disabled {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.diploma-empty-notice {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(0, 63, 127, 0.03);
    border-radius: 16px;
    border: 1.5px dashed rgba(0, 63, 127, 0.18);
}

body.dark-mode .diploma-empty-notice {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   ACTIVE STUDY PROGRAM OVERVIEW BOX (CORRELAT CU PROGRAME_STUDII.JSON)
   ========================================================================== */
.active-program-info-box {
    background: linear-gradient(135deg, rgba(0, 63, 127, 0.05) 0%, rgba(0, 92, 184, 0.08) 100%);
    border: 1.5px solid rgba(0, 63, 127, 0.18);
    border-radius: 16px;
    padding: 1.3rem 1.6rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

body.dark-mode .active-program-info-box {
    background: linear-gradient(135deg, rgba(18, 30, 49, 0.85) 0%, rgba(30, 58, 138, 0.25) 100%);
    border-color: rgba(96, 165, 250, 0.25);
}

/* ==========================================================================
   CINEMATIC VIDEO HERO & LANDING PAGE STYLES
   ========================================================================== */
.cinematic-hero {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #001f3f;
    color: #ffffff;
}

.hero-video-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(135deg,
            rgba(0, 24, 52, 0.88) 0%,
            rgba(0, 52, 105, 0.72) 45%,
            rgba(8, 20, 38, 0.90) 100%);
    pointer-events: none;
}

.cinematic-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-main-title {
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.9rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    max-width: 980px;
}

.hero-title-main {
    display: block;
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-title-sub {
    display: block;
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: #e2e8f0;
    margin-top: 0.35rem;
    letter-spacing: -0.2px;
}

.hero-tagline-lead {
    font-size: 1.28rem;
    font-weight: 600;
    color: #f39c12;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-desc-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #e2e8f0;
    justify-content: space-evenly;
    max-width: 980px;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #00509e, #003f7f);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 63, 127, 0.4);
    transition: all 0.25s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 63, 127, 0.6);
    background: linear-gradient(135deg, #005cb8, #00468c);
    color: #ffffff;
}

.btn-hero-play {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(243, 156, 18, 0.95);
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 22px rgba(243, 156, 18, 0.45);
    cursor: pointer;
    transition: all 0.25s ease;
    animation: hero-play-pulse 2.2s infinite;
}

.btn-hero-play:hover {
    transform: translateY(-2px);
    background: #ffaa17;
    box-shadow: 0 8px 28px rgba(243, 156, 18, 0.65);
    color: #0f172a;
}


@keyframes hero-play-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.55);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(243, 156, 18, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0);
    }
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Stat bar sub Hero */
.hero-stats-glass-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    background: rgba(10, 25, 47, 0.58);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-stat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-cell:last-child {
    border-right: none;
}

.hero-stat-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: #f39c12;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.hero-stat-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* MODAL VIDEO PLAYER POP-UP */
.video-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: rgba(3, 10, 20, 0.88);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.video-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-modal-container {
    position: relative;
    width: 92%;
    max-width: 960px;
    background: #000000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-backdrop.active .video-modal-container {
    transform: scale(1);
}

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.4rem;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.video-modal-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8fafc;
}

.video-modal-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.video-modal-close-btn:hover {
    background: #e74c3c;
    color: #ffffff;
    transform: rotate(90deg);
}

.video-modal-media-wrapper {
    position: relative;
    width: 100%;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.video-modal-player {
    width: 100%;
    height: 100%;
    display: block;
    outline: none;
}

/* BANDĂ PARTENERI INDUSTRIALI */
.trust-marquee-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.75rem 1rem;
    text-align: center;
}

body.dark-mode .trust-marquee-section {
    background: #0f172a;
    border-bottom-color: #1e293b;
}

.trust-marquee-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin-bottom: 1.25rem;
}

body.dark-mode .trust-marquee-label {
    color: #94a3b8;
}

.trust-partners-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

body.dark-mode .trust-partner-badge {
    background: #1e293b;
    color: #f1f5f9;
    border-color: #334155;
}

.trust-partner-badge:hover {
    transform: translateY(-2px);
    border-color: var(--primary, #003f7f);
    box-shadow: 0 4px 12px rgba(0, 63, 127, 0.12);
}


@media (max-width: 868px) {
    .hero-title-main {
        font-size: 2.15rem;
    }

    .hero-title-sub {
        font-size: 1.5rem;
    }

    .hero-tagline-lead {
        font-size: 1.1rem;
    }

    .hero-stats-glass-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero-stat-cell:nth-child(2) {
        border-right: none;
    }

}


@media (max-width: 540px) {
    .hero-title-main {
        font-size: 1.75rem;
    }

    .hero-title-sub {
        font-size: 1.25rem;
    }

    .hero-stats-glass-bar {
        grid-template-columns: 1fr;
    }

    .hero-stat-cell {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.75rem;
    }

    .hero-stat-cell:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

}

/* ==========================================================================
   STĂRI «ÎN LUCRU» ȘI COMPONENTE DIDACTICE MODERNE
   ========================================================================== */
.empty-state-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.82) 0%, rgba(15, 23, 42, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    margin: 0.5rem 0 1.5rem 0;
}

.empty-state-card.structura-state {
    padding: 2.8rem 2rem;
    border-radius: 18px;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    margin: 0.5rem 0;
}

.empty-state-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.empty-state-icon-circle.amber {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.2);
}

.empty-state-icon-circle.blue {
    width: 68px;
    height: 68px;
    margin-bottom: 1.25rem;
    font-size: 2rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.empty-state-badge-wrap {
    margin-bottom: 0.85rem;
}

.academic-pill-badge.amber {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.85rem;
    padding: 0.35rem 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.academic-pill-badge.blue {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
    font-size: 0.85rem;
    padding: 0.35rem 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.empty-state-title {
    font-size: 1.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.empty-state-title.structura-title {
    font-size: 1.75rem;
    margin-bottom: 0.85rem;
}

.empty-state-desc {
    color: #cbd5e1;
    max-width: 740px;
    margin: 0 auto 2.2rem auto;
    font-size: 1.05rem;
    line-height: 1.65;
}

.empty-state-desc.structura-desc {
    max-width: 720px;
    margin: 0 auto 1.8rem auto;
    font-size: 1rem;
}

.empty-state-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 940px;
    margin: 0 auto 2.5rem auto;
    text-align: left;
    gap: 1.25rem;
}

.empty-state-info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.empty-state-info-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.empty-state-info-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.35rem;
}

.empty-state-info-text {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.empty-state-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.empty-state-actions .btn {
    padding: 0.8rem 1.6rem;
}

.empty-state-notice-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.88rem;
}

/* Template literals / Placeholder state classes */
.academic-notice-card-dashed {
    border: 2px dashed rgba(0, 63, 127, 0.25);
    background: rgba(0, 63, 127, 0.02);
    border-radius: 16px;
}

.notice-icon-large {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.notice-icon-medium {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.timetable-day-icon {
    font-size: 1.25rem;
}

.max-w-720-center {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.structure-box-compact {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.structure-list-compact {
    margin: 0;
    padding-left: 20px;
    line-height: 1.7;
    font-size: 0.92rem;
}

.structure-title-accent {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--primary-color, #003f7f);
}


@media (max-width: 768px) {
    .empty-state-info-grid {
        grid-template-columns: 1fr;
    }

    .empty-state-title {
        font-size: 1.5rem;
    }

    .empty-state-actions {
        flex-direction: column;
        width: 100%;
    }

    .empty-state-actions .btn {
        width: 100%;
    }

}