/* ===================================================
   LMS — Learning Management System Styles
   TradeX Nir Platform
   =================================================== */

/* ---- Variables ---- */
:root {
    --lms-bg:        #0f172a;
    --lms-card:      #1e293b;
    --lms-border:    #334155;
    --lms-text:      #e2e8f0;
    --lms-muted:     #94a3b8;
    --lms-accent:    #6366f1;
    --lms-green:     #22c55e;
    --lms-red:       #ef4444;
    --lms-yellow:    #f59e0b;
    --lms-gold:      #fbbf24;
    --lms-radius:    12px;
    --lms-shadow:    0 4px 24px rgba(0,0,0,0.35);
}

/* ---- Wrapper ---- */
.lms-wrap {
    padding: 24px 0;
}

/* ---- Stat Cards (Admin) ---- */
.lms-stat-card {
    background: var(--lms-card);
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lms-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lms-shadow);
}
.lms-stat-card .lms-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.lms-stat-card .lms-stat-label {
    font-size: 0.78rem;
    color: var(--lms-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 4px;
}
.lms-stat-card .lms-stat-val {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--lms-text);
    margin: 0;
    line-height: 1.1;
}
.lms-stat-card .lms-stat-sub {
    font-size: 0.75rem;
    color: var(--lms-muted);
    margin: 4px 0 0;
}

/* ---- Course Card ---- */
.lms-course-card {
    background: var(--lms-card);
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.lms-course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lms-shadow);
}
.lms-course-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.lms-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.lms-course-card:hover .lms-course-thumb img {
    transform: scale(1.05);
}
.lms-course-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.lms-course-badge.free {
    background: var(--lms-green);
    color: #fff;
}
.lms-course-badge.paid {
    background: var(--lms-accent);
    color: #fff;
}
.lms-course-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lms-course-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lms-text);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.lms-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--lms-muted);
    margin-bottom: 10px;
}
.lms-course-meta i { font-size: 0.8rem; }
.lms-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lms-green);
}
.lms-price-old {
    text-decoration: line-through;
    color: var(--lms-muted);
    font-size: 0.85rem;
    margin-left: 6px;
}
.lms-price-free {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lms-accent);
}

/* ---- Star Rating ---- */
.lms-star {
    color: var(--lms-gold);
    font-size: 0.85rem;
}
.lms-star-muted {
    color: var(--lms-border);
    font-size: 0.85rem;
}
.lms-rating-val {
    font-size: 0.78rem;
    color: var(--lms-muted);
    margin-left: 4px;
}

/* ---- Pills / Badges ---- */
.lms-pill-beginner     { background: rgba(34,197,94,0.15);  color: #22c55e; border-radius:20px; padding:2px 10px; font-size:0.72rem; font-weight:600; }
.lms-pill-intermediate { background: rgba(251,191,36,0.15); color: #fbbf24; border-radius:20px; padding:2px 10px; font-size:0.72rem; font-weight:600; }
.lms-pill-advanced     { background: rgba(239,68,68,0.15);  color: #ef4444; border-radius:20px; padding:2px 10px; font-size:0.72rem; font-weight:600; }
.lms-pill-category     { background: rgba(99,102,241,0.15); color: #818cf8; border-radius:20px; padding:2px 10px; font-size:0.72rem; font-weight:600; }
.lms-pill-draft        { background: rgba(148,163,184,0.15);color: #94a3b8; border-radius:20px; padding:2px 10px; font-size:0.72rem; font-weight:600; }
.lms-pill-published    { background: rgba(34,197,94,0.15);  color: #22c55e; border-radius:20px; padding:2px 10px; font-size:0.72rem; font-weight:600; }

/* ---- Progress Bar ---- */
.lms-progress-bar {
    height: 6px;
    background: var(--lms-border);
    border-radius: 3px;
    overflow: hidden;
}
.lms-progress-bar .lms-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lms-accent), var(--lms-green));
    border-radius: 3px;
    transition: width 0.4s;
}

/* ---- Player Wrapper ---- */
.lms-player-wrap {
    background: #000;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: var(--lms-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lms-player-wrap iframe,
.lms-player-wrap video {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---- Sidebar Lessons (Player) ---- */
.lms-sidebar-lesson {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.85rem;
    color: var(--lms-text);
    border-left: 3px solid transparent;
}
.lms-sidebar-lesson:hover {
    background: rgba(99,102,241,0.1);
}
.lms-sidebar-lesson.active {
    background: rgba(99,102,241,0.18);
    border-left-color: var(--lms-accent);
    color: #a5b4fc;
    font-weight: 600;
}
.lms-sidebar-lesson.completed {
    color: var(--lms-green);
}
.lms-sidebar-lesson.completed .lms-lesson-icon {
    color: var(--lms-green);
}
.lms-sidebar-lesson.locked {
    color: var(--lms-muted);
    cursor: not-allowed;
}
.lms-sidebar-section-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lms-muted);
    padding: 12px 14px 4px;
    font-weight: 700;
}

/* ---- Certificate ---- */
.lms-cert-wrap {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid var(--lms-accent);
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 60px rgba(99,102,241,0.15), var(--lms-shadow);
    max-width: 750px;
    margin: 0 auto;
}
.lms-cert-wrap::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 14px;
    pointer-events: none;
}
.lms-cert-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lms-accent);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}
.lms-cert-heading {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--lms-text);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.lms-cert-intro {
    font-size: 0.9rem;
    color: var(--lms-muted);
    margin-bottom: 8px;
}
.lms-cert-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lms-accent);
    font-style: italic;
    margin: 12px 0;
    line-height: 1.1;
}
.lms-cert-course-label {
    font-size: 0.9rem;
    color: var(--lms-muted);
    margin-bottom: 6px;
}
.lms-cert-course-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lms-text);
    margin-bottom: 24px;
}
.lms-cert-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lms-accent), transparent);
    margin: 24px auto;
    width: 60%;
}
.lms-cert-meta {
    font-size: 0.8rem;
    color: var(--lms-muted);
}
.lms-cert-no {
    font-family: monospace;
    font-size: 0.85rem;
    background: rgba(99,102,241,0.1);
    border: 1px solid var(--lms-border);
    border-radius: 6px;
    padding: 4px 12px;
    display: inline-block;
    margin-top: 6px;
    color: var(--lms-accent);
}

