/* ==================== COLOR SCHEME ==================== */
:root {
    /* Primary Palette */
    --primary-color: #46837E;
    --primary-hover: #3D726D;
    --primary-active: #33615C;
    --primary-light: #F0F7F6;
    --primary-soft: rgba(70, 131, 126, 0.1);
    --primary-rgba: rgba(70, 131, 126, 0.1);
    
    /* Secondary Palette */
    --secondary-color: #6AA59F;
    --secondary-hover: #5D948E;
    --secondary-active: #4E7D78;
    --accent-color: #A9C9B1;

    /* Neutral Palette */
    --neutral-light: #F8FAF9;
    --neutral-medium: #E2E8F0;
    --neutral-dark: #2D3748;
    
    /* Backgrounds */
    --bg-page: #F8FAF9;
    --bg-section: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-body: #F8FAF9;
    --white: #FFFFFF;

    /* Text Colors */
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --text-muted-2: #A0AEC0;
    --text-light: #FFFFFF;

    /* Status Colors */
    --success-color: #48BB78;
    --warning-color: #ECC94B;
    --error-color: #F56565;
    --info-color: #4299E1;

    /* Borders & Shadows */
    --border-color: rgba(70, 131, 126, 0.15);
    --divider-color: rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 20px rgba(70, 131, 126, 0.08);
    --shadow-medium: 0 8px 30px rgba(70, 131, 126, 0.12);
    
    /* Global Config */
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ==================== TYPOGRAPHY ==================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-page);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* ==================== COURSE HEADER ==================== */
.course-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.course-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, var(--primary-soft) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--primary-soft) 0%, transparent 50%);
}

.course-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* ==================== CHAPTER HEADER ==================== */
.chapter-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.chapter-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, var(--primary-soft) 0%, transparent 50%);
}

/* ==================== HEADER OVERLAY PATTERN ==================== */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    background: transparent;
    margin-bottom: 1.5rem;
}

.modern-breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: inline-flex;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modern-breadcrumb .breadcrumb-item,
.breadcrumb-item {
    font-size: 0.875rem;
    font-weight: 500;
}

.modern-breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    padding: 0 0.5rem;
}

.modern-breadcrumb .breadcrumb-item a,
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.modern-breadcrumb .breadcrumb-item a:hover,
.breadcrumb-item a:hover {
    color: var(--white);
    transform: translateX(2px);
}

.modern-breadcrumb .breadcrumb-item.active,
.breadcrumb-item.active {
    color: var(--white);
    font-weight: 600;
}

/* ==================== COURSE INFO CARD ==================== */
.course-info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-large);
}

.course-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ==================== COURSE META GRID ==================== */
.course-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.meta-item i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.meta-item.free-course {
    background: rgba(56, 161, 105, 0.2);
    border-color: rgba(56, 161, 105, 0.3);
}

.meta-item.premium-course {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

/* ==================== COURSE HEADER IMAGE ==================== */
.course-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.image-glow {
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 180deg at 50% 50%,
        rgba(58, 155, 155, 0.4) 0deg,
        rgba(107, 91, 149, 0.4) 180deg,
        rgba(58, 155, 155, 0.4) 360deg
    );
    filter: blur(40px);
    opacity: 0.6;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.course-header-image {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-large);
    transition: transform 0.3s ease;
}

.course-header-image:hover {
    transform: translateY(-5px);
}

/* ==================== CHAPTER INFO CARD ==================== */
.chapter-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-large);
    max-width: 900px;
}

.chapter-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.course-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

/* ==================== CHAPTER META BADGES ==================== */
.chapter-meta .badge,
.chapter-meta-badges .badge,
.meta-badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chapter-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin: 0;
}

.meta-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.meta-badge i {
    font-size: 1rem;
}

.chapter-badge {
    background: rgba(255, 255, 255, 0.15);
}

.premium-badge {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    border-color: #D97706;
    color: white !important;
    font-weight: 600;
}

.duration-badge {
    background: var(--primary-rgba);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ==================== COURSE META BADGES ==================== */
.course-meta .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==================== MODERN CARD DESIGN ==================== */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    background: var(--white);
    border-bottom: 1px solid var(--neutral-medium);
    padding: 1.5rem;
}

.card-header h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.card-header h4 i {
    color: var(--primary-color);
}

.card-body {
    padding: 1.5rem;
}

/* ==================== VIDEO PLAYER ==================== */
.video-player-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.video-player {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    cursor: pointer;
    background: #000;
}

/* ==================== VIDEO CONTROLS ==================== */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.video-player-container:hover .video-controls,
.video-player-container:focus-within .video-controls {
    opacity: 1;
    transform: translateY(0);
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.controls-center {
    flex: 1;
    max-width: 800px;
    margin: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.video-progress {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    margin: 0.75rem 0;
    transition: height 0.2s ease;
}

.video-progress:hover {
    height: 8px;
}

.video-progress-bar {
    position: relative;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    width: 0%;
    z-index: 2;
}

.video-time {
    color: white;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    text-shadow: 0 1px 2px var(--primary-color);
}

.video-control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-control-btn:active {
    transform: scale(0.95);
}

/* ==================== BIG PLAY BUTTON ==================== */
.big-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 3;
    border: none;
}

.big-play-btn:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-color);
}

/* ==================== VIDEO ERROR & LOADING ==================== */
.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 4;
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
}

.video-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--warning-amber);
}

.video-error h4 {
    margin-bottom: 1rem;
    color: white;
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
}

.video-loading.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* ==================== CHAPTER CONTENT ==================== */
.chapter-content {
    line-height: 1.8;
    color: var(--neutral-dark);
}

.chapter-content p {
    margin-bottom: 1.5rem;
}

.chapter-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-soft);
}

