@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Outfit:wght@200..800&display=swap");

/* ============================================================
   PLASMA PEN — user panel, "clinical luxury" redesign
   Warm porcelain surfaces, deep aubergine ink, plasma glows.
   Display serif: Fraunces · Body: Outfit
   ============================================================ */

:root {
    --uh-black: #000000;
    --uh-ink: #141414;
    --uh-ink-soft: #3f3f3f;
    --uh-muted: #8a8a8a;
    --uh-line: #e8e8e8;
    --uh-line-dark: #d4d4d4;
    --uh-bg: #fafafa;
    --uh-card: #ffffff;
    --uh-purple: #000000;
    --uh-purple-deep: #2b2b2b;
    --uh-purple-soft: #f4f4f4;
    --uh-purple-line: #dedede;
    --uh-glow-a: rgba(255, 255, 255, 0.10);
    --uh-glow-b: rgba(255, 255, 255, 0.05);
    --uh-goal: #0f172a;
    --uh-sched: #eab308;
    --uh-both: #2563eb;
    --uh-gold: #f59e0b;
    --uh-radius: 20px;
    --uh-radius-sm: 14px;
    --uh-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px -12px rgba(0, 0, 0, 0.10);
    --uh-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.05), 0 22px 44px -16px rgba(0, 0, 0, 0.22);
    --uh-dark-surface:
        radial-gradient(90% 140% at 88% -10%, var(--uh-glow-a), transparent 55%),
        radial-gradient(70% 120% at 4% 110%, var(--uh-glow-b), transparent 58%),
        linear-gradient(160deg, #141414 0%, #000000 55%, #000000 100%);
    /* Flat stand-in for the topbar gradient, for places that need a solid colour (e.g. borders). */
    --uh-dark-surface-solid: #121212;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background-color: #0b0f17;
    overscroll-behavior-y: none;
}

body.user-site {
    font-family: "Outfit", sans-serif;
    color: var(--uh-ink);
    background: var(--uh-bg);
    margin: 0;
    padding-bottom: 0;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
}

::selection { background: var(--uh-purple); color: #fff; }

.uh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

a { text-decoration: none; }

/* thin warm scrollbars */
body.user-site::-webkit-scrollbar { width: 10px; }
body.user-site::-webkit-scrollbar-thumb { background: var(--uh-line-dark); border-radius: 10px; }
body.user-site::-webkit-scrollbar-track { background: transparent; }

/* ---------- top bar ---------- */
.uh-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--uh-dark-surface);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.65);
}

.uh-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.uh-brand { display: inline-flex; align-items: center; }
.uh-brand img { width: 148px; display: block; }

.uh-navlinks {
    display: flex;
    align-items: center;
    gap: 6px;
}

.uh-navlinks a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cfcfcf;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.uh-navlinks a i { font-size: 18px; }

.uh-navlinks a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.uh-navlinks a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.12);
}

.uh-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.uh-greet { text-align: right; line-height: 1.2; }

.uh-greet-sub {
    display: block;
    font-size: 12.5px;
    color: #9a9a9a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.uh-greet-name {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
}

.uh-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.uh-bell {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #e0e0e0;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.uh-bell:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

/* Count pill shown on the cart/bell buttons and the Chat nav item. It carries a number
   (and "99+"), so it must size to its text rather than being a fixed dot. */
.uh-bell-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 999px;
    background: #f0b429;
    color: #1a1a1a;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    border: 2px solid var(--uh-dark-surface-solid);
    pointer-events: none;
}

/* The chat badge lives inside nav links, which need to be positioning contexts of their own,
   otherwise the badge anchors to a far-away ancestor. */
.uh-navlinks a,
.uh-bottomnav a { position: relative; }

/* On the light bottom nav the badge ring should match that surface, not the dark topbar. */
.uh-bottomnav a .uh-bell-badge {
    top: 0;
    right: 4px;
    border-color: #fffdfa;
}

/* Red unread dot over Chat Support when admin sends a message */
.uh-chat-dot {
    position: absolute;
    top: 4px;
    right: 2px;
    width: 9px;
    height: 9px;
    background-color: #ef4444;
    border-radius: 50%;
    border: 2px solid #0f172a;
    display: inline-block;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}
.uh-bottomnav a .uh-chat-dot {
    border-color: #fffdfa;
    top: 3px;
    right: 18px;
}
.uh-drawer-menu a .uh-chat-dot {
    border-color: #ffffff;
    top: 12px;
    right: 16px;
}

/* ---------- generic buttons ---------- */
.uh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
}

