/* =============================================================
   PATHOK LMS — Frontend stylesheet
   ============================================================= */

:root {
    --pathok-primary: #198754;
    --pathok-primary-dark: #146c43;
    --pathok-primary-light: #d1e7dd;
    --pathok-secondary: #b71b2d;
    --pathok-secondary-dark: #951622;
    --pathok-secondary-light: #fadce0;
    --pathok-text: #1e293b;
    --pathok-text-muted: #64748b;
    --pathok-bg-soft: #f8fafc;
    --pathok-border: #e2e8f0;
}

/* ---------- Base ---------- */
html, body {
    height: 100%;
    margin: 0;
}
body {
    font-family: 'Hind Siliguri', 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--pathok-text);
    background: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
[lang="en"] body {
    font-family: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
}
.pathok-main {
    flex: 1 0 auto;
}
a { color: var(--pathok-primary); }
a:hover { color: var(--pathok-primary-dark); }

/* ---------- Buttons ---------- */
.pathok-btn-primary {
    background: var(--pathok-primary);
    color: #fff;
    border: none;
    padding: .55rem 1.25rem;
    border-radius: .5rem;
    font-weight: 500;
    transition: background .15s ease;
}
.pathok-btn-primary:hover {
    background: var(--pathok-primary-dark);
    color: #fff;
}
.pathok-btn-secondary {
    background: var(--pathok-secondary);
    color: #fff;
}
.pathok-btn-secondary:hover {
    background: var(--pathok-secondary-dark);
    color: #fff;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.pathok-topbar {
    background: var(--pathok-primary);
    padding: .55rem 0;
    font-size: .85rem;
}
.pathok-topbar a:hover { opacity: .9; }
.pathok-topbar .dropdown-menu {
    font-size: .9rem;
    z-index: 1050;
}

.lang-flag {
    display: inline-block;
    width: 18px;
    height: 12px;
    margin-right: 4px;
    vertical-align: -1px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1px;
}
.flag-bd {
    background:
      radial-gradient(circle at 40% 50%, #f42a41 0 25%, transparent 26%),
      #006a4e;
}
.flag-us {
    background:
      linear-gradient(180deg, #b22234 0 8%, #fff 8% 16%, #b22234 16% 24%, #fff 24% 32%, #b22234 32% 40%, #fff 40% 48%, #b22234 48% 56%, #fff 56% 64%, #b22234 64% 72%, #fff 72% 80%, #b22234 80% 88%, #fff 88% 96%, #b22234 96%);
}

/* ============================================================
   MAIN NAV
   ============================================================ */
.pathok-header {
    box-shadow: 0 1px 0 var(--pathok-border);
    background: #fff;
    z-index: 1020;
}
.pathok-logo {
    height: 42px;
    width: auto;
}
.pathok-categories-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--pathok-text);
    border-radius: 999px;
    padding: .5rem 1.1rem;
    font-size: .9rem;
}
.pathok-categories-btn:hover {
    background: #e2e8f0;
}
.navbar .nav-link {
    color: var(--pathok-text);
    font-weight: 500;
    font-size: .95rem;
    padding: .5rem 0;
    position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--pathok-primary);
}
.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pathok-primary);
    border-radius: 2px;
}
.pathok-icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pathok-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.15rem;
    transition: background .15s;
}
.pathok-icon-btn:hover {
    background: var(--pathok-bg-soft);
    color: var(--pathok-primary);
}

/* ============================================================
   HERO
   ============================================================ */
.pathok-hero {
    background:
        radial-gradient(ellipse at 20% 50%, #fee2e2 0%, transparent 50%),
        radial-gradient(ellipse at 75% 80%, #d1fae5 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 5rem 0 6rem;
    overflow: hidden;
}
.pathok-hero-tag {
    display: inline-block;
    background: #fff;
    border-radius: 999px;
    padding: .55rem 1.2rem;
    font-size: .9rem;
    color: var(--pathok-text);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.pathok-hero-title {
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    color: var(--pathok-text);
    margin: 1.5rem 0;
}
.pathok-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.4rem;
    border-radius: 999px;
    background: #fff;
    color: var(--pathok-text);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all .15s;
}
.pathok-hero-btn:hover {
    background: var(--pathok-primary);
    color: #fff;
    border-color: var(--pathok-primary);
}
.pathok-hero-illustration {
    position: relative;
}
.pathok-hero-illustration svg {
    width: 100%;
    height: auto;
    max-width: 480px;
    margin: 0 auto;
    display: block;
}
.pathok-hero-illustration-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--pathok-primary);
       margin-top: 70px;
}

