/* ==========================================================================
   OVBRYJOD EDUCATION HUB LIMITED — ONLINE ACADEMY & MASTERCLASSES STYLESHEET
   File: css/academy.css
   Modern, Executive Medical E-Learning Design System with YouTube Cloud Streaming
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --ac-navy-dark: #091122;
    --ac-navy: #0b1a30;
    --ac-navy-light: #132238;
    --ac-blue: #0056D2;
    --ac-blue-hover: #00419e;
    --ac-blue-light: #ebf3ff;
    --ac-cyan: #0ea5e9;
    --ac-cyan-light: #e0f2fe;
    --ac-gold: #f59e0b;
    --ac-gold-light: #fef3c7;
    --ac-emerald: #059669;
    --ac-emerald-light: #d1fae5;
    --ac-slate-900: #0f172a;
    --ac-slate-800: #1e293b;
    --ac-slate-700: #334155;
    --ac-slate-500: #64748b;
    --ac-slate-400: #94a3b8;
    --ac-slate-200: #e2e8f0;
    --ac-slate-100: #f1f5f9;
    --ac-slate-50: #f8fafc;
    --ac-white: #ffffff;

    --ac-radius-sm: 8px;
    --ac-radius-md: 12px;
    --ac-radius-lg: 18px;
    --ac-radius-xl: 24px;
    --ac-radius-full: 9999px;

    --ac-shadow-sm: 0 2px 8px rgba(11, 26, 48, 0.04);
    --ac-shadow-md: 0 8px 24px rgba(11, 26, 48, 0.08);
    --ac-shadow-lg: 0 16px 36px rgba(11, 26, 48, 0.12);
    --ac-shadow-card: 0 4px 16px rgba(11, 26, 48, 0.05);
    --ac-shadow-card-hover: 0 20px 40px rgba(0, 86, 210, 0.14);

    --ac-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Body font */
body {
    background-color: var(--ac-slate-50);
    color: var(--ac-slate-700);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ==========================================================================
   ACADEMY HERO SECTION (EXECUTIVE MIDNIGHT GRADIENT)
   ========================================================================== */
#academy-hero,
.academy-hero {
    width: 100%;
    background: radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.18), transparent 45%),
                radial-gradient(circle at 15% 80%, rgba(245, 158, 11, 0.12), transparent 40%),
                linear-gradient(135deg, #070d18 0%, #0b1a30 50%, #0d1e38 100%);
    color: var(--ac-white);
    padding: 70px 0 65px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle Geometric Grid */
#academy-hero::before,
.academy-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.academy-hero-inner {
    width: 92%;
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .academy-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Hero Content */
.academy-hero-content {
    max-width: 680px;
}

.hero-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #38bdf8;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--ac-radius-full);
    letter-spacing: 0.8px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    margin-bottom: 20px;
}

.hero-tag-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
    animation: acPulse 2s infinite;
}

@keyframes acPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.academy-hero-content h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--ac-white);
    margin: 0 0 18px 0;
    letter-spacing: -0.025em;
}

.academy-hero-content h1 span {
    background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.academy-hero-content p {
    font-size: 15.5px;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 0 28px 0;
    max-width: 620px;
}

.academy-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #0056D2 0%, #0284c7 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: var(--ac-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 86, 210, 0.35);
    transition: var(--ac-transition);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 86, 210, 0.45);
    color: #ffffff;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    font-size: 14.5px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--ac-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--ac-transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-2px);
}

/* Hero Trust Strip with SVG Vector Icons */
.hero-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
    .hero-trust-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-item span {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Spotlight Masterclass Card */
.academy-hero-visual {
    position: relative;
}

.hero-featured-card {
    background: rgba(19, 34, 56, 0.85);
    backdrop-filter: blur(16px);
    border-radius: var(--ac-radius-lg);
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(14, 165, 233, 0.15);
    transition: var(--ac-transition);
}

.hero-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 32px rgba(14, 165, 233, 0.25);
}

.hero-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}

.hero-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-featured-card:hover .hero-card-media img {
    transform: scale(1.04);
}

.hero-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--ac-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-card-duration {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--ac-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 17, 34, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.hero-featured-card:hover .hero-play-overlay {
    background: rgba(9, 17, 34, 0.15);
}

.hero-play-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0056D2 0%, #0284c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(0, 86, 210, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-featured-card:hover .hero-play-btn {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.6);
}