/* ==================== CHAPTER NAVIGATION ==================== */
.chapter-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-medium);
}

.nav-btn {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn-prev {
    background: var(--neutral-light);
    color: var(--neutral-dark);
}

.nav-btn-next {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ==================== CHAPTER LIST ==================== */
.chapter-list {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.chapter-list-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--neutral-medium);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--neutral-dark);
    display: block;
    border-inline-start: 3px solid transparent;
}

.chapter-list-item:hover,
.chapter-list-item.active {
    background-color: var(--primary-rgba);
    border-inline-start-color: var(--primary-color);
}

.chapter-list-item.active {
    background-color: var(--primary-rgba);
}

.chapter-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==================== ACCORDION STYLE ==================== */
.chapters-accordion {
    margin-top: 1rem;
}

.accordion-item {
    border: none;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease;
    background: var(--white);
}

.accordion-item:hover {
    box-shadow: var(--shadow-medium);
}

.accordion-header {
    background: var(--white);
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #F8FAFC;
}

.accordion-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin: 0;
    flex-grow: 1;
}

.accordion-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.accordion-header.collapsed .accordion-icon {
    transform: rotate(0deg);
}

.accordion-header:not(.collapsed) .accordion-icon {
    transform: rotate(-180deg);
}

.accordion-collapse {
    background: #FAFBFC;
    border-top: 1px solid var(--neutral-medium);
}

.accordion-body {
    padding: 0;
}

/* ==================== LESSON ITEMS ==================== */
.lesson-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #F1F3F5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.lesson-item:hover {
    background: #F8FAFC;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lesson-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.lesson-title {
    font-size: 1rem;
    color: var(--neutral-dark);
    margin: 0;
    font-weight: 500;
}

.lesson-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lesson-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-weight: 500;
}

.free-preview-badge {
    background: var(--warning-amber);
    color: var(--neutral-dark);
}

.xp-badge {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
}

/* ==================== COURSE DESCRIPTION ==================== */
.course-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.course-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ==================== INSTRUCTOR CARD ==================== */
.instructor-card .instructor-avatar img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--neutral-medium);
}

.instructor-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.25rem;
}

.instructor-card .text-muted {
    font-size: 0.9rem;
}

.instructor-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.instructor-specialty {
    display: inline-block;
    background: var(--neutral-medium);
    color: var(--neutral-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ==================== RELATED COURSES ==================== */
.related-course-item {
    padding: 1.25rem 1.5rem;
    transition: background 0.3s ease;
    border-bottom: 1px solid var(--neutral-medium);
}

.related-course-item:hover {
    background: #F8FAFC;
}

.related-course-item:last-child {
    border-bottom: none;
}

.related-course-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.related-course-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.related-course-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==================== CHAPTER VIDEO ITEMS ==================== */
.chapter-video-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--neutral-medium);
    transition: all 0.3s ease;
    cursor: pointer;
}

.chapter-video-item:hover {
    background: #F8FAFC;
    transform: translateX(5px);
}

.chapter-video-item:last-child {
    border-bottom: none;
}

.chapter-video-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

/* ==================== OPENING VIDEO SECTION ==================== */
.opening-video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.opening-video-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.opening-video-thumbnail:hover {
    transform: scale(1.02);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

/* ==================== PSYCHIATRY ELEMENTS ==================== */
.psychiatry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-rgba);
    border-radius: 10px;
    color: var(--primary-color);
    margin-right: 1rem;
}

.mindfulness-indicator {
    height: 4px;
    background: var(--neutral-medium);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.mindfulness-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 2px;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state i {
    font-size: 3.5rem;
    color: var(--neutral-medium);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-muted);
}

/* ==================== COURSE CONTENT SECTION ==================== */
.course-content-section {
    padding: 4rem 0;
    background: var(--neutral-light);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991.98px) {
    .course-header {
        padding: 3.5rem 0 3rem;
        min-height: auto;
    }

    .chapter-header {
        padding: 3rem 0 2.5rem;
        min-height: auto;
    }

    .course-title {
        font-size: 2rem;
    }

    .chapter-title {
        font-size: 1.75rem;
    }

    .course-info-card,
    .chapter-info-card {
        padding: 1.5rem;
    }

    .course-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-image-wrapper {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .course-header {
        padding: 2.5rem 0 2rem;
    }

    .course-header h1 {
        font-size: 1.75rem;
    }

    .chapter-header {
        padding: 2rem 0 1.5rem;
    }

    .course-header-image {
        max-height: 200px;
        margin-top: 1.5rem;
    }

    .course-price {
        font-size: 1.5rem;
    }

    .accordion-meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }

    .lesson-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .video-player {
        max-height: 300px;
    }

    .chapter-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .psychiatry-icon {
        width: 36px;
        height: 36px;
        margin-right: 0.75rem;
    }

    .big-play-btn {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .opening-video-thumbnail {
        height: 200px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .modern-breadcrumb {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .course-title {
        font-size: 1.5rem;
    }

    .chapter-title {
        font-size: 1.35rem;
    }

    .course-meta-grid {
        grid-template-columns: 1fr;
    }

    .chapter-meta-badges {
        gap: 0.5rem;
    }

    .meta-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .course-header h1 {
        font-size: 1.5rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-muted {
    color: var(--text-muted) !important;
}

/* ==================== SCROLLBAR STYLING ==================== */
.chapter-list::-webkit-scrollbar {
    width: 6px;
}

.chapter-list::-webkit-scrollbar-track {
    background: var(--neutral-light);
}

.chapter-list::-webkit-scrollbar-thumb {
    background: var(--neutral-medium);
    border-radius: 3px;
}

.chapter-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==================== BUTTONS ==================== */
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color) !important;
    border-color: white;
}