/* ============================================================
   FEATURED CAROUSEL (right side of hero)
   ============================================================ */
.pathok-featured-carousel {
    perspective: 1000px;
}
.pathok-featured-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 60px -25px rgba(0,0,0,.25), 0 8px 20px -10px rgba(0,0,0,.08);
    position: relative;
}
.pathok-featured-card-image {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 50%, #6b21a8 100%);
    color: #fff;
    padding: 1.5rem;
    position: relative;
    min-height: 200px;
}
.pathok-featured-card-banner h3 {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: -.02em;
}
.pathok-featured-card-banner small {
    opacity: .85;
    letter-spacing: .05em;
}
.pathok-featured-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: .75rem;
}
.pathok-featured-discount {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    background: var(--pathok-secondary);
    color: #fff;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}
.pathok-featured-card-body {
    padding: 1.2rem 1.4rem 1.5rem;
}
.pathok-featured-title {
    font-weight: 700;
    margin: 0 0 .25rem 0;
}
.pathok-featured-subtitle {
    color: var(--pathok-text-muted);
}
.pathok-stars {
    color: #f59e0b;
    font-size: .9rem;
}
.pathok-featured-price {
    color: var(--pathok-secondary);
    font-weight: 700;
    font-size: 1.25rem;
}
.pathok-featured-price-old {
    color: var(--pathok-text-muted);
    text-decoration: line-through;
    margin-left: .35rem;
    font-size: .95rem;
}
.pathok-featured-cta {
    color: var(--pathok-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}
.pathok-featured-cta:hover {
    color: var(--pathok-primary-dark);
}
.pathok-featured-indicators {
    bottom: -40px;
    margin: 0;
}
.pathok-featured-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
    background: #cbd5e1 !important;
    border: 0 !important;
    margin: 0 4px !important;
    opacity: 1 !important;
}
.pathok-featured-indicators button.active {
    background: var(--pathok-primary) !important;
    width: 24px !important;
    border-radius: 4px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.pathok-section-label {
    display: inline-block;
    background: #ede9fe;
    color: #7c3aed;
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
}
.pathok-section-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -.02em;
}

/* Categories cards */
.pathok-category-card {
    display: block;
    text-align: center;
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 14px;
    padding: 1.75rem 1rem;
    text-decoration: none;
    color: var(--pathok-text);
    transition: all .2s;
}
.pathok-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(25,135,84,.25);
    border-color: var(--pathok-primary);
    color: var(--pathok-text);
}
.pathok-category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--pathok-primary-light);
    color: var(--pathok-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all .2s;
}
.pathok-category-card:hover .pathok-category-icon {
    background: var(--pathok-primary);
    color: #fff;
}