.uh-btn-dark { background: var(--uh-black); color: #fff; border: 1px solid var(--uh-black); }
.uh-btn-dark:hover { background: var(--uh-purple-deep); border-color: var(--uh-purple-deep); color: #fff; }
.uh-btn-outline { background: transparent; color: #fff; border: 1px solid #ffffff70; }
.uh-btn-outline:hover { background: #ffffff14; color: #fff; border-color: #ffffffb0; }

.uh-btn-outline-dark {
    background: transparent;
    color: var(--uh-ink);
    border: 1px solid var(--uh-line-dark);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 500;
    transition: all 0.22s ease;
}
.uh-btn-outline-dark:hover { background: var(--uh-black); color: #fff; border-color: var(--uh-black); }

/* ---------- main + entrance ---------- */
.uh-main { padding: 36px 0 64px; }

@keyframes uh-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.uh-main .uh-container > * { animation: uh-rise 0.6s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
.uh-main .uh-container > *:nth-child(1) { animation-delay: 0.03s; }
.uh-main .uh-container > *:nth-child(2) { animation-delay: 0.09s; }
.uh-main .uh-container > *:nth-child(3) { animation-delay: 0.15s; }
.uh-main .uh-container > *:nth-child(4) { animation-delay: 0.21s; }
.uh-main .uh-container > *:nth-child(5) { animation-delay: 0.27s; }
.uh-main .uh-container > *:nth-child(6) { animation-delay: 0.33s; }
.uh-main .uh-container > *:nth-child(n+7) { animation-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
    .uh-main .uh-container > * { animation: none; }
}

/* ---------- search ---------- */
.uh-search {
    position: relative;
    max-width: 660px;
    margin: 0 auto 34px;
}

.uh-search input {
    width: 100%;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: 999px;
    padding: 15px 62px 15px 26px;
    font-size: 15.5px;
    font-family: inherit;
    color: var(--uh-ink);
    outline: none;
    box-shadow: var(--uh-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uh-search input::placeholder { color: #a6a6a6; }

.uh-search input:focus {
    border-color: var(--uh-purple);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12), var(--uh-shadow);
}

.uh-search button {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--uh-black);
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uh-search button:hover { background: var(--uh-purple); }

.uh-search-note {
    text-align: center;
    font-size: 14px;
    color: var(--uh-muted);
    margin: -20px 0 30px;
}

.uh-search-note a { color: var(--uh-purple); font-weight: 600; margin-left: 8px; }

/* ---------- featured video ---------- */
.uh-featured {
    position: relative;
    border-radius: var(--uh-radius);
    overflow: hidden;
    margin-bottom: 34px;
    background: var(--uh-black);
    box-shadow: var(--uh-shadow);
}

.uh-featured video { width: 100%; display: block; }

.uh-featured-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 46px 28px 22px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.uh-featured-cap span {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #d6d6d6;
}

.uh-featured-cap h3 { margin: 4px 0 0; font-family: "Fraunces", serif; font-size: 22px; font-weight: 500; }

/* ---------- hero banner ---------- */
@keyframes uh-glow-drift {
    0%, 100% { background-position: 0% 0%, 100% 100%, 0 0; }
    50% { background-position: 60% 40%, 40% 60%, 0 0; }
}

.uh-hero {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--uh-radius) + 6px);
    padding: 64px 30px;
    margin-bottom: 26px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(55% 90% at 80% 0%, var(--uh-glow-a), transparent 60%),
        radial-gradient(45% 80% at 12% 100%, var(--uh-glow-b), transparent 60%),
        linear-gradient(150deg, #111111 0%, #000000 60%, #000000 100%);
    background-size: 160% 160%, 160% 160%, 100% 100%;
    animation: uh-glow-drift 14s ease-in-out infinite;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.uh-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.uh-hero img { width: 250px; max-width: 70%; position: relative; z-index: 1; }

.uh-hero p {
    position: relative;
    z-index: 1;
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 300;
    font-size: 19px;
    letter-spacing: 0.02em;
    color: #d0d0d0;
    margin: 20px 0 0;
}

/* ---------- promo tiles ---------- */
.uh-promos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 26px;
}

.uh-promo {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: var(--uh-radius);
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    color: var(--uh-ink);
    box-shadow: var(--uh-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.uh-promo:hover {
    transform: translateY(-4px);
    box-shadow: var(--uh-shadow-hover);
    border-color: var(--uh-purple-line);
    color: var(--uh-ink);
}

.uh-promo img {
    width: 46%;
    min-height: 190px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.uh-promo:hover img { transform: scale(1.04); }

.uh-promo-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    padding: 26px 28px;
}

.uh-promo-kicker { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

.uh-promo-body em {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 300;
    font-size: 21px;
    color: var(--uh-ink-soft);
    line-height: 1.15;
}

.uh-promo-pill {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--uh-purple-soft);
    color: var(--uh-purple);
    border: 1px solid var(--uh-purple-line);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.uh-promo:hover .uh-promo-pill { background: var(--uh-purple); color: #fff; }

/* ---------- announcement ---------- */
.uh-announce {
    position: relative;
    overflow: hidden;
    border-radius: var(--uh-radius);
    background: linear-gradient(120deg, var(--uh-purple-soft) 0%, #fdfdfd 70%);
    border: 1px solid var(--uh-purple-line);
    margin-bottom: 40px;
}

.uh-announce::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05), transparent 68%);
}

.uh-announce img {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.uh-announce-body { position: relative; z-index: 2; padding: 30px 32px; max-width: 66%; }

.uh-announce-body h4 {
    font-family: "Fraunces", serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--uh-ink);
}

.uh-announce-body p { font-size: 15px; color: var(--uh-ink-soft); margin: 0; line-height: 1.6; }

/* ---------- sections ---------- */
.uh-section { margin-bottom: 52px; }

.uh-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--uh-line);
    padding-bottom: 12px;
}

.uh-section-head h2 {
    font-family: "Fraunces", serif;
    font-size: 27px;
    font-weight: 550;
    letter-spacing: -0.01em;
    margin: 0;
}

.uh-viewall {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--uh-purple);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.uh-viewall::after { content: "\2192"; font-size: 15px; transition: transform 0.2s ease; }
.uh-viewall:hover { color: var(--uh-purple-deep); border-color: var(--uh-purple-deep); }
.uh-viewall:hover::after { transform: translateX(4px); }

.uh-empty { color: var(--uh-muted); font-size: 15px; font-style: italic; }

/* ---------- horizontal rails ---------- */
.uh-rail {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
}

.uh-rail::-webkit-scrollbar { height: 6px; }
.uh-rail::-webkit-scrollbar-thumb { background: var(--uh-line-dark); border-radius: 8px; }
.uh-rail::-webkit-scrollbar-track { background: transparent; }
.uh-rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.uh-rail .uh-course-card { width: 320px !important; }

/* Action Icon Button (Wishlist & Share) */
.uh-icon-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.uh-icon-btn:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px) !important;
}

.uh-icon-btn.is-active,
.uh-icon-btn.is-active i {
    color: #dc2626 !important;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.uh-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: var(--uh-purple-line);
    background: linear-gradient(150deg, var(--uh-purple-soft), #f4f4f4);
}

/* ---------- course cards ---------- */
/* ---------- course cards ---------- */
.uh-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.uh-course-card {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--uh-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.uh-course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--uh-shadow-hover);
    border-color: var(--uh-line-dark);
}

.uh-course-thumb {
    position: relative;
    height: 170px;
    background: linear-gradient(135deg, #18181b 0%, #3f3f46 100%);
    overflow: hidden;
}

.uh-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.uh-course-card:hover .uh-course-thumb img { transform: scale(1.06); }

.uh-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,0.4);
}

.uh-course-overlay-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.uh-course-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.badge-completed { background: rgba(0, 0, 0, 0.85); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.3); }
.badge-in-progress { background: rgba(0, 0, 0, 0.85); color: #3498db; border: 1px solid rgba(52, 152, 219, 0.3); }
.badge-new { background: rgba(0, 0, 0, 0.85); color: #f0b429; border: 1px solid rgba(240, 180, 41, 0.3); }
.badge-category { background: rgba(255, 255, 255, 0.9); color: var(--uh-ink); border: 1px solid var(--uh-line); }

.uh-course-body {
    padding: 18px 20px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uh-course-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--uh-muted);
    margin-bottom: 8px;
}

.uh-rating { color: var(--uh-gold); display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.uh-meta-dot { color: var(--uh-line-dark); }
.uh-lessons { display: inline-flex; align-items: center; gap: 4px; color: var(--uh-ink-soft); font-weight: 600; }

.uh-course-title {
    font-family: "Fraunces", serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
}
.uh-course-title a { color: var(--uh-ink); text-decoration: none; transition: color 0.2s ease; }
.uh-course-title a:hover { color: #2563eb; }

.uh-course-desc {
    font-size: 13.5px;
    color: var(--uh-ink-soft);
    line-height: 1.55;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uh-course-progress-box {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--uh-line);
}
.uh-course-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--uh-muted);
    margin-bottom: 6px;
}
.uh-course-progress-header strong { color: var(--uh-ink); font-weight: 700; }

.uh-course-progress-bar {
    height: 7px;
    background: #e4e4e7;
    border-radius: 999px;
    overflow: hidden;
}
.uh-course-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #18181b 0%, #3b82f6 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}
.uh-course-progress-bar span.is-complete {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

.uh-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 16px;
    background: #fafafa;
    border-top: 1px solid var(--uh-line);
    gap: 10px;
}

.uh-course-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.btn-start { background: var(--uh-black); color: #fff; border: 1px solid var(--uh-black); }
.btn-start:hover { background: #222; color: #fff; }

.btn-continue { background: #2563eb; color: #fff; border: 1px solid #2563eb; }
.btn-continue:hover { background: #1d4ed8; color: #fff; }

.btn-completed { background: #059669; color: #fff; border: 1px solid #059669; }
.btn-completed:hover { background: #047857; color: #fff; }

.uh-course-btn-share {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    color: var(--uh-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.uh-course-btn-share:hover { background: var(--uh-black); color: #fff; border-color: var(--uh-black); }

.uh-course-tab {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--uh-ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
}
.uh-course-tab.active {
    background: var(--uh-card);
    color: var(--uh-ink);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ---------- wishlist redesign ---------- */
.uh-wishlist-remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--uh-line);
    color: #e74c3c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}
.uh-wishlist-remove-btn:hover {
    transform: scale(1.12);
    background: #e74c3c;
    color: #ffffff;
    border-color: #e74c3c;
}

.uh-wishlist-section-head {
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--uh-line);
}
.uh-wishlist-section-head h3 {
    font-family: "Fraunces", serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--uh-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.uh-wishlist-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--uh-line);
}
.uh-wishlist-price-now {
    font-size: 16px;
    font-weight: 700;
    color: var(--uh-ink);
}
.uh-wishlist-price-was {
    font-size: 13.5px;
    color: var(--uh-muted);
    text-decoration: line-through;
    font-weight: 500;
}

@media (max-width: 991px) {
    .uh-courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .uh-courses-grid { grid-template-columns: 1fr; }
}

/* ---------- blog cards ---------- */
.uh-blog-card {
    background: #ffffff !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.uh-blog-card .uh-blog-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
}

.uh-blog-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1 !important;
}

.uh-blog-thumb {
    height: 200px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    position: relative !important;
}

.uh-blog-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.uh-blog-card:hover .uh-blog-thumb img {
    transform: scale(1.08) !important;
}

.uh-blog-badge {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.uh-blog-body {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.uh-blog-meta {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-bottom: 10px !important;
}

.uh-blog-meta i {
    color: #3b82f6 !important;
    font-size: 14px !important;
}

.uh-blog-body h5 {
    font-family: "Outfit", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
    margin: 0 0 10px !important;
    min-height: auto !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.15s ease !important;
}

.uh-blog-card:hover .uh-blog-body h5 {
    color: #2563eb !important;
}

.uh-blog-body p {
    font-size: 13.5px !important;
    color: #64748b !important;
    margin: 0 0 16px !important;
    line-height: 1.6 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex-grow: 1 !important;
}

.uh-blog-foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: auto !important;
}

.uh-blog-author {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.uh-blog-author i {
    font-size: 15px !important;
    color: #64748b !important;
}

.uh-blog-readmore {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: gap 0.2s ease, color 0.2s ease !important;
}

.uh-blog-card:hover .uh-blog-readmore {
    color: #2563eb !important;
    gap: 8px !important;
}

/* ---------- community cards ---------- */
.uh-comm-card {
    width: 282px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    overflow: hidden;
    box-shadow: var(--uh-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.uh-comm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--uh-shadow-hover);
    border-color: var(--uh-purple-line);
}

.uh-comm-thumb { position: relative; height: 158px; background: linear-gradient(150deg, var(--uh-purple-soft), #f4f4f4); overflow: hidden; }
.uh-comm-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.uh-comm-card:hover .uh-comm-thumb img { transform: scale(1.05); }

.uh-comm-followed {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--uh-black);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
}

.uh-comm-body { padding: 16px 20px 18px; }
.uh-comm-body h5 { font-size: 16.5px; font-weight: 600; margin: 0 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uh-comm-meta { display: flex; gap: 18px; font-size: 13.5px; color: var(--uh-muted); }
.uh-comm-meta i { color: var(--uh-purple); }

/* ---------- calendar ---------- */
.uh-calendar {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 26px 28px 22px;
    box-shadow: var(--uh-shadow);
}

.uh-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.uh-cal-title { font-family: "Fraunces", serif; font-size: 20px; font-weight: 600; }

.uh-cal-nav {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--uh-line);
    border-radius: 50%;
    color: var(--uh-ink);
    font-size: 18px;
    transition: all 0.2s ease;
}

.uh-cal-nav:hover { background: var(--uh-black); border-color: var(--uh-black); color: #fff; }

.uh-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.uh-cal-dow { margin-bottom: 8px; }
.uh-cal-dow span {
    font-size: 11.5px;
    color: var(--uh-muted);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 0;
}

.uh-cal-day {
    aspect-ratio: 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    background: #f1f5f9;
    color: #0f172a !important;
    transition: all 0.15s ease;
    text-decoration: none !important;
}

.uh-cal-day * {
    color: inherit;
    text-decoration: none !important;
}

/* Normal Day Hover / Focus / Active */
.uh-cal-day:not(.has-goal):not(.has-schedule):not(.has-both):not(.is-today):not(.is-blank):hover,
.uh-cal-day:not(.has-goal):not(.has-schedule):not(.has-both):not(.is-today):not(.is-blank):focus,
.uh-cal-day:not(.has-goal):not(.has-schedule):not(.has-both):not(.is-today):not(.is-blank):active {
    background: #cbd5e1 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    outline: none !important;
}

.uh-cal-day.is-blank { visibility: hidden; }

/* Today */
.uh-cal-day.is-today {
    outline: 2px solid #7c3aed !important;
    outline-offset: -2px;
    font-weight: 700;
    color: #7c3aed !important;
    background: #f3e8ff !important;
}

/* Goal (Black) */
.uh-cal-day.has-goal {
    background: #0f172a !important;
    color: #ffffff !important;
}
.uh-cal-day.has-goal .uh-cal-daynum,
.uh-cal-day.has-goal * {
    color: #ffffff !important;
}

.uh-cal-day.has-goal:hover,
.uh-cal-day.has-goal:focus,
.uh-cal-day.has-goal:active {
    background: #1e293b !important;
    color: #ffffff !important;
}
.uh-cal-day.has-goal:hover *,
.uh-cal-day.has-goal:focus *,
.uh-cal-day.has-goal:active * {
    color: #ffffff !important;
}

/* Meeting Schedule (Gold/Yellow) */
.uh-cal-day.has-schedule {
    background: #eab308 !important;
    color: #0f172a !important;
}
.uh-cal-day.has-schedule .uh-cal-daynum,
.uh-cal-day.has-schedule * {
    color: #0f172a !important;
}

.uh-cal-day.has-schedule:hover,
.uh-cal-day.has-schedule:focus,
.uh-cal-day.has-schedule:active {
    background: #ca8a04 !important;
    color: #0f172a !important;
}
.uh-cal-day.has-schedule:hover *,
.uh-cal-day.has-schedule:focus *,
.uh-cal-day.has-schedule:active * {
    color: #0f172a !important;
}

/* Both Goal + Meeting (Blue) */
.uh-cal-day.has-both {
    background: #2563eb !important;
    color: #ffffff !important;
}
.uh-cal-day.has-both .uh-cal-daynum,
.uh-cal-day.has-both * {
    color: #ffffff !important;
}

.uh-cal-day.has-both:hover,
.uh-cal-day.has-both:focus,
.uh-cal-day.has-both:active {
    background: #1d4ed8 !important;
    color: #ffffff !important;
}
.uh-cal-day.has-both:hover *,
.uh-cal-day.has-both:focus *,
.uh-cal-day.has-both:active * {
    color: #ffffff !important;
}

.uh-cal-legend {
    display: flex;
    gap: 22px;
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--uh-muted);
}

.uh-cal-legend span { display: inline-flex; align-items: center; gap: 8px; }

.uh-cal-legend .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.uh-cal-legend .dot.goal { background: #0f172a !important; }
.uh-cal-legend .dot.schedule { background: #eab308 !important; }
.uh-cal-legend .dot.both { background: #2563eb !important; }

/* ---------- rate us ---------- */
.uh-rateus {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 30px 32px;
    box-shadow: var(--uh-shadow);
}

.uh-rateus-text { flex: 1; }
.uh-rateus-text h3 { margin: 0 0 4px; font-family: "Fraunces", serif; font-size: 23px; font-weight: 600; }
.uh-rateus-text p { color: var(--uh-muted); margin: 0 0 14px; }

.uh-stars { font-size: 30px; color: var(--uh-gold); margin-bottom: 14px; cursor: pointer; }
.uh-stars i { cursor: pointer; margin-right: 4px; transition: transform 0.15s ease; }
.uh-stars i:hover { transform: scale(1.18); }

.uh-rate-msg {
    width: 100%;
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius-sm);
    background: #fbf8f3;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--uh-ink);
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.uh-rate-msg:focus { border-color: var(--uh-purple); }

.uh-rateus-art { font-size: 90px; color: var(--uh-purple-line); }

/* ---------- footer ---------- */
.uh-footer {
    background: var(--uh-dark-surface);
    color: #b6abcc;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- AI fab ---------- */
@keyframes uh-fab-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.45), 0 14px 30px -10px rgba(0, 0, 0, 0.5); }
    60% { box-shadow: 0 0 0 12px rgba(0, 0, 0, 0), 0 14px 30px -10px rgba(0, 0, 0, 0.5); }
}

.uh-ai-fab {
    display: none !important;
}

/* ---------- bottom nav (mobile) ---------- */
.uh-bottomnav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 56;
    background: rgba(255, 253, 250, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--uh-line);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
}

.uh-bottomnav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--uh-muted);
    padding: 5px 12px;
    border-radius: 12px;
    transition: color 0.2s ease;
}

.uh-bottomnav a i { font-size: 22px; }

.uh-bottomnav a.is-active { color: var(--uh-purple); font-weight: 600; }
.uh-bottomnav a.is-active i { filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4)); }

/* ---------- coming soon ---------- */
.uh-coming {
    text-align: center;
    padding: 70px 20px;
    max-width: 560px;
    margin: 0 auto;
}

.uh-coming-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: var(--uh-purple-soft);
    border: 1px solid var(--uh-purple-line);
    color: var(--uh-purple);
    font-size: 44px;
}

.uh-coming h1 { font-family: "Fraunces", serif; font-size: 32px; font-weight: 600; margin: 0 0 12px; }
.uh-coming p { color: var(--uh-muted); font-size: 16px; line-height: 1.6; margin: 0 auto 22px; max-width: 440px; }

.uh-coming-badge {
    display: inline-block;
    background: var(--uh-purple-soft);
    border: 1px solid var(--uh-purple-line);
    color: var(--uh-purple);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 26px;
}

.uh-coming-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- page head ---------- */
.uh-page-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.uh-page-back {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--uh-line-dark);
    border-radius: 50%;
    background: var(--uh-card);
    color: var(--uh-ink);
    font-size: 20px;
    transition: all 0.2s ease;
}

.uh-page-back:hover { background: var(--uh-black); color: #fff; border-color: var(--uh-black); transform: translateX(-2px); }

.uh-page-head h1 {
    font-family: "Fraunces", serif;
    font-size: 30px;
    font-weight: 550;
    letter-spacing: -0.01em;
    margin: 0;
}

/* ---------- store ---------- */
.uh-store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.uh-product-card {
    position: relative;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    overflow: hidden;
    box-shadow: var(--uh-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.uh-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--uh-shadow-hover);
    border-color: var(--uh-purple-line);
}

.uh-product-link { display: block; color: inherit; }
.uh-product-link:hover { color: inherit; }

.uh-product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.uh-product-thumb {
    position: relative;
    height: 196px;
    background: linear-gradient(160deg, #f8f8f8 0%, var(--uh-purple-soft) 130%);
    border-bottom: 1px solid var(--uh-line);
}

.uh-product-thumb > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: transform 0.4s ease;
}

.uh-product-card:hover .uh-product-thumb > img { transform: scale(1.06); }

.uh-product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(120deg, var(--uh-purple), #333333);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 999px;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}

.uh-product-body { padding: 16px 18px 18px; }

.uh-product-body h5 {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px;
    min-height: 43px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uh-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.uh-product-price { display: flex; align-items: baseline; gap: 8px; }
.uh-price-old { color: var(--uh-muted); text-decoration: line-through; font-size: 13.5px; }
.uh-price-now { font-weight: 700; font-size: 17.5px; color: var(--uh-ink); }

/* ---------- product detail ---------- */
.uh-narrow { max-width: 820px; }

.uh-pd-media {
    border-radius: var(--uh-radius);
    overflow: hidden;
    background: linear-gradient(160deg, #f8f8f8 0%, var(--uh-purple-soft) 130%);
    border: 1px solid var(--uh-line);
    box-shadow: var(--uh-shadow);
    margin-bottom: 28px;
}

.uh-pd-media .carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    padding: 26px;
}

.uh-pd-media .carousel-control-prev,
.uh-pd-media .carousel-control-next { width: 12%; opacity: 1; }

.uh-pd-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 253, 250, 0.9);
    border: 1px solid var(--uh-line);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: var(--uh-ink);
    font-size: 20px;
    transition: all 0.2s ease;
}

.uh-pd-arrow:hover { background: var(--uh-black); color: #fff; border-color: var(--uh-black); }

.uh-pd-counter {
    position: absolute;
    right: 16px;
    bottom: 14px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 6px 13px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.uh-pd-title {
    font-family: "Fraunces", serif;
    font-size: 29px;
    font-weight: 550;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
}

.uh-pd-pricerow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.uh-pd-price-old { font-size: 22px; color: var(--uh-muted); text-decoration: line-through; }
.uh-pd-price-now { font-size: 32px; font-weight: 700; color: var(--uh-purple); }

.uh-pd-rating {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
}

.uh-pd-rating i { color: var(--uh-gold); font-size: 18px; }

.uh-pd-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.uh-pd-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.22s ease;
}

.uh-pd-btn i { font-size: 19px; }

.uh-pd-btn-outline {
    background: var(--uh-card);
    color: var(--uh-ink);
    border: 1px solid var(--uh-line-dark);
}

.uh-pd-btn-outline:hover { border-color: var(--uh-purple); color: var(--uh-purple); background: var(--uh-purple-soft); }
.uh-pd-btn-outline.is-wished { border-color: #e0447c; color: #e0447c; background: #fdf0f5; }
.uh-pd-btn-outline.is-wished i { color: #e0447c; }
.uh-pd-btn-outline i.las.la-heart { color: #e0447c; }

.uh-pd-btn-dark {
    background: var(--uh-black);
    color: #fff;
    border: 1px solid var(--uh-black);
}

.uh-pd-btn-dark:hover { background: var(--uh-purple-deep); border-color: var(--uh-purple-deep); }
.uh-pd-btn:disabled { opacity: 0.55; cursor: default; }

.uh-pd-details {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 26px 28px;
    box-shadow: var(--uh-shadow);
}

.uh-pd-details h3 { font-family: "Fraunces", serif; font-size: 21px; font-weight: 600; margin: 0 0 14px; }

.uh-pd-desc {
    color: var(--uh-ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0;
}

.uh-pd-desc.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uh-pd-readmore-row {
    display: flex;
    justify-content: flex-start;
    margin-top: 12px;
}

.uh-pd-readmore {
    background: none;
    border: none;
    padding: 0;
    color: var(--uh-purple);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.uh-pd-readmore:hover { text-decoration: underline; }
.uh-pd-readmore-link { color: var(--uh-purple); }

/* ---------- profile ---------- */
.uh-profile { max-width: 760px; margin: 20px auto; }

.uh-profile-head {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--uh-dark-surface);
    color: #fff;
    border-radius: calc(var(--uh-radius) + 4px);
    padding: 42px 30px 36px;
    margin-bottom: 26px;
    box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.55);
}

.uh-profile-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.uh-profile-avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.14);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.uh-profile-head h2 {
    position: relative;
    z-index: 1;
    font-family: "Fraunces", serif;
    font-size: 27px;
    font-weight: 600;
    margin: 0 0 12px;
}

.uh-profile-head p {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #cfcfcf;
    font-size: 15px;
    margin: 0 0 6px;
}

.uh-profile-head p i { color: #f0b429; font-size: 18px; }

.uh-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.uh-profile-tile {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    text-align: center;
    padding: 26px 16px 22px;
    color: var(--uh-ink);
    box-shadow: var(--uh-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.uh-profile-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--uh-shadow-hover);
    border-color: var(--uh-purple-line);
    color: var(--uh-ink);
}

.uh-profile-tile i {
    width: 58px;
    height: 58px;
    line-height: 58px;
    font-size: 28px;
    color: var(--uh-purple);
    background: var(--uh-purple-soft);
    border: 1px solid var(--uh-purple-line);
    border-radius: 18px;
    display: inline-block;
    margin-bottom: 12px;
    transition: transform 0.22s ease;
}

.uh-profile-tile:hover i { transform: scale(1.08); }
.uh-profile-tile span { display: block; font-weight: 600; font-size: 14.5px; }

.uh-profile-tile.is-danger i { color: #cf3a52; background: #fbeef0; border-color: #f2d4da; }
.uh-profile-tile.is-danger span { color: #cf3a52; }

/* ---------- responsive: layout ---------- */
@media (max-width: 991px) {
    .uh-navlinks { display: none; }
    .uh-bottomnav { display: flex; }
    .uh-main { padding-bottom: 100px; }
    .uh-ai-fab { bottom: 96px; }
    .uh-footer { padding-bottom: 88px; }
}

@media (max-width: 1100px) {
    .uh-store-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
    .uh-store-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .uh-container { padding: 0 18px; }
    .uh-promos { grid-template-columns: 1fr; }
    .uh-announce-body { max-width: 100%; }
    .uh-announce img { opacity: 0.25; width: 100%; }
    .uh-rateus { flex-direction: column; align-items: flex-start; }
    .uh-rateus-art { display: none; }
    .uh-section-head h2 { font-size: 22px; }
    .uh-brand img { width: 118px; }
    .uh-profile-grid { grid-template-columns: repeat(2, 1fr); }
    .uh-page-head h1 { font-size: 24px; }
    .uh-hero { padding: 44px 22px; }
    .uh-hero img { width: 200px; }
    .uh-pd-media .carousel-item img { height: 300px; }
}

@media (max-width: 420px) {
    .uh-store-grid { grid-template-columns: 1fr; }
}

/* ---------- sidebar drawer ---------- */
.uh-menu-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: background 0.2s ease;
}

.uh-menu-btn:hover { background: rgba(255, 255, 255, 0.22); }
.uh-topbar-inner .uh-menu-btn { margin-right: 2px; flex: 0 0 auto; }

.uh-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 60;
}

.uh-drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.uh-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 340px;
    max-width: 86vw;
    background: #fcfcfc;
    z-index: 61;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    padding: 18px;
    overflow-y: auto;
}

.uh-drawer::-webkit-scrollbar { width: 6px; }
.uh-drawer::-webkit-scrollbar-thumb { background: var(--uh-line-dark); border-radius: 6px; }

.uh-drawer.is-open { transform: translateX(0); }
body.uh-drawer-lock { overflow: hidden; }

.uh-drawer-user {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--uh-dark-surface);
    color: #ffffff;
    border-radius: var(--uh-radius-sm);
    padding: 16px;
    margin-bottom: 16px;
    flex: 0 0 auto;
}

.uh-drawer-user img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.uh-drawer-user h5 { margin: 0; font-family: "Fraunces", serif; font-size: 17px; font-weight: 600; }
.uh-drawer-user p { margin: 2px 0 0; font-size: 13px; color: #a3a3a3; word-break: break-all; }

.uh-drawer-menu { display: flex; flex-direction: column; gap: 2px; }

.uh-drawer-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--uh-ink-soft);
    font-size: 15px;
    font-weight: 500;
    padding: 11px 14px;
    border-radius: 12px;
    transition: background 0.15s ease, color 0.15s ease;
}

.uh-drawer-menu a i { font-size: 21px; width: 26px; text-align: center; color: var(--uh-muted); transition: color 0.15s ease; }
.uh-drawer-menu a:hover { background: var(--uh-purple-soft); color: var(--uh-ink); }
.uh-drawer-menu a:hover i { color: var(--uh-purple); }

.uh-drawer-menu a.is-active {
    background: var(--uh-purple-soft);
    color: var(--uh-purple);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--uh-purple);
}

.uh-drawer-menu a.is-active i { color: var(--uh-purple); }

/* ---------- webapp layout: topbar + persistent sidebar ---------- */
.uh-topbar-inner { position: relative; }

.uh-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.uh-topbar-left .uh-greet { text-align: left; }

.uh-brand-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* horizontal nav is the primary web navigation from 992px up */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .uh-navlinks a { padding: 9px 12px; font-size: 13.5px; }
    .uh-navlinks a i { font-size: 16px; }
}

@media (min-width: 992px) {
    .uh-brand-center { position: static; transform: none; }
    .uh-navlinks { margin: 0 auto; }
}

@media (min-width: 1200px) {
    .uh-drawer {
        transform: none;
        top: 92px;
        left: 22px;
        bottom: 22px;
        width: 268px;
        border: 1px solid var(--uh-line);
        border-radius: var(--uh-radius);
        box-shadow: var(--uh-shadow);
        z-index: 30;
        transition: transform 0.28s ease, opacity 0.28s ease;
    }

    .uh-drawer-backdrop { display: none; }
    .uh-drawer-user { display: none; }

    body.uh-with-sidebar .uh-main,
    body.uh-with-sidebar .uh-footer { margin-left: 306px; }

    body.uh-sidebar-collapsed .uh-drawer { transform: translateX(-120%); opacity: 0; }
    body.uh-sidebar-collapsed .uh-main,
    body.uh-sidebar-collapsed .uh-footer { margin-left: 0; }

    /* sidebar carries navigation on desktop; keep the topbar clean */
    body.uh-with-sidebar .uh-navlinks { display: none; }
}

@media (max-width: 575px) {
    .uh-topbar-left .uh-greet { display: none; }
    .uh-brand-center img { width: 110px; }
}

/* ---------- course detail: info card + sections ---------- */
.uh-cd-card {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 24px;
    display: flex;
    gap: 30px;
    margin-bottom: 22px;
    box-shadow: var(--uh-shadow);
}

.uh-cd-card-thumb {
    width: 320px;
    flex: 0 0 auto;
    align-self: flex-start;
    border-radius: var(--uh-radius-sm);
    overflow: hidden;
    background: linear-gradient(150deg, var(--uh-purple-soft), #f4f4f4);
    border: 1px solid var(--uh-line);
}

.uh-cd-card-thumb img { width: 100%; display: block; }

.uh-cd-card-body { flex: 1; min-width: 0; }

.uh-cd-card-body h2 {
    font-family: "Fraunces", serif;
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.uh-cd-card-body .uh-cd-desc { color: var(--uh-ink-soft); line-height: 1.7; margin: 0 0 8px; font-size: 15px; }

.uh-cd-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    font-size: 14px;
    color: var(--uh-muted);
    margin: 14px 0 18px;
    padding: 12px 0;
    border-top: 1px dashed var(--uh-line);
    border-bottom: 1px dashed var(--uh-line);
}

.uh-cd-byline .who { display: inline-flex; align-items: center; gap: 8px; color: var(--uh-ink); font-weight: 500; }
.uh-cd-byline .who img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.uh-cd-byline .star { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--uh-ink); }
.uh-cd-byline .star i { color: var(--uh-gold); font-size: 18px; }
.uh-cd-byline .pub { display: inline-flex; align-items: center; gap: 7px; }
.uh-cd-byline .pub i { font-size: 17px; color: var(--uh-purple); }

.uh-cd-chiprow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.uh-lessons-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--uh-purple-soft);
    border: 1px solid var(--uh-purple-line);
    color: var(--uh-ink-soft);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 9px 16px;
    border-radius: 999px;
}

.uh-lessons-chip b { color: var(--uh-purple); font-size: 15px; }

.uh-cd-module {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-left: 4px solid var(--uh-purple);
    border-radius: var(--uh-radius-sm);
    padding: 18px 20px;
    margin-bottom: 26px;
    box-shadow: var(--uh-shadow);
}

.uh-cd-module .mod-icon { font-size: 40px; color: var(--uh-purple); flex: 0 0 auto; }
.uh-cd-module > div { flex: 1; }
.uh-cd-module h5 { margin: 0 0 2px; font-size: 16.5px; font-weight: 700; }
.uh-cd-module .prog { color: var(--uh-purple); font-weight: 700; }

.uh-cd-arrow {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--uh-black);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.uh-cd-arrow:hover { background: var(--uh-purple); transform: translateX(2px); }

.uh-cd-sections h3 {
    font-family: "Fraunces", serif;
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 16px;
}

.uh-cd-section {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius-sm);
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.uh-cd-section:hover { border-color: var(--uh-purple-line); box-shadow: var(--uh-shadow); transform: translateX(3px); }

.uh-cd-section .sec-icon {
    font-size: 24px;
    color: var(--uh-purple);
    width: 50px;
    height: 50px;
    line-height: 48px;
    text-align: center;
    flex: 0 0 auto;
    background: var(--uh-purple-soft);
    border: 1px solid var(--uh-purple-line);
    border-radius: 14px;
}

.uh-cd-section h5 { margin: 0 0 3px; font-size: 15.5px; font-weight: 700; }
.uh-cd-section p { margin: 0; color: var(--uh-muted); font-size: 14px; }
.uh-cd-section .grow { flex: 1; min-width: 0; }
.uh-cd-check { color: #2f9e5f; font-size: 26px; flex: 0 0 auto; }

@media (max-width: 767px) {
    .uh-cd-card { flex-direction: column; gap: 18px; }
    .uh-cd-card-thumb { width: 100%; }
}

/* ---------- course detail: player ---------- */
.uh-cd-player {
    position: relative;
    border-radius: var(--uh-radius);
    overflow: hidden;
    background: var(--uh-black);
    margin-bottom: 26px;
    box-shadow: var(--uh-shadow);
}

.uh-cd-player > img {
    width: 100%;
    display: block;
    opacity: 0.6;
}

.uh-cd-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    color: #fff;
}

.uh-cd-ctrl {
    position: relative;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    opacity: 0.9;
}

.uh-cd-ctrl .skip-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.uh-cd-play {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.uh-cd-play:hover { transform: scale(1.07); background: var(--uh-purple); }
.uh-cd-play i { margin-left: 5px; }

.uh-cd-progressbar {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 52px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.25);
}

.uh-cd-progressbar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 32%;
    border-radius: 5px;
    background: linear-gradient(90deg, #f0b429, #ffd166);
}

.uh-cd-progressbar::after {
    content: "";
    position: absolute;
    left: 32%;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.45);
}

.uh-cd-timebar {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    font-size: 13px;
}

.uh-cd-timebar .sep { opacity: 0.6; }
.uh-cd-timebar .spacer { flex: 1; }

.uh-cd-timebar button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.85;
}

.uh-cd-about { font-family: "Fraunces", serif; font-size: 26px; font-weight: 600; margin: 0 0 18px; }

.uh-cd-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.uh-cd-stat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
}

.uh-cd-stat i { font-size: 20px; color: var(--uh-purple); }

/* ---------- course detail: banner + reviews ---------- */
.uh-cd-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--uh-dark-surface);
    color: #fff;
    border-radius: var(--uh-radius);
    padding: 26px 30px;
    margin: 34px 0 26px;
    box-shadow: 0 24px 44px -24px rgba(0, 0, 0, 0.55);
}