/* ---- Hero Banner ---- */
.lms-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 60%, #312e81 100%);
    padding: 60px 0 50px;
    margin-bottom: 32px;
    border-radius: 0 0 24px 24px;
}
.lms-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.lms-hero p {
    font-size: 1.1rem;
    color: var(--lms-muted);
}

/* ---- Filter Sidebar ---- */
.lms-filter-card {
    background: var(--lms-card);
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    padding: 20px;
}
.lms-filter-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lms-muted);
    font-weight: 700;
    margin-bottom: 12px;
}
.lms-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lms-filter-list li {
    margin-bottom: 6px;
}
.lms-filter-list a {
    color: var(--lms-text);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    transition: color 0.15s;
}
.lms-filter-list a:hover,
.lms-filter-list a.active {
    color: var(--lms-accent);
}
.lms-filter-count {
    font-size: 0.72rem;
    background: var(--lms-border);
    border-radius: 10px;
    padding: 1px 7px;
    color: var(--lms-muted);
}

/* ---- Price Card (Sticky Sidebar) ---- */
.lms-price-card {
    background: var(--lms-card);
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    padding: 24px;
    position: sticky;
    top: 80px;
}
.lms-price-big {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lms-green);
    line-height: 1;
}
.lms-price-strike {
    text-decoration: line-through;
    color: var(--lms-muted);
    font-size: 1rem;
    margin-left: 8px;
}
.lms-enroll-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--lms-accent), #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    transition: opacity 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
}
.lms-enroll-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ---- Curriculum Accordion ---- */
.lms-curriculum-section {
    background: var(--lms-card);
    border: 1px solid var(--lms-border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.lms-curriculum-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    color: var(--lms-text);
    background: rgba(99,102,241,0.05);
}
.lms-curriculum-lesson {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-top: 1px solid var(--lms-border);
    font-size: 0.875rem;
    color: var(--lms-muted);
    transition: background 0.15s;
}
.lms-curriculum-lesson:hover {
    background: rgba(255,255,255,0.03);
}
.lms-lesson-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.lms-lesson-icon.video  { background: rgba(99,102,241,0.15); color: #818cf8; }
.lms-lesson-icon.text   { background: rgba(34,197,94,0.15);  color: #22c55e; }
.lms-lesson-icon.pdf    { background: rgba(239,68,68,0.15);  color: #f87171; }
.lms-lesson-icon.locked { background: rgba(148,163,184,0.1); color: var(--lms-muted); }
.lms-lesson-preview {
    font-size: 0.65rem;
    padding: 1px 7px;
    border-radius: 10px;
    background: rgba(34,197,94,0.15);
    color: var(--lms-green);
    font-weight: 600;
    margin-left: auto;
}

/* ---- Quiz ---- */
.lms-quiz-card {
    background: var(--lms-card);
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    padding: 24px;
    margin-bottom: 16px;
}
.lms-quiz-question {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--lms-text);
    margin-bottom: 16px;
    line-height: 1.5;
}
.lms-quiz-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--lms-border);
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    color: var(--lms-text);
    font-size: 0.875rem;
}
.lms-quiz-option:hover,
.lms-quiz-option input:checked + span { border-color: var(--lms-accent); background: rgba(99,102,241,0.08); }
.lms-quiz-option.correct { border-color: var(--lms-green); background: rgba(34,197,94,0.08); color: var(--lms-green); }
.lms-quiz-option.wrong   { border-color: var(--lms-red);   background: rgba(239,68,68,0.08);  color: var(--lms-red); }

/* ---- Countdown Timer ---- */
.lms-timer {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lms-red);
    font-family: monospace;
    letter-spacing: 0.05em;
}

/* ---- Result Screen ---- */
.lms-result-badge {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto 24px;
    font-weight: 800;
    font-size: 1.1rem;
}
.lms-result-badge.passed {
    background: rgba(34,197,94,0.15);
    border: 3px solid var(--lms-green);
    color: var(--lms-green);
}
.lms-result-badge.failed {
    background: rgba(239,68,68,0.15);
    border: 3px solid var(--lms-red);
    color: var(--lms-red);
}
.lms-result-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--lms-text);
    line-height: 1;
}

