/* Custom web overrides (loaded last). Keep vendor CSS untouched. */

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL THEME TOKENS
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
    --theme-font: 'Raleway', sans-serif;
    --theme-primary: #000066;
    --theme-accent:  #77d1e9;
}

/* Raleway everywhere — nuclear override of every hardcoded font-family in the
   vendor CSS. Remix Icon classes are excluded so glyphs still render. */
*:not([class^="ri-"]):not([class*=" ri-"]) {
    font-family: var(--theme-font) !important;
}
[class^="ri-"], [class*=" ri-"] { font-family: "remixicon" !important; }


/* Pull utilities kept for legacy views */
.pull-right { float: right !important; }
.pull-left  { float: left  !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL BASE SIZE
   ═══════════════════════════════════════════════════════════════════════════ */
html { font-size: 15px; }


/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR  (single-row Bootstrap 5 sticky-top: brand · courses · auth)
   ═══════════════════════════════════════════════════════════════════════════ */
/* lean nav on focused learn screens — logo only, nothing clickable */
.uc-navbar-lean .uc-brand-static { cursor: default; }

.uc-navbar {
    --uc-nav-pad: 0.55rem;
    background: #fff;
    border-top: 4px solid var(--theme-primary);
    box-shadow: 0 1px 6px rgba(0, 0, 50, 0.07);
    padding-top: var(--uc-nav-pad);
    padding-bottom: var(--uc-nav-pad);
    transition: box-shadow 0.25s ease, padding 0.25s ease;
}
.uc-navbar.uc-nav-scrolled {
    --uc-nav-pad: 0.3rem;
    box-shadow: 0 4px 18px rgba(0, 0, 50, 0.13);
}

.uc-nav-logo {
    height: 38px;
    width: auto;
    transition: height 0.25s ease;
}
.uc-nav-scrolled .uc-nav-logo { height: 32px; }
@media (max-width: 575.98px) {
    .uc-nav-logo { height: 28px; }
    .uc-nav-scrolled .uc-nav-logo { height: 24px; }
}

.navbar-toggler {
    border: 1.5px solid rgba(0, 0, 102, 0.25);
    padding: 5px 9px;
    border-radius: 8px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000066' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* nav links */
.uc-navbar .nav-link {
    color: var(--theme-primary) !important;
    font-weight: 600;
    font-size: 0.93rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 7px;
    transition: color 0.15s, background 0.15s;
}
.uc-navbar .nav-link:hover,
.uc-navbar .nav-link:focus { color: #0055cc !important; background: rgba(0, 0, 102, 0.06); }
.uc-navbar .nav-link i { opacity: 0.6; }
.uc-navbar .nav-link:hover i { opacity: 1; }

/* Sign Up CTA */
.uc-nav-cta {
    background: var(--theme-primary);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 24px;
    padding: 0.45rem 1.25rem;
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.uc-nav-cta:hover {
    background: #0000aa;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 102, 0.28);
}

/* notification badge */
.uc-nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e23;
    color: #fff;
    border-radius: 10px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
}

/* dropdown */
.uc-dropdown {
    border: 1px solid rgba(0, 0, 102, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 50, 0.14);
    border-radius: 12px;
    padding: 6px;
    min-width: 200px;
    margin-top: 8px;
}
.uc-dropdown .dropdown-item {
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--theme-primary);
}
.uc-dropdown .dropdown-item:hover { background: rgba(0, 0, 102, 0.07); color: var(--theme-primary); }
.uc-dropdown .dropdown-divider { margin: 5px 6px; border-color: rgba(0, 0, 102, 0.1); }

/* collapsed (mobile) menu */
@media (max-width: 991.98px) {
    .uc-navbar .navbar-collapse {
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid rgba(0, 0, 102, 0.08);
    }
    .uc-navbar .navbar-nav.mx-auto { margin-bottom: 6px !important; }
    .uc-nav-cta { display: inline-block; margin-top: 6px; border-radius: 8px; }
    .uc-nav-badge { position: static; margin-left: 4px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SUB-NAVBAR  (secondary feature strip under the main nav: free content, blogs,
   study plans, schedules, thoughts, olympiad, faqs, about)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-subnav {
    background: #fff;
    border-bottom: 1px solid #e6eaf5;
    box-shadow: 0 2px 8px rgba(0, 0, 50, 0.04);
}
.uc-subnav-scroll {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.uc-subnav-scroll::-webkit-scrollbar { display: none; }

.uc-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 11px 15px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #5a6080;
    text-decoration: none !important;
    border-bottom: 2.5px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.uc-subnav-link i { font-size: 1.05rem; opacity: 0.7; }
.uc-subnav-link:hover { color: var(--theme-primary); background: rgba(0, 0, 102, 0.04); }
.uc-subnav-link:hover i { opacity: 1; }
.uc-subnav-link.is-active {
    color: var(--theme-primary);
    border-bottom-color: var(--theme-primary);
}
.uc-subnav-link.is-active i { opacity: 1; color: var(--theme-primary); }

@media (max-width: 991.98px) {
    .uc-subnav-scroll { justify-content: flex-start; }
    .uc-subnav-link { padding: 10px 12px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   STORE GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}
@media (max-width: 991px) { .uc-store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .uc-store-grid { grid-template-columns: 1fr; } }

.uc-store-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px;
    padding: 15px;
    border-radius: 8px;
}
.uc-store-card .uc-card-foot { margin-top: auto; }


/* ═══════════════════════════════════════════════════════════════════════════
   PAGE HEADER BAND  (goal / store listing + reusable on inner pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-page-head {
    background: linear-gradient(135deg, #09092b, #101373 55%, #151572);
    color: #fff;
    padding: clamp(40px, 6vw, 68px) 0;
}
.uc-head-badge {
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 50px;
}
.uc-page-title {
    font-weight: 800;
    font-size: clamp(28px, 4vw, 46px);
    margin: 0 0 10px;
    line-height: 1.15;
}
.uc-page-sub {
    color: rgba(255,255,255,0.7);
    font-size: clamp(14px, 1.4vw, 16px);
    max-width: 640px;
    margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════════════════════
   STORE LISTING  (filter pills + product cards)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-store { background: #f6f8fd; }

/* goal selector — single-row horizontal scroll strip */
.uc-goals-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.uc-goals-strip::-webkit-scrollbar { display: none; }
.uc-filter {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-primary);
    background: #fff;
    border: 1.5px solid #e0e5f5;
    text-decoration: none !important;
    transition: all 0.16s ease;
}
.uc-filter:hover { border-color: var(--theme-primary); }
.uc-filter.is-active {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

/* store body: sidebar (lg+) / offcanvas (below lg) + product column */
.uc-store-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 992px) {
    .uc-store-layout { grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
}

@media (min-width: 992px) {
    .uc-filters {
        position: sticky;
        top: 96px;
        background: #fff !important;
        border: 1px solid #e6eaf5;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(2,5,100,0.05);
        max-height: calc(100vh - 120px);
        overflow: hidden;
    }
    /* Bootstrap turns .offcanvas-lg body into a flex row at lg+ — keep it a
       stacked, scrollable panel instead. */
    .uc-filters .offcanvas-body {
        display: block;
        padding: 20px;
        overflow-y: auto;
        max-height: calc(100vh - 120px);
        background-color: transparent !important;
    }
}
.uc-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #e03131;
    text-decoration: none;
    transition: color 0.15s ease;
}
.uc-clear-filters:hover {
    color: #c92a2a;
}
.uc-filter-group + .uc-filter-group {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #eef1fb;
}
.uc-filter-group-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #8b92b5;
    margin: 0 0 12px;
}
.uc-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* top bar: search + mobile filter toggle */
.uc-store-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.uc-store-topbar .uc-search { flex: 1 1 auto; max-width: none; }
.uc-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 18px;
    border-radius: 50px;
    border: 1.5px solid #e0e5f5;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-primary);
    white-space: nowrap;
    cursor: pointer;
}
.uc-filter-toggle .uc-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 50px;
    background: var(--theme-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.uc-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    color: #5a6080;
    background: #eef1fb;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.16s ease;
}
.uc-cat i { font-size: 16px; opacity: 0.8; }
.uc-cat:hover { color: var(--theme-primary); border-color: #c2cbf0; }
.uc-cat.is-active {
    background: var(--theme-accent);
    color: var(--theme-primary);
    border-color: var(--theme-accent);
}
.uc-cat.is-active i { opacity: 1; }

/* search box */
.uc-search {
    position: relative;
    flex: 1 1 320px;
    max-width: 440px;
}
.uc-search i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #8b92b5;
    font-size: 18px;
}
.uc-search input {
    width: 100%;
    padding: 11px 16px 11px 44px;
    border-radius: 50px;
    border: 1.5px solid #e0e5f5;
    background: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.16s ease;
}
.uc-search input:focus { border-color: var(--theme-primary); }
.uc-select {
    padding: 11px 36px 11px 18px;
    border-radius: 50px;
    border: 1.5px solid #e0e5f5;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6080' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
    font-size: 14px;
    font-weight: 600;
    color: #5a6080;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.uc-select:focus { border-color: var(--theme-primary); }

/* tag chips */
.uc-tag {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    color: #5a6080;
    background: #fff;
    border: 1.5px solid #e0e5f5;
    text-decoration: none !important;
    transition: all 0.16s ease;
}
.uc-tag:hover { border-color: var(--theme-primary); color: var(--theme-primary); }
.uc-tag.is-active {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

.uc-product {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6eaf5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(2,5,100,0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.uc-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(2,5,100,0.13);
}
.uc-product-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #eef0ff, #e0e6ff);
    overflow: hidden;
}
.uc-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-product-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 48px;
    color: #b9c0e6;
}
.uc-product-tag,
.uc-product-off {
    position: absolute;
    top: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    border-radius: 50px;
    color: #fff;
}
.uc-product-tag { left: 10px; background: #00acd3; }
.uc-product-off { right: 10px; background: #239d2b; }

.uc-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
}
.uc-product-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--theme-primary);
    line-height: 1.35;
    text-decoration: none !important;
    transition: color 0.15s ease;
}
.uc-product-title:hover { color: #0055cc; }
.uc-product-faculty {
    font-size: 13px;
    color: #7a81a3;
    margin-top: 5px;
}
.uc-product-faculty i { color: #b0b6d6; }

.uc-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}
.uc-product-price .now {
    font-size: 22px;
    font-weight: 800;
    color: var(--theme-primary);
}
.uc-product-price .now.free { color: #239d2b; }
.uc-product-price .was {
    font-size: 14px;
    color: #a2a8c4;
    text-decoration: line-through;
    margin-left: 4px;
}
.uc-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--theme-primary);
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.16s ease, transform 0.16s ease;
}
.uc-product-btn:hover { background: #0000aa; color: #fff; transform: translateX(2px); }
.uc-product-btn i { transition: transform 0.16s ease; }
.uc-product-btn:hover i { transform: translateX(3px); }


/* ═══════════════════════════════════════════════════════════════════════════
   COURSE DETAIL  (single course page — IIBF-style layout)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-course { background: #f6f8fd; }

/* breadcrumb */
.uc-course-crumb { background: #fff; border-bottom: 1px solid #eceff8; padding: 12px 0; }
.uc-course-crumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; }
.uc-course-crumb a { color: #6b7194; text-decoration: none; }
.uc-course-crumb a:hover { color: var(--theme-primary); }
.uc-course-crumb i { color: #b9bfd8; }
.uc-course-crumb span { color: var(--theme-primary); font-weight: 600; max-width: 60vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.uc-course-title {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    color: var(--theme-primary);
    line-height: 1.25;
    margin: 0 0 8px;
}
.uc-course-meta { color: #7a81a3; font-size: 14px; margin: 0 0 16px; }
.uc-course-meta i { color: #b0b6d6; }

/* content-type chips */
.uc-course-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.uc-course-chip {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13.5px; font-weight: 600;
    color: var(--theme-primary);
    background: #fff;
    border: 1px solid #e0e5f5;
    border-radius: 50px;
    padding: 8px 15px;
}
.uc-course-chip i { color: var(--theme-accent); font-size: 17px; }

/* Available Offers box */
.uc-offers {
    background: #f6f8fd;
    border: 1px solid #e6eaf5;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 24px;
}
.uc-offers-head { font-size: 15px; font-weight: 700; color: var(--theme-primary); margin-bottom: 12px; }
.uc-offers-list { display: flex; flex-wrap: wrap; gap: 10px; }
.uc-offer {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px dashed #c2cbf0;
    border-radius: 10px;
    padding: 9px 13px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.uc-offer:hover { border-color: var(--theme-primary); box-shadow: 0 4px 12px rgba(2,5,100,0.08); }
.uc-offer > .uc-offer-ico { color: #e8a33a; font-size: 20px; }
.uc-offer span { display: flex; flex-direction: column; line-height: 1.3; }
.uc-offer b { font-size: 13.5px; font-weight: 800; color: var(--theme-primary); letter-spacing: 0.3px; }
.uc-offer em { font-size: 12px; font-style: normal; color: #7a81a3; }

/* remove (×) — hidden until applied */
.uc-offer-x {
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(10,157,87,0.14);
    color: #0a9d57;
    font-size: 15px;
    margin-left: 2px;
}

/* applied state — green card */
.uc-offer.is-applied {
    background: #ecfaf1;
    border-style: solid;
    border-color: #9bddb4;
}
.uc-offer.is-applied .uc-offer-ico { color: #0a9d57; }
.uc-offer.is-applied b { color: #0a7d47; }
.uc-offer.is-applied em { color: #0a9d57; font-weight: 700; }
.uc-offer.is-applied .uc-offer-x { display: inline-flex; }

/* Overview / Content tabs */
.uc-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid #e6eaf5;
    margin-bottom: 22px;
}
.uc-tab {
    background: none;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #8389ab;
    cursor: pointer;
    position: relative;
    margin-bottom: -2px;
    border-bottom: 2px solid transparent;
    transition: color 0.16s ease, border-color 0.16s ease;
}
.uc-tab:hover { color: var(--theme-primary); }
.uc-tab.is-active { color: var(--theme-primary); border-bottom-color: var(--theme-primary); }

.uc-course-media {
    border-radius: 14px;
    overflow: hidden;
    background: #e0e6ff;
    box-shadow: 0 4px 16px rgba(2,5,100,0.07);
    aspect-ratio: 16 / 9;
}
.uc-course-media iframe,
.uc-course-media img { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }

.uc-course-block {
    background: #fff;
    border: 1px solid #e6eaf5;
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 22px;
    box-shadow: 0 4px 16px rgba(2,5,100,0.04);
}
.uc-course-block:last-child { margin-bottom: 0; }

/* ── Content tree widget (course content / free content) ── */
#uc-curriculum { min-height: 320px; border: 1px solid #e8eaf0; border-radius: 8px; overflow: hidden; }
.uc-crumb-bar  { display: flex; align-items: center; border-bottom: 1px solid #e8eaf0; background: #f6f7fb; padding: 0 10px; min-height: 42px; flex-wrap: wrap; gap: 2px; }
.uc-crumb      { font-size: 13px; font-weight: 600; color: #000066; cursor: pointer; padding: 4px 6px; border-radius: 4px; white-space: nowrap; }
.uc-crumb:hover { background: #e8eaf6; }
.uc-crumb.active { color: #020564; font-weight: 700; cursor: default; }
.uc-crumb.active:hover { background: none; }
.uc-crumb-sep  { color: #aaa; font-size: 13px; }
.uc-back-btn   { background: none; border: none; color: #020564; cursor: pointer; padding: 6px 8px; margin-right: 2px; font-size: 16px; display: flex; align-items: center; }
.uc-back-btn:hover { color: #000066; }
.uc-node-list  { list-style: none; margin: 0; padding: 0; }
.uc-node-item  { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #f0f1f6; cursor: pointer; transition: background .12s; }
.uc-node-item:last-child { border-bottom: none; }
.uc-node-item:hover:not(.locked) { background: #f6f7fb; }
.uc-node-item.locked { cursor: default; opacity: .6; }
.uc-node-icon  { width: 32px; text-align: center; font-size: 18px; flex-shrink: 0; }
.uc-node-main  { flex: 1; min-width: 0; }
.uc-node-title { font-size: 14px; font-weight: 600; color: #020564; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-node-sub   { font-size: 12px; color: #888; margin-top: 2px; }
.uc-node-badges { display: flex; gap: 4px; margin-top: 3px; flex-wrap: wrap; }
.uc-badge      { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 3px; text-transform: uppercase; }
.uc-badge-free { background: #e6f5e9; color: #239d2b; }
.uc-badge-live { background: #ffe9e9; color: #d32f2f; }
.uc-badge-rec  { background: #e8eaf6; color: #4a4a9a; }
.uc-node-trail { font-size: 14px; color: #999; flex-shrink: 0; }
.uc-node-trail.open { color: #020564; }
.uc-empty      { padding: 24px; text-align: center; color: #aaa; font-size: 14px; }
.uc-watch-bar  { height: 3px; background: #e0e0e0; border-radius: 2px; margin-top: 5px; }
.uc-watch-fill { height: 100%; border-radius: 2px; }

/* guest-locked free-content rows: clickable (→ login popup), amber lock */
.uc-node-gatelock { cursor: pointer; }
.uc-node-gatelock:hover { background: #fff8ec; }
.uc-node-gatelock .uc-node-trail i { color: #e0a948; }
.uc-node-gatelock .uc-node-title { color: #5a6080; }

/* login popup (free content gate) */
.uc-gate-pop {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    background: rgba(9, 9, 43, 0.55); backdrop-filter: blur(3px);
    animation: ucGateFade .15s ease;
}
@keyframes ucGateFade { from { opacity: 0; } to { opacity: 1; } }
.uc-gate-box {
    position: relative; width: 100%; max-width: 380px; text-align: center;
    background: #fff; border-radius: 18px; padding: 32px 26px 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 50, 0.35);
    animation: ucGatePop .18s ease;
}
@keyframes ucGatePop { from { transform: translateY(12px) scale(.98); } to { transform: none; } }
.uc-gate-x {
    position: absolute; top: 12px; right: 12px; border: none; background: #f1f3fb;
    width: 32px; height: 32px; border-radius: 9px; cursor: pointer; color: #6b7194; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}
.uc-gate-x:hover { background: #e6eaf5; }
.uc-gate-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 18px; margin-bottom: 14px;
    font-size: 30px; color: #e0a948; background: #fff6e5;
}
.uc-gate-title { font-size: 19px; font-weight: 800; color: var(--theme-primary); margin: 0 0 6px; }
.uc-gate-sub { font-size: 14px; color: #6b7194; line-height: 1.6; margin: 0 0 20px; }
.uc-gate-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px 18px; border-radius: 12px;
    font-size: 15px; font-weight: 700; color: #fff; background: var(--theme-primary);
    text-decoration: none !important; transition: background .16s ease, transform .16s ease;
}
.uc-gate-btn:hover { background: #0000aa; color: #fff; transform: translateY(-2px); }
.uc-gate-cancel { margin-top: 12px; border: none; background: none; color: #8389ab;
    font-size: 13.5px; font-weight: 600; cursor: pointer; }
.uc-gate-cancel:hover { color: var(--theme-primary); }

.uc-course-h {
    font-size: 20px;
    font-weight: 700;
    color: var(--theme-primary);
    margin: 0 0 14px;
}
.uc-course-desc { color: #4a5078; line-height: 1.75; font-size: 15px; }
.uc-course-note { font-size: 14px; font-weight: 600; margin-bottom: 16px; }

.uc-course-highlights { list-style: none; padding: 0; margin: 0; }
.uc-course-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #3a4066;
    margin-bottom: 11px;
}
.uc-course-highlights li:last-child { margin-bottom: 0; }
.uc-course-highlights i { color: #239d2b; font-size: 19px; line-height: 1.4; flex-shrink: 0; }

/* buy sidebar */
.uc-buy-wrap { position: sticky; top: 90px; }
.uc-buy-card {
    background: #fff;
    border: 1px solid #e6eaf5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(2,5,100,0.08);
}

/* thumbnail inside the card */
.uc-buy-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #eef0ff, #e0e6ff);
}
.uc-buy-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-buy-thumb-ph {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; font-size: 52px; color: #b9c0e6;
}
.uc-buy-thumb-tag {
    position: absolute; top: 12px; left: 12px;
    background: #00acd3; color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
    padding: 4px 11px; border-radius: 50px;
}

.uc-buy-body { padding: 18px; }
.uc-buy-label {
    font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
    text-transform: uppercase; color: #8389ab; margin-bottom: 10px;
}

/* validity options */
.uc-validity-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.uc-validity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid #e6eaf5;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease;
}
.uc-validity:hover { border-color: #c2cbf0; }
.uc-validity input { position: absolute; opacity: 0; pointer-events: none; }
.uc-validity.is-active { border-color: var(--theme-primary); background: #f5f6ff; }
.uc-validity-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.uc-validity-label { font-size: 14.5px; font-weight: 700; color: var(--theme-primary); }
.uc-validity-price { font-size: 14px; font-weight: 700; color: #1b2340; }
.uc-validity-price s { color: #a2a8c4; font-weight: 500; margin-left: 4px; }
.uc-validity-price em { color: #239d2b; font-style: normal; font-weight: 700; font-size: 12px; margin-left: 2px; }
.uc-validity-tick { font-size: 22px; color: #d4daf0; line-height: 1; flex-shrink: 0; }
.uc-validity.is-active .uc-validity-tick { color: var(--theme-primary); }

/* coupon */
.uc-coupon { margin-bottom: 16px; }
.uc-coupon-input {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px dashed #c2cbf0;
    border-radius: 12px;
    padding: 4px 4px 4px 12px;
    background: #fafbff;
}
.uc-coupon.is-applied .uc-coupon-input { border-style: solid; border-color: #9bddb4; background: #f1fcf5; }
.uc-coupon-input > i { color: #8389ab; font-size: 18px; }
.uc-coupon-input input {
    flex: 1; min-width: 0; border: none; background: transparent; outline: none;
    font-size: 14px; font-weight: 600; letter-spacing: 0.5px; color: var(--theme-primary);
}
.uc-coupon-input input::placeholder { color: #a9afcb; letter-spacing: normal; font-weight: 500; }
#uc-coupon-apply {
    border: none; cursor: pointer;
    background: var(--theme-primary); color: #fff;
    font-size: 13px; font-weight: 700;
    padding: 8px 16px; border-radius: 9px;
    transition: background 0.16s ease;
}
#uc-coupon-apply:hover { background: #0000aa; }
#uc-coupon-apply:disabled { opacity: 0.6; cursor: default; }
.uc-coupon-msg { font-size: 12.5px; font-weight: 600; margin-top: 7px; }
.uc-coupon-msg.ok  { color: #0a9d57; }
.uc-coupon-msg.err { color: #e23; }

.uc-buy-note {
    font-size: 11.5px;
    color: #9399bb;
    text-align: center;
    margin: 14px 0 0;
    line-height: 1.5;
}
.uc-buy-owned {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #239d2b;
    background: #e6f5e9;
    border-radius: 10px;
    padding: 12px 14px;
}
.uc-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 18px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--theme-primary);
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.16s ease, transform 0.16s ease;
}
.uc-buy-btn:hover { background: #0000aa; color: #fff; transform: translateY(-2px); }

/* big price row in the buy card */
.uc-buy-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.uc-buy-price .now { font-size: 28px; font-weight: 800; color: var(--theme-primary); }
.uc-buy-price .was { font-size: 15px; color: #a2a8c4; text-decoration: line-through; }
.uc-buy-price .off { font-size: 13px; font-weight: 800; color: #239d2b; }

/* "N Coupons Available · Apply here" */
.uc-coupons-avail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    background: #fff7ec;
    border: 1px dashed #f0c074;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #8a6314;
    cursor: pointer;
}
.uc-coupons-avail i { color: #e8a33a; font-size: 16px; margin-right: 4px; }
.uc-coupons-avail .apply { color: #e8820a; text-decoration: underline; }

/* You Pay expandable */
.uc-youpay {
    border: 1px solid #e6eaf5;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}
.uc-youpay-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #f6f8fd;
    border: none;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-primary);
}
.uc-youpay-amt { display: inline-flex; align-items: center; gap: 7px; }
.uc-youpay-amt s { color: #a2a8c4; font-weight: 500; font-size: 13px; }
.uc-youpay-amt b { font-size: 16px; font-weight: 800; }
.uc-youpay-amt i { font-size: 18px; color: #9399bb; transition: transform 0.2s ease; }
.uc-youpay-body { padding: 12px 14px; }
.uc-youpay-body .row-line {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13.5px; color: #5a6080; margin-bottom: 8px;
}
.uc-youpay-body .uc-yp-disc-row span:last-child { color: #e23; font-weight: 700; }
.uc-youpay-body .total {
    font-size: 15px; font-weight: 800; color: var(--theme-primary);
    border-top: 1px dashed #e0e5f5; padding-top: 10px; margin-bottom: 0;
}
.uc-youpay-body .uc-buy-note { text-align: left; margin-top: 10px; }

/* request a call back card */
.uc-callback-card {
    background: linear-gradient(145deg, #eef0ff, #e6ecff);
    border: 1px solid #dde3f7;
    border-radius: 18px;
    padding: 20px 22px;
    margin-top: 18px;
}
.uc-callback-head { font-size: 16px; font-weight: 700; color: var(--theme-primary); margin: 0 0 4px; }
.uc-callback-sub { font-size: 13px; color: #6b7194; margin: 0 0 14px; line-height: 1.5; }
.uc-callback-form { display: flex; flex-direction: column; gap: 10px; }
.uc-callback-form .form-control { border-radius: 10px; }
.uc-callback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 18px;
    border: none;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--theme-primary);
    background: #fff;
    border: 1.5px solid var(--theme-primary);
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}
.uc-callback-btn:hover { background: var(--theme-primary); color: #fff; }
.uc-callback-note { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: #8b92b5; }
.uc-callback-note a { color: var(--theme-primary); text-decoration: underline; }

@media (max-width: 991.98px) {
    .uc-buy-wrap { position: static; margin-top: 8px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   LESSON PLAYER  (learn video/pdf page)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-learn { background: #f6f8fd; }

.uc-player-card {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2,5,100,0.12);
}
.uc-learn-meta { padding: 18px 2px 0; }
.uc-learn-kind {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
    color: var(--theme-primary); background: #e6eaff; padding: 4px 11px; border-radius: 50px;
}
.uc-learn-kind i { font-size: 14px; }
.uc-learn-title {
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 800; color: var(--theme-primary);
    line-height: 1.3; margin: 12px 0 0;
}

.uc-learn-side {
    position: sticky; top: 90px;
    background: #fff; border: 1px solid #e6eaf5; border-radius: 16px;
    padding: 20px; box-shadow: 0 4px 16px rgba(2,5,100,0.05);
}
.uc-learn-side-head {
    display: flex; align-items: center; gap: 8px;
    font-size: 16px; font-weight: 700; color: var(--theme-primary); margin: 0 0 14px;
}
.uc-learn-side-head i { color: var(--theme-accent); }
.uc-learn-empty { font-size: 14px; color: #8389ab; margin: 0; }

.uc-attach-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.uc-attach-list a,
.uc-attach-static {
    display: flex; align-items: center; gap: 11px;
    padding: 11px 13px; border-radius: 11px;
    background: #f6f8fd; border: 1px solid #e6eaf5;
    text-decoration: none !important; color: var(--theme-primary);
    transition: background 0.16s ease, border-color 0.16s ease;
}
.uc-attach-list a:hover { background: #eef1fb; border-color: #c2cbf0; }
.uc-attach-ico {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
    background: #fdeaea; color: #d32f2f; font-size: 19px;
}
.uc-attach-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-attach-dl { color: #8389ab; font-size: 17px; }

.uc-learn-hint { font-size: 13px; color: #8389ab; margin: 10px 0 0; }

/* live kind pill + waiting state */
.uc-learn-kind--live { background: #fdeaea; color: #d32f2f; }
.uc-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #d32f2f; display: inline-block;
    animation: ucLivePulse 1.2s ease-in-out infinite; }
@keyframes ucLivePulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.uc-live-waiting { color: #cfd3e6; text-align: center; padding: 72px 20px; }
.uc-live-waiting-ico { font-size: 46px; color: var(--theme-accent); margin-bottom: 10px; }
.uc-live-sched { color: #9399bb; font-size: 14px; margin: 0; }

/* PDF reader */
.uc-pdf-shell {
    background: #fff; border: 1px solid #e6eaf5; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 16px rgba(2,5,100,0.06);
}
.uc-pdf-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; background: #f6f8fd; border-bottom: 1px solid #e6eaf5;
}
.uc-pdf-nav, .uc-pdf-zoom { display: flex; align-items: center; gap: 8px; }
.uc-pdf-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 9px; border: 1px solid #d4daf0;
    background: #fff; color: var(--theme-primary); font-size: 19px; cursor: pointer;
    transition: background 0.14s ease, border-color 0.14s ease;
}
.uc-pdf-btn:hover { background: var(--theme-primary); color: #fff; border-color: var(--theme-primary); }
.uc-pdf-pageinfo { font-size: 14px; font-weight: 700; color: var(--theme-primary); min-width: 64px; text-align: center; }
.uc-pdf-stage {
    position: relative; background: #525659; padding: 20px; min-height: 68vh;
    overflow: auto; text-align: center; user-select: none;
}
.uc-pdf-stage canvas { max-width: 100%; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.4); border-radius: 4px; }

/* fullscreen reader */
.uc-pdf-shell:fullscreen { border-radius: 0; display: flex; flex-direction: column; height: 100vh; background: #525659; }
.uc-pdf-shell:-webkit-full-screen { border-radius: 0; display: flex; flex-direction: column; height: 100vh; background: #525659; }
.uc-pdf-shell:fullscreen .uc-pdf-stage { flex: 1; min-height: 0; }
.uc-pdf-shell:-webkit-full-screen .uc-pdf-stage { flex: 1; min-height: 0; }

@media (max-width: 991.98px) { .uc-learn-side { position: static; margin-top: 4px; } }

/* access gate */
.uc-gate {
    max-width: 440px; margin: 20px auto; text-align: center;
    background: #fff; border: 1px solid #e6eaf5; border-radius: 18px;
    padding: 44px 28px; box-shadow: 0 8px 28px rgba(2,5,100,0.07);
}
.uc-gate-ico {
    width: 76px; height: 76px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 20px; font-size: 38px; color: var(--theme-primary);
    background: linear-gradient(145deg, #eef0ff, #e0e6ff);
}
.uc-gate-title { font-size: 21px; font-weight: 800; color: var(--theme-primary); margin: 0 0 8px; }
.uc-gate-sub { font-size: 14.5px; color: #6b7194; line-height: 1.6; margin: 0 0 22px; }

/* test splash / instructions screen */
.uc-test-splash {
    max-width: 680px; margin: 0 auto;
    background: #fff; border: 1px solid #e6eaf5; border-radius: 20px; overflow: hidden;
    box-shadow: 0 8px 28px rgba(2,5,100,0.07);
}
.uc-test-splash-top {
    padding: 30px 30px 26px; text-align: center; color: #fff;
    background: linear-gradient(135deg, #09092b, #101373 60%, #151572);
}
.uc-test-mode {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
    color: #fff; background: rgba(255,255,255,0.14); padding: 5px 13px; border-radius: 50px; margin-bottom: 12px;
}
.uc-test-title { font-size: clamp(22px, 3vw, 28px); font-weight: 800; line-height: 1.25; margin: 0; }

.uc-test-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #eceff8;
}
.uc-test-stat {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 20px 10px; text-align: center;
}
.uc-test-stat + .uc-test-stat { border-left: 1px solid #eceff8; }
.uc-test-stat-ico {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 11px; margin-bottom: 4px;
    font-size: 20px; color: var(--theme-primary); background: linear-gradient(145deg, #eef0ff, #e0e6ff);
}
.uc-test-stat-num { font-size: 26px; font-weight: 800; color: var(--theme-primary); line-height: 1.1; }
.uc-test-stat-lbl { font-size: 12px; font-weight: 600; color: #8389ab; text-transform: uppercase; letter-spacing: 0.3px; }

.uc-test-body { padding: 26px 30px 30px; }
.uc-test-h {
    display: flex; align-items: center; gap: 8px;
    font-size: 16px; font-weight: 700; color: var(--theme-primary); margin: 0 0 12px;
}
.uc-test-h i { color: var(--theme-accent); }
.uc-test-instr { color: #4a5078; font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.uc-test-note {
    display: flex; gap: 12px; align-items: flex-start;
    background: #f6f8fd; border: 1px solid #e6eaf5; border-radius: 12px;
    padding: 14px 16px; margin-bottom: 22px;
    font-size: 14px; color: #3a4066; line-height: 1.6;
}
.uc-test-note i { font-size: 22px; color: var(--theme-primary); flex-shrink: 0; margin-top: 1px; }
.uc-test-note strong { color: var(--theme-primary); }

.uc-test-start {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 15px 20px; border-radius: 12px;
    font-size: 16px; font-weight: 700; color: #fff; background: var(--theme-primary);
    text-decoration: none !important;
    transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.uc-test-start:hover { background: #0000aa; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,102,0.25); }
.uc-test-start i { transition: transform 0.16s ease; }
.uc-test-start:hover i { transform: translateX(4px); }

/* reusable custom confirm popup */
.uc-modal { position: fixed; inset: 0; z-index: 1080; display: none; }
.uc-modal.is-open { display: flex; align-items: center; justify-content: center; padding: 20px; }
.uc-modal-backdrop { position: absolute; inset: 0; background: rgba(9,9,43,0.55); backdrop-filter: blur(2px); }
.uc-modal-card {
    position: relative; z-index: 1; width: 100%; max-width: 420px;
    background: #fff; border-radius: 18px; padding: 28px 26px 24px;
    text-align: center; box-shadow: 0 24px 60px rgba(2,5,100,0.28);
    animation: uc-modal-in 0.18s ease;
}
@keyframes uc-modal-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
.uc-modal-ico {
    width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: var(--theme-primary); background: var(--theme-accent);
}
.uc-modal-title { font-size: 20px; font-weight: 800; color: var(--theme-primary); margin: 0 0 8px; }
.uc-modal-text { font-size: 14.5px; color: #5a6080; line-height: 1.5; margin: 0 0 22px; }
.uc-modal-actions { display: flex; gap: 10px; justify-content: center; }
.uc-modal-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 22px; border-radius: 50px; font-size: 14px; font-weight: 700;
    border: 1.5px solid transparent; cursor: pointer; transition: all 0.15s ease;
}
.uc-modal-btn.ghost { background: #eef1fb; color: #5a6080; }
.uc-modal-btn.ghost:hover { background: #e2e7f7; }
.uc-modal-btn.primary { background: var(--theme-primary); color: #fff; }
.uc-modal-btn.primary:hover { background: #0000aa; }
.uc-modal-btn i { transition: transform 0.15s ease; }
.uc-modal-btn.primary:hover i { transform: translateX(3px); }
.uc-test-resume-hint { display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 13px; color: #e0a948; margin: 12px 0 0; }
.uc-test-empty { text-align: center; color: #8389ab; font-size: 14px; padding: 18px; }
.uc-test-empty i { font-size: 20px; vertical-align: middle; margin-right: 4px; }
.uc-test-attempts {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    font-size: 13.5px; color: #6b7194; background: #f6f8fd; border: 1px solid #e6eaf5;
    border-radius: 10px; padding: 9px 14px; margin-bottom: 14px;
}
.uc-test-attempts i { color: var(--theme-primary); font-size: 16px; }
.uc-test-attempts b { color: var(--theme-primary); }
.uc-test-attempts-left { color: #239d2b; font-weight: 600; }

/* past attempts list (splash + my-courses) */
.uc-test-past { margin-top: 24px; padding-top: 22px; border-top: 1px solid #eceff8; text-align: left; }
.uc-attempts { display: flex; flex-direction: column; gap: 8px; }
.uc-attempt-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border: 1px solid #e6eaf5; border-radius: 12px; background: #fff;
    text-decoration: none !important; transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}
.uc-attempt-row:not(.is-static):hover { border-color: var(--theme-primary); box-shadow: 0 6px 16px rgba(2,5,100,0.08); transform: translateY(-1px); }
.uc-attempt-row.is-static { cursor: default; }
.uc-attempt-n {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12.5px; font-weight: 800; color: var(--theme-primary); background: #eef1fb;
}
.uc-attempt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.uc-attempt-title { font-size: 14.5px; font-weight: 700; color: var(--theme-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-attempt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.uc-attempt-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700;
    padding: 2px 9px; border-radius: 50px; }
.uc-attempt-badge.ok    { background: #e6f5e9; color: #239d2b; }
.uc-attempt-badge.wait  { background: #fff3cd; color: #856404; }
.uc-attempt-badge.reset { background: #eef0f7; color: #6b7194; }
.uc-attempt-when { font-size: 12px; color: #8389ab; }
.uc-attempt-score { flex: 0 0 auto; text-align: right; }
.uc-attempt-score b { font-size: 18px; font-weight: 800; color: var(--theme-primary); }
.uc-attempt-score small { font-size: 13px; color: #9399bb; }
.uc-attempt-arrow { flex: 0 0 auto; color: #b9bfd8; font-size: 20px; }


/* ═══════════════════════════════════════════════════════════════════════════
   TEST RUNNER  (objective runner, subjective/mix upload, result/review)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-run-wrap { position: relative; }

/* full-width sticky top bar: title + timer — sticks just below the (sticky) navbar */
.uc-run-bar {
    position: sticky; top: var(--uc-nav-h, 64px); z-index: 1000;
    background: #fff; border-bottom: 1px solid #e6eaf5;
    box-shadow: 0 2px 10px rgba(2,5,100,0.05);
    margin-bottom: 24px;
}
.uc-run-bar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 13px 0;
}
.uc-run-bar h1 { font-size: 16px; font-weight: 800; color: var(--theme-primary); margin: 0; }
.uc-run-mode { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
    color: var(--theme-primary); background: #e6eaff; padding: 3px 10px; border-radius: 50px; margin-left: 8px; }
.uc-timer {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 17px; font-weight: 800; color: #d9534f;
    background: #fdeaea; border: 1px solid #f6cfcf; border-radius: 10px; padding: 6px 14px;
}
.uc-timer.is-urgent { animation: ucTimerPulse 1s ease-in-out infinite; }
@keyframes ucTimerPulse { 0%,100% { background: #fdeaea; } 50% { background: #fbd5d5; } }

/* question card */
.uc-q-card {
    background: #fff; border: 1px solid #e6eaf5; border-radius: 16px;
    padding: 24px; box-shadow: 0 4px 16px rgba(2,5,100,0.05);
}
.uc-q-marks { font-size: 12px; font-weight: 700; color: #239d2b; background: #e6f5e9;
    display: inline-block; padding: 2px 10px; border-radius: 50px; margin-bottom: 12px; }
.uc-q-text { font-size: 17px; font-weight: 600; color: #1b2340; line-height: 1.55; margin-bottom: 18px; }

/* option cards */
.uc-opt {
    display: flex; align-items: center; gap: 12px;
    border: 1.5px solid #e6eaf5; border-radius: 12px;
    padding: 13px 15px; margin-bottom: 11px; cursor: pointer;
    transition: border-color .14s ease, background .14s ease;
}
.uc-opt:hover { border-color: #c2cbf0; background: #fafbff; }
.uc-opt.sel { border-color: var(--theme-primary); background: #f0f2ff; }
.uc-opt .let {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; color: #6b7194; background: #eef1fb;
    transition: background .14s ease, color .14s ease;
}
.uc-opt.sel .let { background: var(--theme-primary); color: #fff; }
.uc-opt .txt { font-size: 15px; color: #3a4066; }

/* action bar */
.uc-run-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.uc-run-btn {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1.5px solid #d4daf0; background: #fff; color: var(--theme-primary);
    border-radius: 10px; padding: 9px 16px; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.uc-run-btn:hover:not(:disabled) { border-color: var(--theme-primary); background: #f0f2ff; }
.uc-run-btn:disabled { opacity: .45; cursor: default; }
.uc-run-btn-primary { background: var(--theme-primary); color: #fff; border-color: var(--theme-primary); }
.uc-run-btn-primary:hover:not(:disabled) { background: #0000aa; color: #fff; }
.uc-run-spacer { flex: 1; }

/* palette sidebar */
.uc-pal-card {
    position: sticky; top: calc(var(--uc-nav-h, 64px) + 72px);
    background: #fff; border: 1px solid #e6eaf5; border-radius: 16px;
    padding: 20px; box-shadow: 0 4px 16px rgba(2,5,100,0.05);
}
.uc-pal-head { font-size: 14px; font-weight: 800; color: var(--theme-primary); margin: 0 0 14px; }
.uc-pal { display: flex; flex-wrap: wrap; gap: 8px; }
.uc-pal a {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #e6eaf5; border-radius: 9px; font-weight: 700; font-size: 14px;
    color: #6b7194; text-decoration: none; cursor: pointer; transition: transform .1s ease;
}
.uc-pal a:hover { transform: translateY(-2px); }
.uc-pal a.answered  { background: #10b981; color: #fff; border-color: #10b981; }
.uc-pal a.unanswered{ background: #ef4444; color: #fff; border-color: #ef4444; }
.uc-pal a.marked    { background: #f59e0b; color: #fff; border-color: #f59e0b; }
.uc-pal a.current   { outline: 3px solid var(--theme-primary); outline-offset: 1px; }
.uc-legend { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.uc-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5a6080; }
.uc-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.uc-pal-submit { margin-top: 18px; width: 100%; justify-content: center; }
@media (max-width: 991.98px) { .uc-pal-card { position: static; margin-top: 18px; } }

/* progress strip (answered count) */
.uc-run-progress { font-size: 13px; color: #6b7194; margin-top: 10px; text-align: center; }
.uc-run-progress b { color: var(--theme-primary); }

/* subjective / mix — questions list + upload */
.uc-qlist-card, .uc-upload-card {
    background: #fff; border: 1px solid #e6eaf5; border-radius: 16px;
    padding: 24px; box-shadow: 0 4px 16px rgba(2,5,100,0.05); margin-bottom: 20px;
}
.uc-qlist-item { padding: 14px 0; border-bottom: 1px solid #f0f2fa; }
.uc-qlist-item:last-child { border-bottom: none; }
.uc-qlist-q { font-size: 15px; font-weight: 600; color: #1b2340; line-height: 1.55; }
.uc-qlist-marks { font-size: 12px; font-weight: 700; color: #8389ab; margin-left: 4px; }
.uc-qlist-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.uc-qlist-opt { border: 1px solid #e6eaf5; border-radius: 8px; padding: 6px 12px; font-size: 14px; color: #3a4066; }
.uc-qlist-opt b { color: var(--theme-primary); }

/* mix section header */
.uc-sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.uc-sec-head h2 { font-size: 17px; font-weight: 800; color: var(--theme-primary); margin: 0; }
.uc-sec-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
    padding: 3px 10px; border-radius: 50px; }
.uc-sec-badge.obj  { background: #e6eaff; color: var(--theme-primary); }
.uc-sec-badge.subj { background: #fff3cd; color: #856404; }
.uc-sec-hint { font-size: 13px; color: #8389ab; margin-bottom: 12px; }

/* upload card */
.uc-upload-head { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--theme-primary); margin: 0 0 4px; }
.uc-upload-head i { color: var(--theme-accent); }
.uc-upload-sub { font-size: 13.5px; color: #6b7194; margin: 0 0 14px; line-height: 1.6; }
.uc-upload-card .form-control { border-radius: 10px; }
.uc-upload-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    width: 100%; margin-top: 14px; padding: 13px 18px; border: none; border-radius: 11px;
    font-size: 15px; font-weight: 700; color: #fff; background: var(--theme-primary); cursor: pointer;
    transition: background .16s ease, transform .16s ease;
}
.uc-upload-btn:hover { background: #0000aa; transform: translateY(-2px); }
.uc-upload-btn:disabled { background: #c2cbf0; cursor: default; transform: none; }

/* subjective — process steps */
.uc-subj-steps {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;
}
.uc-subj-step {
    flex: 1 1 150px; display: flex; align-items: center; gap: 11px;
    background: #fff; border: 1px solid #e6eaf5; border-radius: 14px; padding: 14px 16px;
    box-shadow: 0 4px 14px rgba(2,5,100,0.04);
}
.uc-subj-step-n {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: #fff; background: linear-gradient(135deg, var(--theme-primary), #2a2a99);
}
.uc-subj-step-t { font-size: 13px; font-weight: 700; color: var(--theme-primary); line-height: 1.3; }
.uc-subj-step-s { font-size: 11.5px; color: #8389ab; }

/* subjective — numbered question rows */
.uc-subj-total { font-size: 13px; font-weight: 700; color: #8389ab; }
.uc-subj-q { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f0f2fa; }
.uc-subj-q:last-child { border-bottom: none; }
.uc-subj-q-n {
    flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; color: var(--theme-primary); background: #eef1fb;
}
.uc-subj-q-body { flex: 1; min-width: 0; }
.uc-subj-q-text { font-size: 15px; font-weight: 600; color: #1b2340; line-height: 1.55; }
.uc-subj-q-marks { display: inline-block; font-size: 11px; font-weight: 700; color: #239d2b;
    background: #e6f5e9; padding: 1px 9px; border-radius: 50px; margin-top: 6px; }

/* subjective — drag & drop upload zone */
.uc-dropzone {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; text-align: center; cursor: pointer;
    border: 2px dashed #c2cbf0; border-radius: 14px; background: #f6f8fd;
    padding: 34px 20px; transition: border-color .15s ease, background .15s ease;
}
.uc-dropzone:hover { border-color: var(--theme-primary); background: #eef1fb; }
.uc-dropzone.is-dragover { border-color: var(--theme-primary); background: #e6eaff; }
.uc-dropzone input[type="file"] { display: none; }
.uc-dropzone-ico { font-size: 40px; color: var(--theme-primary); }
.uc-dropzone-title { font-size: 15px; font-weight: 700; color: var(--theme-primary); }
.uc-dropzone-sub { font-size: 12.5px; color: #8389ab; }
.uc-dropzone.has-file { border-style: solid; border-color: #9bddb4; background: #f1fcf5; }

.uc-file-preview {
    display: none; align-items: center; gap: 12px; margin-top: 14px;
    background: #fff; border: 1px solid #e6eaf5; border-radius: 12px; padding: 12px 14px;
}
.uc-file-preview.show { display: flex; }
.uc-file-ico {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #d32f2f; background: #fdeaea;
}
.uc-file-meta { flex: 1; min-width: 0; }
.uc-file-name { font-size: 14px; font-weight: 700; color: var(--theme-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-file-size { font-size: 12px; color: #8389ab; }
.uc-file-remove { flex: 0 0 auto; border: none; background: #fdeaea; color: #d32f2f;
    width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 16px; display: flex;
    align-items: center; justify-content: center; }
.uc-file-remove:hover { background: #f9d5d5; }

/* result / review */
.uc-result-card {
    background: #fff; border: 1px solid #e6eaf5; border-radius: 18px;
    padding: 34px 28px; text-align: center; box-shadow: 0 8px 28px rgba(2,5,100,0.07);
}
.uc-result-ico { font-size: 54px; line-height: 1; margin-bottom: 12px; }
.uc-result-ico.ok { color: #239d2b; }
.uc-result-ico.wait { color: #e0a948; }
.uc-result-h { font-size: 22px; font-weight: 800; color: var(--theme-primary); margin: 0 0 6px; }
.uc-result-score { font-size: 38px; font-weight: 800; color: #239d2b; margin: 6px 0; }
.uc-result-score small { font-size: 20px; color: #9399bb; font-weight: 700; }
.uc-result-sub { color: #6b7194; font-size: 14.5px; margin: 0; }
.uc-result-stats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }
.uc-stat-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
    padding: 5px 14px; border-radius: 50px; }
.uc-stat-pill.correct { background: #e6f5e9; color: #239d2b; }
.uc-stat-pill.wrong   { background: #fdeaea; color: #d9534f; }
.uc-stat-pill.skipped { background: #eef0f7; color: #6b7194; }
.uc-result-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.uc-result-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 10px;
    font-size: 14px; font-weight: 700; text-decoration: none !important; transition: all .14s ease;
}
.uc-result-btn.primary { background: var(--theme-primary); color: #fff; }
.uc-result-btn.primary:hover { background: #0000aa; color: #fff; }
.uc-result-btn.outline { background: #fff; color: var(--theme-primary); border: 1.5px solid #d4daf0; }
.uc-result-btn.outline:hover { border-color: var(--theme-primary); background: #f0f2ff; }
.uc-result-btn.green { background: #fff; color: #239d2b; border: 1.5px solid #9bddb4; }
.uc-result-btn.green:hover { background: #e6f5e9; }
.uc-result-btn.is-loading { pointer-events: none; opacity: 0.8; }
.uc-spin { display: inline-block; animation: uc-spin 0.7s linear infinite; }
@keyframes uc-spin { to { transform: rotate(360deg); } }

.uc-review-h { font-size: 18px; font-weight: 800; color: var(--theme-primary); margin: 28px 0 14px; }
.uc-review-item {
    background: #fff; border: 1px solid #e6eaf5; border-left-width: 4px; border-radius: 12px;
    padding: 16px 18px; margin-bottom: 12px;
}
.uc-review-item.ok   { border-left-color: #239d2b; }
.uc-review-item.bad  { border-left-color: #d9534f; }
.uc-review-item.skip { border-left-color: #9399bb; }
.uc-review-q { font-weight: 700; color: var(--theme-primary); margin-bottom: 8px; }
.uc-review-opt { padding: 3px 0; font-size: 14.5px; color: #5a6080; display: flex; align-items: center; gap: 6px; }
.uc-review-opt.correct { color: #239d2b; font-weight: 700; }
.uc-review-opt.chosen-wrong { color: #d9534f; font-weight: 600; }
.uc-review-tag { font-size: 11px; font-weight: 700; }
.uc-review-explanation {
    display: flex; gap: 8px; align-items: flex-start;
    margin-top: 10px; padding: 8px 12px;
    background: #f0f7ff; border-left: 3px solid #3b82f6;
    border-radius: 0 6px 6px 0; font-size: 13.5px; color: #1e3a5f;
}
.uc-review-explanation i { color: #3b82f6; font-size: 16px; flex-shrink: 0; margin-top: 1px; }


/* ═══════════════════════════════════════════════════════════════════════════
   MY COURSES  (enrolled student cards + tables)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-mycourse {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6eaf5;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(2,5,100,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.uc-mycourse:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(2,5,100,0.12); }
.uc-mycourse-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.uc-mycourse-ico {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px; font-size: 24px;
    color: var(--theme-primary); background: linear-gradient(145deg, #eef0ff, #e0e6ff);
}
.uc-mycourse-status {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
    padding: 4px 10px; border-radius: 50px;
}
.uc-mycourse-status.is-active { background: #e6f5e9; color: #239d2b; }
.uc-mycourse-status.is-off    { background: #fff3cd; color: #856404; }
.uc-mycourse-title { font-size: 16.5px; font-weight: 700; color: var(--theme-primary); line-height: 1.35; margin: 0 0 12px; }
.uc-mycourse-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #6b7194; margin-bottom: 18px; }
.uc-mycourse-meta i { color: #aab; margin-right: 3px; }
.uc-mycourse-exp i { color: #e0a948; }
.uc-mycourse-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: auto;
    padding: 10px 16px; border-radius: 10px;
    font-size: 14.5px; font-weight: 700;
    color: #fff; background: var(--theme-primary);
    text-decoration: none !important;
    transition: background 0.16s ease, transform 0.16s ease;
}
.uc-mycourse-btn:hover { background: #0000aa; color: #fff; transform: translateY(-2px); }
.uc-mycourse-btn.is-renew { background: #fff; color: var(--theme-primary); border: 1.5px solid var(--theme-primary); }
.uc-mycourse-btn.is-renew:hover { background: var(--theme-primary); color: #fff; }
.uc-mycourse-btn i { transition: transform 0.16s ease; }
.uc-mycourse-btn:hover i { transform: translateX(3px); }

/* content page head */
.uc-content-head { padding-bottom: 6px; }

/* tables */
.uc-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid #e6eaf5; background: #fff; box-shadow: 0 4px 16px rgba(2,5,100,0.04); }
.uc-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.uc-table thead th {
    text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
    color: #8389ab; background: #f6f8fd; padding: 13px 16px; border-bottom: 1px solid #e6eaf5;
}
.uc-table tbody td { padding: 13px 16px; font-size: 14px; color: #3a4066; border-bottom: 1px solid #f0f2fa; }
.uc-table tbody tr:last-child td { border-bottom: none; }
.uc-table tbody tr:hover { background: #fafbff; }

.uc-pill-gray, .uc-pill-green, .uc-pill-amber {
    display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px;
}
.uc-pill-gray  { background: #eef0f7; color: #5a6080; }
.uc-pill-green { background: #e6f5e9; color: #239d2b; }
.uc-pill-amber { background: #fff3cd; color: #856404; }

.uc-invoice-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-weight: 700; color: var(--theme-primary);
    text-decoration: none !important;
}
.uc-invoice-link:hover { color: #0055cc; }
.uc-invoice-link i { color: #d32f2f; font-size: 16px; }


/* ═══════════════════════════════════════════════════════════════════════════
   COURSE CARDS  (layout via Bootstrap grid; card styling only here)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-courses { background: #f6f8fd; }
.uc-courses h2 { color: var(--theme-primary); font-size: clamp(26px, 3vw, 36px); }
.uc-courses-badge {
    background: #e6eaff;
    color: var(--theme-primary);
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 11px;
}

/* "Browse by type" quick chips → store?category= */
.uc-browse-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e3e7f3;
}
.uc-browse-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #8389ab;
}
.uc-browse-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.uc-course-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #e6eaf5;
    border-radius: 18px;
    padding: 30px 20px 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(2,5,100,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: var(--theme-primary);
}
.uc-course-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.uc-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(2,5,100,0.13);
    border-color: transparent;
}
.uc-course-card:hover::before { transform: scaleX(1); }

.uc-course-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eef0ff, #e0e6ff);
    margin-bottom: 16px;
    font-size: 26px;
    color: var(--theme-primary);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.uc-course-card:hover .uc-course-icon {
    background: linear-gradient(135deg, var(--theme-primary), #2a2a99);
    color: #fff;
    transform: scale(1.06);
}
.uc-course-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-primary);
    line-height: 1.35;
    margin-bottom: 14px;
}
.uc-course-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: #5257a6;
    letter-spacing: 0.3px;
}
.uc-course-cta i { font-size: 13px; transition: transform 0.2s ease; }
.uc-course-card:hover .uc-course-cta { color: var(--theme-primary); }
.uc-course-card:hover .uc-course-cta i { transform: translateX(4px); }


/* ═══════════════════════════════════════════════════════════════════════════
   USP / "Why Uncram" STATS  (layout via Bootstrap grid; card styling here)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-usp { background: #fff; }
.uc-usp h2 { color: var(--theme-primary); font-size: clamp(26px, 3vw, 36px); }

.uc-usp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 24px 30px;
    border-radius: 20px;
    background: linear-gradient(160deg, #f6f8fd, #eef1fb);
    border: 1px solid #e6eaf5;
    box-shadow: 0 4px 16px rgba(2,5,100,0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.uc-usp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(2,5,100,0.12);
}
.uc-usp-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    margin-bottom: 18px;
    font-size: 36px;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-primary), #2a2a99);
    box-shadow: 0 10px 22px rgba(0,0,102,0.22);
    transition: transform 0.22s ease;
}
.uc-usp-card:hover .uc-usp-ico { transform: scale(1.07) rotate(-4deg); }
.uc-usp-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7194;
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.uc-usp-big {
    font-size: clamp(30px, 3.4vw, 40px);
    font-weight: 800;
    color: var(--theme-primary);
    line-height: 1.1;
    margin: 0 0 4px;
}
.uc-usp-sub { font-size: 15px; font-weight: 600; color: #4a5078; margin: 0; }
.uc-usp-free {
    color: #0a9d57;
    font-weight: 800;
    background: #e3f9ee;
    padding: 1px 8px;
    border-radius: 6px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PROCESS / "How It Works" STEPS  (layout via Bootstrap grid; styling here)
   ═══════════════════════════════════════════════════════════════════════════ */
/* .uc-process { background: #f6f8fd; } */
.uc-process h2 { color: var(--theme-primary); font-size: clamp(24px, 3vw, 34px); }

.uc-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 26px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e6eaf5;
    box-shadow: 0 4px 16px rgba(2,5,100,0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.uc-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(2,5,100,0.12);
}
.uc-step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-accent), #4fb9d9);
    color: var(--theme-primary);
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(119,209,233,0.4);
}
.uc-step-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 18px;
    margin-bottom: 16px;
    font-size: 30px;
    color: var(--theme-primary);
    background: linear-gradient(145deg, #eef0ff, #e0e6ff);
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.uc-step:hover .uc-step-ico {
    background: linear-gradient(135deg, var(--theme-primary), #2a2a99);
    color: #fff;
    transform: scale(1.06);
}
.uc-step-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #3a4066;
    line-height: 1.5;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PRACTICE / QUOTE BANNER  (responsive; never overflows)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-quote-box {
    background: linear-gradient(135deg, #e7edff, #f3f6ff);
    border: 1px solid #dde3f7;
    border-radius: 22px;
    padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
}
.uc-quote-green {
    background: linear-gradient(135deg, #f3ffe7, #f9fff2);
    border-color: #e0f0cf;
}


/* ═══════════════════════════════════════════════════════════════════════════
   OUR TEAM  (layout via Bootstrap grid; card styling here)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-team { background: #fff; }
.uc-team h2 { color: var(--theme-primary); font-size: clamp(26px, 3vw, 36px); }

/* slider slide spacing (owl config uses margin:0, so pad the slide) */
.uc-team-slider .item { padding: 12px; }

.uc-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 24px 16px 20px;
    border-radius: 18px;
    background: #f6f8fd;
    border: 1px solid #e6eaf5;
    box-shadow: 0 4px 16px rgba(2,5,100,0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.uc-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(2,5,100,0.12);
}
.uc-team-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    margin-bottom: 16px;
}
.uc-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    display: block;
}
.uc-team-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-primary);
    margin: 0;
}
@media (max-width: 575.98px) {
    .uc-team-photo { width: 110px; height: 110px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   BLOGS  (layout via Bootstrap grid; card styling here)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-blogs { background: #f6f8fd; }
.uc-blogs h2:not(.uc-blog-title) { color: var(--theme-primary); font-size: clamp(24px, 3vw, 34px); }

/* "View All" button — navy variant of the ghost button */
.uc-blogs .uc-btn-ghost {
    color: var(--theme-primary) !important;
    background: #fff;
    border: 1.5px solid #d4daf0;
    backdrop-filter: none;
}
.uc-blogs .uc-btn-ghost:hover {
    background: var(--theme-primary);
    color: #fff !important;
    border-color: var(--theme-primary);
}
.uc-btn-sm { padding: 9px 20px; font-size: 14px; }

.uc-blog-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e6eaf5;
    box-shadow: 0 4px 16px rgba(2,5,100,0.05);
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.uc-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(2,5,100,0.12);
    border-color: transparent;
}
.uc-blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--theme-primary);
    background: #e6eaff;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.uc-blog-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--theme-primary);
    line-height: 1.4;
    margin: 0 0 9px;
}
.uc-blog-excerpt {
    font-size: 13px;
    color: #5a6080;
    line-height: 1.6;
    margin: 0 0 16px;
}
.uc-blog-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: #5257a6;
}
.uc-blog-more i { transition: transform 0.2s ease; }
.uc-blog-card:hover .uc-blog-more { color: var(--theme-primary); }
.uc-blog-card:hover .uc-blog-more i { transform: translateX(4px); }

/* pagination (blogs + reusable on any listing) */
.uc-pagination { display: inline-flex; gap: 6px; }
.uc-pagination .page-item .page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid #e0e5f5; border-radius: 10px !important;
    color: var(--theme-primary); background: #fff;
    font-size: 14px; font-weight: 700; line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.uc-pagination .page-item .page-link i { font-size: 18px; }
.uc-pagination .page-item .page-link:hover { background: #eef1fb; border-color: #c2cbf0; color: var(--theme-primary); }
.uc-pagination .page-item.active .page-link {
    background: var(--theme-primary); border-color: var(--theme-primary); color: #fff;
}
.uc-pagination .page-item.disabled .page-link {
    color: #c2c8e0; background: #f6f8fd; border-color: #eceff8; pointer-events: none;
}
.uc-pagination .page-link:focus { box-shadow: none; }


/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT  (layout via Bootstrap grid; card styling here)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-contact { background: #fff; }
.uc-contact h2 { color: var(--theme-primary); font-size: clamp(26px, 3vw, 36px); }
.uc-contact-img { max-width: 420px; }

.uc-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    background: #f6f8fd;
    border: 1px solid #e6eaf5;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.uc-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(2,5,100,0.12);
    border-color: transparent;
}
.uc-contact-ico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 23px;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-primary), #2a2a99);
    transition: transform 0.2s ease;
}
.uc-contact-card:hover .uc-contact-ico { transform: scale(1.08); }
.uc-contact-card span { display: flex; flex-direction: column; min-width: 0; }
.uc-contact-card small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #8389ab;
}
.uc-contact-card strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--theme-primary);
    line-height: 1.35;
    word-break: break-word;
}
.uc-quote-text {
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 700;
    color: #1b2945;
    line-height: 1.2;
    margin: 0 0 10px;
    word-break: break-word;
}
.uc-quote-text s { opacity: 0.55; }
.uc-quote-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 800;
    color: var(--theme-primary);
    margin: 0;
}
.uc-quote-img {
    width: clamp(36px, 5vw, 52px);
    height: auto;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO  —  layout via Bootstrap grid; only the bits BS can't do live here:
   gradient bg, viewport height, glass cards, glow circle, accent colour.
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-hero {
    min-height: min(58vh, 460px);
    color: #fff;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        rgb(9, 9, 43)    0%,
        rgb(16, 19, 115) 35%,
        rgb(10, 10, 91)  60%,
        rgb(21, 21, 114) 100%
    );
}
/* brighter, higher-contrast accent for the heading on the navy bg */
.uc-accent { color: #8fe3fb; }

/* lift the dim body copy so it reads cleanly on the dark gradient */
.uc-hero .text-white-50 { color: rgba(255, 255, 255, 0.72) !important; }

/* hero CTA buttons */
.uc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.uc-btn i { font-size: 19px; line-height: 1; }

/* primary: dark navy text on bright accent = strong contrast */
.uc-btn-accent {
    color: var(--theme-primary) !important;
    background: linear-gradient(135deg, #8fe3fb, #3fb6da);
    box-shadow: 0 6px 20px rgba(119,209,233,0.4);
}
.uc-btn-accent:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #9fe9ff, #4cc1e4);
    box-shadow: 0 10px 28px rgba(119,209,233,0.55);
}
.uc-btn-accent i { transition: transform 0.18s ease; }
.uc-btn-accent:hover i { transform: translateX(4px); }

.uc-btn-ghost {
    color: #fff !important;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
}
.uc-btn-ghost:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.14);
    border-color: #fff;
}

/* glass feature card */
.uc-feat {
    background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.uc-feat:hover {
    transform: translateY(-4px);
    border-color: rgba(119,209,233,0.6);
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}
.uc-feat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 24px;
    border-radius: 12px;
    color: #8fe3fb;
    background: rgba(143,227,251,0.16);
    border: 1px solid rgba(143,227,251,0.3);
    transition: background 0.2s ease, color 0.2s ease;
}
.uc-feat:hover .uc-feat-ico { background: #8fe3fb; color: var(--theme-primary); }

/* hero illustration image */
.uc-hero-img {
    display: block;
    width: 100%;
    max-width: 440px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
    animation: heroFloat 4s ease-in-out infinite alternate;
}
@keyframes heroFloat {
    from { transform: translateY(0); }
    to   { transform: translateY(-14px); }
}

/* interlink CTA strip — sits between hero and courses */
.uc-interlink {
    background: linear-gradient(90deg, rgb(10,10,91) 0%, rgb(16,19,115) 50%, rgb(10,10,91) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 28px 0;
}
.uc-interlink-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.uc-interlink-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.uc-interlink-heading {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.uc-interlink-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}
.uc-interlink-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .uc-interlink-inner { flex-direction: column; align-items: flex-start; }
    .uc-interlink-actions { width: 100%; }
    .uc-interlink-actions .uc-btn { flex: 1; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER  (Bootstrap 5 layout; dark navy theme)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-footer {
    background: #062458;
    color: rgba(255, 255, 255, 0.72);
}
.uc-footer-logo { height: auto; width: 190px; }
.uc-footer-about {
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.6);
}
.uc-footer-about strong { color: #fff; }

.uc-footer-head {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    position: relative;
    padding-bottom: 10px;
}
.uc-footer-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--theme-accent);
}

.uc-footer-list { list-style: none; padding: 0; margin: 0; }
.uc-footer-list li { font-size: 13px; line-height: 1.5; margin-bottom: 9px; }
.uc-footer-list a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.uc-footer-list a:hover { color: var(--theme-accent); padding-left: 4px; }
.uc-footer-list--cols {
    column-count: 2;
    column-gap: 24px;
}
@media (max-width: 575.98px) {
    .uc-footer-list--cols { column-count: 1; }
}

.uc-footer-social { display: flex; gap: 10px; }
.uc-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 19px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}
.uc-footer-social a:hover { background: var(--theme-accent); color: #062458; transform: translateY(-3px); }

.uc-footer-map {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    filter: grayscale(0.2);
}

.uc-footer-bar {
    background: #041a42;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}
.uc-footer-grievance { font-size: 12px; }
.uc-footer-grievance a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════════════════════
   AUTH  (login / register — split-screen brand + form)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-auth {
    min-height: calc(100vh - var(--uc-nav-h, 64px));
    display: flex; align-items: center; justify-content: center;
    padding: 36px 16px;
    background: linear-gradient(135deg, #eef1fb 0%, #f6f8fd 60%);
}
.uc-auth-card {
    width: 100%; max-width: 920px;
    display: grid; grid-template-columns: 1fr 1fr;
    background: #fff; border-radius: 22px; overflow: hidden;
    box-shadow: 0 24px 70px rgba(2, 5, 100, 0.14);
}

/* brand panel */
.uc-auth-brand {
    padding: 44px 38px;
    color: #fff;
    background: linear-gradient(160deg, #09092b 0%, #101373 55%, #151572 100%);
    display: flex; flex-direction: column; justify-content: center;
}
.uc-auth-logo { height: auto; width: 140px; margin-bottom: 26px; }
.uc-auth-brand-title { font-size: 28px; font-weight: 800; line-height: 1.2; margin: 0 0 10px; }
.uc-auth-brand-sub { font-size: 14.5px; color: rgba(255,255,255,0.7); line-height: 1.65; margin: 0 0 24px; }
.uc-auth-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.uc-auth-feats li { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
.uc-auth-feats i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    font-size: 18px; color: var(--theme-accent); background: rgba(119,209,233,0.14);
    border: 1px solid rgba(119,209,233,0.25);
}

/* form panel */
.uc-auth-form { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.uc-auth-head { margin-bottom: 22px; }
.uc-auth-title { font-size: 26px; font-weight: 800; color: var(--theme-primary); margin: 0 0 4px; }
.uc-auth-lead { font-size: 14px; color: #6b7194; margin: 0; }

.uc-auth-alert {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13.5px; font-weight: 600; line-height: 1.5;
    padding: 11px 14px; border-radius: 11px; margin-bottom: 14px;
}
.uc-auth-alert i { font-size: 17px; flex-shrink: 0; }
.uc-auth-alert.err  { background: #fdeaea; color: #d9534f; }
.uc-auth-alert.info { background: #e6eaff; color: var(--theme-primary); }
.uc-auth-alert.warn { background: #fff3cd; color: #856404; }

.uc-auth-otpto { font-size: 13.5px; color: #5a6080; margin: 0 0 12px; }

.uc-auth-field {
    display: flex; align-items: center;
    border: 1.5px solid #e0e5f5; border-radius: 12px;
    background: #f8faff; margin-bottom: 14px; overflow: hidden;
    transition: border-color .15s ease, background .15s ease;
}
.uc-auth-field:focus-within { border-color: var(--theme-primary); background: #fff; }
.uc-auth-ico {
    display: flex; align-items: center; justify-content: center;
    width: 46px; align-self: stretch; font-size: 19px; color: #8389ab;
    border-right: 1px solid #e6eaf5;
}
.uc-auth-field:focus-within .uc-auth-ico { color: var(--theme-primary); }
.uc-auth-field input {
    flex: 1; min-width: 0; border: none; background: transparent; outline: none;
    padding: 13px 14px; font-size: 15px; font-weight: 500; color: var(--theme-primary);
}
.uc-auth-field input::placeholder { color: #a9afcb; font-weight: 400; }
.uc-auth-field select {
    flex: 1; min-width: 0; border: none; background: transparent; outline: none;
    padding: 13px 14px; font-size: 15px; font-weight: 500; color: var(--theme-primary);
    appearance: none; cursor: pointer;
}
.uc-auth-field select:invalid,
.uc-auth-field select option[value=""] { color: #a9afcb; font-weight: 400; }
.uc-auth-field select option { color: var(--theme-primary); font-weight: 500; }

.uc-auth-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 4px; padding: 14px 18px; border: none; border-radius: 12px;
    font-size: 15px; font-weight: 700; color: #fff; background: var(--theme-primary); cursor: pointer;
    transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.uc-auth-btn:hover { background: #0000aa; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,102,0.25); }

.uc-auth-link-btn {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
    border: none; background: none; cursor: pointer;
    font-size: 13.5px; font-weight: 600; color: #5257a6; text-decoration: none;
}
.uc-auth-link-btn:hover { color: var(--theme-primary); }
.uc-auth-otp-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

.uc-auth-consent { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 14px; font-size: 12.5px; line-height: 1.5; color: #6b7194; cursor: pointer; }
.uc-auth-consent input { margin-top: 2px; flex: none; width: 16px; height: 16px; accent-color: var(--theme-primary); }
.uc-auth-consent a { color: var(--theme-primary); font-weight: 700; text-decoration: underline; }
.uc-auth-switch { font-size: 14px; color: #6b7194; margin: 20px 0 0; text-align: center; }
.uc-auth-switch a { color: var(--theme-primary); font-weight: 700; text-decoration: none; }
.uc-auth-switch a:hover { text-decoration: underline; }

@media (max-width: 767.98px) {
    .uc-auth-card { grid-template-columns: 1fr; max-width: 440px; }
    .uc-auth-brand { display: none; }
    .uc-auth-form { padding: 34px 26px; }
}

/* ── Multi-image upload widget ──────────────────────────────────── */
.uc-dropzone-multi { min-height: 120px; }
.uc-upload-summary {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: #6b7194; margin: 10px 0 0;
}
.uc-upload-summary span { font-weight: 600; }

.uc-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.uc-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e6eaf5;
    background: #f7f8fc;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
}
.uc-thumb-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    flex: 1;
    min-height: 0;
}
.uc-thumb-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(2,5,100,.65);
    padding: 3px 6px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 4px;
}
.uc-thumb-num { font-size: 11px; font-weight: 800; color: #fff; }
.uc-thumb-sz  { font-size: 10px; color: #c8d0f8; }
.uc-thumb-rm {
    position: absolute; top: 4px; right: 4px;
    background: rgba(0,0,0,.55); border: none; cursor: pointer;
    color: #fff; border-radius: 50%;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    transition: background .15s;
    padding: 0;
}
.uc-thumb-rm:hover { background: rgba(200,0,0,.8); }


/* ═══════════════════════════════════════════════════════════════════════════
   POLICY PAGES  (about / privacy / terms / refund — readable legal prose)
   ═══════════════════════════════════════════════════════════════════════════ */
.uc-policy { background: #f6f8fd; }

.uc-policy-updated {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 16px; font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 6px 14px; border-radius: 50px;
}
.uc-policy-updated i { font-size: 15px; }

/* two-column: sticky section nav + content card */
.uc-policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .uc-policy-layout { grid-template-columns: 1fr; } }

.uc-policy-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 6px; }
.uc-policy-nav-head {
    font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
    color: #8389ab; padding: 0 14px 6px;
}
.uc-policy-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 11px;
    font-size: 14px; font-weight: 600; color: #4a5078;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.uc-policy-nav a i { font-size: 17px; color: #b0b6d6; transition: color .15s ease; }
.uc-policy-nav a:hover { background: #eef1fb; color: var(--theme-primary); }
.uc-policy-nav a:hover i { color: var(--theme-primary); }
.uc-policy-nav a.is-active {
    background: #fff; color: var(--theme-primary);
    border-color: #e0e5f5; box-shadow: 0 4px 14px rgba(2,5,100,0.06);
}
.uc-policy-nav a.is-active i { color: var(--theme-accent); }

@media (max-width: 860px) {
    .uc-policy-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 18px; }
    .uc-policy-nav-head { display: none; }
    .uc-policy-nav a { background: #fff; border-color: #e6eaf5; }
}

.uc-policy-card {
    background: #fff; border: 1px solid #e6eaf5; border-radius: 18px;
    padding: clamp(22px, 4vw, 44px);
    box-shadow: 0 6px 24px rgba(2,5,100,0.05);
}

/* readable prose — overrides the old centered giant-bold styling */
.uc-policy-prose { color: #3f466b; font-size: 16px; line-height: 1.8; }
.uc-policy-prose > :first-child { margin-top: 0; }
.uc-policy-prose > :last-child { margin-bottom: 0; }
.uc-policy-prose h1, .uc-policy-prose h2, .uc-policy-prose h3,
.uc-policy-prose h4, .uc-policy-prose h5, .uc-policy-prose h6 {
    color: var(--theme-primary); font-weight: 800; line-height: 1.3;
    margin: 2em 0 0.6em;
}
.uc-policy-prose h1 { font-size: 26px; }
.uc-policy-prose h2 { font-size: 22px; }
.uc-policy-prose h3 { font-size: 19px; }
.uc-policy-prose h4 { font-size: 17px; }
.uc-policy-prose p { margin: 0 0 1.1em; }
.uc-policy-prose ul, .uc-policy-prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.uc-policy-prose li { margin-bottom: 0.5em; }
.uc-policy-prose a { color: #0055cc; font-weight: 600; text-decoration: underline; }
.uc-policy-prose a:hover { color: var(--theme-primary); }
.uc-policy-prose strong, .uc-policy-prose b { color: #1b2340; font-weight: 700; }
.uc-policy-prose blockquote {
    margin: 0 0 1.1em; padding: 12px 18px;
    background: #f6f8fd; border-left: 3px solid var(--theme-accent); border-radius: 8px;
    color: #4a5078;
}
.uc-policy-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.uc-policy-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.1em; font-size: 14.5px; }
.uc-policy-prose th, .uc-policy-prose td { border: 1px solid #e6eaf5; padding: 9px 12px; text-align: left; }
.uc-policy-prose th { background: #f6f8fd; color: var(--theme-primary); font-weight: 700; }
.uc-policy-prose hr { border: 0; border-top: 1px solid #e6eaf5; margin: 1.6em 0; }

.uc-policy-empty { text-align: center; color: #9399bb; font-size: 15px; padding: 40px 10px; }
.uc-policy-empty i { font-size: 30px; display: block; margin-bottom: 10px; color: #c2cbf0; }

/* contact strip under the card */
.uc-policy-contact {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    margin-top: 22px; padding: 20px 24px;
    background: linear-gradient(145deg, #eef0ff, #e6ecff);
    border: 1px solid #dde3f7; border-radius: 16px;
}
.uc-policy-contact-txt { font-size: 14.5px; color: #4a5078; }
.uc-policy-contact-txt b { color: var(--theme-primary); font-weight: 800; display: block; font-size: 16px; margin-bottom: 2px; }
.uc-policy-contact a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px; border-radius: 50px;
    font-size: 14px; font-weight: 700; color: #fff; background: var(--theme-primary);
    text-decoration: none !important; white-space: nowrap;
    transition: background .16s ease, transform .16s ease;
}
.uc-policy-contact a:hover { background: #0000aa; color: #fff; transform: translateY(-2px); }

/* DPDP cookie-consent banner */
.uc-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .25s ease, transform .25s ease;
}
.uc-cookie.is-open { opacity: 1; transform: translateY(0); }
.uc-cookie-inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e6eaf5;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(2,5,100,0.16);
}
.uc-cookie-text { display: flex; align-items: flex-start; gap: 10px; }
.uc-cookie-text i { color: var(--theme-primary); font-size: 22px; line-height: 1.3; flex: none; }
.uc-cookie-text p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #4a4f6b; }
.uc-cookie-text a { color: var(--theme-primary); font-weight: 700; text-decoration: underline; }
.uc-cookie-actions { display: flex; gap: 10px; flex: none; }
.uc-cookie-btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .16s ease, transform .16s ease;
}
.uc-cookie-btn.ghost { background: #eef1fb; color: #4a4f6b; }
.uc-cookie-btn.ghost:hover { background: #e2e7f7; }
.uc-cookie-btn.solid { background: var(--theme-primary); color: #fff; }
.uc-cookie-btn.solid:hover { background: #0000aa; transform: translateY(-1px); }
@media (max-width: 575.98px) {
    .uc-cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
    .uc-cookie-actions { flex-direction: column; gap: 8px; }
    .uc-cookie-btn { flex: none; width: 100%; }
}