.hero-card-info {
    padding: 22px 24px;
}

.hero-card-info h4 {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.hero-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
}

.hero-instructor-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-instructor-inline img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #38bdf8;
}

/* ==========================================================================
   ACADEMY METRICS / STATS STRIP
   ========================================================================== */
#academy-stats {
    background: #ffffff;
    border-bottom: 1px solid var(--ac-slate-200);
    padding: 28px 0;
}

.academy-stats-inner {
    width: 92%;
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.ac-stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: var(--ac-radius-md);
    background: var(--ac-slate-50);
    border: 1px solid var(--ac-slate-200);
    transition: var(--ac-transition);
}

.ac-stat-box:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--ac-shadow-sm);
}

.ac-stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--ac-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ac-stat-icon-wrap.blue { background: rgba(0, 86, 210, 0.1); color: var(--ac-blue); }
.ac-stat-icon-wrap.green { background: rgba(5, 150, 105, 0.1); color: var(--ac-emerald); }
.ac-stat-icon-wrap.gold { background: rgba(245, 158, 11, 0.1); color: var(--ac-gold); }
.ac-stat-icon-wrap.purple { background: rgba(147, 51, 234, 0.1); color: #9333ea; }

.ac-stat-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--ac-slate-900);
    line-height: 1.1;
}

.ac-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ac-slate-500);
    margin-top: 2px;
}

/* ==========================================================================
   CATALOG GRID & FILTER CONTROLS
   ========================================================================== */
.catalog-section {
    padding: 60px 0 80px 0;
}

.catalog-container {
    width: 92%;
    max-width: 1350px;
    margin: auto;
}

/* Category Filter Pills */
.filter-pills-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-pill {
    background: #ffffff;
    color: var(--ac-slate-700);
    border: 1.5px solid var(--ac-slate-200);
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--ac-radius-full);
    cursor: pointer;
    transition: var(--ac-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-pill:hover {
    border-color: var(--ac-blue);
    color: var(--ac-blue);
    background: var(--ac-blue-light);
}

.filter-pill.active {
    background: var(--ac-navy);
    color: #ffffff;
    border-color: var(--ac-navy);
    box-shadow: 0 4px 14px rgba(11, 26, 48, 0.2);
}

/* Course Cards Grid */
.course-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

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

.coursera-card {
    background: #ffffff;
    border: 1.5px solid var(--ac-slate-200);
    border-radius: var(--ac-radius-lg);
    overflow: hidden;
    box-shadow: var(--ac-shadow-card);
    transition: var(--ac-transition);
    display: flex;
    flex-direction: column;
}

.coursera-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: var(--ac-shadow-card-hover);
}

.card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.coursera-card:hover .card-media img {
    transform: scale(1.05);
}

.card-duration-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-user-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--ac-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-partner {
    font-size: 11px;
    font-weight: 800;
    color: var(--ac-blue);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--ac-slate-900);
    line-height: 1.35;
    margin: 0 0 12px 0;
    flex-grow: 1;
}

.card-instructor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12.5px;
    color: var(--ac-slate-500);
}

.card-instructor img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--ac-slate-200);
}

.card-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    margin-bottom: 12px;
}

.star-score {
    font-weight: 800;
    color: #d97706;
}

.level-tag {
    background: var(--ac-slate-100);
    color: var(--ac-slate-700);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--ac-slate-200);
}

.btn-card-watch {
    width: 100%;
    background: linear-gradient(135deg, var(--ac-navy) 0%, #1e3a8a 100%);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--ac-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--ac-transition);
    border: none;
    box-shadow: 0 2px 6px rgba(11, 26, 48, 0.15);
}

.btn-card-watch:hover {
    background: linear-gradient(135deg, var(--ac-blue) 0%, #0284c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 86, 210, 0.3);
    color: #ffffff;
}

/* ==========================================================================
   CLASSROOM SECTION & THEATER PLAYER (FOR SINGLE COURSE PAGE course.php)
   ========================================================================== */
#classroom-section {
    padding: 40px 0 60px 0;
    background: #f1f5f9;
    border-bottom: 1px solid var(--ac-slate-200);
}

.classroom-container {
    width: 92%;
    max-width: 1350px;
    margin: auto;
}

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

.classroom-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.classroom-header-title h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--ac-slate-900);
    margin: 0;
}

.active-track-pill {
    background: var(--ac-blue-light);
    color: var(--ac-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--ac-radius-full);
}