/* ---- Affiliate ---- */
.lms-referral-box {
    background: var(--lms-card);
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    padding: 20px;
}
.lms-referral-link {
    display: flex;
    gap: 8px;
    align-items: center;
}
.lms-referral-link input {
    flex: 1;
    background: var(--lms-bg);
    border: 1px solid var(--lms-border);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--lms-text);
    font-family: monospace;
    font-size: 0.875rem;
}

/* ---- Tables ---- */
.lms-table {
    color: var(--lms-text);
    font-size: 0.875rem;
}
.lms-table thead th {
    color: var(--lms-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--lms-border);
    background: rgba(255,255,255,0.02);
    padding: 10px 14px;
}
.lms-table tbody td {
    border-bottom: 1px solid rgba(51,65,85,0.5);
    padding: 12px 14px;
    vertical-align: middle;
}
.lms-table tbody tr:hover td {
    background: rgba(255,255,255,0.02);
}

/* ---- Avatar Initials ---- */
.lms-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lms-accent), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

/* ---- Review Stars Breakdown ---- */
.lms-rating-bar {
    height: 8px;
    background: var(--lms-border);
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
}
.lms-rating-bar-fill {
    height: 100%;
    background: var(--lms-gold);
    border-radius: 4px;
}

/* ---- Coupon Input ---- */
.lms-coupon-input {
    display: flex;
    gap: 8px;
}
.lms-coupon-input input {
    flex: 1;
    background: var(--lms-bg);
    border: 1px solid var(--lms-border);
    border-radius: 8px;
    padding: 8px 14px;
    color: var(--lms-text);
    font-size: 0.875rem;
}

/* ---- How It Works ---- */
.lms-step-card {
    background: var(--lms-card);
    border: 1px solid var(--lms-border);
    border-radius: var(--lms-radius);
    padding: 28px 20px;
    text-align: center;
}
.lms-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lms-accent), #8b5cf6);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .lms-price-card { position: static; }
    .lms-hero h1   { font-size: 1.8rem; }
    .lms-cert-wrap { padding: 40px 24px; }
    .lms-cert-name { font-size: 1.8rem; }
}
@media (max-width: 575px) {
    .lms-course-thumb { height: 160px; }
    .lms-hero h1 { font-size: 1.4rem; }
    .lms-result-score { font-size: 2rem; }
}