.uh-cd-banner::before,
.uh-cd-banner::after {
    content: "";
    position: absolute;
    right: 40px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.uh-cd-banner::before { top: -60px; }
.uh-cd-banner::after { bottom: -90px; right: 130px; }

.uh-cd-progress-icon {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 28px;
    color: #ffffff;
}

.uh-cd-banner h4 { margin: 0; font-family: "Fraunces", serif; font-size: 22px; font-weight: 600; }
.uh-cd-banner-sub { font-size: 17px; margin-top: 4px; color: #cfcfcf; }
.uh-cd-rate-icon { font-size: 44px; color: #f5c518; flex: 0 0 auto; }
.uh-cd-banner .spacer { flex: 1; }

.uh-cd-review-btn {
    position: relative;
    z-index: 1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.uh-cd-review-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.uh-cd-review {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius-sm);
    padding: 20px 24px;
    margin-bottom: 14px;
}

.uh-cd-review-head { display: flex; align-items: center; gap: 14px; }

.uh-cd-review-head img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--uh-purple-line);
}

.uh-cd-review-head h5 { margin: 0; font-size: 16.5px; font-weight: 600; }
.uh-cd-review-date { margin-left: auto; font-size: 13.5px; color: var(--uh-muted); }

.uh-cd-stars {
    color: var(--uh-gold);
    font-size: 17px;
    margin: 10px 0 8px;
    display: flex;
    gap: 2px;
}

.uh-cd-review p { margin: 0; color: var(--uh-ink-soft); line-height: 1.6; }

@media (max-width: 575px) {
    .uh-cd-banner { flex-wrap: wrap; }
    .uh-cd-banner .spacer { display: none; }
}

/* ---------- courses grid page ---------- */
.uh-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.uh-courses-grid .uh-course-card { width: auto; }

@media (max-width: 1100px) {
    .uh-courses-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
    .uh-courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
    .uh-courses-grid { grid-template-columns: 1fr; }
}

/* ---------- chat ---------- */
/* ---------- Lively Chat Interface Redesign ---------- */
.uh-chat {
    max-width: 920px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: calc(100vh - 200px) !important;
    min-height: 520px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08) !important;
}