.classroom-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: flex-start;
}

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

/* Player Column */
.player-column {
    background: #ffffff;
    border-radius: var(--ac-radius-lg);
    border: 1.5px solid var(--ac-slate-200);
    overflow: hidden;
    box-shadow: var(--ac-shadow-md);
}

.theater-access-banner {
    padding: 12px 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.theater-access-banner.enrolled {
    background: #ecfdf5;
    border-bottom: 1px solid #a7f3d0;
    color: #065f46;
}

.theater-access-banner.preview {
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    color: #92400e;
}

.video-theater-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}

.video-theater-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.lecture-meta-strip {
    padding: 24px 28px;
    border-bottom: 1px solid var(--ac-slate-200);
}

.lecture-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lecture-badge {
    background: var(--ac-blue-light);
    color: var(--ac-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--ac-radius-sm);
}

.lecture-meta-strip h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--ac-slate-900);
    margin: 0 0 16px 0;
    line-height: 1.35;
}

.lecture-instructor-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.instructor-card-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.instructor-card-mini img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ac-blue-light);
}

.instructor-card-mini h5 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ac-slate-900);
}

.instructor-card-mini p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: var(--ac-slate-500);
}

.btn-complete-lesson {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--ac-radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--ac-transition);
}

.btn-complete-lesson:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

/* 4-Tab Hub */
.learning-hub-tabs {
    display: flex;
    border-bottom: 1.5px solid var(--ac-slate-200);
    background: var(--ac-slate-50);
}

.learning-hub-tabs .tab-btn {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ac-slate-500);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--ac-transition);
}

.learning-hub-tabs .tab-btn:hover {
    color: var(--ac-blue);
    background: #ffffff;
}

.learning-hub-tabs .tab-btn.active {
    color: var(--ac-blue);
    border-bottom-color: var(--ac-blue);
    background: #ffffff;
    font-weight: 700;
}

.tab-content-area {
    padding: 28px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.overview-block {
    margin-bottom: 24px;
}

.overview-block h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ac-slate-900);
    margin: 0 0 10px 0;
}

.overview-block p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ac-slate-700);
    margin: 0;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.objectives-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ac-slate-700);
}

.check-icon {
    color: #059669;
    font-weight: 800;
}

/* Playlist / Curriculum Drawer on Right */
.playlist-column {
    background: #ffffff;
    border: 1.5px solid var(--ac-slate-200);
    border-radius: var(--ac-radius-lg);
    overflow: hidden;
    box-shadow: var(--ac-shadow-md);
    position: sticky;
    top: 20px;
}

.playlist-header {
    background: var(--ac-slate-50);
    padding: 16px 20px;
    border-bottom: 1.5px solid var(--ac-slate-200);
}

.playlist-header h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--ac-slate-900);
    margin: 0 0 4px 0;
}

.playlist-stats {
    font-size: 12px;
    color: var(--ac-slate-500);
}

.playlist-modules-list {
    max-height: 520px;
    overflow-y: auto;
}

.module-group-block {
    border-bottom: 1px solid var(--ac-slate-200);
}

.module-accordion-header {
    background: #f8fafc;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ac-slate-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}

.module-lessons-container {
    padding: 4px 0;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-left: 3px solid transparent;
}

.module-item:hover {
    background: var(--ac-blue-light);
}

.module-item.active {
    background: #eff6ff;
    border-left-color: var(--ac-blue);
}

.module-status-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ac-blue-light);
    color: var(--ac-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.module-text-wrap {
    flex: 1;
    min-width: 0;
}

.module-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ac-slate-900);
    line-height: 1.35;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.module-duration {
    font-size: 11px;
    color: var(--ac-slate-400);
    margin-top: 3px;
}

.badge-free-preview {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--ac-radius-full);
    white-space: nowrap;
}

.badge-locked-lesson {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--ac-radius-full);
    white-space: nowrap;
}

/* ==========================================================================
   ALERTS
   ========================================================================== */
.academy-alert {
    width: 92%;
    max-width: 1350px;
    margin: 16px auto 0 auto;
    padding: 12px 18px;
    border-radius: var(--ac-radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 600;
}

.academy-alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.academy-alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: inherit;
}

/* ==========================================================================
   ENHANCED COURSE DETAILS PAGE (course.php) DESIGN SYSTEM
   ========================================================================== */

/* 1. Sleek Course Navigation Top Strip */
.course-top-strip {
    background: #070f1e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    font-family: inherit;
}