/* ════════════════════════════════════════════════════════
   MY COURSES — classes replacing inline styles
════════════════════════════════════════════════════════ */
.lms-page-title   { color: #e2e8f0; font-weight: 700; margin: 0; }
.lms-page-sub     { color: #94a3b8; margin: 4px 0 0; }
.lms-nav-tabs     { border-color: #334155; }
.lms-tab-link     { color: #94a3b8; border-color: transparent; }
.lms-tab-link.active { background: #6366f1; border-color: #6366f1; color: #fff; }
.lms-tab-link--completed.active { background: #10b981; border-color: #10b981; }
.lms-course-card  { background: #1e293b; border-radius: 12px; overflow: hidden; }
.lms-course-thumb { position: relative; }
.lms-thumb-img    { width: 100%; height: 150px; object-fit: cover; }
.lms-thumb-placeholder { width: 100%; height: 150px; background: #0f172a; display: flex; align-items: center; justify-content: center; color: #334155; font-size: 2.5rem; }
.lms-completed-badge { position: absolute; top: 8px; right: 8px; }
.lms-course-body  { padding: 14px; }
.lms-course-title { color: #e2e8f0; font-weight: 600; margin-bottom: 6px; }
.lms-course-cat   { color: #94a3b8; font-size: 0.78rem; margin-bottom: 10px; }
.lms-prog-lbl     { color: #64748b; }
.lms-prog-pct     { color: #94a3b8; font-weight: 600; }
.lms-prog-done    { color: #10b981; font-weight: 600; }
.lms-progress-track { background: #0f172a; border-radius: 4px; height: 6px; margin-bottom: 2px; overflow: hidden; }
.lms-progress-fill { height: 100%; border-radius: 4px; background: #6366f1; transition: width .3s; }
.lms-progress-fill--done { background: #10b981; }
.lms-empty-state  { text-align: center; padding: 48px 24px; }
.lms-empty-icon   { font-size: 3rem; color: #334155; }
.lms-empty-title  { color: #94a3b8; margin-top: 16px; }
.lms-empty-sub    { color: #64748b; }

/* ════════════════════════════════════════════════════════
   LMS PLAYER  (plr-*)
════════════════════════════════════════════════════════ */

/* ── Layout shell ────────────────────────────────── */
.plr-wrap {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #070d1a;
    overflow: hidden;
}

/* ── Top bar ─────────────────────────────────────── */
.plr-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 54px;
    background: #0a1225;
    border-bottom: 1px solid #1a2744;
    flex-shrink: 0;
    z-index: 100;
    gap: 12px;
}
.plr-topbar-left  { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.plr-topbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.plr-toggle-btn {
    background: transparent;
    border: 1px solid #1a2744;
    color: #64748b;
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.plr-toggle-btn:hover { background: #1a2744; color: #a5b4fc; }

.plr-back {
    color: #475569; text-decoration: none;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 1rem;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.plr-back:hover { background: #1a2744; color: #a5b4fc; }

.plr-course-name {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plr-nav-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 8px;
    background: #1a2744; color: #94a3b8;
    border: 1px solid #1a2744;
    text-decoration: none; font-size: 0.8rem; font-weight: 600;
    transition: background .2s, color .2s;
}
.plr-nav-btn:hover { background: #233258; color: #e2e8f0; }
.plr-nav-btn--next {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff; border-color: transparent;
    box-shadow: 0 2px 10px rgba(99,102,241,0.3);
}
.plr-nav-btn--next:hover { opacity: 0.88; color: #fff; }

.plr-complete-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 8px;
    background: transparent; color: #64748b;
    border: 1px solid #1a2744;
    font-size: 0.78rem; font-weight: 600;
    cursor: pointer; transition: all .2s;
}
.plr-complete-btn:hover { background: #1a2744; color: #a5b4fc; }
.plr-complete-btn--done {
    background: rgba(16,185,129,0.15);
    color: #34d399;
    border-color: rgba(16,185,129,0.3);
}
.plr-complete-btn--done:hover { background: rgba(16,185,129,0.22); color: #34d399; }

/* ── Body (main + sidebar) ───────────────────────── */
.plr-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Main content ────────────────────────────────── */
.plr-main {
    flex: 1;
    overflow-y: auto;
    background: #070d1a;
    display: flex;
    flex-direction: column;
}

/* Video box */
.plr-content-area { background: #000; }
.plr-video-box {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
}
.plr-iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.plr-video-box--native { padding-bottom: 0; }
.plr-native-video { width: 100%; display: block; max-height: 72vh; }

.plr-no-video {
    height: 280px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    color: #334155;
}
.plr-no-video i { font-size: 3rem; }
.plr-no-video p { font-size: 0.9rem; margin: 0; }

/* Quiz CTA */
.plr-quiz-cta {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 64px 32px;
    text-align: center;
    background: linear-gradient(135deg, #0a1225, #0f1e35);
}
.plr-quiz-icon-wrap {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(245,158,11,0.15);
    border: 2px solid rgba(245,158,11,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #fbbf24;
    margin-bottom: 20px;
}
.plr-quiz-title { color: #f1f5f9; font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.plr-quiz-desc  { color: #475569; font-size: 0.9rem; margin-bottom: 20px; }
.plr-quiz-start-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #0a1225; padding: 12px 28px; border-radius: 50px;
    font-weight: 800; font-size: 0.92rem; text-decoration: none;
    box-shadow: 0 4px 16px rgba(245,158,11,0.35);
    transition: opacity .2s;
}
.plr-quiz-start-btn:hover { opacity: 0.88; color: #0a1225; }

/* Text lesson */
.plr-text-lesson {
    padding: 40px;
    max-width: 820px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.8;
}
.plr-text-lesson h1,.plr-text-lesson h2,.plr-text-lesson h3 { color: #e2e8f0; margin-top: 1.5em; }
.plr-text-lesson p { margin-bottom: 1em; }
.plr-text-lesson a { color: #818cf8; }
.plr-text-lesson code { background: #1a2744; color: #a5b4fc; padding: 2px 6px; border-radius: 4px; }

/* Meta area */
.plr-meta-area {
    padding: 28px 32px 40px;
    max-width: 900px;
    flex: 1;
}
.plr-meta-inner { margin-bottom: 28px; }
.plr-lesson-info { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.plr-lesson-type-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.plr-type-video, .plr-type-youtube { background: rgba(99,102,241,0.15); color: #818cf8; }
.plr-type-quiz  { background: rgba(245,158,11,0.15); color: #fbbf24; }
.plr-type-text  { background: rgba(16,185,129,0.15); color: #34d399; }
.plr-duration   { color: #334155; font-size: 0.78rem; display: flex; align-items: center; gap: 4px; }

.plr-lesson-title { color: #f1f5f9; font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.plr-lesson-desc  { color: #475569; font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* Attachments */
.plr-attachments { border-top: 1px solid #1a2744; padding-top: 20px; }
.plr-attach-heading {
    color: #64748b; font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.07em;
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 6px;
}
.plr-attach-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 10px;
    background: #0c1425; border: 1px solid #1a2744;
    text-decoration: none; margin-bottom: 8px;
    transition: border-color .2s;
}
.plr-attach-row:hover { border-color: #6366f1; }
.plr-attach-icon { color: #6366f1; font-size: 1.1rem; }
.plr-attach-name { color: #94a3b8; font-size: 0.82rem; flex: 1; }
.plr-attach-dl   { color: #334155; font-size: 0.85rem; }

/* ── Sidebar ─────────────────────────────────────── */
.plr-sidebar {
    width: 320px;
    flex-shrink: 0;
    background: #0a1225;
    border-left: 1px solid #1a2744;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: width .3s ease;
}
.plr-sidebar-head {
    padding: 16px;
    border-bottom: 1px solid #1a2744;
    flex-shrink: 0;
}
.plr-sidebar-course {
    color: #e2e8f0; font-size: 0.8rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.plr-prog-wrap { display: flex; align-items: center; gap: 10px; }
.plr-prog-bar  {
    flex: 1; height: 5px;
    background: #1a2744; border-radius: 50px; overflow: hidden;
}
.plr-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 50px;
    transition: width .4s ease;
}
.plr-prog-pct  { color: #818cf8; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }

.plr-sidebar-scroll { flex: 1; overflow-y: auto; }
.plr-sidebar-scroll::-webkit-scrollbar { width: 4px; }
.plr-sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.plr-sidebar-scroll::-webkit-scrollbar-thumb { background: #1a2744; border-radius: 4px; }

/* Section */
.plr-section { border-bottom: 1px solid #1a2744; }
.plr-section-btn {
    width: 100%; display: flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    background: #0c1a2e; border: none; cursor: pointer;
    text-align: left;
    transition: background .2s;
}
.plr-section-btn:hover { background: #0f2040; }
.plr-section-title { color: #cbd5e1; font-size: 0.82rem; font-weight: 700; flex: 1; line-height: 1.3; }
.plr-section-meta  { color: #334155; font-size: 0.7rem; flex-shrink: 0; }
.plr-section-chevron { color: #334155; font-size: 0.7rem; flex-shrink: 0; transition: transform .25s; }

/* Lesson list */
.plr-lesson-list { display: none; }
.plr-lesson-list.plr-section-open { display: block; }

.plr-lesson-row {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 16px 9px 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(26,39,68,0.5);
    transition: background .18s;
    background: transparent;
}
.plr-lesson-row:hover { background: rgba(99,102,241,0.07); }
.plr-lesson-row--active { background: rgba(99,102,241,0.14); }

.plr-lesson-check { font-size: 0.85rem; color: #1e2d4a; flex-shrink: 0; width: 18px; text-align: center; }
.plr-lesson-check--done    { color: #34d399; }
.plr-lesson-check--current { color: #818cf8; }

.plr-lesson-label {
    color: #64748b; font-size: 0.78rem; flex: 1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.plr-lesson-row--active .plr-lesson-label { color: #e2e8f0; font-weight: 600; }
.plr-lesson-dur { color: #1e2d4a; font-size: 0.68rem; flex-shrink: 0; }

/* ── Sidebar hidden state ─────────────────────────── */
.plr-sidebar-hidden .plr-sidebar { width: 0; border-left: none; overflow: hidden; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 991.98px) {
    .plr-sidebar { position: fixed; right: 0; top: 54px; bottom: 0; z-index: 300; width: 300px; box-shadow: -8px 0 32px rgba(0,0,0,0.5); }
    .plr-sidebar-hidden .plr-sidebar { transform: translateX(300px); transition: transform .3s ease; }
    .plr-sidebar { transition: transform .3s ease; }
    .plr-wrap:not(.plr-sidebar-hidden) .plr-sidebar { transform: translateX(0); }
    .plr-course-name { display: none; }
    .plr-meta-area { padding: 20px 16px 32px; }
    .plr-text-lesson { padding: 20px 16px; }
}
@media (max-width: 575.98px) {
    .plr-topbar { padding: 0 10px; }
    .plr-complete-btn span { display: none; }
    .plr-lesson-title { font-size: 1.1rem; }
}


/* ===================================================
   LMS Marketplace  (mp-* / mc-*)
   =================================================== */

/* ── Hero ─────────────────────────────────────── */
.mp-hero {
    position: relative;
    background: #070d1a;
    padding: 90px 0 80px;
    overflow: hidden;
}
.mp-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.mp-hero-glow--a { width: 500px; height: 500px; background: rgba(99,102,241,0.22); top: -160px; left: -100px; }
.mp-hero-glow--b { width: 380px; height: 380px; background: rgba(139,92,246,0.18); bottom: -100px; right: 5%; }

.mp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    color: #a5b4fc;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.mp-hero-title {
    color: #f8fafc;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}
.mp-hero-grad {
    background: linear-gradient(90deg, #818cf8, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mp-hero-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 36px;
}

/* Search */
.mp-search-form {
    display: flex;
    align-items: center;
    background: #0c1425;
    border: 1.5px solid #1a2744;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    max-width: 500px;
    transition: border-color .25s;
}
.mp-search-form:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.mp-search-ico  { color: #334155; font-size: 0.95rem; flex-shrink: 0; }
.mp-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e2e8f0;
    font-size: 0.92rem;
    padding: 6px 12px;
}
.mp-search-input::placeholder { color: #334155; }
.mp-search-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity .2s;
}
.mp-search-btn:hover { opacity: 0.85; }

/* Stats grid */
.mp-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-left: 20px;
}
.mp-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #0c1425;
    border: 1px solid #1a2744;
    border-radius: 16px;
    padding: 20px 18px;
    transition: border-color .25s, transform .25s;
}
.mp-stat:hover { border-color: rgba(99,102,241,0.5); transform: translateY(-2px); }
.mp-stat-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.mp-stat-icon--blue   { background: rgba(99,102,241,0.18);  color: #818cf8; }
.mp-stat-icon--green  { background: rgba(16,185,129,0.15);  color: #34d399; }
.mp-stat-icon--yellow { background: rgba(245,158,11,0.15);  color: #fbbf24; }
.mp-stat-icon--purple { background: rgba(168,85,247,0.18);  color: #c084fc; }
.mp-stat-val { color: #f1f5f9; font-size: 1.4rem; font-weight: 900; line-height: 1.1; margin-bottom: 3px; }
.mp-stat-lbl { color: #475569; font-size: 0.75rem; }

/* ── Category Bar ─────────────────────────────── */
.mp-catbar {
    background: #050a14;
    border-bottom: 1px solid #0a1525;
    position: sticky; top: 0; z-index: 200;
}
.mp-catbar-inner {
    display: flex; gap: 4px;
    overflow-x: auto; padding: 12px 0;
    scrollbar-width: none;
}
.mp-catbar-inner::-webkit-scrollbar { display: none; }
.mp-cat {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 8px;
    font-size: 0.82rem; font-weight: 500;
    color: #334155; white-space: nowrap;
    text-decoration: none;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.mp-cat:hover { background: #0c1a2e; color: #64748b; }
.mp-cat--active { background: rgba(99,102,241,0.18); color: #a5b4fc; font-weight: 700; }
.mp-cat-count {
    background: rgba(99,102,241,0.2); color: #818cf8;
    padding: 1px 7px; border-radius: 20px;
    font-size: 0.68rem; font-weight: 700;
}

/* ── Filter Row ───────────────────────────────── */
.mp-body { background: #050a14; padding: 36px 0 72px; }

.mp-filters {
    display: flex; flex-wrap: wrap;
    align-items: center; gap: 10px;
    background: #0a1225;
    border: 1px solid #0f1e35;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 32px;
}
.mp-filter-lbl {
    color: #1e2d4a; font-size: 0.8rem; font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.mp-sel {
    background: #0c1425; border: 1px solid #1a2744;
    color: #64748b; border-radius: 8px;
    padding: 7px 28px 7px 12px; font-size: 0.8rem;
    cursor: pointer; outline: none;
    transition: border-color .2s;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.mp-sel:focus { border-color: #6366f1; color: #94a3b8; }
.mp-sel option { background: #0c1425; }
.mp-reset {
    color: #ef4444; font-size: 0.8rem; font-weight: 600;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 8px;
    border: 1px solid rgba(239,68,68,0.22);
    transition: background .2s;
}
.mp-reset:hover { background: rgba(239,68,68,0.1); }
.mp-count { color: #1e2d4a; font-size: 0.8rem; }
.mp-count strong { color: #475569; }

/* ── Course Card (mc-*) ────────────────────────── */
.mc-link { display: block; height: 100%; text-decoration: none; }

.mc {
    background: #0a1225;
    border: 1px solid #0f1e35;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mc:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-color: rgba(99,102,241,0.32);
}

/* Thumbnail */
.mc-thumb { position: relative; overflow: hidden; flex-shrink: 0; }
.mc-img   { width: 100%; height: 196px; object-fit: cover; display: block; transition: transform .4s ease; }
.mc:hover .mc-img { transform: scale(1.06); }

.mc-placeholder {
    width: 100%; height: 196px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; padding: 20px;
}
.mc-placeholder-ico {
    font-size: 2.8rem;
    color: rgba(255,255,255,0.65);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.mc-placeholder-title {
    color: rgba(255,255,255,0.88);
    font-size: 0.8rem; font-weight: 700;
    text-align: center; line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* Badges */
.mc-badges {
    position: absolute; top: 10px; left: 10px; right: 10px;
    display: flex; justify-content: space-between; align-items: flex-start;
    z-index: 2;
}
.mc-badge {
    padding: 4px 11px; border-radius: 20px;
    font-size: 0.67rem; font-weight: 800;
    letter-spacing: 0.06em; text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.mc-badge--green  { background: rgba(5,60,45,0.85);  color: #6ee7b7; border: 1px solid rgba(52,211,153,0.4); }
.mc-badge--amber  { background: rgba(68,40,0,0.85);  color: #fde68a; border: 1px solid rgba(251,191,36,0.4); }
.mc-badge--red    { background: rgba(100,20,20,0.85);color: #fca5a5; border: 1px solid rgba(248,113,113,0.4); }
.mc-badge--free   { background: rgba(5,60,45,0.9);   color: #6ee7b7; border: 1px solid rgba(52,211,153,0.45); }
.mc-badge--sale   { background: rgba(100,20,20,0.9); color: #fca5a5; border: 1px solid rgba(248,113,113,0.45); }

/* Hover overlay */
.mc-overlay {
    position: absolute; inset: 0;
    background: rgba(5,10,20,0.65);
    backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .25s;
    z-index: 3;
}
.mc:hover .mc-overlay { opacity: 1; }
.mc-play-btn {
    background: #fff; color: #070d1a;
    padding: 10px 22px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: 7px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    transform: translateY(8px);
    transition: transform .25s ease;
}
.mc:hover .mc-play-btn { transform: translateY(0); }

/* Body */
.mc-body { padding: 18px 18px 12px; flex: 1; display: flex; flex-direction: column; }

.mc-cat {
    display: inline-flex; align-items: center; gap: 5px;
    color: #4f46e5; font-size: 0.68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 9px;
}
.mc-title {
    color: #f1f5f9;
    font-size: 0.97rem; font-weight: 700; line-height: 1.5;
    margin-bottom: 7px; flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mc-desc {
    color: #1e2d4a;
    font-size: 0.78rem; line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.mc-rating {
    display: flex; align-items: center; gap: 6px;
    padding-top: 10px;
    border-top: 1px solid #0f1e35;
}
.mc-rating-score { color: #fbbf24; font-weight: 900; font-size: 0.88rem; }
.mc-stars        { display: flex; gap: 2px; }
.mc-stars i      { font-size: 0.68rem; color: #fbbf24; }
.mc-enroll-count { color: #1e2d4a; font-size: 0.72rem; margin-left: 2px; }

/* Footer */
.mc-foot {
    padding: 12px 18px 16px;
    border-top: 1px solid #0f1e35;
    display: flex; flex-direction: column; gap: 10px;
}
.mc-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mc-meta span {
    display: inline-flex; align-items: center; gap: 5px;
    color: #1e2d4a; font-size: 0.73rem; font-weight: 500;
}
.mc-meta i   { font-size: 0.7rem; }
.mc-cert     { color: #2dd4bf !important; }

.mc-price-row  { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-price-wrap { display: flex; align-items: baseline; gap: 6px; }
.mc-free       { color: #34d399; font-size: 1.15rem; font-weight: 900; }
.mc-price      { color: #f1f5f9; font-size: 1.15rem; font-weight: 900; }
.mc-original   { color: #1e2d4a; font-size: 0.8rem; text-decoration: line-through; }

.mc-enroll-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff; padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.78rem; font-weight: 700; flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(99,102,241,0.28);
    transition: box-shadow .25s, transform .2s;
}
.mc:hover .mc-enroll-btn {
    box-shadow: 0 8px 24px rgba(99,102,241,0.5);
    transform: scale(1.04);
}

/* ── Empty State ──────────────────────────────── */
.mp-empty { text-align: center; padding: 80px 20px; }
.mp-empty-icon {
    width: 88px; height: 88px; border-radius: 50%;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #6366f1;
    margin: 0 auto 24px;
}
.mp-empty-title { color: #e2e8f0; font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.mp-empty-sub   { color: #475569; font-size: 0.9rem; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 991.98px) {
    .mp-hero { padding: 64px 0 52px; }
    .mp-hero-title { font-size: 2.2rem; }
    .mp-stats { margin-top: 36px; }
}
@media (max-width: 575.98px) {
    .mp-hero-title { font-size: 1.75rem; }
    .mp-hero-desc  { font-size: 0.88rem; }
    .mp-filters    { padding: 10px 14px; gap: 8px; }
    .mc-body       { padding: 14px 14px 10px; }
    .mc-foot       { padding: 10px 14px 14px; }
}


/* ===================================================
   LMS Course Detail (Public)
   =================================================== */
.lms-course-hero      { background: linear-gradient(135deg,#0f172a 0%,#1e293b 100%); padding: 60px 0 40px; }
.lms-course-back-wrap { margin-bottom: 12px; }
.lms-course-back      { color: #6366f1; text-decoration: none; font-size: 0.85rem; }
.lms-course-back:hover { color: #818cf8; }
.lms-course-cert-badge { background: rgba(20,184,166,0.2); color: #2dd4bf; }
.lms-course-title     { color: #e2e8f0; font-size: 1.8rem; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.lms-course-subtitle  { color: #94a3b8; font-size: 1rem; margin-bottom: 16px; }
.lms-course-meta-rating { color: #f59e0b; }
.lms-course-meta-text  { color: #94a3b8; font-size: 0.85rem; }

.lms-enroll-card      { background: #1e293b; border-radius: 16px; overflow: hidden; position: sticky; top: 80px; }
.lms-enroll-video     { position: relative; padding-bottom: 56.25%; background: #0f172a; }
.lms-enroll-video-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lms-enroll-thumb     { width: 100%; height: 200px; object-fit: cover; display: block; }
.lms-enroll-body      { padding: 20px; }
.lms-enroll-price-free { font-size: 2rem; font-weight: 800; color: #10b981; margin-bottom: 16px; }
.lms-enroll-price-wrap { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.lms-enroll-price     { font-size: 2rem; font-weight: 800; color: #e2e8f0; }
.lms-enroll-original  { color: #64748b; text-decoration: line-through; }
.lms-enroll-sale-note { color: #ef4444; font-size: 0.85rem; margin-bottom: 12px; }
.lms-enroll-btn       { font-weight: 700; font-size: 1rem; }

.lms-coupon-input     { background: #0f172a; border-color: #334155; color: #e2e8f0; }
.lms-coupon-input:focus { background: #0f172a; color: #e2e8f0; box-shadow: none; }
.lms-coupon-msg       { font-size: 0.8rem; }
.lms-coupon-success   { color: #10b981; }
.lms-coupon-error     { color: #ef4444; }

.lms-includes-sep     { border-top: 1px solid rgba(148,163,184,0.1); padding-top: 14px; }
.lms-includes-label   { color: #94a3b8; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.lms-includes-list    { list-style: none; padding: 0; margin: 0; color: #94a3b8; font-size: 0.85rem; }
.lms-includes-item    { margin-bottom: 6px; }
.lms-includes-icon--indigo { color: #6366f1; }
.lms-includes-icon--teal   { color: #14b8a6; }
.lms-includes-icon--amber  { color: #f59e0b; }
.lms-includes-icon--green  { color: #10b981; }

.lms-content-section  { background: #0f172a; padding: 48px 0; }

.lms-learn-box        { background: #1e293b; border-radius: 12px; padding: 24px; margin-bottom: 24px; border: 1px solid rgba(99,102,241,0.2); }
.lms-learn-heading    { color: #e2e8f0; margin-bottom: 16px; }
.lms-learn-item       { display: flex; gap: 8px; color: #94a3b8; font-size: 0.875rem; }
.lms-learn-check      { color: #10b981; flex-shrink: 0; margin-top: 2px; }

.lms-curriculum-box   { background: #1e293b; border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.lms-curriculum-head  { padding: 20px 24px; border-bottom: 1px solid rgba(148,163,184,0.1); }
.lms-curriculum-title { color: #e2e8f0; margin: 0; }
.lms-curriculum-sub   { color: #94a3b8; font-size: 0.85rem; margin: 4px 0 0; }

.lms-section-row      { border-bottom: 1px solid rgba(148,163,184,0.06); }
.lms-section-btn      { width: 100%; background: transparent; border: none; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: #e2e8f0; text-align: left; }
.lms-section-count    { color: #64748b; }
.lms-section-caret    { color: #64748b; transition: transform .2s; }
.lms-section-caret.rotated { transform: rotate(180deg); }

.lms-lesson-row       { padding: 10px 24px 10px 40px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(148,163,184,0.04); }
.lms-lesson-icon--video { color: #6366f1; flex-shrink: 0; }
.lms-lesson-icon--quiz  { color: #f59e0b; flex-shrink: 0; }
.lms-lesson-icon--text  { color: #94a3b8; flex-shrink: 0; }
.lms-lesson-title     { color: #cbd5e1; font-size: 0.875rem; flex: 1; }
.lms-lesson-preview   { color: #6366f1; font-size: 0.75rem; text-decoration: none; }
.lms-lesson-preview:hover { text-decoration: underline; }
.lms-lesson-lock      { color: #334155; font-size: 0.75rem; }

.lms-req-box          { background: #1e293b; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.lms-req-title        { color: #e2e8f0; margin-bottom: 12px; }
.lms-req-list         { padding-left: 20px; color: #94a3b8; font-size: 0.9rem; }
.lms-req-item         { margin-bottom: 6px; }

.lms-reviews-box      { background: #1e293b; border-radius: 12px; padding: 24px; }
.lms-reviews-title    { color: #e2e8f0; margin-bottom: 20px; }
.lms-reviews-count    { color: #94a3b8; font-weight: 400; font-size: 1rem; }
.lms-review-item      { border-bottom: 1px solid rgba(148,163,184,0.08); padding-bottom: 16px; margin-bottom: 16px; }
.lms-review-avatar    { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#6366f1,#8b5cf6); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.lms-review-name      { color: #e2e8f0; font-size: 0.875rem; font-weight: 600; margin: 0; }
.lms-review-stars     { color: #f59e0b; font-size: 0.75rem; }
.lms-review-date      { color: #64748b; margin-left: auto; }
.lms-review-text      { color: #94a3b8; font-size: 0.875rem; margin: 0; }
.lms-empty-reviews    { color: #64748b; }

/* ===================================================
   LMS Certificate Verify (Public)
   =================================================== */
.lms-verify-section   { background: #0f172a; min-height: 70vh; padding: 80px 0; }
.lms-verify-title     { color: #e2e8f0; font-weight: 800; }
.lms-verify-sub       { color: #94a3b8; }
.lms-verify-form-wrap { max-width: 500px; margin: 0 auto 48px; }
.lms-verify-input     { background: #1e293b; border-color: #334155; color: #e2e8f0; font-family: monospace; letter-spacing: 0.06em; }
.lms-verify-input:focus { background: #1e293b; color: #e2e8f0; box-shadow: none; }

.lms-cert-valid-wrap  { max-width: 700px; margin: 0 auto; }
.lms-cert-valid-card  { background: #1e293b; border-radius: 16px; overflow: hidden; border: 2px solid #10b981; }
.lms-cert-valid-header { background: linear-gradient(135deg,#10b981,#059669); padding: 20px 24px; display: flex; align-items: center; gap: 12px; }
.lms-cert-valid-icon  { font-size: 2rem; color: #fff; }
.lms-cert-valid-title { color: #fff; margin: 0; font-weight: 700; }
.lms-cert-valid-note  { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.875rem; }
.lms-cert-valid-body  { padding: 28px; }
.lms-cert-field-lbl   { color: #64748b; font-size: 0.75rem; text-transform: uppercase; margin: 0; }
.lms-cert-field-val   { color: #e2e8f0; font-weight: 600; margin: 0; }
.lms-cert-field-id    { color: #10b981; font-weight: 600; margin: 0; font-family: monospace; }
.lms-cert-field-score { color: #10b981; }

.lms-cert-invalid-wrap { max-width: 500px; margin: 0 auto; }
.lms-cert-invalid-card { background: #1e293b; border-radius: 12px; padding: 24px; text-align: center; border: 2px solid #ef4444; }
.lms-cert-invalid-icon { font-size: 2.5rem; color: #ef4444; display: block; }
.lms-cert-invalid-title { color: #e2e8f0; margin-top: 12px; }
.lms-cert-invalid-sub  { color: #94a3b8; }