.uh-chat-head {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.uh-chat-back {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.uh-chat-back:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
}

.uh-chat-avatar-wrap {
    position: relative !important;
}

.uh-chat-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.uh-chat-dot {
    position: absolute !important;
    bottom: 2px !important;
    right: 2px !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    border: 2px solid #0f172a !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4) !important;
    animation: pulse-online 2s infinite !important;
}

@keyframes pulse-online {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.uh-chat-who-sub {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #94a3b8 !important;
}

.uh-chat-who-name {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

.uh-chat-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    background: #f8fafc !important;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
}

.uh-chat-msg {
    max-width: 72% !important;
    margin-bottom: 16px !important;
    display: flex !important;
    flex-direction: column !important;
}

.uh-chat-bubble {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px 18px 18px 4px !important;
    padding: 12px 18px !important;
    box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.05) !important;
}

.uh-chat-sender {
    font-weight: 800 !important;
    font-size: 12.5px !important;
    margin-bottom: 4px !important;
    color: #2563eb !important;
}

.uh-chat-text {
    font-size: 14.5px !important;
    color: #0f172a !important;
    line-height: 1.55 !important;
    word-break: break-word !important;
}

.uh-chat-time {
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-top: 4px !important;
    font-weight: 600 !important;
}

/* Outgoing Messages (My Messages) */
.uh-chat-msg.is-out {
    align-self: flex-end !important;
    align-items: flex-end !important;
}

.uh-chat-msg.is-out .uh-chat-bubble {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: none !important;
    border-radius: 18px 18px 4px 18px !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
}

.uh-chat-msg.is-out .uh-chat-sender {
    color: #94a3b8 !important;
}

.uh-chat-msg.is-out .uh-chat-text {
    color: #ffffff !important;
}

.uh-chat-msg.is-out .uh-chat-time {
    color: #94a3b8 !important;
    text-align: right !important;
}

/* Lively Theme Loading State Spinner */
.uh-chat-loading {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: auto !important;
}

.uh-chat-loading .spinner-border {
    width: 2.2rem !important;
    height: 2.2rem !important;
    color: #0f172a !important;
    border-width: 3px !important;
}

/* Chat Footer Input Controls */
.uh-chat-foot {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    border-top: 1px solid #eaecf0 !important;
    background: #ffffff !important;
}

.uh-chat-inputwrap {
    position: relative !important;
    flex: 1 !important;
}

.uh-chat-input {
    width: 100% !important;
    border: 1px solid #d1d5db !important;
    background: #f8fafc !important;
    border-radius: 999px !important;
    padding: 12px 52px 12px 20px !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.uh-chat-input:focus {
    border-color: #0f172a !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
}

.uh-chat-attach {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #64748b !important;
    font-size: 22px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
}

.uh-chat-attach:hover {
    color: #0f172a !important;
}

.uh-chat-send {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 19px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    flex-shrink: 0 !important;
}

.uh-chat-send:hover {
    background: #000000 !important;
    transform: scale(1.06) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25) !important;
}

@media (max-width: 991px) {
    .uh-chat { height: calc(100vh - 300px); }
}

@media (max-width: 575px) {
    .uh-chat-msg { max-width: 86%; }
    .uh-chat-body { padding: 18px 14px; }
}

/* ---------- clickable card links (blogs / communities) ---------- */
.uh-blog-link,
.uh-comm-link { display: block; color: inherit; }
.uh-blog-link:hover,
.uh-comm-link:hover { color: inherit; }

/* ---------- blog detail ---------- */
.uh-bd-hero {
    border-radius: var(--uh-radius);
    overflow: hidden;
    border: 1px solid var(--uh-line);
    background: linear-gradient(150deg, var(--uh-purple-soft), #f4f4f4);
    margin-bottom: 26px;
    box-shadow: var(--uh-shadow);
}

.uh-bd-hero img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.uh-bd-title {
    font-family: "Fraunces", serif;
    font-size: 32px;
    font-weight: 550;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
}

.uh-bd-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    font-size: 14px;
    color: var(--uh-muted);
    padding: 14px 0;
    border-top: 1px dashed var(--uh-line);
    border-bottom: 1px dashed var(--uh-line);
    margin-bottom: 26px;
}

.uh-bd-meta span { display: inline-flex; align-items: center; gap: 7px; }
.uh-bd-meta i { font-size: 17px; color: var(--uh-ink); }

.uh-bd-content {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 34px 38px;
    box-shadow: var(--uh-shadow);
    margin-bottom: 40px;
}

.uh-bd-content p {
    font-size: 15.5px;
    color: var(--uh-ink-soft);
    line-height: 1.85;
    margin: 0 0 18px;
}

.uh-bd-content p:last-child { margin-bottom: 0; }

.uh-bd-content h3 {
    font-family: "Fraunces", serif;
    font-size: 21px;
    font-weight: 600;
    margin: 28px 0 12px;
}

.uh-bd-content h3:first-child { margin-top: 0; }

.uh-bd-content > p:first-of-type::first-letter {
    font-family: "Fraunces", serif;
    font-size: 46px;
    font-weight: 600;
    float: left;
    line-height: 0.85;
    padding: 6px 10px 0 0;
    color: var(--uh-black);
}

@media (max-width: 575px) {
    .uh-bd-hero img { height: 200px; }
    .uh-bd-title { font-size: 25px; }
    .uh-bd-content { padding: 24px 20px; }
}

/* ---------- communities list ---------- */
.uh-comm-hero-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--uh-line);
}
.uh-comm-hero-text { flex: 1; min-width: 280px; }
.uh-comm-subtitle {
    font-size: 15px;
    color: var(--uh-ink-soft);
    margin: 0;
    line-height: 1.5;
}
.uh-comm-stats-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.uh-comm-stat-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius-sm);
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.uh-comm-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--uh-purple-soft);
    color: var(--uh-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.uh-comm-stat-info strong { display: block; font-size: 16px; color: var(--uh-ink); font-weight: 700; line-height: 1.1; }
.uh-comm-stat-info span { font-size: 11.5px; color: var(--uh-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.uh-comm-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.uh-comm-search-form { flex: 1; max-width: 480px; min-width: 280px; }
.uh-comm-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.uh-comm-search-icon {
    position: absolute;
    left: 16px;
    font-size: 18px;
    color: var(--uh-muted);
    pointer-events: none;
}
.uh-comm-search-wrap input {
    width: 100%;
    padding: 12px 100px 12px 44px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: 999px;
    font-size: 14.5px;
    color: var(--uh-ink);
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.uh-comm-search-wrap input:focus {
    border-color: var(--uh-ink);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.uh-comm-search-clear {
    position: absolute;
    right: 85px;
    color: var(--uh-muted);
    font-size: 16px;
    cursor: pointer;
}
.uh-comm-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    background: var(--uh-black);
    color: #fff;
    border: none;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.uh-comm-search-btn:hover { background: var(--uh-purple-deep); }

.uh-comm-tabs {
    display: flex;
    background: #eaeaea;
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
}
.uh-comm-tab {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--uh-ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
}
.uh-comm-tab.active {
    background: var(--uh-card);
    color: var(--uh-ink);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.uh-comms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.uh-comm-card {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--uh-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.uh-comm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--uh-shadow-hover);
    border-color: var(--uh-line-dark);
}

.uh-comm-thumb {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
    overflow: hidden;
}
.uh-comm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.uh-comm-card:hover .uh-comm-thumb img { transform: scale(1.06); }

.uh-comm-overlay-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}
.uh-comm-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.badge-following { background: rgba(0, 0, 0, 0.85); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.3); }
.badge-owner { background: rgba(0, 0, 0, 0.85); color: #f0b429; border: 1px solid rgba(240, 180, 41, 0.3); }

.uh-comm-body {
    padding: 18px 20px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.uh-comm-creator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--uh-muted);
    margin-bottom: 8px;
}
.uh-comm-creator img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}
.uh-comm-creator strong { color: var(--uh-ink); font-weight: 600; }

.uh-comm-title {
    font-family: "Fraunces", serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
}
.uh-comm-title a { color: var(--uh-ink); text-decoration: none; transition: color 0.2s ease; }
.uh-comm-title a:hover { color: #2563eb; }

.uh-comm-desc {
    font-size: 13.5px;
    color: var(--uh-ink-soft);
    line-height: 1.55;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.uh-comm-desc-empty { font-style: italic; color: var(--uh-muted); }

.uh-comm-meta-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--uh-line);
    font-size: 12.5px;
    color: var(--uh-muted);
}
.uh-comm-meta-row i { color: var(--uh-ink); font-size: 15px; }
.uh-comm-meta-row b { color: var(--uh-ink); font-weight: 700; }

.uh-comm-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 16px;
    background: #fafafa;
    border-top: 1px solid var(--uh-line);
    gap: 10px;
}
.uh-comm-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--uh-ink);
    text-decoration: none;
    transition: gap 0.2s ease;
}
.uh-comm-btn-explore:hover { color: #2563eb; gap: 9px; }

.uh-comm-btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--uh-black);
    color: #fff;
    border: 1px solid var(--uh-black);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.uh-comm-btn-follow:hover { background: #222; }
.uh-comm-btn-follow.is-following {
    background: #fff;
    color: var(--uh-ink);
    border-color: var(--uh-line-dark);
}

/* ---------- blogs list ---------- */
.uh-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.uh-blogs-grid .uh-blog-card { width: auto; }

@media (max-width: 991px) {
    .uh-blogs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .uh-blogs-grid { grid-template-columns: 1fr; }
}

/* ---------- community detail ---------- */
.uh-cm-hero {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--uh-shadow);
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.uh-cm-hero-thumb {
    width: 240px;
    height: 180px;
    flex: 0 0 auto;
    border-radius: var(--uh-radius-sm);
    overflow: hidden;
    border: 1px solid var(--uh-line);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.uh-cm-hero-thumb img { width: 100%; height: 100%; object-fit: cover; }

.uh-cm-hero-content { flex: 1; min-width: 0; }
.uh-cm-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.uh-cm-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--uh-purple-soft);
    color: var(--uh-ink);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--uh-line);
}
.badge-followed { background: #e8f5e9; color: #2e7d32; border-color: #c8e6c9; }
.badge-owner { background: #fff8e1; color: #f57f17; border-color: #ffe082; }

.uh-cm-hero-title {
    font-family: "Fraunces", serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--uh-ink);
}
.uh-cm-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--uh-muted);
    margin-bottom: 14px;
}
.uh-cm-hero-creator-img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.uh-cm-hero-desc {
    font-size: 15px;
    color: var(--uh-ink-soft);
    line-height: 1.65;
    margin: 0 0 20px;
}