/* Course cards */
.pathok-course-card {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all .2s;
}
.pathok-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0,0,0,.12);
}
.pathok-course-thumb {
    background: var(--pathok-bg-soft);
    aspect-ratio: 16/10;
    overflow: hidden;
}
.pathok-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Instructor cards */
.pathok-instructor-card {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 14px;
    padding: 2rem 1.5rem;
}
.pathok-instructor-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pathok-primary-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.pathok-footer {
    background: #1a202c;
    color: #fff;
    margin-top: 4rem;
}
.pathok-footer-logo {
    height: 44px;
    filter: brightness(0) invert(1);
}
.pathok-footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.1rem;
    font-size: 1rem;
}
.pathok-footer ul a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .15s;
    display: inline-block;
    padding: .25rem 0;
}
.pathok-footer ul a:hover {
    color: var(--pathok-primary);
}
.pathok-social-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all .15s;
}
.pathok-social-btn:hover {
    background: var(--pathok-primary);
    color: #fff;
}
.pathok-newsletter-input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
}
.pathok-newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.pathok-newsletter-input:focus {
    background: rgba(255,255,255,.12);
    border-color: var(--pathok-primary);
    box-shadow: none;
    color: #fff;
}
.pathok-footer-bottom {
    background: #12161e;
    border-top: 1px solid rgba(255,255,255,.06);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.pathok-wa-fab {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 20px rgba(37,211,102,.45);
    z-index: 1050;
    transition: transform .15s;
    text-decoration: none;
}
.pathok-wa-fab:hover {
    transform: scale(1.08);
    color: #fff;
}

/* ============================================================
   BREADCRUMB + STATIC PAGE
   ============================================================ */
.pathok-breadcrumb {
    font-size: .9rem;
    color: var(--pathok-text-muted);
}
.pathok-breadcrumb a {
    color: var(--pathok-primary);
    text-decoration: none;
}
.pathok-page-content {
    line-height: 1.8;
}
.pathok-page-content p { margin-bottom: 1rem; }


/* ============================================================
   ============ PHASE 2 ADDITIONS ============
   ============================================================ */

/* ---- Page banner (inner pages) ---- */
.pathok-page-banner {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(254,226,226,.5) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 80%, rgba(209,250,229,.5) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 3.5rem 0 3rem;
    border-bottom: 1px solid var(--pathok-border);
}
.pathok-page-banner-title {
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    margin-bottom: .5rem;
    letter-spacing: -.02em;
}

/* ---- Course card (catalog) ---- */
.pathok-course-card { display: flex; flex-direction: column; }
.pathok-course-thumb { position: relative; }
.pathok-course-thumb img { transition: transform .3s; }
.pathok-course-card:hover .pathok-course-thumb img { transform: scale(1.04); }
.pathok-course-thumb-fallback {
    background: linear-gradient(135deg, #d1fae5 0%, #fee2e2 100%) !important;
    opacity: .6;
}
.pathok-course-badge {
    position: absolute;
    top: .75rem; left: .75rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
}
.pathok-course-badge-free { background: var(--pathok-primary); }
.pathok-course-badge-discount { background: var(--pathok-secondary); }
.pathok-course-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.pathok-course-cat {
    display: inline-flex; align-items: center; gap: .25rem;
    color: var(--pathok-primary);
    font-size: .8rem; font-weight: 500;
    text-decoration: none;
    margin-bottom: .35rem;
}
.pathok-course-title {
    font-size: 1.05rem; font-weight: 600;
    margin: 0 0 .5rem 0; line-height: 1.35;
    min-height: 2.7rem;
}
.pathok-course-title a { color: var(--pathok-text); text-decoration: none; }
.pathok-course-title a:hover { color: var(--pathok-primary); }
.pathok-course-meta {
    font-size: .8rem; color: var(--pathok-text-muted);
    display: flex; gap: .85rem;
    margin-bottom: .5rem;
}
.pathok-course-rating { display: flex; align-items: center; gap: .35rem; margin-bottom: .75rem; }
.pathok-course-footer {
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px dashed var(--pathok-border);
    display: flex; justify-content: space-between; align-items: center;
    gap: .5rem;
}
.pathok-course-price { font-size: .95rem; }
.pathok-course-price strong { color: var(--pathok-secondary); font-size: 1.05rem; }
.pathok-course-price-old { color: var(--pathok-text-muted); text-decoration: line-through; font-size: .8rem; margin-right: .35rem; }
.pathok-course-cta {
    color: var(--pathok-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    white-space: nowrap;
}
.pathok-course-cta:hover { color: var(--pathok-primary-dark); }

/* ---- Filter sidebar ---- */
.pathok-filter-form {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 12px;
    padding: 1.25rem;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.pathok-filter-block { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--pathok-border); }
.pathok-filter-block:last-child { border-bottom: none; padding-bottom: 0; }
.pathok-filter-label { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; color: var(--pathok-text-muted); margin-bottom: .5rem; letter-spacing: .05em; }
.pathok-filter-heading { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; }
.pathok-filter-search { padding-left: 2.25rem; }
.pathok-filter-search-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--pathok-text-muted);
}
.pathok-filter-options { display: flex; flex-direction: column; gap: .4rem; }
.pathok-filter-option {
    display: flex; align-items: center; gap: .5rem;
    cursor: pointer;
    font-size: .9rem;
    color: var(--pathok-text);
    margin: 0;
}
.pathok-filter-option input[type="radio"] { margin: 0; flex-shrink: 0; accent-color: var(--pathok-primary); }
.pathok-filter-option:hover { color: var(--pathok-primary); }

.pathok-filter-chip {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--pathok-primary-light);
    color: var(--pathok-primary-dark);
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .8rem;
    text-decoration: none;
}
.pathok-filter-chip:hover { background: var(--pathok-primary); color: #fff; }

/* ---- Pagination ---- */
.pathok-pagination {
    display: flex; gap: .35rem;
    justify-content: center;
    list-style: none; padding: 0; margin: 0;
    flex-wrap: wrap;
}
.pathok-pagination li a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--pathok-border);
    color: var(--pathok-text);
    text-decoration: none;
    font-size: .9rem;
    transition: all .15s;
}
.pathok-pagination li a:hover { background: var(--pathok-primary-light); border-color: var(--pathok-primary); color: var(--pathok-primary); }
.pathok-pagination li.active a { background: var(--pathok-primary); border-color: var(--pathok-primary); color: #fff; }
.pathok-pagination li.disabled a { pointer-events: none; opacity: .4; }

/* ---- Course detail ---- */
.pathok-course-detail-thumb {
    position: relative; border-radius: 14px;
    overflow: hidden; background: var(--pathok-bg-soft);
}
.pathok-course-detail-thumb img { width: 100%; height: auto; display: block; }
.pathok-course-detail-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    background: rgba(255,255,255,.9);
    color: var(--pathok-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    text-decoration: none;
    transition: all .15s;
}
.pathok-course-detail-play:hover { background: var(--pathok-primary); color: #fff; transform: translate(-50%, -50%) scale(1.05); }

.pathok-course-tabs { border-bottom: 2px solid var(--pathok-border); gap: .25rem; }
.pathok-course-tabs .nav-link {
    border: none;
    color: var(--pathok-text-muted);
    font-weight: 500;
    padding: .75rem 1.25rem;
    border-radius: 8px 8px 0 0;
    background: transparent;
}
.pathok-course-tabs .nav-link:hover { color: var(--pathok-primary); }
.pathok-course-tabs .nav-link.active {
    color: var(--pathok-primary);
    background: var(--pathok-primary-light);
    border-bottom: 2px solid var(--pathok-primary);
    margin-bottom: -2px;
}

.pathok-course-overview { line-height: 1.75; }
.pathok-course-overview p { margin-bottom: 1rem; }
.pathok-course-card-inset {
    background: var(--pathok-bg-soft);
    border: 1px solid var(--pathok-border);
    border-radius: 12px;
    padding: 1.25rem;
}
.pathok-checklist-item {
    display: flex; align-items: flex-start; gap: .5rem;
    font-size: .9rem; line-height: 1.5;
}
.pathok-checklist-item i { font-size: 1.1rem; flex-shrink: 0; padding-top: 1px; }

.pathok-curriculum .accordion-item {
    border: 1px solid var(--pathok-border);
    border-radius: 10px !important;
    margin-bottom: .5rem;
    overflow: hidden;
}
.pathok-curriculum .accordion-button {
    background: var(--pathok-bg-soft);
    font-weight: 600;
    font-size: .95rem;
}
.pathok-curriculum .accordion-button:not(.collapsed) {
    background: var(--pathok-primary-light);
    color: var(--pathok-primary-dark);
}
.pathok-lesson-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: .75rem 1.25rem;
    border-top: 1px solid var(--pathok-border);
    font-size: .9rem;
}

.pathok-instructor-block {
    display: flex; gap: 1.25rem;
    background: var(--pathok-bg-soft);
    padding: 1.5rem;
    border-radius: 12px;
}
.pathok-instructor-block-avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.pathok-review-summary {
    text-align: center;
    background: var(--pathok-bg-soft);
    padding: 2rem;
    border-radius: 12px;
}
.pathok-review-item {
    display: flex; gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--pathok-border);
}
.pathok-review-item:last-child { border-bottom: none; }
.pathok-review-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--pathok-primary-light);
}