.course-top-strip-inner {
    width: 92%;
    max-width: 1350px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.course-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--ac-radius-full);
    text-decoration: none;
    transition: var(--ac-transition);
}

.course-back-link:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateX(-2px);
}

.course-breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.course-breadcrumb-trail a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s;
}

.course-breadcrumb-trail a:hover {
    color: #38bdf8;
}

.course-breadcrumb-trail .sep {
    color: #64748b;
    font-size: 11px;
}

.course-breadcrumb-trail .active-cat {
    color: #38bdf8;
    font-weight: 600;
}

.course-breadcrumb-trail .active-title {
    color: #ffffff;
    font-weight: 700;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-status-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--ac-radius-full);
    letter-spacing: 0.3px;
}

.course-status-badge-top.preview-mode {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

/* 2. Executive Course Hero Banner */
.course-hero-banner {
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.12), transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.08), transparent 40%),
                linear-gradient(135deg, #070d18 0%, #0b1a30 50%, #0e1e36 100%);
    color: #ffffff;
    padding: 44px 0 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.course-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.course-hero-inner {
    width: 92%;
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .course-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.course-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.badge-cat-pill {
    background: rgba(0, 86, 210, 0.3);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 4px 12px;
    border-radius: var(--ac-radius-full);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.badge-level-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: var(--ac-radius-full);
    font-size: 11.5px;
    font-weight: 600;
}

.badge-access-status {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.35);
    padding: 4px 12px;
    border-radius: var(--ac-radius-full);
    font-size: 11.5px;
    font-weight: 700;
}

.course-code-badge {
    color: #94a3b8;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.course-code-badge strong {
    color: #f1f5f9;
    letter-spacing: 0.5px;
}

.course-hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 14px 0;
    color: #ffffff;
    letter-spacing: -0.015em;
}

.course-hero-desc {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 0 22px 0;
    max-width: 820px;
}

.course-hero-specs {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.course-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.course-spec-item img.instructor-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #38bdf8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.course-spec-item strong {
    color: #ffffff;
}

.spec-rating {
    color: #f59e0b;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.spec-cpd {
    color: #34d399;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 3. Right Admission & Tuition Card */
.course-admission-card {
    background: rgba(19, 34, 56, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-admission-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #f59e0b);
}

.admission-fee-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.admission-fee-amount {
    font-size: 32px;
    font-weight: 900;
    color: #38bdf8;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.admission-fee-amount.is-free {
    color: #34d399;
}

.admission-cta-btn {
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(135deg, #0056D2 0%, #0284c7 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--ac-radius-sm);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 86, 210, 0.35);
    transition: var(--ac-transition);
}

.admission-cta-btn:hover {
    background: linear-gradient(135deg, #00419e 0%, #0056D2 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 86, 210, 0.45);
    color: #ffffff;
}

.admission-cta-btn.enrolled-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.admission-benefits-list {
    margin: 16px 0 12px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    font-size: 11.5px;
    color: #cbd5e1;
}

.admission-benefits-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admission-benefits-list li svg {
    color: #38bdf8;
    flex-shrink: 0;
}

.admission-guarantee-note {
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* 4. Right Playlist Sidebar Enhancements */
.playlist-inclusions-card {
    background: #f8fafc;
    border-top: 1px solid var(--ac-slate-200);
    padding: 16px 18px;
}

.playlist-inclusions-card h5 {
    margin: 0 0 10px 0;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ac-slate-900);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inclusions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    color: var(--ac-slate-700);
}

.inclusions-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inclusions-list li svg {
    color: #059669;
    flex-shrink: 0;
}

.playlist-instructor-card {
    background: #ffffff;
    border-top: 1px solid var(--ac-slate-200);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.playlist-instructor-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ac-blue-light);
    flex-shrink: 0;
}

.instructor-meta-box {
    flex: 1;
    min-width: 0;
}

.instructor-meta-box h6 {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--ac-slate-900);
}

.instructor-meta-box p {
    margin: 2px 0 0 0;
    font-size: 11px;
    color: var(--ac-slate-500);
}

.instructor-meta-box .inst-tag {
    display: inline-block;
    font-size: 10px;
    color: var(--ac-blue);
    font-weight: 700;
    background: var(--ac-blue-light);
    padding: 1px 6px;
    border-radius: 3px;
    margin-top: 3px;
}