.uh-cm-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--uh-line);
}
.uh-cm-hero-stats { display: flex; gap: 24px; }
.uh-cm-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--uh-muted);
}
.uh-cm-stat-item i { font-size: 20px; color: var(--uh-ink); }
.uh-cm-stat-item b { color: var(--uh-ink); font-weight: 700; }

.uh-cm-hero-actions { display: flex; gap: 10px; }
.uh-btn-follow-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--uh-black);
    color: #fff;
    border: 1px solid var(--uh-black);
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.uh-btn-follow-hero:hover { background: #222; }
.uh-btn-follow-hero.is-following {
    background: #fff;
    color: var(--uh-ink);
    border-color: var(--uh-line-dark);
}

.uh-btn-share-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--uh-purple-soft);
    color: var(--uh-ink);
    border: 1px solid var(--uh-line);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.uh-btn-share-hero:hover { background: #e0e0e0; }

.uh-cm-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: flex-start;
}

.uh-cm-feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.uh-cm-feed-head h3 {
    font-family: "Fraunces", serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.uh-cm-feed-filter input {
    padding: 8px 16px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: 999px;
    font-size: 13.5px;
    outline: none;
    width: 200px;
}

.uh-cm-post-card {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--uh-shadow);
    transition: border-color 0.2s ease;
}
.uh-cm-post-card:hover { border-color: var(--uh-line-dark); }

.uh-cm-post-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.uh-cm-post-head img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--uh-line);
}
.uh-cm-post-author-name h5 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 700;
    color: var(--uh-ink);
}
.uh-cm-post-when {
    font-size: 12.5px;
    color: var(--uh-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.uh-cm-post-title {
    font-family: "Fraunces", serif;
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--uh-ink);
}
.uh-cm-post-text {
    color: var(--uh-ink-soft);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 16px;
}

.uh-cm-post-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px dashed var(--uh-line);
    padding-top: 14px;
}

.uh-cm-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.uh-cm-widget {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 22px;
    box-shadow: var(--uh-shadow);
}
.uh-cm-widget-title {
    font-family: "Fraunces", serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--uh-ink);
}
.uh-cm-widget-desc {
    font-size: 14px;
    color: var(--uh-ink-soft);
    line-height: 1.6;
    margin: 0;
}
.uh-cm-widget-divider {
    height: 1px;
    background: var(--uh-line);
    margin: 16px 0;
}
.uh-cm-widget-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.uh-cm-widget-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
}
.uh-cm-widget-info-item i {
    font-size: 22px;
    color: var(--uh-ink);
    width: 24px;
}
.uh-cm-widget-info-item span { display: block; font-size: 11.5px; color: var(--uh-muted); text-transform: uppercase; font-weight: 600; }
.uh-cm-widget-info-item strong { color: var(--uh-ink); font-weight: 600; }

.uh-cm-guidelines {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    color: var(--uh-ink-soft);
}
.uh-cm-guidelines li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}
.uh-cm-guidelines i { color: #2e7d32; font-size: 16px; margin-top: 2px; }

.uh-btn-all-comms {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--uh-purple-soft);
    color: var(--uh-ink);
    border: 1px solid var(--uh-line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.uh-btn-all-comms:hover { background: var(--uh-black); color: #fff; border-color: var(--uh-black); }

.uh-cm-empty {
    text-align: center;
    background: var(--uh-card);
    border: 1px dashed var(--uh-line-dark);
    border-radius: var(--uh-radius);
    padding: 50px 20px;
    color: var(--uh-muted);
}
.uh-cm-empty i { font-size: 44px; display: block; margin-bottom: 12px; color: var(--uh-line-dark); }

/* ---------- Community Detail Post Buttons ---------- */
.uh-cm-post-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    margin-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.uh-cm-act {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.uh-cm-act:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.uh-cm-act i {
    font-size: 16px !important;
    color: #64748b !important;
    transition: color 0.2s ease !important;
}

.uh-cm-act:hover i {
    color: #0f172a !important;
}

.uh-cm-act.cm-like.is-liked {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important;
}

.uh-cm-act.cm-like.is-liked i {
    color: #2563eb !important;
}

/* ---------- Dropzone Upload Component ---------- */
.uh-dropzone-box {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    user-select: none;
}

.uh-dropzone-box:hover,
.uh-dropzone-box.is-dragover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.uh-dropzone-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.uh-dropzone-box:hover .uh-dropzone-icon {
    transform: scale(1.1);
    background: #2563eb;
    color: #ffffff;
}

.uh-dropzone-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.uh-dropzone-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.uh-dropzone-file-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uh-dropzone-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.uh-dropzone-file-item i.las {
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.uh-dropzone-file-item .file-remove-btn {
    border: none;
    background: none;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.uh-dropzone-file-item .file-remove-btn:hover {
    background: #fef2f2;
}

@media (max-width: 767px) {
    .uh-cm-head { flex-direction: column; align-items: stretch; }
    .uh-cm-thumb { width: 100%; height: 170px; }
}

/* ---------- legal pages (terms / privacy) ---------- */
.uh-legal {
    max-width: 860px;
    margin: 0 auto;
    padding-top: 24px;
}

.uh-legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--uh-purple-soft);
    border: 1px solid var(--uh-line);
    color: var(--uh-ink-soft);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.uh-legal-updated i { color: var(--uh-gold); font-size: 16px; }

.uh-legal-intro {
    font-size: 16px;
    color: var(--uh-ink-soft);
    line-height: 1.75;
    margin: 0 0 28px;
}

.uh-legal-card {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 34px 38px;
    box-shadow: var(--uh-shadow);
    margin-bottom: 18px;
}

.uh-legal-card section + section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px dashed var(--uh-line);
}

.uh-legal-card h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: "Fraunces", serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.uh-legal-card h2 .num {
    font-size: 13px;
    font-weight: 700;
    color: var(--uh-muted);
    letter-spacing: 0.08em;
}

.uh-legal-card p {
    font-size: 15px;
    color: var(--uh-ink-soft);
    line-height: 1.75;
    margin: 0 0 12px;
}

.uh-legal-card p:last-child { margin-bottom: 0; }

.uh-legal-card ul {
    margin: 0 0 12px;
    padding-left: 22px;
}

.uh-legal-card li {
    font-size: 15px;
    color: var(--uh-ink-soft);
    line-height: 1.7;
    margin-bottom: 7px;
}

.uh-legal-card li::marker { color: var(--uh-gold); }

.uh-legal-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--uh-dark-surface);
    color: #d6d6d6;
    border-radius: var(--uh-radius);
    padding: 22px 26px;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.uh-legal-note i { font-size: 24px; color: #f0b429; flex: 0 0 auto; margin-top: 2px; }
.uh-legal-note b { color: #ffffff; }

@media (max-width: 575px) {
    .uh-legal-card { padding: 24px 20px; }
}

/* ---------- toastr theme ---------- */
#toast-container > .toast {
    border-radius: 14px;
    box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.4);
    font-family: "Outfit", sans-serif;
    opacity: 1;
}

.toast.toast-error { background: #b8422f; }
.toast.toast-success { background: #2f7d54; }
.toast.toast-info { background: var(--uh-purple-deep); }

/* ==================================================================
   Extended components: forms, lists, notifications, comments, lesson
   viewer — added to complete the "coming soon" features using the
   same tokens/patterns established above.
   ================================================================== */

/* ---------- generic authenticated-page form card ---------- */
.uh-form-card {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 30px 32px;
    box-shadow: var(--uh-shadow);
    max-width: 560px;
}

.uh-form-group { margin-bottom: 18px; }

.uh-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--uh-muted);
    margin-bottom: 8px;
}

.uh-form-input,
.uh-form-textarea,
.uh-form-select {
    width: 100%;
    background: #fbf8f3;
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius-sm);
    padding: 13px 18px;
    font-family: inherit;
    font-size: 15px;
    color: var(--uh-ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uh-form-input:focus,
.uh-form-textarea:focus,
.uh-form-select:focus {
    border-color: var(--uh-purple);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.uh-form-textarea { resize: vertical; min-height: 100px; }

.uh-form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.uh-form-row .uh-form-group { flex: 1; min-width: 160px; }

.uh-form-avatar-picker { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.uh-form-avatar-picker img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 1px solid var(--uh-line); }
.uh-form-avatar-picker label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--uh-line-dark);
    background: var(--uh-card); font-size: 13.5px; font-weight: 500; cursor: pointer;
    text-transform: none; letter-spacing: normal; color: var(--uh-ink); margin: 0;
    transition: border-color 0.2s ease;
}
.uh-form-avatar-picker label:hover { border-color: var(--uh-purple); }

.uh-form-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.uh-form-note { font-size: 13px; color: var(--uh-muted); margin: 6px 0 0; }

/* ---------- generic list card (certificates / billing) ---------- */
.uh-list-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 18px 22px;
    margin-bottom: 14px;
    box-shadow: var(--uh-shadow);
    flex-wrap: wrap;
}
.uh-list-card img { width: 64px; height: 64px; border-radius: var(--uh-radius-sm); object-fit: cover; flex: 0 0 auto; }
.uh-list-card .grow { flex: 1; min-width: 180px; }
.uh-list-card h5 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.uh-list-card p { margin: 0; font-size: 13.5px; color: var(--uh-muted); }
.uh-list-card .uh-list-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--uh-muted); margin-top: 6px; }

/* Meta row (icon + label chips) — global so it also applies inside goal cards / day details,
   with clear spacing between each item and between an item's icon and its text. */
.uh-list-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--uh-muted); margin-top: 6px; }
.uh-list-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.uh-list-meta > span i { font-size: 15px; color: var(--uh-purple); }
.uh-list-card .uh-list-actions { flex: 0 0 auto; display: flex; gap: 10px; }

/* ---------- notifications ---------- */
.uh-notif-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 20px; border-radius: var(--uh-radius); border: 1px solid var(--uh-line);
    background: var(--uh-card); margin-bottom: 10px; box-shadow: var(--uh-shadow);
}
.uh-notif-item.is-unseen { border-color: var(--uh-purple-line); background: var(--uh-purple-soft); }
.uh-notif-icon {
    width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%;
    background: var(--uh-black); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.uh-notif-item .grow h5 { margin: 0 0 3px; font-size: 15px; font-weight: 600; }
.uh-notif-item .grow p { margin: 0; font-size: 13.5px; color: var(--uh-ink-soft); }
.uh-notif-time { font-size: 12px; color: var(--uh-muted); margin-top: 6px; display: block; }
.uh-notif-del { border: none; background: none; color: var(--uh-muted); font-size: 18px; cursor: pointer; flex: 0 0 auto; padding: 4px; }
.uh-notif-del:hover { color: #c0392b; }
.uh-notif-toolbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }

/* ---------- community post comment thread ---------- */
.uh-comment-thread { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--uh-line); }
.uh-comment { display: flex; gap: 10px; margin-bottom: 12px; }
.uh-comment img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.uh-comment-body { flex: 1; background: var(--uh-purple-soft); border-radius: var(--uh-radius-sm); padding: 10px 14px; min-width: 0; }
.uh-comment-body h6 { margin: 0 0 2px; font-size: 13.5px; font-weight: 700; }
.uh-comment-body p { margin: 0; font-size: 13.5px; color: var(--uh-ink-soft); word-break: break-word; }
.uh-comment-meta { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.uh-comment-time { font-size: 11.5px; color: var(--uh-muted); }
.uh-comment-reply-btn, .uh-comment-del-btn { border: none; background: none; font-size: 12px; color: var(--uh-muted); cursor: pointer; padding: 0; font-weight: 600; }
.uh-comment-reply-btn:hover { color: var(--uh-purple); }
.uh-comment-del-btn:hover { color: #c0392b; }
.uh-comment-replies { margin-left: 44px; margin-top: 8px; }
.uh-comment-form { display: flex; gap: 10px; margin-top: 12px; }
.uh-comment-form input {
    flex: 1; border: 1px solid var(--uh-line); border-radius: 999px; padding: 10px 16px;
    font-size: 13.5px; outline: none; font-family: inherit; transition: border-color 0.2s ease;
}
.uh-comment-form input:focus { border-color: var(--uh-purple); }
.uh-comment-form button {
    border: none; background: var(--uh-black); color: #fff; width: 38px; height: 38px;
    border-radius: 50%; flex: 0 0 auto; cursor: pointer; font-size: 15px;
}
.uh-comment-form button:hover { background: var(--uh-purple-deep); }
.uh-comment-empty { font-size: 13px; color: var(--uh-muted); margin-top: 10px; }

/* ---------- review form ---------- */
.uh-review-form { background: var(--uh-card); border: 1px solid var(--uh-line); border-radius: var(--uh-radius); padding: 24px 26px; margin-bottom: 22px; box-shadow: var(--uh-shadow); }
.uh-review-form .uh-stars { font-size: 26px; margin-bottom: 12px; }

/* ---------- lesson viewer ---------- */
.uh-lesson-head { margin-bottom: 20px; }
.uh-lesson-crumb { font-size: 13px; color: var(--uh-muted); margin-bottom: 6px; }
.uh-lesson-crumb a { color: var(--uh-muted); }
.uh-lesson-crumb a:hover { color: var(--uh-purple); }
.uh-lesson-media { border-radius: var(--uh-radius); overflow: hidden; box-shadow: var(--uh-shadow); margin-bottom: 22px; background: var(--uh-black); }
.uh-lesson-media video, .uh-lesson-media img { width: 100%; display: block; }
.uh-lesson-desc { background: var(--uh-card); border: 1px solid var(--uh-line); border-radius: var(--uh-radius); padding: 22px 26px; margin-bottom: 22px; }
.uh-lesson-desc h3 { font-family: "Fraunces", serif; font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.uh-lesson-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.uh-lesson-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.uh-lesson-complete-badge { display: inline-flex; align-items: center; gap: 6px; color: #1a8f4c; font-weight: 600; font-size: 14px; }
.uh-lesson-assignment { border: 1px dashed var(--uh-line); border-radius: var(--uh-radius-sm); padding: 18px 20px; margin-bottom: 14px; }
.uh-lesson-assignment h5 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.uh-lesson-assignment .status-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--uh-purple-soft); color: var(--uh-ink); margin-top: 8px; }

@media (max-width: 575px) {
    .uh-form-card { padding: 22px 18px; }
    .uh-list-card { padding: 16px; }
    .uh-comment-replies { margin-left: 20px; }
}

.replying-to { font-size: 12.5px; color: var(--uh-muted); margin: 10px 0 6px; }
.replying-to b { color: var(--uh-ink); }
.replying-to .cancel-reply { color: #c0392b; margin-left: 6px; text-decoration: none; }

/* ---------- cart / checkout ---------- */
.uh-cart-layout { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.uh-cart-items { flex: 1 1 480px; min-width: 280px; }
.uh-cart-summary {
    flex: 0 0 320px; min-width: 280px; background: var(--uh-card); border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius); padding: 24px 26px; box-shadow: var(--uh-shadow); position: sticky; top: 90px;
}
.uh-cart-summary h4 { font-family: "Fraunces", serif; font-size: 19px; font-weight: 600; margin: 0 0 16px; }
.uh-cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--uh-ink-soft); margin-bottom: 10px; }
.uh-cart-summary-row.is-discount { color: #1a8f4c; }
.uh-cart-summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--uh-line); }