.pathok-course-buy-box {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px -8px rgba(0,0,0,.08);
    top: 80px;
}
.pathok-course-buy-image { aspect-ratio: 16/10; overflow: hidden; background: var(--pathok-bg-soft); }
.pathok-course-buy-image img { width: 100%; height: 100%; object-fit: cover; }
.pathok-buy-price { font-size: 2rem; font-weight: 800; color: var(--pathok-secondary); }
.pathok-buy-price-old { color: var(--pathok-text-muted); text-decoration: line-through; font-size: 1rem; }
.pathok-buy-includes li { padding: .35rem 0; font-size: .9rem; }
.pathok-buy-includes i { color: var(--pathok-primary); margin-right: .5rem; }

/* ---- Instructor list/profile ---- */
.pathok-instructor-card-link { text-decoration: none; color: inherit; display: block; }
.pathok-instructor-card-2 {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    transition: all .2s;
}
.pathok-instructor-card-link:hover .pathok-instructor-card-2 {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0,0,0,.12);
    border-color: var(--pathok-primary);
}
.pathok-instructor-card-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pathok-primary-light);
}
.pathok-instructor-card-stats {
    display: flex; justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid var(--pathok-border);
}
.pathok-instructor-card-stats strong { color: var(--pathok-primary); font-size: 1.1rem; }

