/* Hero & General Styles */
.course-hero {
    background: radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 15% 85%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
                linear-gradient(135deg, #0b1120 0%, #0f172a 50%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}
.course-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.hero-glass-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 500;
}
.hero-media-wrapper {
    position: relative;
    border-radius: var(--radius-xl, 18px);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-media-wrapper img {
    transition: transform 0.4s ease;
}
.hero-media-wrapper:hover img {
    transform: scale(1.03);
}

/* Sticky Card Styling */
.course-sidebar-card {
    position: sticky;
    top: 90px;
    z-index: 20;
    border-radius: var(--radius-xl, 18px);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Accordion Curriculum Styling */
.curriculum-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg, 14px) !important;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    transition: all 0.25s ease;
}
.curriculum-accordion .accordion-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.04);
}
.curriculum-accordion .accordion-button {
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    background-color: #ffffff;
    border: 0;
    box-shadow: none !important;
}
.curriculum-accordion .accordion-button:not(.collapsed) {
    background-color: #f8fafc;
    color: var(--primary, #2563eb);
    border-bottom: 1px solid #e2e8f0;
}
.curriculum-accordion .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

/* Curriculum Items */
.curriculum-lesson-row {
    transition: background-color 0.2s ease;
    border-right: 3px solid transparent;
}
.curriculum-lesson-row:hover {
    background-color: #f8fafc;
    border-right-color: var(--primary, #2563eb);
}
.curriculum-lesson-row.is-watched {
    background-color: #fcfdfd;
}
.curriculum-lesson-row.is-locked {
    background-color: #fcfcfc;
    opacity: 0.75;
}

/* Exam Card in Curriculum */
.curriculum-exam-row {
    background: linear-gradient(90deg, #fdf2f8 0%, #fff1f2 100%);
    border-right: 4px solid #db2777 !important;
    border-left: 0;
    transition: all 0.25s ease;
}
.curriculum-exam-row:hover {
    background: linear-gradient(90deg, #fce7f3 0%, #ffe4e6 100%);
}
.curriculum-exam-row.is-locked {
    background: #f8fafc !important;
    border-right-color: #cbd5e1 !important;
    opacity: 0.8;
}

/* Progress & Badges */
.progress-ring-badge {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}
.celebration-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    position: relative;
    overflow: hidden;
}
.celebration-card::before {
    content: "🎓";
    position: absolute;
    left: -15px;
    bottom: -15px;
    font-size: 5rem;
    opacity: 0.12;
    transform: rotate(15deg);
}

/* Modal and Copy */
.payment-method-card {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md, 10px);
    transition: all 0.2s ease;
    background: #ffffff;
}
.payment-method-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}
.font-number {
    font-family: var(--font-cairo), monospace;
    letter-spacing: 0.5px;
}