.uh-cart-item {
    display: flex; gap: 16px; align-items: center; background: var(--uh-card); border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius); padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--uh-shadow); flex-wrap: wrap;
}
.uh-cart-item img { width: 72px; height: 72px; border-radius: var(--uh-radius-sm); object-fit: cover; flex: 0 0 auto; }
.uh-cart-item .grow { flex: 1; min-width: 160px; }
.uh-cart-item h5 { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; }
.uh-cart-item .price-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.uh-cart-item .out-of-stock { color: #c0392b; font-size: 12.5px; font-weight: 600; margin-top: 4px; display: block; }
.uh-qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--uh-line); border-radius: 999px; overflow: hidden; }
.uh-qty-stepper button { width: 32px; height: 32px; border: none; background: var(--uh-purple-soft); font-size: 16px; cursor: pointer; }
.uh-qty-stepper button:hover { background: var(--uh-line); }
.uh-qty-stepper span { width: 36px; text-align: center; font-size: 14px; font-weight: 600; }
.uh-cart-item-remove { border: none; background: none; color: var(--uh-muted); font-size: 20px; cursor: pointer; flex: 0 0 auto; }
.uh-cart-item-remove:hover { color: #c0392b; }

.uh-coupon-row { display: flex; gap: 10px; margin-bottom: 18px; }
.uh-coupon-row input { flex: 1; }
.uh-coupon-applied {
    display: flex; align-items: center; justify-content: space-between; background: #eafaf1; border: 1px solid #b9e8ce;
    border-radius: var(--uh-radius-sm); padding: 10px 14px; margin-bottom: 18px; font-size: 13.5px; color: #1a8f4c;
}
.uh-coupon-applied button { border: none; background: none; color: #1a8f4c; font-size: 16px; cursor: pointer; }

.uh-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 20px; }
.uh-address-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    background: #ffffff;
}
.uh-address-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.uh-address-card.is-selected {
    border-color: #0f172a;
    background: #f8fafc;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}
.uh-address-card h6 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #0f172a; }
.uh-address-card p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.5; }
.uh-address-card .badge-default {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 10px;
    font-weight: 800;
    background: #0f172a;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.uh-address-new-toggle { margin-bottom: 18px; }

/* ---------- Checkout 3-Step Progress Header ---------- */
.uh-checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.uh-checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.uh-checkout-step.is-active {
    color: #0f172a;
}

.uh-checkout-step.is-completed {
    color: #10b981;
}

.uh-checkout-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.uh-checkout-step.is-active .uh-checkout-step-num {
    background: #0f172a;
    color: #ffffff;
}

.uh-checkout-step.is-completed .uh-checkout-step-num {
    background: #10b981;
    color: #ffffff;
}

.uh-checkout-step-line {
    width: 36px;
    height: 2px;
    background: #e2e8f0;
}

.uh-checkout-step-line.is-active {
    background: #10b981;
}

/* ---------- Order Items Breakdown Card ---------- */
.uh-checkout-items-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.uh-checkout-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.uh-checkout-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.uh-checkout-item-row img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.uh-checkout-item-row .item-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.uh-checkout-item-row .item-qty {
    font-size: 12.5px;
    color: #64748b;
}

.uh-checkout-item-row .item-price {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-left: auto;
}

.uh-trust-badges {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uh-trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

.uh-trust-badge-item i {
    font-size: 18px;
    color: #10b981;
}

.uh-payment-card { max-width: 520px; margin: 0 auto; }
#payment-element { margin-bottom: 20px; }
.uh-order-summary-mini { background: var(--uh-purple-soft); border-radius: var(--uh-radius-sm); padding: 16px 18px; margin-bottom: 22px; }
.uh-order-summary-mini .row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; }
.uh-order-summary-mini .row.total { font-weight: 700; font-size: 15px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--uh-line-dark); }

.uh-order-success { text-align: center; max-width: 480px; margin: 0 auto; }
.uh-order-success-icon { font-size: 72px; color: #1a8f4c; margin-bottom: 18px; }
.uh-order-success h1 { font-family: "Fraunces", serif; font-size: 28px; margin-bottom: 10px; }
.uh-order-success .order-number { font-size: 15px; color: var(--uh-muted); margin-bottom: 24px; }
.uh-order-items { text-align: left; background: var(--uh-card); border: 1px solid var(--uh-line); border-radius: var(--uh-radius); padding: 20px 24px; margin-bottom: 24px; }
.uh-order-items .row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--uh-line); }
.uh-order-items .row:last-child { border-bottom: none; }

@media (max-width: 767px) {
    .uh-cart-summary { position: static; }
}

/* ---------- chat loading state ---------- */
.uh-chat-loading {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--uh-muted);
    font-size: 14px;
}
.uh-chat-loading .spinner-border {
    width: 2rem;
    height: 2rem;
    color: var(--uh-ink);
}
.uh-chat-body .no-data-text {
    margin: auto;
    color: var(--uh-muted);
    font-size: 14px;
    text-align: center;
}
.uh-chat-body .no-data-text a { color: var(--uh-purple); font-weight: 600; }

/* ---------- marketing resources ---------- */
.uh-marketing-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.uh-filter-chip {
    padding: 8px 18px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: 999px;
    color: var(--uh-ink-soft);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}
.uh-filter-chip:hover {
    background: var(--uh-purple-soft);
    color: var(--uh-ink);
}
.uh-filter-chip.is-active {
    background: var(--uh-purple-deep);
    color: #ffffff;
    border-color: var(--uh-purple-deep);
}
.uh-marketing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}
.uh-marketing-card {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    overflow: hidden;
    box-shadow: var(--uh-shadow);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.uh-marketing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--uh-shadow-hover);
}
.uh-marketing-thumb {
    height: 190px;
    position: relative;
    background: var(--uh-purple-soft);
    overflow: hidden;
}
.uh-marketing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.uh-marketing-card:hover .uh-marketing-thumb img {
    transform: scale(1.05);
}
.uh-marketing-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.uh-marketing-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.uh-marketing-body h5 {
    margin: 0 0 16px 0;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--uh-ink);
}
.uh-marketing-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.uh-marketing-actions .uh-btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 13.5px;
    text-align: center;
    border-radius: var(--uh-radius-sm);
    justify-content: center;
}

/* Category Index Page Layout */
.uh-category-card {
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    overflow: hidden;
    box-shadow: var(--uh-shadow);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.uh-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--uh-shadow-hover);
}
.uh-category-thumb {
    height: 200px;
    position: relative;
    background: var(--uh-purple-soft);
    overflow: hidden;
}
.uh-category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.uh-category-card:hover .uh-category-thumb img {
    transform: scale(1.05);
}
.uh-category-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}
.uh-category-body h3 {
    margin: 0 0 8px 0;
    font-family: "Fraunces", serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--uh-ink);
}
.uh-category-body p {
    margin: 0 0 16px 0;
    font-size: 13.5px;
    color: var(--uh-muted);
    line-height: 1.5;
}
.uh-category-explore-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--uh-purple-deep);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: transform 0.2s ease;
}
.uh-category-card:hover .uh-category-explore-link {
    transform: translateX(4px);
}

/* Category header banner */
.uh-category-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--uh-purple-soft);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 24px 28px;
    margin-bottom: 28px;
}
.uh-category-banner img {
    width: 72px;
    height: 72px;
    border-radius: var(--uh-radius-sm);
    object-fit: cover;
}
.uh-category-banner-text h2 {
    margin: 0 0 4px 0;
    font-family: "Fraunces", serif;
    font-size: 24px;
    font-weight: 650;
}
.uh-category-banner-text p {
    margin: 0;
    font-size: 14px;
    color: var(--uh-ink-soft);
}
.uh-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 14.5px;
    font-weight: 500;
    border: 1px solid var(--uh-line-dark);
    background: var(--uh-card);
    color: var(--uh-ink);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}
.uh-back-btn:hover {
    background: var(--uh-purple-soft);
    border-color: var(--uh-purple-line);
    color: var(--uh-purple-deep);
}


/* ---------- My Courses: progress + completed badge ---------- */
.uh-course-badge.is-done {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1a8f4c;
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}
.uh-course-progress { margin-top: 12px; }
.uh-course-progress-bar {
    height: 7px;
    border-radius: 999px;
    background: var(--uh-line);
    overflow: hidden;
}
.uh-course-progress-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--uh-gold), #ffd166);
    transition: width 0.4s ease;
}
.uh-course-progress-label {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--uh-muted);
}