.pathok-instructor-header {
    background: linear-gradient(135deg, var(--pathok-primary-light) 0%, rgba(254,226,226,.5) 100%);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}
.pathok-instructor-header-avatar {
    width: 140px; height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.pathok-instructor-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-left: auto;
}
.pathok-instructor-stats > div {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 110px;
}
.pathok-instructor-stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--pathok-primary);
    line-height: 1.1;
}
.pathok-instructor-stats small { color: var(--pathok-text-muted); font-size: .75rem; }
.pathok-instructor-social {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--pathok-text);
    text-decoration: none;
    transition: all .15s;
}
.pathok-instructor-social:hover { background: var(--pathok-primary); color: #fff; }

/* ---- Event card ---- */
.pathok-event-card {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all .2s;
}
.pathok-event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.12); }
.pathok-event-card-past { opacity: .85; }
.pathok-event-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--pathok-bg-soft); }
.pathok-event-card-image img { width: 100%; height: 100%; object-fit: cover; }
.pathok-event-card-date {
    position: absolute;
    top: .75rem; left: .75rem;
    background: #fff;
    padding: .5rem .75rem;
    border-radius: 8px;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.pathok-event-card-date strong { display: block; font-size: 1.4rem; color: var(--pathok-primary); }
.pathok-event-card-date small { font-size: .65rem; text-transform: uppercase; color: var(--pathok-text-muted); }
.pathok-event-card-badge {
    position: absolute;
    top: .75rem; right: .75rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
}
.pathok-event-card-badge-upcoming { background: var(--pathok-primary); }
.pathok-event-card-badge-past { background: #6b7280; }
.pathok-event-detail-image { border-radius: 14px; overflow: hidden; background: var(--pathok-bg-soft); }
.pathok-event-detail-image img { width: 100%; height: auto; display: block; }

/* ---- Blog ---- */
.pathok-blog-card {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all .2s;
}
.pathok-blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.12); }
.pathok-blog-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--pathok-bg-soft); }
.pathok-blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pathok-blog-card:hover .pathok-blog-card-image img { transform: scale(1.04); }
.pathok-blog-cat {
    display: inline-block;
    background: var(--pathok-primary-light);
    color: var(--pathok-primary-dark);
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .7rem;
    text-decoration: none;
    font-weight: 500;
}
.pathok-blog-cat:hover { background: var(--pathok-primary); color: #fff; }
.pathok-blog-detail-image { border-radius: 14px; overflow: hidden; background: var(--pathok-bg-soft); }
.pathok-blog-detail-image img { width: 100%; height: auto; display: block; }

.pathok-blog-sidebar { position: sticky; top: 80px; }
.pathok-sidebar-widget {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.pathok-sidebar-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--pathok-primary); display: inline-block; }
.pathok-sidebar-cat-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: .35rem 0;
    border-bottom: 1px dashed var(--pathok-border);
}
.pathok-sidebar-cat-row:last-child { border-bottom: none; }
.pathok-sidebar-cat-row a { text-decoration: none; font-size: .9rem; }
.pathok-sidebar-cat-row a:hover { color: var(--pathok-primary); }
.pathok-sidebar-recent {
    display: flex; gap: .75rem; padding: .65rem 0;
    text-decoration: none; color: var(--pathok-text);
    border-bottom: 1px dashed var(--pathok-border);
}
.pathok-sidebar-recent:last-child { border-bottom: none; }
.pathok-sidebar-recent img {
    width: 64px; height: 64px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--pathok-bg-soft);
}
.pathok-sidebar-recent:hover { color: var(--pathok-primary); }