/* ---------- Course detail: lesson group with all steps ---------- */
.uh-lg { margin-bottom: 16px; border: 1px solid var(--uh-line); border-radius: var(--uh-radius); background: var(--uh-card); box-shadow: var(--uh-shadow); overflow: hidden; }
.uh-lg-head {
    display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer;
    user-select: none; transition: background 0.15s ease;
}
.uh-lg-head:hover { background: var(--uh-purple-soft); }
.uh-lg-icon {
    width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; background: var(--uh-purple-soft); color: var(--uh-purple); font-size: 20px;
}
.uh-lg-head .grow { flex: 1; min-width: 0; }
.uh-lg-head h4 { margin: 0; font-size: 15.5px; font-weight: 600; }
.uh-lg-head .uh-lg-sub { font-size: 12.5px; color: var(--uh-muted); margin-top: 2px; }
.uh-lg-chev { flex: 0 0 auto; color: var(--uh-muted); font-size: 20px; transition: transform 0.2s ease; }
.uh-lg.is-open .uh-lg-chev { transform: rotate(180deg); }
.uh-lg-steps { display: none; border-top: 1px solid var(--uh-line); }
.uh-lg.is-open .uh-lg-steps { display: block; }
.uh-lg-step {
    display: flex; align-items: center; gap: 14px; padding: 13px 20px 13px 24px; text-decoration: none;
    color: inherit; border-top: 1px solid var(--uh-line); transition: background 0.15s ease;
}
.uh-lg-step:first-child { border-top: none; }
.uh-lg-step:hover { background: var(--uh-purple-soft); }
.uh-lg-step-icon { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--uh-bg); color: var(--uh-ink-soft); font-size: 17px; }
.uh-lg-step .grow { flex: 1; min-width: 0; }
.uh-lg-step h5 { margin: 0; font-size: 14px; font-weight: 500; }
.uh-lg-step .uh-lg-type { font-size: 11.5px; color: var(--uh-muted); text-transform: capitalize; margin-top: 1px; }
.uh-lg-step-check { flex: 0 0 auto; font-size: 19px; color: #1a8f4c; }
.uh-lg-step-arrow { flex: 0 0 auto; font-size: 18px; color: var(--uh-muted); }
.uh-lg-step.is-locked { opacity: 0.55; cursor: not-allowed; }

/* ---------- lesson viewer: type tag ---------- */
.uh-lesson-type-tag {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em; color: var(--uh-purple);
    background: var(--uh-purple-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.uh-lesson-type-tag i { font-size: 15px; }

/* ---------- documents: category chips ---------- */
.uh-doc-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.uh-doc-cat {
    display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 999px;
    border: 1px solid var(--uh-line); background: var(--uh-card); font-size: 13.5px; font-weight: 500;
    color: var(--uh-ink-soft); text-decoration: none; transition: all 0.18s ease;
}
.uh-doc-cat:hover { border-color: var(--uh-purple-line); color: var(--uh-ink); }
.uh-doc-cat.is-active { background: var(--uh-black); color: #fff; border-color: var(--uh-black); }

.uh-section-head-actions { display: inline-flex; align-items: center; gap: 16px; }

/* profile shortcuts (greeting + drawer user header link to profile) */
a.uh-greet { text-decoration: none; color: inherit; cursor: pointer; }
a.uh-drawer-user { text-decoration: none; color: inherit; cursor: pointer; transition: background 0.15s ease; }
a.uh-drawer-user:hover { background: var(--uh-purple-soft); border-radius: var(--uh-radius-sm); }

/* ---------- schedule: full calendar + day details ---------- */
.uh-calendar-full { max-width: 100%; }
.uh-calendar-full .uh-cal-grid-full .uh-cal-day {
    aspect-ratio: auto;
    min-height: 74px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 8px 10px;
    position: relative;
}
.uh-cal-daynum { font-size: 14px; font-weight: 600; }
.uh-cal-day.is-clickable { cursor: pointer; }
.uh-cal-day.is-clickable:hover { filter: brightness(1.1); box-shadow: inset 0 0 0 2px rgba(0,0,0,0.15); }
.uh-cal-dot-goal, .uh-cal-dot-schedule, .uh-cal-dot-both {
    position: absolute; bottom: 8px; left: 10px; width: 8px; height: 8px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}
@media (max-width: 575px) {
    .uh-calendar-full .uh-cal-grid-full .uh-cal-day { min-height: 52px; padding: 6px; }
    .uh-cal-daynum { font-size: 12.5px; }
}

.uh-day-details {
    background: var(--uh-card); border: 1px solid var(--uh-line); border-radius: var(--uh-radius);
    padding: 22px 24px; box-shadow: var(--uh-shadow); margin-top: 20px;
}
.uh-day-details-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.uh-day-details-head h3 { font-family: "Fraunces", serif; font-size: 18px; font-weight: 600; margin: 0; }
.uh-day-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--uh-line); }
.uh-day-item:last-child { border-bottom: none; padding-bottom: 0; }
.uh-day-item-icon {
    width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: var(--uh-black);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.uh-day-item h5 { margin: 0 0 5px; font-size: 15px; font-weight: 600; }
.uh-day-item p { margin: 6px 0 0; font-size: 13.5px; color: var(--uh-ink-soft); }

/* ---------- lesson document viewer (pdf / office) ---------- */
.uh-doc-viewer { background: #fff; }
.uh-doc-viewer iframe {
    width: 100%;
    height: 74vh;
    min-height: 420px;
    border: none;
    display: block;
    background: #fff;
}
.uh-doc-actions { margin-top: 14px; margin-bottom: 24px; flex-wrap: wrap; }

.uh-doc-fallback {
    display: flex; align-items: center; gap: 16px;
    background: var(--uh-card); border: 1px dashed var(--uh-line-dark);
    border-radius: var(--uh-radius); padding: 24px 26px; margin-bottom: 6px;
}
.uh-doc-fallback > i { font-size: 40px; color: var(--uh-purple); flex: 0 0 auto; }
.uh-doc-fallback h5 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.uh-doc-fallback p { margin: 0; font-size: 13.5px; color: var(--uh-muted); }

@media (max-width: 575px) {
    .uh-doc-viewer iframe { height: 58vh; min-height: 320px; }
    .uh-doc-fallback { padding: 18px; }
}

/* ---------- goal card with expandable full details ---------- */
.uh-goal-card {
    background: var(--uh-card); border: 1px solid var(--uh-line); border-radius: var(--uh-radius);
    margin-bottom: 14px; box-shadow: var(--uh-shadow); overflow: hidden;
}
.uh-goal-card-head,
.uh-goal-head { display: flex; align-items: center; gap: 18px; padding: 18px 22px; flex-wrap: wrap; }
.uh-goal-card-head .grow,
.uh-goal-head .grow { flex: 1; min-width: 180px; }
.uh-goal-card-head h5,
.uh-goal-title { margin: 4px 0; font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: #0f172a; }
.uh-goal-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fef3c7;
    color: #d97706;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.uh-goal-actions,
.uh-goal-card .uh-list-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }

.uh-goal-body {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    padding: 0 22px;
    border-top: 1px dashed transparent;
}
.uh-goal-card.is-open .uh-goal-body {
    max-height: 1200px; opacity: 1; padding: 18px 22px 20px;
    border-top-color: var(--uh-line);
}

.uh-goal-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.uh-goal-field-wide { grid-column: 1 / -1; }
.uh-goal-label {
    display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--uh-muted); margin-bottom: 5px;
}
.uh-goal-label i { font-size: 14px; margin-right: 4px; color: var(--uh-purple); }
.uh-goal-field p { margin: 0; font-size: 14px; color: var(--uh-ink); line-height: 1.55; white-space: pre-line; }
.uh-goal-created { margin: 16px 0 0; font-size: 12px; color: var(--uh-muted); font-style: italic; }

@media (max-width: 575px) {
    .uh-goal-card-head { padding: 14px 16px; gap: 12px; }
    .uh-goal-card.is-open .uh-goal-body { padding: 14px 16px 16px; }
}

/* ---------- course completed → certificate banner ---------- */
.uh-cert-banner {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: linear-gradient(135deg, #1c1c1c 0%, #000 100%);
    color: #fff; border-radius: var(--uh-radius); padding: 22px 26px; margin-bottom: 22px;
    box-shadow: var(--uh-shadow);
}
.uh-cert-banner .grow { flex: 1; min-width: 200px; }
.uh-cert-banner h4 { margin: 0 0 4px; font-family: "Fraunces", serif; font-size: 19px; font-weight: 600; color: #ffffff; }
.uh-cert-banner p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.85); }
.uh-cert-icon {
    width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%;
    background: #ffffff; color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.uh-cert-banner .uh-btn-dark, .uh-cert-banner .uh-btn-white, .uh-cert-banner a.uh-btn {
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
.uh-cert-banner .uh-btn-dark:hover, .uh-cert-banner .uh-btn-white:hover, .uh-cert-banner a.uh-btn:hover {
    background: #f8fafc !important;
    color: #000000 !important;
    filter: brightness(1.08);
}

/* ---------- reusable "no data found" empty state ---------- */
.uh-nodata {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 40px 24px; margin-bottom: 24px;
    background: var(--uh-card); border: 1px dashed var(--uh-line-dark); border-radius: var(--uh-radius);
}
.uh-nodata-icon {
    width: 64px; height: 64px; border-radius: 50%; background: var(--uh-purple-soft);
    display: flex; align-items: center; justify-content: center; font-size: 30px;
    color: var(--uh-muted); margin-bottom: 14px;
}
.uh-nodata h4 { margin: 0 0 6px; font-family: "Fraunces", serif; font-size: 18px; font-weight: 600; color: var(--uh-ink); }
.uh-nodata p { margin: 0; font-size: 13.5px; color: var(--uh-muted); max-width: 340px; }

/* ==================================================================
   Course detail — redesigned hero
   ================================================================== */
.uh-ch {
    display: flex;
    gap: 26px;
    background: var(--uh-card);
    border: 1px solid var(--uh-line);
    border-radius: var(--uh-radius);
    padding: 22px;
    box-shadow: var(--uh-shadow);
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.uh-ch-media {
    position: relative;
    flex: 0 0 320px;
    max-width: 100%;
    border-radius: var(--uh-radius-sm);
    overflow: hidden;
    background: var(--uh-purple-soft);
    align-self: flex-start;
}
.uh-ch-media img { width: 100%; height: 100%; min-height: 200px; max-height: 260px; object-fit: cover; display: block; }
.uh-ch-badge {
    position: absolute; top: 12px; left: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    background: #1a8f4c; color: #fff; font-size: 12px; font-weight: 700;
    padding: 6px 12px; border-radius: 999px;
}
.uh-ch-badge i { font-size: 14px; }

.uh-ch-body { flex: 1; min-width: 260px; display: flex; flex-direction: column; }
.uh-ch-title { font-family: "Fraunces", serif; font-size: 27px; font-weight: 600; line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.01em; }

.uh-ch-stats { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 14px; }
.uh-ch-stats span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--uh-ink-soft); }
.uh-ch-stats span i { font-size: 17px; color: var(--uh-purple); }
.uh-ch-stats span em { color: var(--uh-muted); font-style: normal; }

.uh-ch-desc { font-size: 14.5px; color: var(--uh-ink-soft); line-height: 1.6; margin: 0 0 18px; }

.uh-ch-progress { margin-bottom: 20px; margin-top: auto; }
.uh-ch-progress-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--uh-muted); margin-bottom: 7px; }
.uh-ch-bar { height: 9px; border-radius: 999px; background: var(--uh-purple-soft); overflow: hidden; }
.uh-ch-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #2b2b2b, #000); transition: width 0.4s ease; }

.uh-ch-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.uh-ch-actions .uh-btn { padding: 11px 22px; font-size: 14.5px; }
.uh-ch-actions .uh-btn.is-disabled { opacity: 0.55; pointer-events: none; }
.uh-ch-actions .uh-btn.is-wished i { color: #e0245e; }

@media (max-width: 767px) {
    .uh-ch { padding: 16px; gap: 18px; }
    .uh-ch-media { flex-basis: 100%; }
    .uh-ch-media img { max-height: 220px; }
    .uh-ch-title { font-size: 22px; }
    .uh-ch-actions .uh-btn { flex: 1; justify-content: center; }
}

/* ---------- User Store Pagination ---------- */
.uh-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 36px;
    padding-top: 16px;
}

.uh-pagination-wrapper .pagination {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.uh-pagination-wrapper .page-item .page-link {
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    border: 1px solid #eaecf0 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.uh-pagination-wrapper .page-item .page-link:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.uh-pagination-wrapper .page-item.active .page-link {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

.uh-pagination-wrapper .page-item.disabled .page-link {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background: #f8fafc !important;
}

/* ==========================================================================
   REDESIGNED USER STORE PAGE CSS
   ========================================================================== */

.uh-store-toolbar {
    background: #ffffff !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03) !important;
}

.uh-store-toolbar-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-bottom: 16px !important;
}

.uh-store-search-form {
    flex: 1 !important;
    min-width: 280px !important;
}

.uh-store-search-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.uh-store-search-icon {
    position: absolute !important;
    left: 16px !important;
    font-size: 18px !important;
    color: #94a3b8 !important;
    pointer-events: none !important;
}

.uh-store-search-wrap input {
    width: 100% !important;
    height: 44px !important;
    padding: 0 100px 0 46px !important;
    border-radius: 999px !important;
    border: 1px solid #d1d5db !important;
    background: #f8fafc !important;
    font-size: 14px !important;
    color: #0f172a !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.uh-store-search-wrap input:focus {
    border-color: #0f172a !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
}

.uh-store-search-clear {
    position: absolute !important;
    right: 92px !important;
    color: #94a3b8 !important;
    font-size: 16px !important;
    padding: 4px !important;
    text-decoration: none !important;
}
.uh-store-search-clear:hover { color: #dc2626 !important; }

.uh-store-search-btn {
    position: absolute !important;
    right: 4px !important;
    height: 36px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}
.uh-store-search-btn:hover { background: #000000 !important; }

.uh-store-sort-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.uh-store-sort-label {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    color: #64748b !important;
    text-transform: uppercase !important;
}

.uh-store-sort-select {
    height: 42px !important;
    padding: 0 36px 0 14px !important;
    border-radius: 10px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}
.uh-store-sort-select:focus { border-color: #0f172a !important; }

.uh-store-cats {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.uh-store-cat-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: #f1f5f9 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.uh-store-cat-pill:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.uh-store-cat-pill.active {
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

/* Store Products Grid */
.uh-store-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
}

@media (max-width: 1199px) {
    .uh-store-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    .uh-store-grid { grid-template-columns: 1fr !important; }
}

.uh-product-card {
    background: #ffffff !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
}

.uh-product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1 !important;
}

.uh-product-thumb {
    height: 220px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.uh-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.uh-product-card:hover .uh-product-thumb img {
    transform: scale(1.08) !important;
}

.uh-product-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 5px 13px !important;
    border-radius: 999px !important;
    z-index: 2 !important;
}

.badge-sale-pill {
    background: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
}

.badge-cat-pill {
    background: rgba(15, 23, 42, 0.85) !important;
    color: #ffffff !important;
    backdrop-filter: blur(6px) !important;
}

.uh-product-body {
    padding: 20px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.uh-product-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.uh-product-rating {
    color: #f59e0b !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.uh-product-cat-name {
    color: #64748b !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
}

.uh-product-title-text {
    font-size: 17.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #0f172a !important;
    margin: 0 0 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.uh-product-title-text a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.uh-product-card:hover .uh-product-title-text a {
    color: #2563eb !important;
}

.uh-product-price-box {
    margin-top: auto !important;
    padding-top: 10px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
}

.uh-price-current {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.uh-price-original {
    font-size: 14px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
}

.uh-product-footer-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    background: #fafafa !important;
    border-top: 1px solid #f1f5f9 !important;
    gap: 12px !important;
}

.uh-btn-cta-view {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: #0f172a !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.uh-btn-cta-view:hover {
    background: #000000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    color: #ffffff !important;
}

.uh-action-icons-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ==========================================================================
   REDESIGNED USER SCHEDULE PAGE CSS
   ========================================================================== */

.uh-sched-card {
    display: flex;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 16px !important;
    padding: 18px 22px !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.25s ease !important;
    gap: 20px !important;
}

.uh-sched-card.d-none {
    display: none !important;
}

.uh-sched-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.uh-sched-date-box {
    width: 68px !important;
    height: 74px !important;
    border-radius: 14px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

.uh-sched-month {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #94a3b8 !important;
}

.uh-sched-day {
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

.uh-sched-dow {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    text-transform: uppercase !important;
    margin-top: 2px !important;
}

.uh-sched-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.uh-sched-badge {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
}

.badge-upcoming {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

.badge-past {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
}

.uh-sched-title {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
    line-height: 1.3 !important;
}

.uh-sched-time-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.uh-sched-time-item {
    font-size: 13.5px !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.uh-sched-duration-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

.uh-sched-note-box {
    font-size: 13px !important;
    color: #64748b !important;
    background: #f8fafc !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border-left: 3px solid #cbd5e1 !important;
}

.uh-sched-actions {
    flex-shrink: 0 !important;
}

.uh-btn-zoom-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
    transition: all 0.2s ease !important;
}

.uh-btn-zoom-cta:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3) !important;
}

@media (max-width: 767px) {
    .uh-sched-card {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .uh-sched-actions {
        width: 100% !important;
        margin-top: 10px !important;
    }
    .uh-btn-zoom-cta {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   REDESIGNED MARKETING DOCUMENT CARDS CSS
   ========================================================================== */

.uh-doc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 30px !important;
}

@media (max-width: 1199px) {
    .uh-doc-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    .uh-doc-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Upgraded Marketing Material Cards with Image Previews ---------- */
.uh-doc-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
}

.uh-doc-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1 !important;
}

.uh-doc-card-banner {
    position: relative;
    width: 100%;
    height: 175px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.uh-doc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.uh-doc-card:hover .uh-doc-card-img {
    transform: scale(1.06);
}

.uh-doc-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    transition: transform 0.25s ease;
}

.uh-doc-card:hover .uh-doc-icon-fallback {
    transform: scale(1.08);
}

.uh-doc-type-pill-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    z-index: 2;
    display: inline-flex;
    align-items: center;
}

.uh-doc-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.uh-doc-icon-box {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    flex-shrink: 0 !important;
}

.uh-doc-type-pill {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.uh-doc-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.uh-doc-title {
    font-family: "Outfit", sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
    line-height: 1.35 !important;
}

.uh-doc-desc {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 16px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.uh-doc-footer {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.uh-btn-doc-view {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #d1d5db !important;
    transition: all 0.2s ease !important;
}

.uh-btn-doc-view:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

.uh-btn-doc-download {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: #0f172a !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.uh-btn-doc-download:hover {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

/* ==========================================================================
   REDESIGNED MARKETING CATEGORY TILES CSS (NO IMAGE FALLBACK)
   ========================================================================== */

.uh-category-tile {
    background: #ffffff !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 16px !important;
    padding: 22px !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
}

.uh-category-tile:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1 !important;
}

.uh-cat-tile-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.uh-cat-icon-box {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    flex-shrink: 0 !important;
}

.uh-cat-badge {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.uh-cat-tile-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.uh-cat-tile-body h3 {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
    line-height: 1.35 !important;
}

.uh-cat-tile-body p {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 16px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.uh-cat-tile-footer {
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: auto !important;
}

.uh-cat-explore-link {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: transform 0.2s ease !important;
}

.uh-category-tile:hover .uh-cat-explore-link {
    transform: translateX(4px) !important;
    color: #1d4ed8 !important;
}

/* ============================================================
   BLACK & WHITE LUXURY DASHBOARD REDESIGN (dashboard_preview.html)
   ============================================================ */

.uh-guest-strip {
    background: #ffffff;
    border: 1px solid #eaecf0;
    color: #334155;
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
}

.uh-guest-strip a {
    color: #0b0f17;
    font-weight: 700;
    text-decoration: underline;
}

.uh-store-toolbar {
    margin-bottom: 28px;
}

.uh-store-search-form {
    width: 100%;
}

.uh-store-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.uh-store-search-icon {
    position: absolute;
    left: 20px;
    font-size: 20px;
    color: #64748b;
    pointer-events: none;
    z-index: 2;
}

.uh-store-search-wrap input {
    width: 100%;
    padding: 14px 140px 14px 52px;
    font-size: 14.5px;
    font-family: 'Inter', 'Outfit', sans-serif;
    color: #0b0f17;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    outline: none;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.uh-store-search-wrap input:focus {
    border-color: #0b0f17;
    box-shadow: 0 0 0 4px rgba(11, 15, 23, 0.08);
}

.uh-store-search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    background: #0b0f17;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 0 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.uh-store-search-btn:hover {
    background: #000000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.uh-video-hero-card {
    background: linear-gradient(135deg, #0b0f17 0%, #1a202c 100%);
    border-radius: 24px;
    padding: 44px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 48px -12px rgba(11, 15, 23, 0.35);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.uh-video-hero-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.uh-video-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 44px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .uh-video-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .uh-video-hero-card {
        padding: 28px;
    }
}

.uh-video-hero-right {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.uh-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #000000;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
}

.uh-video-wrapper video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: inherit;
}

.uh-video-overlay-play {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 23, 0.45);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uh-video-wrapper:hover .uh-video-overlay-play {
    background: rgba(11, 15, 23, 0.25);
}

.uh-play-btn-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #ffffff;
    color: #0b0f17;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 14px;
}

.uh-video-wrapper:hover .uh-play-btn-circle {
    transform: scale(1.12);
    background: #ffffff;
    box-shadow: 0 0 45px rgba(255, 255, 255, 0.7);
}

.uh-play-caption {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.uh-hero-kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.uh-hero-kicker-badge .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff;
}

.uh-video-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .uh-video-hero-title { font-size: 24px; }
}

.uh-video-hero-desc {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
}

.uh-hero-meta-pills {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.uh-hero-pill {
    font-size: 12.5px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.07);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.uh-hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.uh-btn-primary-hero {
    background: #ffffff;
    color: #0b0f17;
    font-size: 14px;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
    border: none;
}

.uh-btn-primary-hero:hover {
    background: #f8fafc;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.4);
}

.uh-btn-secondary-hero {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}

.uh-btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.uh-promos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .uh-promos-grid { grid-template-columns: 1fr; }
}

.uh-promo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 185px;
    display: flex;
    align-items: center;
    padding: 32px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    border: 1px solid #eaecf0;
}

.uh-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.uh-promo-card.promo-plasma {
    background: linear-gradient(135deg, #0b0f17 0%, #1e293b 100%);
    color: #ffffff;
}

.uh-promo-card.promo-cooljet {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
}

.uh-promo-bg {
    position: absolute;
    right: -10px;
    bottom: -10px;
    height: 115%;
    opacity: 0.2;
    object-fit: contain;
    pointer-events: none;
}

.uh-promo-content {
    position: relative;
    z-index: 2;
}

.uh-promo-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 8px;
}

.uh-promo-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.uh-promo-subtitle {
    font-size: 13.5px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.uh-promo-btn {
    font-size: 13px;
    font-weight: 700;
    background: #ffffff;
    color: #0b0f17;
    padding: 8px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.uh-announce-banner {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.03);
    margin-bottom: 40px;
}

.uh-announce-img-box {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #0b0f17;
    color: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.uh-announce-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.uh-announce-title {
    font-family: 'Outfit', sans-serif;
    font-size: 17.5px;
    font-weight: 800;
    color: #0b0f17;
    margin-bottom: 4px;
}

.uh-announce-text {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 0;
}

.uh-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.uh-section-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0b0f17;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.uh-section-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 0;
}

.uh-viewall-btn {
    font-size: 13.5px;
    font-weight: 700;
    color: #0b0f17;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    transition: all 0.2s ease;
}

.uh-viewall-btn:hover {
    background: #0b0f17;
    color: #ffffff;
    border-color: #0b0f17;
}

.uh-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1199px) {
    .uh-course-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .uh-course-grid { grid-template-columns: 1fr; }
}

.uh-course-card {
    background: #ffffff !important;
    border: 1px solid #eaecf0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.uh-course-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.1) !important;
    border-color: #cbd5e1 !important;
}

.uh-course-badge.badge-category {
    background: #0b0f17 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

.uh-course-btn-cta {
    background: #0b0f17 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.uh-course-btn-cta:hover {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.uh-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .uh-blog-grid { grid-template-columns: 1fr; }
}

.uh-blog-card {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.uh-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.uh-blog-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.uh-blog-thumb {
    height: 175px;
    background: #f1f5f9;
    overflow: hidden;
}

.uh-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uh-blog-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uh-blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.uh-blog-body h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 17.5px;
    font-weight: 800;
    color: #0b0f17;
    margin-bottom: 8px;
    line-height: 1.35;
}

.uh-blog-body p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.uh-comm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .uh-comm-grid { grid-template-columns: 1fr; }
}

.uh-comm-card {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.uh-comm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.uh-comm-link {
    text-decoration: none;
    color: inherit;
}

.uh-comm-thumb {
    height: 145px;
    background: #f1f5f9;
    position: relative;
}

.uh-comm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uh-comm-followed {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0b0f17;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
}

.uh-comm-body {
    padding: 20px;
}

.uh-comm-body h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #0b0f17;
    margin-bottom: 6px;
}

.uh-comm-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    color: #64748b;
}

.uh-calendar-card {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.uh-cal-head {
    color: #0b0f17;
    font-weight: 800;
}

.uh-rateus-card {
    background: linear-gradient(135deg, #0b0f17 0%, #1a202c 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 38px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 32px rgba(11, 15, 23, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.uh-rateus-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.uh-rateus-content p {
    opacity: 0.8;
    font-size: 14.5px;
    margin-bottom: 18px;
}

.uh-stars-picker {
    display: flex;
    gap: 8px;
    font-size: 26px;
    color: #fbbf24;
    cursor: pointer;
}

.uh-rate-textarea {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 12px 16px;
    font-size: 13.5px;
}

.uh-rate-textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.uh-btn-rate-submit {
    background: #ffffff;
    color: #0b0f17;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 26px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.uh-btn-rate-submit:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.uh-rateus-illustration {
    font-size: 88px;
    opacity: 0.12;
}

/* Global White Text Fix for Red Background Delete Buttons & Card Action Dropdowns */
.deletebtn,
.delete-btn,
.delete-btn1,
.delete-community-btn,
.dropdown-item.deletebtn,
.dropdown-item.delete-community-btn,
.dropdown-menu .dropdown-item.deletebtn,
.dropdown-menu .dropdown-item.delete-community-btn,
.dropdown-menu a.deletebtn,
.dropdown-menu a.delete-community-btn {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

.deletebtn *,
.delete-btn *,
.delete-btn1 *,
.delete-community-btn *,
.dropdown-item.deletebtn *,
.dropdown-item.delete-community-btn *,
.dropdown-menu .dropdown-item.deletebtn *,
.dropdown-menu .dropdown-item.delete-community-btn *,
.dropdown-menu a.deletebtn *,
.dropdown-menu a.delete-community-btn * {
    color: #ffffff !important;
}

.deletebtn:hover,
.deletebtn:focus,
.deletebtn:active,
.delete-btn:hover,
.delete-btn1:hover,
.delete-community-btn:hover,
.dropdown-item.deletebtn:hover,
.dropdown-item.deletebtn:focus,
.dropdown-item.delete-community-btn:hover,
.dropdown-menu .dropdown-item.deletebtn:hover,
.dropdown-menu .dropdown-item.delete-community-btn:hover,
.dropdown-menu a.deletebtn:hover,
.dropdown-menu a.delete-community-btn:hover {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}

.deletebtn:hover *,
.deletebtn:focus *,
.delete-btn:hover *,
.delete-btn1:hover *,
.delete-community-btn:hover *,
.dropdown-item.deletebtn:hover *,
.dropdown-item.delete-community-btn:hover *,
.dropdown-menu .dropdown-item.deletebtn:hover *,
.dropdown-menu .dropdown-item.delete-community-btn:hover *,
.dropdown-menu a.deletebtn:hover *,
.dropdown-menu a.delete-community-btn:hover * {
    color: #ffffff !important;
}

/* ---------- jQuery UI Datepicker styling for student panel ---------- */
#ui-datepicker-div, .ui-datepicker {
    z-index: 999999 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16) !important;
    padding: 12px !important;
    background: #ffffff !important;
    font-family: "Outfit", sans-serif !important;
    width: 270px !important;
}

.ui-datepicker .ui-widget-header {
    background: transparent !important;
    border: none !important;
}

.ui-datepicker .ui-datepicker-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    padding: 2px 0 12px !important;
}

.ui-datepicker .ui-datepicker-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.ui-datepicker table.ui-datepicker-calendar {
    width: 100% !important;
    margin: 0 !important;
}

.ui-datepicker .ui-datepicker-calendar th {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    padding: 6px 0 !important;
}

.ui-datepicker .ui-datepicker-calendar td a {
    display: block !important;
    text-align: center !important;
    padding: 6px 0 !important;
    border-radius: 8px !important;
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.ui-datepicker .ui-datepicker-calendar td a:hover,
.ui-datepicker .ui-datepicker-calendar td .ui-state-active {
    background: #2563eb !important;
    color: #ffffff !important;
}