/* ---- FAQ ---- */
.pathok-faq-group-title {
    font-size: 1.25rem; font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--pathok-primary);
    display: inline-block;
}
.pathok-faq-accordion .accordion-item {
    border: 1px solid var(--pathok-border);
    border-radius: 10px !important;
    margin-bottom: .5rem;
    overflow: hidden;
}
.pathok-faq-accordion .accordion-button {
    background: #fff;
    font-weight: 600;
    padding: 1rem 1.25rem;
}
.pathok-faq-accordion .accordion-button:not(.collapsed) {
    background: var(--pathok-primary-light);
    color: var(--pathok-primary-dark);
    box-shadow: none;
}
.pathok-faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--pathok-primary); }

/* ---- Contact ---- */
.pathok-contact-info {
    background: #fff;
    border: 1px solid var(--pathok-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}
.pathok-contact-icon {
    width: 60px; height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--pathok-primary-light);
    color: var(--pathok-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.pathok-card { background: #fff; border: 1px solid var(--pathok-border); border-radius: 14px; overflow: hidden; }
.pathok-card-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--pathok-border); }
.pathok-card-body { padding: 1.5rem; }
.pathok-contact-info h6 { font-weight: 600; margin-bottom: .5rem; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .pathok-filter-form { position: static; max-height: none; }
    .pathok-instructor-stats { margin-left: 0; width: 100%; }
    .pathok-instructor-header { text-align: center; flex-direction: column; }
}

/* ============================================================
   PHASE 3 — Auth, Cart, Checkout, Dashboard, Player, Quiz
   ============================================================ */

/* ---------- Auth cards ---------- */
.pathok-auth-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 2.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.pathok-auth-card h3 { font-weight: 700; }
.pathok-auth-card .form-control:focus { box-shadow: 0 0 0 0.18rem rgba(25, 135, 84, 0.18); border-color: #198754; }

/* ---------- Cart + checkout shared ---------- */
.pathok-cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}
.pathok-cart-item-image {
    display: block;
    width: 112px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
}
.pathok-cart-item-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.pathok-cart-summary {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 96px;
}

/* ---------- Checkout payment radios ---------- */
.pathok-payment-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.pathok-payment-option:hover { border-color: #b8dbc4; }
.pathok-payment-option input[type="radio"] { accent-color: #198754; flex-shrink: 0; }
.pathok-payment-option input[type="radio"]:checked + i { color: #198754; }
.pathok-payment-option:has(input:checked) {
    border-color: #198754;
    background: rgba(25, 135, 84, 0.04);
}
.pathok-payment-option i { font-size: 1.4rem; color: #6c757d; flex-shrink: 0; }

/* ---------- Order-confirmation success circle ---------- */
.pathok-success-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #198754, #20c997);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.3);
}
.pathok-success-circle i { color: #fff; font-size: 2.5rem; font-weight: 800; }

/* ---------- Dashboard sidebar ---------- */
.pathok-dashboard-sidebar {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 96px;
}
.pathok-dashboard-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.06), rgba(183, 27, 45, 0.04));
    border-bottom: 1px solid #e9ecef;
}
.pathok-dashboard-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.pathok-dashboard-nav {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}
.pathok-dashboard-nav li a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.25rem;
    color: #495057;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s;
    font-size: 0.92rem;
}
.pathok-dashboard-nav li a:hover {
    background: rgba(25, 135, 84, 0.05);
    color: #198754;
}
.pathok-dashboard-nav li a.active {
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    border-left-color: #198754;
    font-weight: 600;
}
.pathok-dashboard-nav li a i { font-size: 1.05rem; }
.pathok-dashboard-nav hr { margin: 0.5rem 1.25rem; }

/* ---------- Stat cards ---------- */
.pathok-stat-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    height: 100%;
}
.pathok-stat-card strong { font-size: 1.5rem; line-height: 1; }
.pathok-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ---------- Dashboard course row ---------- */
.pathok-dashboard-course-row {
    display: flex;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.85rem;
}
.pathok-dashboard-course-row img {
    width: 88px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ---------- Instructor portal list rows ---------- */
.pathok-instructor-course-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.9rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.pathok-instructor-course-row > img {
    width: 132px;
    height: 82px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f8f9fa;
}
.pathok-instructor-course-row h6 {
    font-weight: 700;
    line-height: 1.35;
}
.pathok-instructor-course-row .badge {
    font-size: 0.7rem;
    font-weight: 600;
}
.pathok-instructor-course-row .btn-sm {
    min-width: 34px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
}

/* ---------- Instructor rich text editor ---------- */
.pathok-rich-hidden {
    display: none;
}
.pathok-rich-editor {
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.pathok-rich-toolbar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    padding: 0.45rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}
.pathok-rich-toolbar button {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #495057;
}
.pathok-rich-toolbar button:hover,
.pathok-rich-toolbar button:focus {
    background: #fff;
    border-color: #dee2e6;
    color: var(--pathok-primary);
}
.pathok-rich-toolbar span {
    width: 1px;
    height: 22px;
    background: #dee2e6;
    margin: 0 0.2rem;
}
.pathok-rich-area {
    min-height: 180px;
    padding: 0.85rem 1rem;
    outline: 0;
    line-height: 1.7;
}
.pathok-rich-area:focus {
    box-shadow: inset 0 0 0 0.18rem rgba(25, 135, 84, 0.12);
}
.pathok-rich-area h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.5rem 0;
}
.pathok-rich-area p,
.pathok-rich-area ul,
.pathok-rich-area ol {
    margin-bottom: 0.75rem;
}

/* ---------- Instructor curriculum builder ---------- */
.pathok-curriculum-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.pathok-curriculum-section-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e9ecef;
}
.pathok-curriculum-section-head .btn-sm,
.pathok-curriculum-lesson .btn-sm {
    min-width: 34px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pathok-curriculum-lesson {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f1f3f5;
}
.pathok-curriculum-lesson:last-child {
    border-bottom: 0;
}
.pathok-curriculum-lesson > i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    flex-shrink: 0;
}

/* ---------- Enrolled course card (My Courses) ---------- */
.pathok-enrolled-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pathok-enrolled-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.pathok-enrolled-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.pathok-enrolled-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pathok-enrolled-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* ---------- Recent quiz row ---------- */
.pathok-quiz-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f1f3f5;
}
.pathok-quiz-row:last-child { border-bottom: none; }

/* ---------- Wishlist remove overlay ---------- */
.pathok-wishlist-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    transition: transform 0.15s;
}
.pathok-wishlist-remove:hover { transform: scale(1.1); color: #dc3545; }

/* ---------- Course card wishlist heart ---------- */
.pathok-course-heart {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    z-index: 4;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: color 0.15s, transform 0.15s;
}
.pathok-course-heart:hover { color: #dc3545; transform: scale(1.1); }
.pathok-course-heart.active { color: #dc3545; }
.pathok-course-heart i { font-size: 1.05rem; }

/* ---------- Lesson Player ---------- */
.pathok-player {
    min-height: calc(100vh - 200px);
    background: #f4f5f7;
}
.pathok-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 5;
}
.pathok-player-video {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}
.pathok-player-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.pathok-player-sidebar {
    background: #fff;
    border-left: 1px solid #e9ecef;
    height: calc(100vh - 70px);
    overflow-y: auto;
    position: sticky;
    top: 70px;
}
.pathok-player-sidebar-header {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}
.pathok-player-curriculum .accordion-item { border: 0; border-bottom: 1px solid #e9ecef; }
.pathok-player-curriculum .accordion-button {
    padding: 0.7rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    background: #f8f9fa;
    color: #212529;
    border: none;
    box-shadow: none;
}
.pathok-player-curriculum .accordion-button:not(.collapsed) {
    background: #fff;
    color: #198754;
    box-shadow: none;
}
.pathok-player-curriculum .accordion-button:focus { box-shadow: none; }
.pathok-player-lesson {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.25rem 0.6rem 2rem;
    text-decoration: none;
    color: #495057;
    font-size: 0.85rem;
    border-left: 3px solid transparent;
    transition: background 0.12s;
}
.pathok-player-lesson:hover {
    background: rgba(25, 135, 84, 0.04);
    color: #198754;
}
.pathok-player-lesson.active {
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    border-left-color: #198754;
    font-weight: 600;
}
.pathok-player-lesson.done { color: #6c757d; }
.pathok-player-lesson i { flex-shrink: 0; font-size: 1rem; }

/* ---------- Activity cards inside player ---------- */
.pathok-activity-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.9rem 1rem;
}
.pathok-activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ---------- Quiz / Assignment intro icon ---------- */
.pathok-quiz-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
}

/* ---------- Quiz questions ---------- */
.pathok-quiz-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 0.4rem;
}
.pathok-quiz-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.pathok-quiz-option:hover { border-color: #b8dbc4; background: rgba(25, 135, 84, 0.02); }
.pathok-quiz-option input { accent-color: #198754; flex-shrink: 0; }
.pathok-quiz-option:has(input:checked) {
    border-color: #198754;
    background: rgba(25, 135, 84, 0.06);
}

/* ---------- Quiz timer banner ---------- */
.pathok-quiz-timer {
    position: fixed;
    top: 90px;
    right: 1.5rem;
    background: #fff;
    border: 2px solid #198754;
    color: #198754;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}
.pathok-quiz-timer.warning {
    border-color: #dc3545;
    color: #dc3545;
    animation: pulse 1s infinite;
}
@keyframes pulse { 50% { transform: scale(1.05); } }

/* ---------- Quiz result icons ---------- */
.pathok-result-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: #fff;
}
.pathok-result-icon.pass { background: linear-gradient(135deg, #198754, #20c997); box-shadow: 0 8px 24px rgba(25, 135, 84, 0.3); }
.pathok-result-icon.fail { background: linear-gradient(135deg, #b71b2d, #dc3545); box-shadow: 0 8px 24px rgba(183, 27, 45, 0.3); }
.pathok-quiz-result-summary { border-top: 4px solid #198754; }

/* ---------- Quiz review answers ---------- */
.pathok-quiz-review-item.correct { border-left: 4px solid #198754; }
.pathok-quiz-review-item.incorrect { border-left: 4px solid #dc3545; }
.pathok-quiz-review-option {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 0.3rem;
    background: #f8f9fa;
    font-size: 0.9rem;
}
.pathok-quiz-review-option.correct-answer { background: rgba(25, 135, 84, 0.08); }
.pathok-quiz-review-option.wrong-answer { background: rgba(220, 53, 69, 0.08); }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 991.98px) {
    .pathok-player-sidebar { position: static; height: auto; max-height: 50vh; }
    .pathok-cart-summary, .pathok-dashboard-sidebar { position: static; }
    .pathok-quiz-timer { top: 70px; right: 0.5rem; font-size: 0.85rem; padding: 0.4rem 0.7rem; }
    .pathok-instructor-course-row { align-items: flex-start; }
    .pathok-curriculum-section-head { align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .pathok-cart-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .pathok-cart-item-image {
        width: 96px;
        height: 64px;
    }
    .pathok-cart-item .text-end {
        width: 100%;
        text-align: left !important;
        padding-left: 112px;
    }
    .pathok-instructor-course-row {
        flex-direction: column;
    }
    .pathok-instructor-course-row > img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .pathok-instructor-course-row > .d-flex:last-child {
        width: 100%;
        justify-content: flex-start;
    }
    .pathok-curriculum-section-head,
    .pathok-curriculum-lesson {
        flex-wrap: wrap;
    }
    .pathok-curriculum-section-head .flex-grow-1,
    .pathok-curriculum-lesson .flex-grow-1 {
        width: calc(100% - 44px);
    }
}
