/*
 * "Win" home page redesign — Mindvalley-style personal coaching skin.
 * Palette lifted from the logo's three petals: violet->magenta, gold, blue->teal.
 * Everything here is scoped under body.home-five (the home route's body class)
 * and targets new .winhp-* hook classes added in welcome.blade.php, so it never
 * touches other pages and never fights the legacy Dreams-LMS layout classes —
 * it only re-skins color, type, and decoration on top of them.
 */

@font-face {
    font-family: 'Win Cairo';
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
    src: url('/build/fonts/win-cairo-700.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: 'Win Tajawal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/build/fonts/win-tajawal-400.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: 'Win Tajawal';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/build/fonts/win-tajawal-500.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: 'Win Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/build/fonts/win-tajawal-700.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: 'Win Alexandria';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/build/fonts/win-alexandria-700.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: 'Win Alexandria';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/build/fonts/win-alexandria-800.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}

/*
 * Design tokens live on :root so every redesigned page (home, courses,
 * course details, events, coaches, cart, checkout, contact, about,
 * client dashboard) can share one palette/gradient/shadow vocabulary.
 * They are inert until an actual visual rule below references them, and
 * every visual rule stays scoped to its own body.winhp-* class, so pages
 * that haven't been redesigned yet are completely unaffected.
 */
:root {
    --winhp-void: #0b0818;
    --winhp-void-2: #150e2e;
    --winhp-surface: #1c1440;
    --winhp-paper-2: #f3effc;
    --winhp-ink: #180f34;
    --winhp-ink-soft: #5d5680;
    --winhp-line: #e7e1f7;

    --winhp-violet: #6a21d6;
    --winhp-violet-deep: #3c1487;
    --winhp-magenta: #c026d3;
    --winhp-gold: #c9a24b;
    --winhp-gold-light: #f0d98a;
    --winhp-gold-deep: #8f6c1e;
    --winhp-blue: #1e56d6;
    --winhp-teal: #14b8a6;

    --winhp-grad-petal: linear-gradient(120deg, var(--winhp-violet) 0%, var(--winhp-magenta) 100%);
    --winhp-grad-gold: linear-gradient(120deg, var(--winhp-gold-deep) 0%, var(--winhp-gold) 45%, var(--winhp-gold-light) 100%);
    --winhp-grad-teal: linear-gradient(120deg, var(--winhp-blue) 0%, var(--winhp-teal) 100%);
    --winhp-grad-hero: radial-gradient(120% 140% at 20% -10%, #2a1a5e 0%, var(--winhp-void-2) 45%, var(--winhp-void) 100%);

    --winhp-shadow-soft: 0 20px 50px -20px rgba(20, 10, 60, .35);
    --winhp-shadow-card: 0 12px 30px -12px rgba(24, 15, 52, .18);
}

/*
 * ===========================================================================
 * HOME PAGE ONLY — light "Mindvalley-style" reference palette.
 * Every rule below from line 140 onward reads the --winhp-* custom
 * properties, so overriding them here (scoped to body.home-five) retints the
 * whole page without editing each rule individually. Other winhp-* pages
 * (courses, events, coaches, cart, checkout, contact, about, client) never
 * see this override and keep the original dark violet/magenta/gold theme.
 * ===========================================================================
 */
body.home-five,
body.winhp-courses,
body.winhp-events,
body.winhp-coaches,
body.winhp-cart,
body.winhp-checkout,
body.winhp-contact,
body.winhp-about,
body.winhp-client,
body.winhp-watch,
body.winhp-admin {
    --winhp-void: #ffffff;
    --winhp-void-2: #f8fafc;
    --winhp-surface: #ffffff;
    --winhp-paper-2: #f1f5f9;
    --winhp-ink: #0f172a;
    --winhp-ink-soft: #64748b;
    --winhp-line: #e2e8f0;

    --winhp-violet: #8b5cf6;
    --winhp-violet-deep: #6d28d9;
    --winhp-magenta: #c026d3;
    --winhp-gold: #d4af37;
    --winhp-gold-light: #e6c65c;
    --winhp-gold-deep: #b88e1e;
    --winhp-blue: #0284c7;
    --winhp-teal: #00a3ff;

    --winhp-grad-petal: linear-gradient(135deg, var(--winhp-magenta) 0%, var(--winhp-violet) 50%, var(--winhp-violet-deep) 100%);
    --winhp-grad-gold: linear-gradient(135deg, var(--winhp-gold-light) 0%, var(--winhp-gold) 50%, var(--winhp-gold-deep) 100%);
    --winhp-grad-teal: linear-gradient(135deg, var(--winhp-teal) 0%, var(--winhp-blue) 50%, #0369a1 100%);
    --winhp-grad-hero:
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, .08) 0%, transparent 40%),
        radial-gradient(circle at 90% 30%, rgba(212, 175, 55, .1) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(2, 132, 199, .06) 0%, transparent 50%),
        #ffffff;

    --winhp-shadow-soft: 0 20px 35px -6px rgba(15, 23, 42, .09);
    --winhp-shadow-card: 0 10px 25px -4px rgba(15, 23, 42, .06);

    background: #ffffff;
}
/* the blurred color orbs read as noisy on a flat white hero — drop them */
body.home-five .winhp-orb { display: none !important; }

/* The client dashboard shares the light palette above for its ink/surface/line
   colors, but its profile-card banner was designed with the original dark hero
   gradient (see .profile-card.bg-blue-gradient2 below) — the light palette's
   --winhp-grad-hero fades to white, which washed the banner out to look like
   the (lighter violet) breadcrumb bar instead of its own distinct dark gradient.
   Restore just that one token for the client pages. */
body.winhp-client {
    --winhp-grad-hero: radial-gradient(120% 140% at 20% -10%, #2a1a5e 0%, #150e2e 45%, #0b0818 100%);
}

body.home-five,
body.winhp-courses,
body.winhp-events,
body.winhp-coaches,
body.winhp-cart,
body.winhp-checkout,
body.winhp-contact,
body.winhp-about,
body.winhp-client {
    font-family: 'Win Tajawal', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}

body.home-five h1, body.home-five h2, body.home-five h3, body.home-five .home-five-head h2,
body.winhp-courses h1, body.winhp-courses h2, body.winhp-courses h3,
body.winhp-events h1, body.winhp-events h2, body.winhp-events h3,
body.winhp-coaches h1, body.winhp-coaches h2, body.winhp-coaches h3,
body.winhp-cart h1, body.winhp-cart h2, body.winhp-cart h3,
body.winhp-checkout h1, body.winhp-checkout h2, body.winhp-checkout h3,
body.winhp-contact h1, body.winhp-contact h2, body.winhp-contact h3,
body.winhp-about h1, body.winhp-about h2, body.winhp-about h3,
body.winhp-client h1, body.winhp-client h2, body.winhp-client h3 {
    font-family: 'Win Cairo', 'Cairo', 'Win Tajawal', sans-serif;
    font-weight: 800;
}

body.home-five .num, body.home-five .counterUp,
body.winhp-courses .num, body.winhp-events .num, body.winhp-coaches .num,
body.winhp-cart .num, body.winhp-checkout .num, body.winhp-client .num {
    font-variant-numeric: tabular-nums;
}

/* =====================================================================
   SHARED HEADER + FOOTER (resources/views/layout/partials/header.blade.php,
   footer.blade.php) — Mindvalley-reference light style, applied SITE-WIDE.
   Intentionally NOT scoped under a body.winhp-* class: this markup is
   identical on every page and this file only loads on routes already in
   the redesign (see $winhpRedesignedRoutes / head.blade.php), so these
   rules reach every redesigned page without per-page duplication.
   ===================================================================== */
.header-topbar {
    background: #0f172a !important;
    padding: 10px 0 !important;
}
.header-topbar p {
    color: #cbd5e1 !important;
}
.header-topbar p i {
    color: #d4af37 !important;
}
.header-topbar .social-icon a {
    background: rgba(255, 255, 255, .1) !important;
    color: #fff !important;
    transition: background .2s ease, transform .2s ease;
}
.header-topbar .social-icon a:hover {
    background: linear-gradient(135deg, #e6c65c 0%, #d4af37 50%, #b88e1e 100%) !important;
    color: #2b1c00 !important;
    transform: translateY(-1px);
}
.header-topbar .dropdown > a {
    color: #cbd5e1 !important;
}

/* ----- site header bar ----- */
/* Admin-configurable: background/nav-text/nav-size/button colors come from the CSS
   custom properties set on body in head.blade.php (admin Settings > Header & Footer).
   Hover/active states stay fixed — the admin controls only cover the base, resting state. */
header.header-two {
    background: var(--winhp-header-bg, rgba(255, 255, 255, .97)) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .06);
    border-bottom: 1px solid #e2e8f0;
}
/* backdrop-filter (like transform/filter) establishes a new containing block for
   any position:fixed descendant — the mobile off-canvas menu (.main-menu-wrapper,
   fixed/top:0/bottom:0) is one such descendant, so with this on the header itself
   the drawer was being confined to the header's own ~110px height instead of the
   full viewport. Desktop has no fixed-position descendants relying on escaping to
   the viewport, so keep the blur there only. */
@media (min-width: 992px) {
    header.header-two {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}
header.header-two .main-nav > li > a {
    color: var(--winhp-header-nav-color, #334155) !important;
    font-weight: 600;
}
/* Font size and link spacing only apply at the desktop nav breakpoint — the
   legacy theme's mobile off-canvas drawer (max-width: 991.98px) deliberately
   zeroes out margin-left on each <li> with !important so the stacked, full-width
   list fits inside its 260px panel; applying these unconditionally fought that
   reset and made the mobile menu overflow/scroll instead of filling the drawer. */
@media (min-width: 992px) {
    header.header-two .main-nav > li > a {
        font-size: var(--winhp-header-nav-font-size, inherit) !important;
    }
    header.header-two .main-nav > li {
        margin-left: var(--winhp-header-nav-gap, 30px) !important;
    }
    header.header-two .main-nav > li:last-child {
        margin-left: 0 !important;
    }
}
header.header-two .main-nav > li.active > a,
header.header-two .main-nav > li > a:hover {
    color: #b88e1e !important;
}
header.header-two .icon-btn a {
    color: var(--winhp-header-nav-color, #334155) !important;
}
/* Sign in — .btn-light in the guest desktop header, .btn-primary elsewhere (mobile menu, profile-completion state) */
header.header-two .header-btn .btn-light,
header.header-two .header-btn .btn-primary,
header.header-two .menu-login .btn-primary {
    background: var(--winhp-header-signin-bg, linear-gradient(135deg, #e6c65c 0%, #d4af37 50%, #b88e1e 100%)) !important;
    border-color: transparent !important;
    color: #2b1c00 !important;
}
/* Register — .btn-secondary everywhere it appears */
header.header-two .header-btn .btn-secondary,
header.header-two .menu-login .btn-secondary {
    background: var(--winhp-header-register-bg, linear-gradient(135deg, #c026d3 0%, #8b5cf6 50%, #6d28d9 100%)) !important;
    border-color: transparent !important;
    color: #fff !important;
}
header.header-two .header-btn .btn-warning {
    background: var(--winhp-header-signin-bg, linear-gradient(135deg, #e6c65c 0%, #d4af37 50%, #b88e1e 100%)) !important;
    border-color: transparent !important;
    color: #2b1c00 !important;
}

/* ----- footer ----- */
/* Admin-configurable: colors come from the CSS custom properties set on body in
   head.blade.php (admin Settings > Header & Footer). Hover states stay fixed. */
footer.footer {
    background: var(--winhp-footer-bg, #0f172a) !important;
    border-top: none;
}
footer.footer .footer-bg { display: none; }
footer.footer .footer-title,
footer.footer h5,
footer.footer h6 {
    color: var(--winhp-footer-heading-color, #fff) !important;
}
footer.footer p,
footer.footer .footer-about p {
    color: var(--winhp-footer-text-color, #94a3b8) !important;
}
footer.footer a {
    color: var(--winhp-footer-link-color, #94a3b8) !important;
}
footer.footer a:hover {
    color: #e6c65c !important;
}
footer.footer .footer-link a {
    color: var(--winhp-footer-bottom-text-color, #64748b) !important;
}
footer.footer .subscribe-input input {
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    color: #fff !important;
}
footer.footer .subscribe-input input::placeholder { color: #64748b; }
footer.footer .subscribe-input .btn-primary {
    background: var(--winhp-footer-subscribe-bg, linear-gradient(135deg, #e6c65c 0%, #d4af37 50%, #b88e1e 100%)) !important;
    border: none !important;
    color: #2b1c00 !important;
}
footer.footer .footer-contact-info img {
    filter: brightness(0) invert(1);
    opacity: .7;
}
footer.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
}
footer.footer .footer-bottom p {
    color: var(--winhp-footer-bottom-text-color, #94a3b8) !important;
}
footer.footer .footer-brand-logo {
    max-width: 42px;
    height: auto;
}
footer.footer .footer-brand-name {
    font-family: 'Win Alexandria', 'Alexandria', 'Win Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff !important;
    letter-spacing: .01em;
}
footer.footer .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
footer.footer .footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #25d366 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 13.5px;
}
footer.footer .footer-whatsapp-btn:hover { color: #fff !important; opacity: .9; }

/* headings read like the reference's Alexandria, site-wide */
body.home-five h1, body.home-five h2, body.home-five h3, body.home-five h4,
body.home-five .home-five-head h2,
body.winhp-courses h1, body.winhp-courses h2, body.winhp-courses h3, body.winhp-courses h4,
body.winhp-events h1, body.winhp-events h2, body.winhp-events h3, body.winhp-events h4,
body.winhp-coaches h1, body.winhp-coaches h2, body.winhp-coaches h3, body.winhp-coaches h4,
body.winhp-cart h1, body.winhp-cart h2, body.winhp-cart h3, body.winhp-cart h4,
body.winhp-checkout h1, body.winhp-checkout h2, body.winhp-checkout h3, body.winhp-checkout h4,
body.winhp-contact h1, body.winhp-contact h2, body.winhp-contact h3, body.winhp-contact h4,
body.winhp-about h1, body.winhp-about h2, body.winhp-about h3, body.winhp-about h4,
body.winhp-client h1, body.winhp-client h2, body.winhp-client h3, body.winhp-client h4,
body.winhp-watch h1, body.winhp-watch h2, body.winhp-watch h3, body.winhp-watch h4 {
    font-family: 'Win Alexandria', 'Alexandria', 'Win Cairo', sans-serif !important;
}

/* ===================== buttons (fresh, light-theme, no dark-bg assumptions) ===================== */
body.home-five .win2-btn,
body.winhp-client .win2-btn,
body.winhp-coaches .win2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}
body.home-five .win2-btn-gold,
body.winhp-client .win2-btn-gold,
body.winhp-coaches .win2-btn-gold {
    background: var(--winhp-grad-gold);
    color: #2b1c00;
    box-shadow: 0 10px 24px -8px rgba(212, 175, 55, .5);
}
body.home-five .win2-btn-gold:hover,
body.winhp-client .win2-btn-gold:hover,
body.winhp-coaches .win2-btn-gold:hover { transform: translateY(-2px); color: #2b1c00; }
body.home-five .win2-btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .45);
}
body.home-five .win2-btn-whatsapp:hover { transform: translateY(-2px); color: #fff; }

/* ===================== HERO (fresh build, written for a light background) ===================== */
body.home-five .win2-hero {
    background: var(--winhp-grad-hero);
    padding: 56px 0 76px;
    overflow: hidden;
}
body.home-five .win2-hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
body.home-five .win2-hero-text { flex: 1 1 480px; min-width: 0; }
body.home-five .win2-hero-visual { flex: 1 1 360px; min-width: 0; text-align: center; }

body.home-five .win2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background: var(--hero-badge-bg, rgba(212, 175, 55, .12));
    border: 1px solid var(--hero-badge-border, rgba(212, 175, 55, .35));
    margin-bottom: 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--winhp-ink);
}
body.home-five .win2-hero-badge-pill {
    background: var(--winhp-grad-gold);
    color: #2b1c00;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
}
body.home-five .win2-hero-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.3;
    font-weight: 900;
    color: var(--winhp-ink);
    margin-bottom: 16px;
}
body.home-five .win2-hero-title span {
    background: var(--winhp-grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.home-five .win2-hero-desc {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    color: var(--winhp-ink-soft);
    line-height: 1.8;
    margin-bottom: 26px;
    max-width: 620px;
}
body.home-five .win2-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
}

body.home-five .win2-hero-reassurance {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 14px;
    box-shadow: var(--winhp-shadow-card);
    max-width: 560px;
    margin-bottom: 26px;
}
body.home-five .win2-heart-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--heart-icon-bg, #f3e8ff);
    color: var(--winhp-violet-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
body.home-five .win2-hero-reassurance strong {
    display: block;
    color: var(--winhp-ink);
    font-size: 14.5px;
}
body.home-five .win2-hero-reassurance span {
    font-size: 13px;
    color: var(--winhp-ink-soft);
}

body.home-five .win2-hero-search { margin-bottom: 26px; }
body.home-five .win2-hero-search-form {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1.5px solid var(--winhp-line);
    border-radius: 999px;
    box-shadow: var(--winhp-shadow-card);
    padding: 6px;
    max-width: 520px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body.home-five .win2-hero-search-form:focus-within {
    border-color: var(--winhp-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .14);
}
body.home-five .win2-hero-search-select {
    flex: 0 0 122px;
    width: 122px;
    border: none;
    background: transparent;
    color: var(--winhp-ink);
    font-size: 12.5px;
    font-weight: 700;
    padding: 0 20px 0 14px;
    margin-inline-end: 6px;
    border-inline-end: 1.5px solid var(--winhp-line);
    outline: none;
    cursor: pointer;
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 4px center;
}
body.home-five .win2-hero-search-input-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
    color: var(--winhp-ink-soft);
}
body.home-five .win2-hero-search-input-wrap i { font-size: 13px; flex-shrink: 0; }
body.home-five .win2-hero-search-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    background: transparent;
    color: var(--winhp-ink);
    font-size: 13.5px;
    padding: 13px 0;
    outline: none;
}
body.home-five .win2-hero-search-input::placeholder { color: var(--winhp-ink-soft); }
body.home-five .win2-hero-search-btn {
    background: var(--winhp-grad-petal);
    color: #fff;
    border: none;
    border-radius: 999px;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease;
}
body.home-five .win2-hero-search-btn:hover { transform: translateY(-1px) scale(1.03); }
@media (max-width: 480px) {
    body.home-five .win2-hero-search-form {
        flex-direction: column;
        border-radius: 18px;
        align-items: stretch;
        gap: 6px;
    }
    body.home-five .win2-hero-search-select {
        flex: 0 0 auto;
        width: 100%;
        border-inline-end: none;
        border-bottom: 1.5px solid var(--winhp-line);
        margin-inline-end: 0;
        padding: 10px 14px;
    }
    body.home-five .win2-hero-search-input-wrap { padding: 0 14px; }
    body.home-five .win2-hero-search-btn { width: 100%; border-radius: 12px; }
}

body.home-five .win2-hero-trust-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
body.home-five .win2-hero-trust-n {
    font-family: 'Win Cairo', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--winhp-ink);
    display: block;
}
body.home-five .win2-hero-trust-l {
    font-size: 12px;
    color: var(--winhp-ink-soft);
}

body.home-five .win2-hero-visual-card {
    display: inline-block;
    background: #fff;
    border-radius: 30px;
    padding: 14px;
    border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-soft);
}
body.home-five .win2-hero-visual-card img {
    border-radius: 20px;
    aspect-ratio: 4 / 3.2;
    object-fit: cover;
    width: 100%;
    max-width: 480px;
}

/* ===================== SHARED SECTION HEADER (kicker + title + desc) ===================== */
body.home-five .win2-section-header,
body.winhp-about .win2-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}
body.home-five .win2-kicker,
body.winhp-about .win2-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--winhp-gold-deep);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}
body.home-five .win2-section-header h2,
body.winhp-about .win2-section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 12px;
    color: var(--winhp-ink);
}
body.home-five .win2-section-header p,
body.winhp-about .win2-section-header p {
    font-size: 1.02rem;
    color: var(--winhp-ink-soft);
}
body.home-five .win2-section-cta { margin-top: 34px; }

/* light-tint icon-chip utilities, reused by domains + services cards
   (matches the reference's pastel-bg + saturated-icon pattern, not a
   solid gradient chip — icons are font-icons so `color` recolors them) */
body.home-five .win2-domain-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}
body.home-five .win2-domain-icon img { width: 22px; }
body.home-five .win2-grad-green { background: #ECFDF5; color: #10B981; }
body.home-five .win2-grad-blue { background: #EFF6FF; color: #3B82F6; }
body.home-five .win2-grad-pink { background: #FDF2F8; color: #EC4899; }

/* ===================== STATS ===================== */
body.home-five .win2-stats { padding: 56px 0 60px; background: var(--winhp-void-2); border-top: 1px solid var(--winhp-line); border-bottom: 1px solid var(--winhp-line); }
body.home-five .win2-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (min-width: 1024px) { body.home-five .win2-stats-grid { grid-template-columns: repeat(4, 1fr); } }
body.home-five .win2-stat-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-card);
    padding: 26px 18px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
body.home-five .win2-stat-card::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--stat-card-color, var(--winhp-grad-gold)); }
body.home-five .win2-stat-card:nth-child(4n+1)::before { background: var(--stat-card-color, var(--winhp-grad-petal)); }
body.home-five .win2-stat-card:nth-child(4n+2)::before { background: var(--stat-card-color, var(--winhp-grad-gold)); }
body.home-five .win2-stat-card:nth-child(4n+3)::before { background: var(--stat-card-color, var(--winhp-grad-teal)); }
body.home-five .win2-stat-card:nth-child(4n+4)::before { background: var(--stat-card-color, #10B981); }
body.home-five .win2-stat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 35px -12px rgba(15, 23, 42, .12); }
body.home-five .win2-stat-number { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--stat-card-color, var(--winhp-ink)); margin-bottom: 6px; }
body.home-five .win2-stat-title { font-size: 14px; font-weight: 700; color: var(--winhp-ink-soft); }

/* ===================== DOMAINS (categories) ===================== */
body.home-five .win2-domains { padding: 70px 0; }
body.home-five .win2-domains-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
body.home-five .win2-domain-card { flex: 1 1 100%; max-width: 100%; }
@media (min-width: 640px) {
    body.home-five .win2-domain-card { flex: 1 1 calc(50% - 10px); max-width: calc(50% - 10px); }
}
@media (min-width: 1024px) {
    body.home-five .win2-domain-card { flex: 1 1 calc(25% - 15px); max-width: calc(25% - 15px); }
}
body.home-five .win2-domain-card {
    background: var(--winhp-void-2);
    border: 1.5px solid var(--winhp-line);
    border-radius: 18px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
body.home-five .win2-domain-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: var(--winhp-shadow-card);
    border-color: var(--winhp-gold);
}
/* hover border matches this card's own color — the inline --domain-hover-color
   custom property (set when the category has a real admin-picked color) wins
   over these fixed fallbacks since var() resolves at used-value time */
body.home-five .win2-domain-card:nth-child(6n+1):hover { border-color: var(--domain-hover-color, #8B5CF6); }
body.home-five .win2-domain-card:nth-child(6n+2):hover { border-color: var(--domain-hover-color, #B88E1E); }
body.home-five .win2-domain-card:nth-child(6n+3):hover { border-color: var(--domain-hover-color, #0284C7); }
body.home-five .win2-domain-card:nth-child(6n+4):hover { border-color: var(--domain-hover-color, #10B981); }
body.home-five .win2-domain-card:nth-child(6n+5):hover { border-color: var(--domain-hover-color, #3B82F6); }
body.home-five .win2-domain-card:nth-child(6n+6):hover { border-color: var(--domain-hover-color, #EC4899); }
body.home-five .win2-domain-card h3 { font-size: 1.1rem; color: var(--winhp-ink); margin-bottom: 6px; }
body.home-five .win2-domain-card p { font-size: .88rem; color: var(--winhp-ink-soft); margin-bottom: 6px; }
body.home-five .win2-domain-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--winhp-ink);
    margin-top: 10px;
}
body.home-five .win2-domain-link i { font-size: 11px; }

/* ===================== COURSES (real courses) ===================== */
body.home-five .win2-courses { padding: 70px 0; background: var(--winhp-void-2); border-top: 1px solid var(--winhp-line); border-bottom: 1px solid var(--winhp-line); }
body.home-five .win2-course-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
}
body.home-five .win2-course-card { flex: 1 1 100%; max-width: 100%; }
@media (min-width: 768px) {
    body.home-five .win2-course-card { flex: 1 1 calc(50% - 13px); max-width: calc(50% - 13px); }
}
@media (min-width: 1024px) {
    body.home-five .win2-course-card { flex: 1 1 calc(33.333% - 17.34px); max-width: calc(33.333% - 17.34px); }
}
body.home-five .win2-course-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--winhp-line);
    overflow: hidden;
    box-shadow: var(--winhp-shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
body.home-five .win2-course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--winhp-shadow-soft);
    border-color: rgba(212, 175, 55, .4);
}
body.home-five .win2-course-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--winhp-paper-2); overflow: hidden; }
body.home-five .win2-course-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.home-five .win2-course-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .2);
}
body.home-five .win2-course-card:nth-child(4n+1) .win2-course-badge { background: var(--winhp-grad-gold); }
body.home-five .win2-course-card:nth-child(4n+2) .win2-course-badge { background: var(--winhp-grad-petal); }
body.home-five .win2-course-card:nth-child(4n+3) .win2-course-badge { background: var(--winhp-grad-teal); }
body.home-five .win2-course-card:nth-child(4n+4) .win2-course-badge { background: linear-gradient(120deg, #3c1487, #1e56d6); }
body.home-five .win2-course-discount-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    background: var(--discount-badge-color, #EF4444);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, .35);
}
body.home-five .win2-course-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
body.home-five .win2-course-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--winhp-ink-soft); margin-bottom: 10px; }
body.home-five .win2-course-title { font-size: 1.15rem; color: var(--winhp-ink); margin-bottom: 8px; line-height: 1.45; }
body.home-five .win2-course-title a { color: inherit; }
body.home-five .win2-course-desc { font-size: .92rem; color: var(--winhp-ink-soft); line-height: 1.65; margin-bottom: 14px; }
body.home-five .win2-course-trainer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--winhp-paper-2); margin-bottom: 14px; }
body.home-five .win2-course-trainer img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--winhp-paper-2); }
body.home-five .win2-course-trainer span { font-size: 12.5px; color: var(--winhp-ink-soft); }

/* ===================== EARLY BIRD COUNTDOWN (courses + events) ===================== */
.win2-earlybird {
    background: var(--earlybird-bg, linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%));
    border: 1px solid rgba(212, 175, 55, .4);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.win2-earlybird-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--earlybird-text-color, #B45309);
    margin-bottom: 8px;
}
.win2-earlybird-countdown {
    display: flex;
    gap: 6px;
}
.win2-earlybird-countdown > div {
    flex: 1;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 4px 2px;
    border: 1px solid rgba(212, 175, 55, .3);
}
.win2-earlybird-countdown span {
    display: block;
    font-family: 'Win Cairo', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--earlybird-text-color, #B45309);
}
.win2-earlybird-countdown small {
    font-size: 9.5px;
    color: var(--winhp-ink-soft, #64748b);
}
.win2-earlybird-seats {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--earlybird-text-color, #B45309);
    text-align: center;
}

body.home-five .win2-course-price { font-weight: 800; color: var(--winhp-violet); font-family: 'Win Cairo', sans-serif; margin-bottom: 10px; }
body.home-five .win2-course-price s { font-weight: 400; color: var(--winhp-ink-soft); margin-inline-start: 4px; }
body.home-five .win2-course-btn {
    display: block;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 12px;
    background: var(--winhp-grad-gold);
    color: #2b1c00;
    box-shadow: 0 8px 18px -6px rgba(212, 175, 55, .5);
}
body.home-five .win2-course-btn:hover { transform: translateY(-2px); color: #2b1c00; }

/* ===================== TRAINERS (real coaches) ===================== */
body.home-five .win2-trainers { padding: 70px 0; }
body.home-five .win2-trainers-slider.owl-carousel { padding-bottom: 56px; }
body.home-five .win2-trainers-slider .item { padding: 4px; height: 100%; }
body.home-five .win2-trainer-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--winhp-line);
    padding: 28px 18px 22px;
    text-align: center;
    box-shadow: var(--winhp-shadow-card);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
body.home-five .win2-trainer-card:hover { transform: translateY(-6px); box-shadow: var(--winhp-shadow-soft); border-color: var(--winhp-gold-light); }
body.home-five .win2-trainer-avatar-ring {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    padding: 4px;
    background: var(--winhp-grad-petal);
    margin-bottom: 16px;
    position: relative;
}
body.home-five .win2-trainer-avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--winhp-paper-2); }
body.home-five .win2-trainer-name { font-size: 1.1rem; color: var(--winhp-ink); margin-bottom: 3px; }
body.home-five .win2-trainer-field { font-size: 13px; color: var(--winhp-gold-deep); font-weight: 700; margin-bottom: 10px; }
body.home-five .win2-trainer-bio { font-size: 13px; color: var(--winhp-ink-soft); line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }
body.home-five .win2-trainer-btn {
    width: 100%;
    padding: 9px 18px;
    border-radius: 8px;
    border: 1.5px solid var(--winhp-line);
    color: var(--winhp-ink);
    font-size: 13.5px;
    font-weight: 700;
    transition: .2s ease;
}
body.home-five .win2-trainer-btn:hover { border-color: var(--winhp-gold); color: var(--winhp-gold-deep); background: var(--hover-tint-color, #FAF4DF); }

/* ===================== SERVICES (real platform features) ===================== */
body.home-five .win2-services { padding: 70px 0; background: var(--winhp-void-2); border-top: 1px solid var(--winhp-line); border-bottom: 1px solid var(--winhp-line); }
body.home-five .win2-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}
@media (min-width: 1024px) { body.home-five .win2-services-grid { grid-template-columns: repeat(3, 1fr); } }
body.home-five .win2-service-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
}
body.home-five .win2-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--winhp-shadow-soft);
    border-color: var(--winhp-gold);
}
body.home-five .win2-service-card h3 { font-size: 1.15rem; color: var(--winhp-ink); margin-bottom: 8px; }
body.home-five .win2-service-card p { font-size: .92rem; color: var(--winhp-ink-soft); line-height: 1.65; margin-bottom: 20px; }
body.home-five .win2-service-card a {
    display: block;
    text-align: center;
    width: 100%;
    font-weight: 700;
    font-size: 13.5px;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 18px -6px rgba(15, 23, 42, .35);
}
body.home-five .win2-service-card a:hover { transform: translateY(-2px); }

/* ===================== EVENTS (real upcoming event) ===================== */
body.home-five .win2-events { padding: 70px 0; }
body.home-five .win2-events-slider.owl-carousel { padding-bottom: 56px; }
body.home-five .win2-events-slider .item { padding: 4px; }
/* .win2-event-card ("ticket" design) — the homepage's own date-stub ticket.
   Scoped to body.home-five ONLY: the client dashboard/enrolled-events page and
   the coach-detail carousel use a different split-image ticket, defined further
   below, under the exact same class names but scoped to winhp-client/coaches. */
body.home-five .win2-event-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--winhp-shadow-card);
}
@media (min-width: 640px) {
    body.home-five .win2-event-card { flex-direction: row; }
}
body.home-five .win2-event-date {
    background: var(--event-date-bg, linear-gradient(135deg, #0F172A, #1E293B));
    color: #fff;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    text-align: center;
    gap: 4px;
}
body.home-five .win2-event-day { font-family: 'Win Cairo', sans-serif; font-size: 2.1rem; font-weight: 900; color: var(--winhp-gold-light); line-height: 1; }
body.home-five .win2-event-month { font-size: 13px; font-weight: 600; }
body.home-five .win2-event-badge { margin-top: 6px; font-size: 11px; font-weight: 700; background: var(--winhp-grad-gold); color: #2b1c00; padding: 3px 10px; border-radius: 999px; }
body.home-five .win2-event-body { padding: 22px; flex-grow: 1; }
body.home-five .win2-event-body h3 { font-size: 1.2rem; color: var(--winhp-ink); margin-bottom: 8px; }
body.home-five .win2-event-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .86rem; color: var(--winhp-ink-soft); margin-bottom: 12px; }
body.home-five .win2-event-body p { font-size: .92rem; color: var(--winhp-ink-soft); margin-bottom: 16px; }

/* ----- client dashboard / enrolled-events / coach-detail: split-image ticket -----
   Half the card is the event photo (object-fit:cover, always fills its half, never
   looks small/letterboxed); the other half is the text. A dashed "tear line" divider
   sits between them — the classic ticket-stub perforation — and also doubles as a
   drag handle (see the script at the bottom of enrolled-event-card.blade.php) so a
   user can resize the split if the cover-crop hides something they want to see. */
body.winhp-client .win2-event-card,
body.winhp-coaches .win2-event-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--winhp-shadow-card);
    min-height: 260px;
}
body.winhp-client .win2-event-thumb,
body.winhp-coaches .win2-event-thumb {
    position: relative;
    flex: 0 0 var(--event-split, 50%);
    width: var(--event-split, 50%);
    overflow: hidden;
    background: var(--winhp-paper-2);
}
body.winhp-client .win2-event-thumb img,
body.winhp-coaches .win2-event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}
body.winhp-client .win2-event-badge,
body.winhp-coaches .win2-event-badge {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    background: var(--winhp-grad-gold);
    color: #2b1c00;
    padding: 4px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .2);
}
body.winhp-client .win2-event-divider,
body.winhp-coaches .win2-event-divider {
    flex: 0 0 18px;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    touch-action: none;
    background-image: repeating-linear-gradient(to bottom, var(--winhp-line) 0 8px, transparent 8px 16px);
    background-position: center;
    background-repeat: repeat-y;
    background-size: 2px 16px;
}
body.winhp-client .win2-event-divider span,
body.winhp-coaches .win2-event-divider span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--winhp-line);
    transition: border-color .15s ease, background .15s ease;
}
body.winhp-client .win2-event-divider:hover span,
body.winhp-coaches .win2-event-divider:hover span,
body.winhp-client .win2-event-card.is-dragging .win2-event-divider span,
body.winhp-coaches .win2-event-card.is-dragging .win2-event-divider span {
    border-color: var(--winhp-gold);
    background: var(--winhp-gold-light);
}
body.winhp-client .win2-event-body,
body.winhp-coaches .win2-event-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
}
body.winhp-client .win2-event-body h3,
body.winhp-coaches .win2-event-body h3 { font-size: 1.2rem; color: var(--winhp-ink); margin-bottom: 8px; }
body.winhp-client .win2-event-meta,
body.winhp-coaches .win2-event-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .86rem; color: var(--winhp-ink-soft); margin-bottom: 12px; }
body.winhp-client .win2-event-body p,
body.winhp-coaches .win2-event-body p { font-size: .92rem; color: var(--winhp-ink-soft); margin-bottom: 16px; flex-grow: 1; }
body.winhp-client .win2-event-body .win2-event-price,
body.winhp-coaches .win2-event-body .win2-event-price { font-weight: 800; color: var(--winhp-violet); font-family: 'Win Cairo', sans-serif; }
/* A horizontal split with a draggable divider isn't practical at phone widths —
   stack the photo on top (fixed aspect-ratio, still full-cover) and drop the divider. */
@media (max-width: 575.98px) {
    body.winhp-client .win2-event-card,
    body.winhp-coaches .win2-event-card { flex-direction: column; min-height: 0; }
    body.winhp-client .win2-event-thumb,
    body.winhp-coaches .win2-event-thumb { width: 100%; flex-basis: auto; aspect-ratio: 16 / 9; }
    body.winhp-client .win2-event-divider,
    body.winhp-coaches .win2-event-divider { display: none; }
}

/* ===================== ABOUT (teaser) ===================== */
body.home-five .win2-about { padding: 70px 0; }
body.home-five .win2-about-grid { display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 40px; }
body.home-five .win2-about-grid > div { flex: 1 1 420px; min-width: 0; }
body.home-five .win2-about-desc { font-size: 1rem; color: var(--winhp-ink-soft); line-height: 1.8; margin-bottom: 20px; }
body.home-five .win2-about-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
body.home-five .win2-about-box { background: var(--winhp-void-2); padding: 16px; border-radius: 14px; border: 1px solid var(--winhp-line); }
body.home-five .win2-about-box h4 { font-size: .95rem; color: var(--winhp-ink); margin-bottom: 4px; }
body.home-five .win2-about-box p { font-size: .84rem; color: var(--winhp-ink-soft); margin: 0; }
body.home-five .win2-about-visual,
body.winhp-about .win2-about-visual { border-radius: 24px; overflow: hidden; box-shadow: var(--winhp-shadow-soft); border: 1px solid var(--winhp-line); }
body.home-five .win2-about-visual img,
body.winhp-about .win2-about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.winhp-about .win2-about-visual img { aspect-ratio: 4 / 3.4; }

/* ===================== FINAL CTA ===================== */
body.home-five .win2-final-cta { padding: 80px 0; background: var(--winhp-void-2); text-align: center; }
body.home-five .win2-final-cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
body.home-five .win2-final-cta-badge {
    margin-bottom: 16px;
    font-family: 'Playfair Display', 'Win Cairo', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    background: rgba(212, 175, 55, .12);
    border: 1px solid rgba(212, 175, 55, .35);
    color: var(--winhp-gold-deep);
}
body.home-five .win2-final-cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--winhp-ink); margin-bottom: 14px; }
body.home-five .win2-final-cta-inner p { font-size: 1.05rem; color: var(--winhp-ink-soft); margin-bottom: 28px; line-height: 1.75; }
body.home-five .win2-final-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
body.home-five .win2-btn-outline { background: transparent; border: 1.5px solid var(--winhp-line); color: var(--winhp-ink); }
body.home-five .win2-btn-outline:hover { border-color: var(--winhp-gold); color: var(--winhp-gold-deep); background: var(--hover-tint-color, #FAF4DF); }

/* ===================== WINNERS CHANNEL (WhatsApp) ===================== */
body.home-five .winhp-channel-section {
    padding: 70px 0;
    background: var(--winhp-void-2);
    border-top: 1px solid var(--winhp-line);
    border-bottom: 1px solid var(--winhp-line);
}
body.home-five .winhp-channel-box {
    border-radius: 30px;
    background: var(--channel-bg, linear-gradient(135deg, #FAFDF9 0%, #F0FDF4 100%));
    border: 2px solid rgba(37, 211, 102, .35);
    padding: 40px 28px;
    box-shadow: 0 15px 40px rgba(37, 211, 102, .08);
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 1024px) {
    body.home-five .winhp-channel-box {
        grid-template-columns: 1.15fr .85fr;
        padding: 48px 46px;
    }
}
body.home-five .winhp-channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    background: var(--channel-badge-bg, #ECFDF5);
    color: var(--channel-accent, #10B981);
    border: 1px solid rgba(16, 185, 129, .3);
    margin-bottom: 14px;
}
body.home-five .winhp-channel-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 12px; }
body.home-five .winhp-channel-title span { color: var(--channel-accent, #16A34A); }
body.home-five .winhp-channel-desc { font-size: 1rem; color: var(--winhp-ink-soft); line-height: 1.8; }
body.home-five .winhp-channel-perks { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 26px; }
body.home-five .winhp-channel-perk { display: flex; align-items: flex-start; gap: 12px; }
body.home-five .winhp-channel-perk .winhp-perk-check {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--channel-accent, #25D366); color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 3px; font-size: 11px;
}
body.home-five .winhp-channel-perk strong { display: block; color: var(--winhp-ink); font-size: 14.5px; }
body.home-five .winhp-channel-perk p { font-size: 13px; color: var(--winhp-ink-soft); margin: 0; }
body.home-five .winhp-channel-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 14px;
    background: var(--channel-accent, #25D366) !important; color: #fff !important;
    font-weight: 700; box-shadow: 0 10px 25px rgba(37, 211, 102, .35);
}
body.home-five .winhp-channel-cta:hover { color: #fff !important; transform: translateY(-2px); }
body.home-five .winhp-channel-phone-mock {
    background: #fff; border-radius: 20px; border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-soft); overflow: hidden; max-width: 400px; margin: 0 auto;
}
body.home-five .winhp-channel-phone-mock .wa-mock-header {
    background: #075E54; color: #fff; padding: 14px;
    display: flex; align-items: center; gap: 10px;
}
body.home-five .winhp-channel-phone-mock .wa-mock-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--winhp-gold); display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-family: 'Win Alexandria', sans-serif;
}
body.home-five .winhp-channel-phone-mock .wa-mock-body {
    background: #ECE5DD; padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
body.home-five .winhp-channel-phone-mock .wa-bubble {
    background: #fff; padding: 11px 13px; border-radius: 12px 12px 0 12px;
    font-size: 13.5px; color: #111827; box-shadow: 0 1px 2px rgba(0,0,0,.1); line-height: 1.6;
}
body.home-five .winhp-channel-phone-mock .wa-bubble.audio-bubble {
    background: #DCF8C6; align-self: flex-end; border-radius: 12px 12px 12px 0;
    display: flex; align-items: center; gap: 8px;
}

/*
 * Graceful fallback for missing/broken photos (coaches, course thumbnails,
 * trainer avatars): give the image's own container a brand gradient, and
 * hide the broken image icon via onerror="this.style.opacity='0'" on the
 * <img> itself (set in welcome.blade.php) so the gradient shows through
 * instead of the browser's default broken-image glyph.
 */
body.home-five .win2-trainer-avatar-ring,
body.home-five .win2-course-thumb,
body.home-five .win2-course-trainer {
    position: relative;
}
body.home-five .win2-course-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}
body.home-five .win2-course-card:nth-child(4n+1) .win2-course-thumb::before { background: var(--winhp-grad-petal); }
body.home-five .win2-course-card:nth-child(4n+2) .win2-course-thumb::before { background: var(--winhp-grad-gold); }
body.home-five .win2-course-card:nth-child(4n+3) .win2-course-thumb::before { background: var(--winhp-grad-teal); }
body.home-five .win2-course-card:nth-child(4n+4) .win2-course-thumb::before { background: linear-gradient(120deg, #3c1487, #1e56d6); }
body.home-five .win2-course-thumb img { position: relative; z-index: 1; }

/* ===================== TITLE BANNER STRIP ===================== */
body.home-five .win2-title-banner {
    background: var(--title-banner-bg, linear-gradient(90deg, #6d28d9 0%, #d4af37 50%, #0284c7 100%));
    padding: 22px 0;
    text-align: center;
}
body.home-five .win2-title-banner .container {
    padding-left: 24px;
    padding-right: 24px;
}
body.home-five .win2-title-banner span {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: clamp(15px, 2.4vw, 22px);
    line-height: 1.5;
    font-family: 'Win Cairo', sans-serif;
}
@media (min-width: 768px) {
    body.home-five .win2-title-banner { padding: 26px 0; }
}
@media (min-width: 1200px) {
    body.home-five .win2-title-banner { padding: 30px 0; }
}
@media (max-width: 575.98px) {
    body.home-five .win2-title-banner { padding: 16px 0; }
    body.home-five .win2-title-banner span { line-height: 1.6; }
}

/* ===================== VIDEO SECTION (optional) ===================== */
body.home-five .win2-video-section { padding: 70px 0; position: relative; }
body.home-five .win2-video-header { text-align: center; margin-bottom: 36px; }
body.home-five .win2-video-header h2 { color: var(--video-text-color, #fff); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
body.home-five .win2-video-header p { color: var(--video-text-color, #fff); opacity: .85; font-size: 1.05rem; }
body.home-five .win2-video-wrapper { max-width: 900px; margin: 0 auto; }
body.home-five .win2-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .4);
    cursor: pointer;
}
body.home-five .win2-video-thumb { position: absolute; inset: 0; z-index: 2; }
body.home-five .win2-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.home-five .win2-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--winhp-grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b1c00;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
    transition: transform .2s ease;
}
body.home-five .win2-video-container:hover .win2-video-play-btn { transform: translate(-50%, -50%) scale(1.08); }
body.home-five .win2-video-container.active .win2-video-thumb { display: none; }
body.home-five .win2-video-container iframe,
body.home-five .win2-video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
body.home-five .win2-video-uploaded { padding-bottom: 0; height: auto; aspect-ratio: 16 / 9; cursor: default; }
body.home-five .win2-video-uploaded video { position: static; width: 100%; height: 100%; }

/* ===================== TESTIMONIALS (real reviews) ===================== */
body.home-five .win2-testimonials { padding: 70px 0; }
body.home-five .win2-testimonials-slider.owl-carousel { padding-bottom: 56px; }
body.home-five .win2-testimonials-slider .item { padding: 4px; height: 100%; }
body.home-five .win2-testimonial-card {
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--winhp-shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.home-five .win2-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--winhp-shadow-soft);
    border-color: var(--winhp-gold);
}
body.home-five .win2-testimonial-stars { color: var(--winhp-gold); margin-bottom: 12px; font-size: 13px; }
body.home-five .win2-testimonial-stars .win2-star-empty { color: var(--winhp-line); }
body.home-five .win2-testimonial-text { color: var(--winhp-ink-soft); font-size: .94rem; line-height: 1.7; margin-bottom: 18px; flex-grow: 1; }
body.home-five .win2-testimonial-user { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--winhp-paper-2); }
body.home-five .win2-testimonial-user img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--winhp-paper-2); }
body.home-five .win2-testimonial-user h4 { font-size: .95rem; color: var(--winhp-ink); margin: 0; }
body.home-five .win2-testimonial-user span { font-size: .8rem; color: var(--winhp-ink-soft); }

/* ===================== SHARED SLIDER NAV/DOTS (trainers, testimonials, events) ===================== */
body.home-five .win2-trainers-slider.owl-carousel .owl-nav,
body.home-five .win2-testimonials-slider.owl-carousel .owl-nav,
body.home-five .win2-events-slider.owl-carousel .owl-nav {
    position: absolute;
    top: -70px;
    inset-inline-end: 0;
    display: flex;
    gap: 10px;
}
body.home-five .win2-trainers,
body.home-five .win2-testimonials,
body.home-five .win2-events {
    position: relative;
}
body.home-five .win2-trainers .win2-section-header,
body.home-five .win2-testimonials .win2-section-header,
body.home-five .win2-events .win2-section-header {
    position: relative;
}
body.home-five .win2-trainers-slider.owl-carousel .owl-nav button.owl-prev,
body.home-five .win2-trainers-slider.owl-carousel .owl-nav button.owl-next,
body.home-five .win2-testimonials-slider.owl-carousel .owl-nav button.owl-prev,
body.home-five .win2-testimonials-slider.owl-carousel .owl-nav button.owl-next,
body.home-five .win2-events-slider.owl-carousel .owl-nav button.owl-prev,
body.home-five .win2-events-slider.owl-carousel .owl-nav button.owl-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff !important;
    border: 1.5px solid var(--winhp-line);
    color: var(--winhp-ink) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
body.home-five .win2-trainers-slider.owl-carousel .owl-nav button.owl-prev:hover,
body.home-five .win2-trainers-slider.owl-carousel .owl-nav button.owl-next:hover,
body.home-five .win2-testimonials-slider.owl-carousel .owl-nav button.owl-prev:hover,
body.home-five .win2-testimonials-slider.owl-carousel .owl-nav button.owl-next:hover,
body.home-five .win2-events-slider.owl-carousel .owl-nav button.owl-prev:hover,
body.home-five .win2-events-slider.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--winhp-grad-gold) !important;
    color: #2b1c00 !important;
    transform: translateY(-2px);
}
body.home-five .win2-trainers-slider.owl-carousel .owl-dots,
body.home-five .win2-testimonials-slider.owl-carousel .owl-dots,
body.home-five .win2-events-slider.owl-carousel .owl-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}
body.home-five .win2-trainers-slider.owl-carousel .owl-dot span,
body.home-five .win2-testimonials-slider.owl-carousel .owl-dot span,
body.home-five .win2-events-slider.owl-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0;
    background: var(--winhp-line);
    border-radius: 50%;
    display: block;
    transition: background .2s ease, transform .2s ease;
}
body.home-five .win2-trainers-slider.owl-carousel .owl-dot.active span,
body.home-five .win2-testimonials-slider.owl-carousel .owl-dot.active span,
body.home-five .win2-events-slider.owl-carousel .owl-dot.active span {
    background: var(--winhp-grad-gold);
    transform: scale(1.3);
}
@media (max-width: 767.98px) {
    body.home-five .win2-trainers-slider.owl-carousel .owl-nav,
    body.home-five .win2-testimonials-slider.owl-carousel .owl-nav,
    body.home-five .win2-events-slider.owl-carousel .owl-nav {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    body.home-five .winhp-orb-1, body.home-five .winhp-orb-2, body.home-five .winhp-orb-3 {
        opacity: .3;
    }
}

/* =========================================================================
   COURSES LIST PAGE (body.winhp-courses) — resources/views/courses.blade.php
   Purely CSS re-skin of existing classes; no new markup/hook classes needed
   since every element here already has a distinctive selector to target.
   ========================================================================= */

body.winhp-courses .breadcrumb-bar {
    background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero));
    padding: 56px 0;
}
body.winhp-courses .breadcrumb-title {
    color: var(--winhp-ink);
    font-size: clamp(26px, 3vw, 36px);
}
body.winhp-courses .breadcrumb .breadcrumb-item,
body.winhp-courses .breadcrumb .breadcrumb-item a {
    color: var(--winhp-ink-soft);
}
body.winhp-courses .breadcrumb .breadcrumb-item.active {
    color: var(--winhp-gold-deep);
}
body.winhp-courses .breadcrumb-item + .breadcrumb-item::before {
    color: var(--winhp-ink-soft);
}

/* Filter sidebar */
body.winhp-courses .filter-clear {
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-courses .clear-filter h5 {
    font-family: 'Win Cairo', sans-serif;
    font-weight: 800;
    font-size: 16px;
}
body.winhp-courses .clear-filter h5 i {
    color: var(--winhp-violet) !important;
}
body.winhp-courses .clear-text.text-danger {
    color: var(--winhp-magenta) !important;
}
body.winhp-courses .accordion-customicon1 .accordion-button {
    font-weight: 700;
    color: var(--winhp-ink);
}
body.winhp-courses .accordion-customicon1 .accordion-button i {
    color: var(--winhp-violet);
}
body.winhp-courses .custom_check input:checked ~ .checkmark {
    background: var(--winhp-grad-petal);
    border-color: transparent;
}
body.winhp-courses .irs--round .irs-bar,
body.winhp-courses .irs--round .irs-from,
body.winhp-courses .irs--round .irs-to,
body.winhp-courses .irs--round .irs-single {
    background: var(--winhp-violet) !important;
}
body.winhp-courses .irs--round .irs-handle {
    border-color: var(--winhp-violet) !important;
}

/* Showing/sort/search bar */
body.winhp-courses .showing-list .show-result h6 {
    color: var(--winhp-ink-soft);
    font-weight: 600;
}
body.winhp-courses .search-group {
    border-radius: 999px;
    overflow: hidden;
}
body.winhp-courses .search-group i {
    color: var(--winhp-violet);
}
body.winhp-courses .form-select {
    border-radius: 999px;
}
body.winhp-courses .form-select:focus {
    border-color: var(--winhp-violet);
    box-shadow: 0 0 0 .2rem rgba(106, 33, 214, .15);
}

/* Course cards — reuses the exact .win2-course-card component from the homepage
   (resources/views/welcome.blade.php) so both pages render identical cards.
   body.winhp-client reuses the same component for the client dashboard's
   enrolled-courses/enrolled-events pages. */
body.winhp-courses .win2-course-card,
body.winhp-coaches .win2-course-card,
body.winhp-client .win2-course-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--winhp-line);
    overflow: hidden;
    box-shadow: var(--winhp-shadow-card);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
body.winhp-courses .win2-course-card:hover,
body.winhp-coaches .win2-course-card:hover,
body.winhp-client .win2-course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--winhp-shadow-soft);
    border-color: rgba(212, 175, 55, .4);
}
body.winhp-courses .win2-course-thumb,
body.winhp-coaches .win2-course-thumb,
body.winhp-client .win2-course-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--winhp-paper-2); overflow: hidden; }
body.winhp-courses .win2-course-thumb img,
body.winhp-coaches .win2-course-thumb img,
body.winhp-client .win2-course-thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
body.winhp-courses .win2-course-thumb::before,
body.winhp-coaches .win2-course-thumb::before,
body.winhp-client .win2-course-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--winhp-grad-petal);
}
body.winhp-courses .win2-course-badge,
body.winhp-events .win2-course-badge,
body.winhp-coaches .win2-course-badge,
body.winhp-client .win2-course-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--winhp-grad-gold);
    box-shadow: 0 4px 10px rgba(15, 23, 42, .2);
}
/* on the courses list page a category badge can be paired with a certified badge —
   stack them in one positioned wrapper instead of each badge positioning itself */
body.winhp-courses .win2-course-badges-start,
body.winhp-client .win2-course-badges-start {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
body.winhp-courses .win2-course-badges-start .win2-course-badge,
body.winhp-client .win2-course-badges-start .win2-course-badge {
    position: static;
    top: auto;
    inset-inline-start: auto;
}
body.winhp-courses .win2-course-badge-certified,
body.winhp-client .win2-course-badge-certified {
    background: var(--winhp-grad-teal) !important;
}
body.winhp-courses .win2-course-badge-certified i,
body.winhp-client .win2-course-badge-certified i { font-size: 10px; margin-inline-end: 2px; }
body.winhp-courses .win2-course-discount-badge,
body.winhp-events .win2-course-discount-badge,
body.winhp-coaches .win2-course-discount-badge,
body.winhp-client .win2-course-discount-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    background: #EF4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, .35);
}
/* Wishlist page: discount badge + heart "remove" button share the top-end
   corner, stacked like .win2-course-badges-start does on the opposite side. */
body.winhp-client .win2-course-badges-end {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
body.winhp-client .win2-course-badges-end .win2-course-discount-badge {
    position: static;
    top: auto;
    inset-inline-end: auto;
}
body.winhp-client .win2-course-remove-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: #EF4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .25);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
body.winhp-client .win2-course-remove-btn:hover {
    background: #EF4444;
    color: #fff;
    transform: scale(1.08);
}
body.winhp-courses .win2-course-body,
body.winhp-coaches .win2-course-body,
body.winhp-client .win2-course-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
body.winhp-courses .win2-course-meta,
body.winhp-events .win2-course-meta,
body.winhp-coaches .win2-course-meta,
body.winhp-client .win2-course-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--winhp-ink-soft); margin-bottom: 10px; }
body.winhp-courses .win2-course-title,
body.winhp-events .win2-course-title,
body.winhp-coaches .win2-course-title,
body.winhp-client .win2-course-title { font-size: 1.15rem; color: var(--winhp-ink); margin-bottom: 8px; line-height: 1.45; }
body.winhp-courses .win2-course-title a,
body.winhp-coaches .win2-course-title a,
body.winhp-client .win2-course-title a { color: inherit; }
body.winhp-courses .win2-course-desc,
body.winhp-events .win2-course-desc,
body.winhp-coaches .win2-course-desc,
body.winhp-client .win2-course-desc { font-size: .92rem; color: var(--winhp-ink-soft); line-height: 1.65; margin-bottom: 14px; }
body.winhp-courses .win2-course-trainer,
body.winhp-events .win2-course-trainer,
body.winhp-client .win2-course-trainer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--winhp-paper-2); margin-bottom: 14px; }
body.winhp-courses .win2-course-trainer img,
body.winhp-events .win2-course-trainer img,
body.winhp-client .win2-course-trainer img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--winhp-paper-2); }
body.winhp-courses .win2-course-trainer span,
body.winhp-events .win2-course-trainer span,
body.winhp-client .win2-course-trainer span { font-size: 12.5px; color: var(--winhp-ink-soft); }
body.winhp-courses .win2-course-price,
body.winhp-events .win2-course-price,
body.winhp-coaches .win2-course-price,
body.winhp-client .win2-course-price { font-weight: 800; color: var(--winhp-violet); font-family: 'Win Cairo', sans-serif; margin-bottom: 10px; }
body.winhp-courses .win2-course-price s,
body.winhp-events .win2-course-price s,
body.winhp-coaches .win2-course-price s,
body.winhp-client .win2-course-price s { font-weight: 400; color: var(--winhp-ink-soft); margin-inline-start: 4px; }
body.winhp-courses .win2-course-btn,
body.winhp-events .win2-course-btn,
body.winhp-coaches .win2-course-btn,
body.winhp-client .win2-course-btn {
    display: block;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 12px;
    background: var(--winhp-grad-gold);
    color: #2b1c00;
    box-shadow: 0 8px 18px -6px rgba(212, 175, 55, .5);
}
body.winhp-courses .win2-course-btn:hover,
body.winhp-events .win2-course-btn:hover,
body.winhp-coaches .win2-course-btn:hover,
body.winhp-client .win2-course-btn:hover { transform: translateY(-2px); color: #2b1c00; }

/* Pagination */
body.winhp-courses .pagination .page-link {
    border-radius: 999px !important;
    margin: 0 3px;
    border-color: var(--winhp-line);
    color: var(--winhp-ink);
}
body.winhp-courses .pagination .page-item.active .page-link {
    background: var(--winhp-grad-petal);
    border-color: transparent;
    color: #fff;
}
body.winhp-courses .pagination-text {
    color: var(--winhp-ink-soft);
}

/* =========================================================================
   COURSE DETAILS PAGE (same body.winhp-courses class as the list page)
   resources/views/course-details.blade.php
   ========================================================================= */

body.winhp-courses .inner-banner {
    position: relative;
    padding: 80px 0 60px;
    /* fallback shown if the course's uploaded banner image fails to load */
    background-color: var(--winhp-void-2);
}
body.winhp-courses .inner-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(11,8,24,.55) 0%, rgba(11,8,24,.82) 100%);
}
body.winhp-courses .inner-banner .container {
    position: relative;
    z-index: 1;
}
body.winhp-courses .inner-banner .badge.bg-warning {
    background: var(--winhp-grad-gold) !important;
    color: #2b1c00 !important;
}
body.winhp-courses .inner-banner .badge.bg-secondary {
    background: rgba(255,255,255,.15) !important;
}

body.winhp-courses .course-sidebar-sec .card {
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
    margin-bottom: 20px;
}
body.winhp-courses .subs-title {
    font-family: 'Win Cairo', sans-serif;
    font-weight: 800;
    font-size: 17px;
}
body.winhp-courses .course-sidebar-sec .play-icon {
    background: var(--winhp-grad-petal);
}
body.winhp-courses .cou-features-card {
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
    padding: 20px;
}
body.winhp-courses .cou-features ul li {
    border-color: var(--winhp-line) !important;
}

/* Enrollment / wishlist buttons */
body.winhp-courses .btn-wish {
    border-radius: 999px;
    border-color: var(--winhp-line);
}
body.winhp-courses .btn-wish .filled-heart,
body.winhp-courses .btn-wish i.text-danger {
    color: var(--winhp-magenta) !important;
}
body.winhp-courses .btn-enroll,
body.winhp-courses .btn-enroll-warning,
body.winhp-courses .course-sidebar-sec .btn-primary {
    background: var(--winhp-grad-petal);
    border: none;
    border-radius: 999px;
    font-weight: 700;
}
body.winhp-courses .btn-enroll:hover,
body.winhp-courses .course-sidebar-sec .btn-primary:hover {
    box-shadow: 0 12px 26px -10px rgba(106, 33, 214, .5);
}
body.winhp-courses .btn-renew,
body.winhp-courses .course-sidebar-sec .btn-warning {
    background: var(--winhp-grad-gold);
    border: none;
    border-radius: 999px;
    color: #2b1c00;
    font-weight: 700;
}
body.winhp-courses .course-sidebar-sec .btn-success {
    background: var(--winhp-grad-teal);
    border: none;
    border-radius: 999px;
    font-weight: 700;
}

/* Course content cards + curriculum accordion */
body.winhp-courses .course-page-content .card {
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
    margin-bottom: 20px;
}
body.winhp-courses .course-page-content .accordion-customicon1 .accordion-button {
    font-weight: 700;
}
body.winhp-courses .course-page-content .accordion-item {
    border-color: var(--winhp-line);
}

/* =========================================================================
   EVENTS LIST PAGE (body.winhp-events) — resources/views/events.blade.php
   Same filter-sidebar/breadcrumb pattern as courses.blade.php, restyled
   identically but scoped to its own body class.
   ========================================================================= */

body.winhp-events .breadcrumb-bar {
    background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero));
    padding: 56px 0;
}
body.winhp-events .breadcrumb-title { color: var(--winhp-ink); font-size: clamp(26px, 3vw, 36px); }
body.winhp-events .breadcrumb .breadcrumb-item,
body.winhp-events .breadcrumb .breadcrumb-item a { color: var(--winhp-ink-soft); }
body.winhp-events .breadcrumb .breadcrumb-item.active { color: var(--winhp-gold-deep); }
body.winhp-events .breadcrumb-item + .breadcrumb-item::before { color: var(--winhp-ink-soft); }

body.winhp-events .filter-clear {
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-events .clear-filter h5 { font-family: 'Win Cairo', sans-serif; font-weight: 800; font-size: 16px; }
body.winhp-events .clear-filter h5 i { color: var(--winhp-teal) !important; }
body.winhp-events .clear-text.text-danger { color: var(--winhp-magenta) !important; }
body.winhp-events .accordion-customicon1 .accordion-button { font-weight: 700; color: var(--winhp-ink); }
body.winhp-events .accordion-customicon1 .accordion-button i { color: var(--winhp-teal); }
body.winhp-events .custom_check input:checked ~ .checkmark {
    background: var(--winhp-grad-teal);
    border-color: transparent;
}
body.winhp-events .irs--round .irs-bar,
body.winhp-events .irs--round .irs-from,
body.winhp-events .irs--round .irs-to,
body.winhp-events .irs--round .irs-single { background: var(--winhp-teal) !important; }
body.winhp-events .irs--round .irs-handle { border-color: var(--winhp-teal) !important; }
body.winhp-events .event-date-range .form-label { font-size: 13px; font-weight: 600; color: var(--winhp-ink-soft); }
body.winhp-events .event-date-range .form-control {
    border: 1.5px solid var(--winhp-line);
    border-radius: 12px;
    font-size: 14px;
    padding: 8px 12px;
}
body.winhp-events .event-date-range .form-control:focus {
    border-color: var(--winhp-teal);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--winhp-teal) 18%, transparent);
}

body.winhp-events .showing-list .show-result h6 { color: var(--winhp-ink-soft); font-weight: 600; }
body.winhp-events .search-group { border-radius: 999px; overflow: hidden; }
body.winhp-events .search-group i { color: var(--winhp-teal); }
body.winhp-events .form-select { border-radius: 999px; }
body.winhp-events .form-select:focus {
    border-color: var(--winhp-teal);
    box-shadow: 0 0 0 .2rem rgba(20, 184, 166, .15);
}

/* Event cards — reuses the .win2-course-* component parts from the homepage
   (badge, discount badge, meta row, title, description, trainer row, price,
   button) inside a horizontal shell, so it reads as the same design system. */
/* ticket-stub look: image stub + perforated tear-line + content stub */
body.winhp-events .win2-event-list-card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-card);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.winhp-events .win2-event-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--winhp-shadow-soft);
    border-color: rgba(212, 175, 55, .4);
}
/* strict, predictable crop — every event photo renders at the same ratio */
body.winhp-events .win2-event-list-thumb {
    position: relative;
    flex: 0 0 300px;
    aspect-ratio: 4 / 3;
    background: var(--winhp-grad-teal);
    align-self: stretch;
}
@media (max-width: 767.98px) {
    body.winhp-events .win2-event-list-thumb { flex-basis: 100%; aspect-ratio: 16 / 9; }
}
body.winhp-events .win2-event-list-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.winhp-events .win2-event-list-body {
    position: relative;
    flex: 1 1 320px;
    padding: 24px 24px 24px 30px;
    display: flex;
    flex-direction: column;
    border-inline-start: 2px dashed var(--winhp-line);
}
/* the two half-circle "punch" notches that make the divider read as a tear-off ticket stub */
body.winhp-events .win2-event-list-body::before,
body.winhp-events .win2-event-list-body::after {
    content: '';
    position: absolute;
    inset-inline-start: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--winhp-line);
    z-index: 3;
}
body.winhp-events .win2-event-list-body::before { top: -15px; }
body.winhp-events .win2-event-list-body::after { bottom: -15px; }
@media (max-width: 767.98px) {
    body.winhp-events .win2-event-list-body {
        border-inline-start: none;
        border-top: 2px dashed var(--winhp-line);
        padding-inline-start: 24px;
    }
    body.winhp-events .win2-event-list-body::before,
    body.winhp-events .win2-event-list-body::after {
        inset-inline-start: auto;
        top: -14px;
        bottom: auto;
    }
    body.winhp-events .win2-event-list-body::before { right: -14px; }
    body.winhp-events .win2-event-list-body::after { left: -14px; }
}
body.winhp-events .win2-event-list-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--winhp-gold-deep);
    background: #fdf6e6;
    border: 1px solid var(--winhp-gold);
    padding: 3px 10px;
    border-radius: 999px;
}
body.winhp-events .win2-course-title a { color: var(--winhp-ink); font-weight: 700; }

body.winhp-events .pagination .page-link {
    border-radius: 999px !important;
    margin: 0 3px;
    border-color: var(--winhp-line);
    color: var(--winhp-ink);
}
body.winhp-events .pagination .page-item.active .page-link {
    background: var(--winhp-grad-teal);
    border-color: transparent;
    color: #fff;
}
body.winhp-events .pagination-text { color: var(--winhp-ink-soft); }

/* =========================================================================
   EVENT DETAILS PAGE (same body.winhp-events class as the list page)
   resources/views/event-details.blade.php
   Pricing-tier cards keep their per-pack admin-configurable inline colors
   untouched — only the surrounding shell (hero card, sidebar, generic
   buttons, wishlist) gets the brand treatment here.
   ========================================================================= */

body.winhp-events .course-details-two .card.bg-light {
    background: #fff !important;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-events .play-icon {
    background: var(--winhp-grad-teal);
}
body.winhp-events .subs-title {
    font-family: 'Win Cairo', sans-serif;
    font-weight: 800;
    font-size: 17px;
}
body.winhp-events .course-page-content .card,
body.winhp-events .course-sidebar-sec .card {
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-events .btn-wish {
    border-radius: 999px;
    border-color: var(--winhp-line);
}
body.winhp-events .btn-wish .filled-heart,
body.winhp-events .btn-wish i.text-danger {
    color: var(--winhp-magenta) !important;
}
/* Generic buttons only — pack-specific inline colors (style="background-color:...")
   still win by specificity when a pack has its own admin-set color. */
body.winhp-events .course-sidebar-sec .btn-primary,
body.winhp-events .btn.btn-primary:not([style*="background"]) {
    background: var(--winhp-grad-teal);
    border: none;
    border-radius: 999px;
    font-weight: 700;
}
body.winhp-events .btn-outline-primary {
    border-radius: 999px;
    border-color: var(--winhp-teal);
    color: var(--winhp-teal);
}
body.winhp-events .btn-outline-primary:hover {
    background: var(--winhp-grad-teal);
    border-color: transparent;
}
#packages-section h3.fw-bold {
    font-family: 'Win Cairo', sans-serif;
}

/* =========================================================================
   COACHES LIST + COACH DETAILS (body.winhp-coaches)
   resources/views/coaches.blade.php, resources/views/coach-details.blade.php
   ========================================================================= */

body.winhp-coaches .breadcrumb-bar {
    background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero));
    padding: 56px 0;
}
body.winhp-coaches .breadcrumb-title { color: var(--winhp-ink); font-size: clamp(26px, 3vw, 36px); }
body.winhp-coaches .breadcrumb .breadcrumb-item,
body.winhp-coaches .breadcrumb .breadcrumb-item a { color: var(--winhp-ink-soft); }
body.winhp-coaches .breadcrumb .breadcrumb-item.active { color: var(--winhp-gold-deep); }
body.winhp-coaches .breadcrumb-item + .breadcrumb-item::before { color: var(--winhp-ink-soft); }
body.winhp-coaches .showing-list .show-result h6 { color: var(--winhp-ink-soft); font-weight: 600; }

/* Coach grid cards */
body.winhp-coaches .instructor-item.instructor-item-six {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--winhp-shadow-card);
    border: 1px solid var(--winhp-line);
    transition: transform .25s ease, box-shadow .25s ease;
    /* the base theme hardcodes text-align: left on this card — override for RTL
       so the coach name and title/designation align to the reading-start side */
    text-align: start;
}
body.winhp-coaches .instructor-item.instructor-item-six:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px -20px rgba(24, 15, 52, .25);
}
body.winhp-coaches .instructor-item.instructor-item-six .instructors-img {
    aspect-ratio: 4 / 3;
    background: var(--winhp-grad-petal);
}
body.winhp-coaches .instructor-item.instructor-item-six .instructors-img img {
    height: 100%;
    object-fit: cover;
}
body.winhp-coaches .instructor-content .title a { color: var(--winhp-ink); font-weight: 700; }
body.winhp-coaches .instructor-content .designation { color: var(--winhp-violet); font-weight: 600; }
body.winhp-coaches .pagination .page-link {
    border-radius: 999px !important;
    margin: 0 3px;
    border-color: var(--winhp-line);
    color: var(--winhp-ink);
}
body.winhp-coaches .pagination .page-item.active .page-link {
    background: var(--winhp-grad-petal);
    border-color: transparent;
    color: #fff;
}

/* Coach details page */
body.winhp-coaches .instructor-detail-content .card {
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-coaches .instructor-details .instructor-img img {
    border-radius: 16px;
}
body.winhp-coaches .counts-details i {
    color: var(--winhp-violet) !important;
}
body.winhp-coaches .contact-icon {
    background: var(--winhp-grad-petal);
    color: #fff;
}
body.winhp-coaches .read-more-btn {
    color: var(--winhp-violet);
    font-weight: 700;
}
/* Courses/events sections use card-body.p-0 so the heading was flush against
   the rounded card's top edge — give it normal card padding like the other
   sidebar/contact cards on this page. */
body.winhp-coaches .instructor-detail-content .card.border-0 > .card-body.p-0 {
    padding: 20px !important;
}

/* Smaller, more compact course cards inside the coach-detail courses carousel
   (Slick, 2-per-slide — needs the squeeze). Events moved to a one-per-slide Owl
   carousel (.win2-events-slider, below) which has room for the full-size ticket,
   so no compact override is applied there.
   (These used to target .course-item.course-item-three/.tag-btn/.view-course-btn,
   classes from a pre-redesign version of this page's markup — the cards were
   migrated to the shared .win2-course-card component, which already has its own
   full-size styling and .win2-course-btn, but these carousel-specific overrides
   were left pointing at the old, now-nonexistent classes and had zero effect.) */
body.winhp-coaches .course-carousal .win2-course-card {
    border-radius: 14px;
    height: 100%;
    min-height: 0;
}
body.winhp-coaches .course-carousal .win2-course-title {
    font-size: 15px;
}
body.winhp-coaches .course-carousal .win2-course-desc,
body.winhp-coaches .course-carousal .win2-course-meta span {
    font-size: 13px;
}
/* Slick doesn't stretch the wrapper <div> around each card to the slide's full
   height by default, so .win2-course-card's height:100% had nothing to fill —
   course cards with different content lengths ended up uneven heights. */
body.winhp-coaches .course-carousal .slick-track {
    display: flex !important;
}
body.winhp-coaches .course-carousal .slick-slide {
    height: auto;
    display: flex !important;
}
body.winhp-coaches .course-carousal .slick-slide > div {
    display: flex;
    width: 100%;
}

/* Coach details course/event carousels (Slick): give the slider room so its
   arrows (positioned top:-33px by the base theme) clear the heading above it
   instead of overlapping the heading text. */
body.winhp-coaches .instructor-detail-content .course-carousal {
    margin-top: 55px;
}
body.winhp-coaches .instructor-detail-content .course-carousal .slick-arrow {
    background: #fff;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-coaches .instructor-detail-content .course-carousal .slick-arrow:hover {
    background: var(--winhp-grad-petal);
}
body.winhp-coaches .instructor-detail-content .course-carousal .slick-arrow:hover::before {
    color: #fff;
}

/* Coach-detail events: one-per-slide Owl carousel, same config as the homepage
   (.win2-events-slider, items:1), instead of Slick's slidesToShow:2 — avoids the
   empty reserved second slot that squeezed the ticket design when a coach only
   had 1-2 events. Nav/dots are simple static controls below the slide (no
   absolute positioning) since there's no section header row to tuck them into. */
body.winhp-coaches .win2-events-slider.owl-carousel {
    padding-bottom: 10px;
}
body.winhp-coaches .win2-events-slider .item {
    padding: 4px;
}
body.winhp-coaches .win2-events-slider.owl-carousel .owl-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}
/* Owl always builds the nav/dots elements and just marks them .disabled when
   there's only 1 event (nav:false/dots:false) — without this, our own
   display:flex above would override the library's own "hide when disabled"
   rule and the arrows would show (and look clickable) for a single-event
   carousel that has nowhere to go. */
body.winhp-coaches .win2-events-slider.owl-carousel .owl-nav.disabled,
body.winhp-coaches .win2-events-slider.owl-carousel .owl-dots.disabled {
    display: none;
}
body.winhp-coaches .win2-events-slider.owl-carousel .owl-nav button.owl-prev,
body.winhp-coaches .win2-events-slider.owl-carousel .owl-nav button.owl-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff !important;
    border: 1.5px solid var(--winhp-line);
    color: var(--winhp-ink) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
body.winhp-coaches .win2-events-slider.owl-carousel .owl-nav button.owl-prev:hover,
body.winhp-coaches .win2-events-slider.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--winhp-grad-gold) !important;
    color: #2b1c00 !important;
    transform: translateY(-2px);
}
body.winhp-coaches .win2-events-slider.owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
body.winhp-coaches .win2-events-slider.owl-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0;
    background: var(--winhp-line);
    border-radius: 50%;
    display: block;
    transition: background .2s ease, transform .2s ease;
}
body.winhp-coaches .win2-events-slider.owl-carousel .owl-dot.active span {
    background: var(--winhp-grad-gold);
    transform: scale(1.3);
}

/* =========================================================================
   CONTACT US (body.winhp-contact) — resources/views/contact-us.blade.php
   ========================================================================= */

body.winhp-contact .breadcrumb-bar { background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero)); padding: 56px 0; }
body.winhp-contact .breadcrumb-title { color: var(--winhp-ink); font-size: clamp(26px, 3vw, 36px); }
body.winhp-contact .breadcrumb .breadcrumb-item,
body.winhp-contact .breadcrumb .breadcrumb-item a { color: var(--winhp-ink-soft); }
body.winhp-contact .breadcrumb .breadcrumb-item.active { color: var(--winhp-gold-deep); }
body.winhp-contact .breadcrumb-item + .breadcrumb-item::before { color: var(--winhp-ink-soft); }

body.winhp-contact .contact-info .card {
    border-radius: 18px !important;
    box-shadow: var(--winhp-shadow-card);
    border-color: var(--winhp-line) !important;
}
body.winhp-contact .contact-icon span.bg-primary {
    background: var(--contact-accent-grad, var(--winhp-grad-petal)) !important;
}
body.winhp-contact .contact-info a.text-primary-hover:hover {
    color: var(--winhp-violet) !important;
}
body.winhp-contact .bg-light.border.rounded-4 {
    background: var(--winhp-paper-2) !important;
    border-color: var(--winhp-line) !important;
}
body.winhp-contact .section-badge {
    display: inline-block;
    background: #fff;
    color: var(--contact-badge-color, var(--winhp-violet));
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 10px;
}
body.winhp-contact .section-header h2 {
    font-family: 'Win Cairo', sans-serif;
}
body.winhp-contact .card .form-control:focus {
    border-color: var(--winhp-violet);
    box-shadow: 0 0 0 .2rem rgba(106, 33, 214, .15);
}
body.winhp-contact .btn.btn-secondary {
    background: var(--contact-accent-grad, var(--winhp-grad-petal)) !important;
    border: none !important;
    border-radius: 999px;
    font-weight: 700;
}

/* =========================================================================
   ABOUT US (body.winhp-about) — resources/views/about-us.blade.php
   Every card/icon color here is admin-configurable via Settings, so this
   only restyles the shared shell (breadcrumb, section headers, shadows).
   ========================================================================= */

body.winhp-about .breadcrumb-bar { background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero)); padding: 56px 0; }
body.winhp-about .breadcrumb-title { color: var(--winhp-ink); font-size: clamp(26px, 3vw, 36px); }
body.winhp-about .breadcrumb .breadcrumb-item,
body.winhp-about .breadcrumb .breadcrumb-item a { color: var(--winhp-ink-soft); }
body.winhp-about .breadcrumb .breadcrumb-item.active { color: var(--winhp-gold-deep); }
body.winhp-about .breadcrumb-item + .breadcrumb-item::before { color: var(--winhp-ink-soft); }

/* about intro — reuses the homepage's .win2-about split layout.
   In this RTL site the first flex item sits on the right, so with the image
   column first in the markup and text/cards second, image lands on the
   right and the text+feature cards land on the left, as requested. */
body.winhp-about .win2-about { padding: 70px 0; }
body.winhp-about .win2-about-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
body.winhp-about .win2-about-grid > div {
    flex: 1 1 420px;
    min-width: 0;
}
body.winhp-about .win2-about-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.winhp-about .win2-about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 14px;
    padding: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.winhp-about .win2-about-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--winhp-shadow-card);
    border-color: var(--feature-hover-color, var(--winhp-gold));
}
body.winhp-about .win2-about-feature-icon {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.winhp-about .win2-about-feature-icon img { width: 42px; height: 42px; object-fit: contain; }
body.winhp-about .win2-about-feature-item h4 { font-size: .95rem; color: var(--winhp-ink); margin-bottom: 4px; }
body.winhp-about .win2-about-feature-item p { font-size: .84rem; color: var(--winhp-ink-soft); margin: 0; }

/* section kickers read like the homepage's .win2-kicker pill label */
body.winhp-about .section-header span.text-secondary {
    display: inline-block;
    color: var(--winhp-gold-deep) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 13px;
    font-weight: 700 !important;
}
body.winhp-about .section-header h2 {
    font-family: 'Win Alexandria', 'Alexandria', 'Win Cairo', sans-serif;
    color: var(--winhp-ink);
}
body.winhp-about .section-header p {
    color: var(--winhp-ink-soft);
}
/* benefit cards — same shell/icon-chip language as the homepage's .win2-service-card */
body.winhp-about .win2-about-benefit-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-card);
    padding: 28px 24px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.winhp-about .win2-about-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--winhp-shadow-soft);
    border-color: var(--card-hover-color, var(--winhp-gold));
}
body.winhp-about .win2-about-benefit-icon {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
body.winhp-about .win2-about-benefit-icon img { width: 42px; height: 42px; object-fit: contain; }
body.winhp-about .win2-about-benefit-card h5 { color: var(--winhp-ink); font-size: 1.1rem; margin-bottom: 8px; }
body.winhp-about .win2-about-benefit-card p { color: var(--winhp-ink-soft); font-size: .92rem; line-height: 1.65; margin: 0; }
/* stats section — its own background class, not fighting Bootstrap's
   bg-primary/bg-opacity-25 utilities (which carry !important and were
   winning over any override, producing a stray tinted-gold box) */
body.winhp-about .win2-about-counter-sec {
    padding: 70px 0;
    background: var(--winhp-void-2);
}
body.winhp-about .counter-sec .card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    border: 1px solid var(--winhp-line);
    height: 100%;
}
body.winhp-about .counter-sec .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--winhp-shadow-soft);
    border-color: var(--card-hover-color, var(--winhp-gold));
}
body.winhp-about .counter-sec .counter-icon {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 16px;
}
body.winhp-about .counter-sec .counter-icon img { width: 42px; height: 42px; object-fit: contain; }
body.winhp-about .counter-sec .count-content h4 {
    font-family: 'Win Cairo', sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 3.2vw, 2.4rem) !important;
    margin-bottom: 4px;
}
body.winhp-about .counter-sec .count-content p {
    color: var(--winhp-ink-soft);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
}
body.winhp-about .counter-sec .card-body { padding: 24px 20px; }
body.winhp-about .faq-section .accordion-customicon1 .accordion-button {
    font-weight: 700;
    color: var(--winhp-ink);
}
body.winhp-about .faq-section .accordion-customicon1 .accordion-button:not(.collapsed) {
    color: var(--winhp-gold-deep) !important;
}
body.winhp-about .faq-section .accordion-item {
    border-color: var(--winhp-line);
    border-radius: 14px !important;
    overflow: hidden;
    transition: border-color .25s ease;
}
body.winhp-about .faq-section .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--winhp-gold);
}
/* trusted-by logos strip */
body.winhp-about .client-section h4 {
    font-family: 'Win Alexandria', 'Alexandria', 'Win Cairo', sans-serif;
    color: var(--winhp-ink);
}
body.winhp-about .client-section .institutions-items img {
    filter: grayscale(1);
    opacity: .55;
    transition: opacity .2s ease, filter .2s ease;
}
body.winhp-about .client-section .institutions-items img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* =========================================================================
   CART (body.winhp-cart) — resources/views/cart.blade.php
   Cart line items are injected client-side via JS template literals, not
   Blade, but the class names they emit (.cart-item, .cart-img, .trash-btn)
   are stable, so pure CSS still reaches them without touching the script.
   ========================================================================= */

body.winhp-cart .breadcrumb-bar { background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero)); padding: 56px 0; }
body.winhp-cart .breadcrumb-title { color: var(--winhp-ink); font-size: clamp(26px, 3vw, 36px); }
body.winhp-cart .breadcrumb .breadcrumb-item,
body.winhp-cart .breadcrumb .breadcrumb-item a { color: var(--winhp-ink-soft); }
body.winhp-cart .breadcrumb .breadcrumb-item.active { color: var(--winhp-gold-deep); }
body.winhp-cart .breadcrumb-item + .breadcrumb-item::before { color: var(--winhp-ink-soft); }

body.winhp-cart .cart-items {
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
    padding: 28px;
}
body.winhp-cart .cart-item {
    border: 1px solid var(--winhp-line);
    border-radius: 16px;
    padding: 14px;
}
body.winhp-cart .cart-img {
    border-radius: 12px;
    overflow: hidden;
}
body.winhp-cart .trash-btn {
    color: var(--winhp-magenta) !important;
}
body.winhp-cart .bg-light.border.rounded-2 {
    background: var(--winhp-paper-2) !important;
    border-color: var(--winhp-line) !important;
}
body.winhp-cart #cart-total {
    color: var(--winhp-violet);
    font-family: 'Win Cairo', sans-serif;
}
body.winhp-cart .continue-shopping-btn {
    border-radius: 999px;
    border: 1px solid var(--winhp-line);
    background: #fff;
}
body.winhp-cart .btn.checkout-btn { /* beats the theme's .cart-cover .btn.checkout-btn (var(--secondary) is admin-set) */
    border-radius: 999px;
    background: var(--winhp-grad-petal);
    color: #fff;
    border: none;
    font-weight: 700;
}
body.winhp-cart .btn.checkout-btn:hover {
    box-shadow: 0 12px 26px -10px rgba(106, 33, 214, .5);
}
body.winhp-cart #empty-cart .btn-primary {
    background: var(--winhp-grad-petal);
    border: none;
    border-radius: 999px;
}

/* =========================================================================
   CHECKOUT (body.winhp-checkout) — resources/views/client/checkout.blade.php
   ========================================================================= */

body.winhp-checkout .breadcrumb-bar { background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero)); padding: 56px 0; }
body.winhp-checkout .breadcrumb-title { color: var(--winhp-ink); font-size: clamp(26px, 3vw, 36px); }
body.winhp-checkout .breadcrumb .breadcrumb-item,
body.winhp-checkout .breadcrumb .breadcrumb-item a { color: var(--winhp-ink-soft); }
body.winhp-checkout .breadcrumb .breadcrumb-item.active { color: var(--winhp-gold-deep); }
body.winhp-checkout .breadcrumb-item + .breadcrumb-item::before { color: var(--winhp-ink-soft); }

body.winhp-checkout .checkout-item-1,
body.winhp-checkout .checkout-item-2 {
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
    padding: 26px;
}
body.winhp-checkout .checkout-item-3.bg-light {
    background: var(--winhp-paper-2) !important;
}
body.winhp-checkout .input-block .form-control:focus,
body.winhp-checkout .input-block select.form-control:focus {
    border-color: var(--winhp-violet);
    box-shadow: 0 0 0 .2rem rgba(106, 33, 214, .15);
}
body.winhp-checkout #total {
    color: var(--winhp-violet);
    font-family: 'Win Cairo', sans-serif;
}
body.winhp-checkout .nav-style-1 .nav-link {
    border-radius: 12px;
}
body.winhp-checkout .nav-style-1 .nav-link.active {
    background: #f3effc;
    border-color: var(--winhp-violet) !important;
}
body.winhp-checkout #payBtn,
body.winhp-checkout .btn.btn-secondary {
    background: var(--winhp-grad-petal) !important;
    border: none !important;
    border-radius: 999px;
    font-weight: 700;
}
body.winhp-checkout #bankTransferBtn,
body.winhp-checkout .btn-outline-primary {
    border-radius: 999px;
    border-color: var(--winhp-teal) !important; /* theme's .btn-outline-primary uses var(--secondary) !important */
    color: var(--winhp-teal) !important;
}
body.winhp-checkout #bankTransferBtn:hover,
body.winhp-checkout .btn-outline-primary:hover {
    background: var(--winhp-grad-teal);
    border-color: transparent !important;
    color: #fff !important;
}
body.winhp-checkout #uploadReceiptBtn {
    background: var(--winhp-grad-teal);
    border: none;
    border-radius: 999px;
    color: #fff;
}
body.winhp-checkout #bankOrderReference {
    /* markup already carries bg-dark + text-white for this pill — keep it a
       deliberately dark badge instead of pulling in the now-light void token */
    background: var(--winhp-ink) !important;
    border-color: var(--winhp-gold) !important;
}

/* =========================================================================
   CLIENT DASHBOARD (body.winhp-client)
   resources/views/client/client-dashboard.blade.php
   ========================================================================= */

body.winhp-client .breadcrumb-bar { background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero)); padding: 56px 0; }
body.winhp-client .breadcrumb-title { color: var(--winhp-ink); font-size: clamp(26px, 3vw, 36px); }
body.winhp-client .breadcrumb .breadcrumb-item,
body.winhp-client .breadcrumb .breadcrumb-item a { color: var(--winhp-ink-soft); }
body.winhp-client .breadcrumb .breadcrumb-item.active { color: var(--winhp-gold-deep); }
body.winhp-client .breadcrumb-item + .breadcrumb-item::before { color: var(--winhp-ink-soft); }

body.winhp-client .profile-card.bg-blue-gradient2 {
    background: var(--winhp-grad-hero) !important;
    border-radius: 20px;
}
/* The card's base-theme text-white/text-light/link-light/border-white utility
   classes already assume a dark card background, which matches the dark hero
   gradient above — keep them light rather than switching to the ink colors
   used on the page's (light) surrounding surface. */
body.winhp-client .profile-card.bg-blue-gradient2 .text-white,
body.winhp-client .profile-card.bg-blue-gradient2 h5 {
    color: #fff !important;
}
body.winhp-client .profile-card.bg-blue-gradient2 .text-light,
body.winhp-client .profile-card.bg-blue-gradient2 p {
    color: rgba(255, 255, 255, .75) !important;
}
body.winhp-client .profile-card.bg-blue-gradient2 .link-light {
    color: var(--winhp-gold-light) !important;
}
body.winhp-client .profile-card.bg-blue-gradient2 .avatar {
    border-color: rgba(255, 255, 255, .35) !important;
}
body.winhp-client .settings-sidebar,
body.winhp-client .card {
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-client .settings-sidebar .nav-link.active {
    background: #f3effc;
    color: var(--winhp-violet) !important;
}
body.winhp-client .icon-box.bg-primary-transparent { background: #f3effc !important; }
body.winhp-client .icon-box.bg-secondary-transparent { background: #fdf6e6 !important; }
body.winhp-client .icon-box.bg-success-transparent { background: #e8faf7 !important; }
body.winhp-client .quiz-ans-card.bg-light {
    background: var(--winhp-paper-2) !important;
}
body.winhp-client .quiz-ans-card .btn-primary {
    background: var(--winhp-grad-petal);
    border: none;
}
body.winhp-client .course-item-two.course-item {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--winhp-shadow-card);
    border: 1px solid var(--winhp-line);
}
body.winhp-client .course-item-two .course-img {
    aspect-ratio: 16 / 10;
    background: var(--winhp-grad-petal);
}
body.winhp-client .course-item-two .course-img img {
    height: 100%;
    object-fit: cover;
}
body.winhp-client .course-item-two .btn.btn-dark {
    background: var(--winhp-grad-petal);
    border: none;
    border-radius: 999px;
}
body.winhp-client .event-card .event-date-badge span {
    color: var(--winhp-violet);
}
body.winhp-client .event-card .btn.btn-dark {
    background: var(--winhp-grad-teal);
    border: none;
}
body.winhp-client .circle-progress .progress-bar.border-success { border-color: var(--winhp-teal) !important; }
body.winhp-client .circle-progress .progress-bar.border-warning { border-color: var(--winhp-gold) !important; }
body.winhp-client .circle-progress .progress-bar.border-danger { border-color: var(--winhp-magenta) !important; }
body.winhp-client .action-icon {
    color: var(--winhp-violet);
}

/* --- Shared sidebar pages: profile, orders, wishlist, enrolled courses/events
   resources/views/client/{client-profile,orders,client-wishlist,client-courses,client-events}.blade.php
   All reuse the dashboard's .profile-card / .card / .settings-sidebar markup
   (already styled above), plus a few page-specific elements below. --- */

body.winhp-client .page-title h5 {
    font-family: 'Win Cairo', 'Cairo', sans-serif;
    font-weight: 800;
}

/* Enrolled courses / events tab switcher */
body.winhp-client .tab-list .nav-item a {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    color: var(--winhp-ink-soft);
    font-weight: 600;
    border: 1px solid var(--winhp-line);
}
body.winhp-client .tab-list .nav-item a.active {
    background: var(--winhp-grad-petal);
    border-color: transparent;
    color: #fff;
}

/* Wishlist cards (course-item-three) */
body.winhp-client .course-item.course-item-three {
    border-radius: 18px;
    border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-card);
    padding: 14px;
    transition: transform .25s ease, box-shadow .25s ease;
    background: #fff;
}
body.winhp-client .course-item.course-item-three:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px -20px rgba(24, 15, 52, .25);
}
body.winhp-client .course-item.course-item-three .btn.btn-dark {
    background: var(--winhp-grad-petal);
    border: none;
    border-radius: 999px;
}
body.winhp-client .tag-btn {
    background: #f3effc;
    color: var(--winhp-violet);
    border-radius: 999px;
}
body.winhp-client .fav-icon {
    color: var(--winhp-magenta);
}

/* Order history table */
body.winhp-client .custom-table .table thead th {
    background: var(--winhp-paper-2);
    color: var(--winhp-ink);
    border-bottom: none;
}
body.winhp-client .custom-table .table td,
body.winhp-client .custom-table .table th {
    border-color: var(--winhp-line);
}

/* Pagination (order history / enrolled lists) */
body.winhp-client .pagination .page-link {
    border-radius: 999px !important;
    margin: 0 3px;
    border-color: var(--winhp-line);
    color: var(--winhp-ink);
}
body.winhp-client .pagination .page-item.active .page-link {
    background: var(--winhp-grad-petal);
    border-color: transparent;
    color: #fff;
}
body.winhp-client .pagination-text {
    color: var(--winhp-ink-soft);
}

/* Profile edit form */
body.winhp-client .form-control:focus,
body.winhp-client .form-select:focus {
    border-color: var(--winhp-violet);
    box-shadow: 0 0 0 .2rem rgba(106, 33, 214, .15);
}
body.winhp-client .btn-secondary.rounded-pill {
    background: var(--winhp-grad-petal);
    border: none;
}

/* Modals (order details, delete profile image / account) */
body.winhp-client .modal-content {
    border-radius: 18px;
    border: none;
}

/* =========================================================================
   COURSE WATCH (body.winhp-watch) — resources/views/client/course-watch.blade.php
   Two-column lesson player: chapter/lesson sidebar (left) + dynamic lesson
   content injected via JS into #lessonContent (right). Content markup for
   video/quiz/text/download/live lessons is built client-side in the page's
   own <script> block, so selectors below target the stable class names that
   script emits (.video-lesson, .quiz-lesson, .text-lesson, .download-lesson,
   .live-lesson, .lesson-actions, .file-item, etc.) rather than editing JS.
   ========================================================================= */

body.winhp-watch .breadcrumb-bar { background: var(--winhp-breadcrumb-bg, var(--winhp-grad-hero)); padding: 56px 0; }
body.winhp-watch .breadcrumb-title { color: var(--winhp-ink); font-size: clamp(24px, 2.6vw, 32px); }
body.winhp-watch .breadcrumb .breadcrumb-item,
body.winhp-watch .breadcrumb .breadcrumb-item a { color: var(--winhp-ink-soft); }
body.winhp-watch .breadcrumb .breadcrumb-item.active { color: var(--winhp-gold-deep); }
body.winhp-watch .breadcrumb-item + .breadcrumb-item::before { color: var(--winhp-ink-soft); }

/* --- Left column: progress + chapter/lesson accordion --- */
body.winhp-watch .progress-overview-section {
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
    padding: 24px;
}
body.winhp-watch .back-to-course {
    color: var(--winhp-violet);
    font-weight: 600;
}
body.winhp-watch .back-to-course:hover { color: var(--winhp-magenta); }
body.winhp-watch .progress-overview-section h3 {
    font-family: 'Win Cairo', sans-serif;
    color: var(--winhp-ink, #1c1730);
}
body.winhp-watch .progress-overview-section .progress-bar.bg-success {
    background: var(--winhp-grad-teal) !important;
}

body.winhp-watch .accordions-items-seperate .accordion-item {
    border: 1px solid var(--winhp-line);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
}
body.winhp-watch .accordion-button {
    background: var(--winhp-paper-2, #f7f5fc);
    font-family: 'Win Cairo', sans-serif;
}
body.winhp-watch .accordion-button:not(.collapsed) {
    background: #f3effc;
    color: var(--winhp-violet);
    box-shadow: none;
}
body.winhp-watch .accordion-button:focus { box-shadow: none; }
body.winhp-watch .accordion-button .badge.bg-warning {
    background: var(--winhp-grad-gold) !important;
    color: #2b1c00;
}

body.winhp-watch .lesson-item {
    border-radius: 12px;
    padding: 8px 10px;
    transition: background .15s ease, transform .15s ease;
}
body.winhp-watch .lesson-item:hover {
    background: #f7f5fc;
}
body.winhp-watch .lesson-item.active {
    background: #f3effc;
    box-shadow: inset 3px 0 0 var(--winhp-violet);
}
body.winhp-watch .lesson-item.lesson-locked {
    opacity: .6;
}
body.winhp-watch .lesson-icon .isax.text-primary { color: var(--winhp-violet) !important; }
body.winhp-watch .lesson-icon .isax.text-warning { color: var(--winhp-gold-deep, #8f6c1e) !important; }
body.winhp-watch .lesson-icon .isax.text-info { color: var(--winhp-teal) !important; }
body.winhp-watch .lesson-icon .isax.text-success { color: var(--winhp-teal) !important; }
body.winhp-watch .lesson-icon .isax.text-danger { color: var(--winhp-magenta) !important; }
body.winhp-watch .lesson-status .isax-tick-circle { color: var(--winhp-teal) !important; }
body.winhp-watch .lesson-status .isax-play-circle { color: var(--winhp-violet) !important; }
body.winhp-watch .badge.bg-success { background: var(--winhp-grad-teal) !important; }
body.winhp-watch .badge.bg-secondary { background: #8b849f !important; }

/* --- Right column: dynamic lesson content --- */
body.winhp-watch .course-watch-content {
    background: #fff;
    border: 1px solid var(--winhp-line);
    border-radius: 18px;
    box-shadow: var(--winhp-shadow-card);
    padding: 28px;
    min-height: 420px;
}
body.winhp-watch .fwduvp-lesson-player {
    border-radius: 18px;
    overflow: hidden;
    background: #0b0818;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(201, 162, 75, .35);
    box-shadow: 0 18px 44px -12px rgba(106, 33, 214, .45), 0 4px 12px rgba(20, 11, 51, .25);
}
body.winhp-watch .video-lesson h4,
body.winhp-watch .text-lesson h4,
body.winhp-watch .download-lesson h4,
body.winhp-watch .live-lesson h4 {
    font-family: 'Win Cairo', sans-serif;
    color: var(--winhp-ink, #1c1730);
}
body.winhp-watch .lesson-actions .btn-success {
    background: var(--winhp-grad-teal);
    border: none;
    border-radius: 999px;
    font-weight: 700;
}
body.winhp-watch .lesson-actions .btn-primary,
body.winhp-watch .lesson-actions .btn-outline-secondary {
    border-radius: 999px;
}
body.winhp-watch .lesson-actions .btn-primary {
    background: var(--winhp-grad-petal);
    border: none;
}

/* Text lesson prose */
body.winhp-watch .lesson-content-container {
    line-height: 1.75;
}

/* Download lesson */
body.winhp-watch .file-item {
    border-color: var(--winhp-line) !important;
    border-radius: 12px !important;
    background: var(--winhp-paper-2, #f7f5fc);
}
body.winhp-watch .file-item .btn-primary {
    background: var(--winhp-grad-petal);
    border: none;
    border-radius: 999px;
}

/* Live lesson */
body.winhp-watch .live-lesson .isax-video-octagon { color: var(--winhp-violet) !important; }
body.winhp-watch .live-info-item i { color: var(--winhp-teal) !important; }
body.winhp-watch .live-actions .btn-primary {
    background: var(--winhp-grad-petal);
    border: none;
    border-radius: 999px;
}
body.winhp-watch .live-actions .btn-success {
    background: var(--winhp-grad-teal);
    border: none;
    border-radius: 999px;
}

/* Quiz lesson */
body.winhp-watch .quiz-header .bg-light {
    background: var(--winhp-paper-2, #f7f5fc) !important;
    border-color: var(--winhp-line) !important;
}
body.winhp-watch .quiz-header .progress {
    height: 10px;
    border-radius: 999px;
    background: var(--winhp-paper-2, #f7f5fc);
    overflow: hidden;
}
body.winhp-watch .quiz-header .progress-bar.bg-success {
    background: var(--winhp-grad-teal) !important;
    border-radius: 999px;
}
body.winhp-watch .quiz-header #quizTimer {
    display: inline-flex;
    align-items: center;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: var(--winhp-paper-2, #f7f5fc);
    border: 1px solid var(--winhp-line);
    color: var(--winhp-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Quiz / popup-quiz question typography */
body.winhp-watch .quiz-question,
body.winhp-watch .popup-quiz-question {
    padding-block: .25rem .5rem;
}
body.winhp-watch .quiz-question h6,
body.winhp-watch .popup-quiz-question h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--winhp-ink);
    line-height: 1.5;
    margin-bottom: 1.25rem !important;
}

/* Answer choices -> large clickable cards */
body.winhp-watch .quiz-question .form-check,
body.winhp-watch .popup-quiz-question .form-check {
    position: relative;
    padding: 0;
    margin-bottom: .75rem;
}
body.winhp-watch .quiz-question .form-check-input[type="radio"],
body.winhp-watch .popup-quiz-question .form-check-input[type="radio"] {
    position: absolute;
    inset-inline-start: 1rem;
    top: 50%;
    transform: translateY(-50%);
    float: none;
    margin: 0;
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}
body.winhp-watch .form-check-input:checked {
    background-color: var(--winhp-violet);
    border-color: var(--winhp-violet);
}
body.winhp-watch .quiz-question .form-check-label,
body.winhp-watch .popup-quiz-question .form-check-label {
    display: block;
    width: 100%;
    border: 1.5px solid var(--winhp-line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    padding-block: .9rem;
    padding-inline-start: 3rem;
    padding-inline-end: 1rem;
    color: var(--winhp-ink-soft);
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
body.winhp-watch .quiz-question .form-check-label:hover,
body.winhp-watch .popup-quiz-question .form-check-label:hover {
    border-color: var(--winhp-violet);
    background: var(--winhp-paper-2, #f7f5fc);
}
body.winhp-watch .quiz-question .form-check-input:checked + .form-check-label,
body.winhp-watch .popup-quiz-question .form-check-input:checked + .form-check-label {
    border-color: var(--winhp-violet);
    background: var(--winhp-paper-2, #f7f5fc);
    box-shadow: 0 0 0 1px var(--winhp-violet) inset;
    font-weight: 600;
    color: var(--winhp-ink);
}

/* Navigation buttons */
body.winhp-watch #nextBtn,
body.winhp-watch #prevBtn,
body.winhp-watch #popupNextBtn,
body.winhp-watch #popupPrevBtn,
body.winhp-watch #popupSubmitBtn {
    padding-block: .65rem;
    padding-inline: 1.5rem;
    min-width: 130px;
    font-weight: 600;
    justify-content: center;
}
body.winhp-watch #nextBtn.btn-secondary,
body.winhp-watch #popupNextBtn.btn-primary,
body.winhp-watch #popupSubmitBtn.btn-primary {
    background: var(--winhp-grad-petal) !important;
    border: none !important;
    color: #fff !important;
}
body.winhp-watch #prevBtn.bg-gray-100,
body.winhp-watch #popupPrevBtn.bg-gray-100 {
    background: var(--winhp-paper-2, #f7f5fc) !important;
}

/* Results panels */
body.winhp-watch .quiz-results,
body.winhp-watch .popup-quiz-results {
    padding: 2rem 1.5rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-watch .quiz-results .isax-task-square { color: var(--winhp-teal) !important; }
body.winhp-watch .quiz-results p.fs-18 {
    display: inline-block;
    padding: .4rem 1.1rem;
    border-radius: 999px;
    background: var(--winhp-paper-2, #f7f5fc);
    color: var(--winhp-ink);
}
body.winhp-watch .quiz-results .alert,
body.winhp-watch .popup-quiz-results .alert {
    border-radius: 12px;
    text-align: start;
}
body.winhp-watch .quiz-results .btn-primary,
body.winhp-watch .quiz-results .btn-success {
    background: var(--winhp-grad-petal);
    border: none;
    border-radius: 999px;
}

@media (max-width: 576px) {
    body.winhp-watch .quiz-question .form-check-label,
    body.winhp-watch .popup-quiz-question .form-check-label {
        padding-inline-start: 2.6rem;
        padding-block: .75rem;
    }
    body.winhp-watch #nextBtn,
    body.winhp-watch #prevBtn,
    body.winhp-watch #popupNextBtn,
    body.winhp-watch #popupPrevBtn,
    body.winhp-watch #popupSubmitBtn {
        min-width: 0;
        flex: 1 1 auto;
    }
}

/* Toast notifications — shared across all client-side pages, not scoped to one body.winhp-* page */
.winhp-toast {
    top: 20px;
    inset-inline-end: 20px;
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    min-width: 300px;
    max-width: min(90vw, 400px);
    padding: .9rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--winhp-line);
    box-shadow: var(--winhp-shadow-card);
    color: var(--winhp-ink);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.winhp-toast.winhp-toast-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.winhp-toast-icon {
    flex-shrink: 0;
    font-size: 1.3rem;
    margin-top: .1rem;
}
.winhp-toast-message {
    flex: 1 1 auto;
    font-weight: 600;
    line-height: 1.5;
}
.winhp-toast-close {
    flex-shrink: 0;
    font-size: .7rem;
}
.winhp-toast-success { border-inline-start: 4px solid var(--winhp-teal); }
.winhp-toast-success .winhp-toast-icon { color: var(--winhp-teal); }
.winhp-toast-info { border-inline-start: 4px solid var(--winhp-violet); }
.winhp-toast-info .winhp-toast-icon { color: var(--winhp-violet); }
.winhp-toast-warning { border-inline-start: 4px solid var(--winhp-gold); }
.winhp-toast-warning .winhp-toast-icon { color: var(--winhp-gold-deep); }
.winhp-toast-danger { border-inline-start: 4px solid #d64550; }
.winhp-toast-danger .winhp-toast-icon { color: #d64550; }

@media (max-width: 576px) {
    .winhp-toast {
        min-width: 0;
        inset-inline-start: 16px;
        inset-inline-end: 16px;
        max-width: none;
    }
}

/* Popup quiz + course completion modals */
body.winhp-watch #popupQuizModal .modal-content,
body.winhp-watch #courseCompletionModal .modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-watch #popupQuizModal .modal-header {
    background: var(--winhp-grad-hero);
    color: var(--winhp-ink);
    border-radius: 18px 18px 0 0;
}
body.winhp-watch #courseCompletionModal .bg-success.rounded-circle {
    background: var(--winhp-grad-teal) !important;
}
body.winhp-watch #courseCompletionModal .text-success { color: var(--winhp-teal) !important; }
body.winhp-watch #courseCompletionModal .text-primary { color: var(--winhp-violet) !important; }
body.winhp-watch #courseCompletionModal .alert-success {
    background: #eafaf6;
    border-color: var(--winhp-teal);
    color: #0d6b5a;
}
body.winhp-watch #courseCompletionModal .btn-primary {
    background: var(--winhp-grad-petal);
    border: none;
    border-radius: 999px;
}
body.winhp-watch #courseCompletionModal .btn-success {
    background: var(--winhp-grad-teal);
    border: none;
    border-radius: 999px;
}
body.winhp-watch #courseCompletionModal .btn-outline-secondary {
    border-radius: 999px;
    border-color: var(--winhp-line);
}

/* =====================================================================
   ERROR 404 (body.winhp-error) — resources/views/error-404.blade.php
   ===================================================================== */
body.winhp-error {
    font-family: 'Win Tajawal', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    background: #fff !important;
    display: block !important;
}
body.winhp-error .main-wrapper {
    display: block;
    padding-top: 0;
}
body.winhp-error .error-box {
    margin-top: 50px;
    margin-bottom: 70px;
}
body.winhp-error .error-box-img img {
    filter: drop-shadow(0 20px 40px rgba(24, 15, 52, .12));
}
body.winhp-error .error-box h3 {
    color: var(--winhp-ink);
    font-family: 'Win Cairo', 'Cairo', 'Win Tajawal', sans-serif;
    font-weight: 800;
}
body.winhp-error .error-box h3 .text-secondary {
    color: var(--winhp-violet) !important;
}
body.winhp-error .error-box p {
    color: var(--winhp-ink-soft);
}
body.winhp-error .error-box .back-to-home-btn {
    background: var(--winhp-grad-petal) !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 10px 24px -8px rgba(106, 33, 214, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}
body.winhp-error .error-box .back-to-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -8px rgba(106, 33, 214, .5);
    color: #fff !important;
}

/* Video player control buttons (vector icons) - color only: the player stacks
   the Normal and Selected elements and cross-fades them, so backgrounds,
   transforms or shadows here would double up and break hover. */
body.winhp-watch .fwduvp-lesson-player .UVPMainButtonsNormalState {
    color: #e9e3ff !important;
}
body.winhp-watch .fwduvp-lesson-player .UVPMainButtonsSelectedState {
    color: var(--winhp-gold-light, #e6c46f) !important;
    text-shadow: 0 0 10px rgba(192, 38, 211, .8);
}
body.winhp-watch .fwduvp-lesson-player .UVPLargePlayButtonNormalState {
    color: #fff !important;
}
body.winhp-watch .fwduvp-lesson-player .UVPLargePlayButtonSelectedState {
    color: var(--winhp-gold-light, #e6c46f) !important;
}

/* Player control buttons: one shared circle style for every button.
   Styled on the wrapper element (independent of the player's own Normal/Selected
   cross-fade); the ring is a spread box-shadow so layout is untouched. */
body.winhp-watch .fwduvp-lesson-player :is(
    .fwduvp-play-button, .fwduvp-rewind-button, .fwduvp-playback-rate-button,
    .fwduvp-fullscreen-button, .fwduvp-subtitle-button, .fwduvp-quality-button,
    .fwduvp-download-button, .fwduvp-share-button, .fwduvp-embed-button,
    .fwduvp-loop-button, .fwduvp-next-button, .fwduvp-prev-button,
    .fwduvp-audio-tracks-button, .fwduvp-volume-button) {
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .10);
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease;
}
body.winhp-watch .fwduvp-lesson-player :is(
    .fwduvp-play-button, .fwduvp-rewind-button, .fwduvp-playback-rate-button,
    .fwduvp-fullscreen-button, .fwduvp-subtitle-button, .fwduvp-quality-button,
    .fwduvp-download-button, .fwduvp-share-button, .fwduvp-embed-button,
    .fwduvp-loop-button, .fwduvp-next-button, .fwduvp-prev-button,
    .fwduvp-audio-tracks-button, .fwduvp-volume-button):hover {
    background: rgba(192, 38, 211, .35);
    box-shadow: 0 0 0 6px rgba(192, 38, 211, .35), 0 0 16px 6px rgba(192, 38, 211, .45);
}

/* Client tickets modal (body.winhp-client) */
body.winhp-client .winhp-ticket-preview { background: var(--winhp-grad-petal, linear-gradient(135deg, #6a21d6, #c026d3)); color: #fff; border: 0 !important; border-radius: 18px; }
body.winhp-client .winhp-ticket-preview h4 { font-family: "Win Cairo", sans-serif; }
body.winhp-client .winhp-ticket-qr svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* Client tickets: explicit colours (Bootstrap primary resolves to #f5f5f5 in this theme) */
body.winhp-client a.winhp-tkt-ref { color: var(--winhp-violet); font-weight: 700; text-decoration: none; }
body.winhp-client .badge.winhp-tkt-pack { background: var(--winhp-violet); color: #fff; }
body.winhp-client .winhp-btn-violet { background: var(--winhp-grad-petal); color: #fff; border: 0; }
body.winhp-client .winhp-btn-violet:hover { color: #fff; opacity: .92; }
body.winhp-client .spinner-border.text-primary { color: var(--winhp-violet) !important; }

/* =========================================================================
   ADMIN PANEL (body.winhp-admin) — every admin.* route.
   Stays English (no dir change); reskins the shared Dreams-LMS components the admin
   views use (banner, sidebar, cards, tables, forms, modals) with the brand
   palette. Re-pointing --primary/--secondary here retints every base-theme
   rule that reads them, so only the shapes need explicit rules below.
   ========================================================================= */
body.winhp-admin {
    --primary: var(--winhp-violet);
    --secondary: var(--winhp-violet-deep);
    background: #f6f4fb;
    color: var(--winhp-ink);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
body.winhp-admin .main-wrapper { background: transparent; }
body.winhp-admin .content { padding: 32px 0 60px; }
body.winhp-admin h1, body.winhp-admin h2, body.winhp-admin h3,
body.winhp-admin h4, body.winhp-admin h5, body.winhp-admin h6 { color: var(--winhp-ink); letter-spacing: -.01em; }

/* --- Page banner (components/admin_banner.blade.php) --- */
body.winhp-admin .winhp-admin-banner {
    background: radial-gradient(120% 160% at 0% 0%, #3b1d7a 0%, #1e1145 55%, #120a2c 100%);
    border: 0;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 28px;
    box-shadow: var(--winhp-shadow-soft);
}
body.winhp-admin .winhp-admin-banner::after {
    background: radial-gradient(circle at 80% 20%, rgba(192, 38, 211, .35) 0%, transparent 45%),
                radial-gradient(circle at 95% 90%, rgba(212, 175, 55, .25) 0%, transparent 40%);
    width: 100%; left: 0; border-radius: 20px;
}
body.winhp-admin .winhp-admin-logo { background: #fff; padding: 6px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
body.winhp-admin .winhp-admin-logo img { object-fit: contain; }
body.winhp-admin .winhp-admin-banner h4 { color: #fff !important; font-weight: 700; }
body.winhp-admin .winhp-admin-who { color: rgba(255, 255, 255, .72); font-size: 14px; }
body.winhp-admin .winhp-admin-who .badge { background: var(--winhp-grad-gold); color: #2b1c00; font-weight: 600; }
body.winhp-admin .winhp-admin-banner .btn-white { background: #fff; color: var(--winhp-violet-deep); border: 0; }
body.winhp-admin .winhp-admin-home { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
body.winhp-admin .winhp-admin-home:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* --- Sidebar (components/sidebar.blade.php, admin branch) --- */
body.winhp-admin .settings-sidebar {
    border: 1px solid var(--winhp-line) !important;
    border-radius: 18px !important;
    box-shadow: var(--winhp-shadow-card) !important;
    padding: 18px 14px !important;
}
body.winhp-admin .offcanvas .settings-sidebar { border: 0 !important; box-shadow: none !important; }
body.winhp-admin .settings-sidebar h6 {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--winhp-ink-soft); padding: 0 12px;
}
body.winhp-admin .settings-sidebar ul li { margin-bottom: 2px; }
body.winhp-admin .settings-sidebar ul li a {
    display: flex !important; width: 100%;
    padding: 9px 12px; border-radius: 10px;
    color: var(--winhp-ink-soft); font-weight: 500; font-size: 14px;
    transition: background .15s, color .15s;
}
body.winhp-admin .settings-sidebar ul li form { display: block !important; }
body.winhp-admin .settings-sidebar ul li a i { color: var(--winhp-ink-soft); font-size: 18px; }
body.winhp-admin .settings-sidebar ul li a:hover { background: var(--winhp-paper-2); color: var(--winhp-ink); }
body.winhp-admin .settings-sidebar ul li a:hover i { color: var(--winhp-violet); }
body.winhp-admin .settings-sidebar ul li a.active {
    background: var(--winhp-grad-petal); color: #fff;
    box-shadow: 0 8px 18px -8px rgba(109, 40, 217, .6);
}
body.winhp-admin .settings-sidebar ul li a.active i { color: #fff; }

/* --- Cards & stat tiles --- */
body.winhp-admin .card {
    border: 1px solid var(--winhp-line);
    border-radius: 16px;
    box-shadow: var(--winhp-shadow-card);
}
body.winhp-admin .card-header { background: transparent; border-bottom: 1px solid var(--winhp-line); }
body.winhp-admin .card-footer { background: transparent; border-top: 1px solid var(--winhp-line); }
body.winhp-admin .icon-box { border-radius: 14px; }
body.winhp-admin .icon-box.bg-primary-transparent { background: #f3effc !important; }
body.winhp-admin .icon-box.bg-secondary-transparent { background: #fdf6e6 !important; }
body.winhp-admin .icon-box.bg-success-transparent { background: #e8faf7 !important; }
body.winhp-admin .icon-box.bg-info-transparent { background: #e6f4fb !important; }

/* --- Tables --- */
body.winhp-admin .table thead tr th {
    background: var(--winhp-paper-2);
    color: var(--winhp-ink-soft);
    font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    border-color: var(--winhp-line);
    padding-top: 14px; padding-bottom: 14px;
}
body.winhp-admin .table td { border-color: var(--winhp-line); padding-top: 14px; padding-bottom: 14px; }
body.winhp-admin .table tbody tr:hover > * { --bs-table-accent-bg: #faf8ff; background-color: #faf8ff; }

/* --- Buttons --- */
body.winhp-admin .btn { border-radius: 10px; font-weight: 500; }
body.winhp-admin .btn.rounded-pill { border-radius: 50rem; }
body.winhp-admin .btn-primary {
    background: var(--winhp-grad-petal); border: 0; color: #fff;
    box-shadow: 0 6px 14px -6px rgba(109, 40, 217, .55);
}
body.winhp-admin .btn-primary:hover,
body.winhp-admin .btn-primary:focus { filter: brightness(1.08); color: #fff; background: var(--winhp-grad-petal); }
body.winhp-admin .btn-outline-primary { color: var(--winhp-violet); border-color: var(--winhp-violet); background: transparent; }
body.winhp-admin .btn-outline-primary:hover { background: var(--winhp-violet); border-color: var(--winhp-violet); color: #fff; }
body.winhp-admin .btn-secondary { background: var(--winhp-ink); border-color: var(--winhp-ink); color: #fff; }
body.winhp-admin .btn-secondary:hover { background: #1e293b; border-color: #1e293b; color: #fff; }
body.winhp-admin .btn-light { background: var(--winhp-paper-2); border-color: var(--winhp-line); color: var(--winhp-ink); }

/* --- Forms --- */
body.winhp-admin .form-label,
body.winhp-admin .input-block > label { font-weight: 600; font-size: 13px; color: var(--winhp-ink); margin-bottom: 6px; }
body.winhp-admin .form-label .text-danger { margin-inline-start: 2px; }
body.winhp-admin .form-text { color: var(--winhp-ink-soft); font-size: 12px; }

body.winhp-admin .form-control,
body.winhp-admin .form-select,
body.winhp-admin .input-group-text,
body.winhp-admin .select2-container--default .select2-selection--single,
body.winhp-admin .select2-container--default .select2-selection--multiple {
    border: 1px solid var(--winhp-line); border-radius: 10px;
    background-color: #fff; color: var(--winhp-ink);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
body.winhp-admin .form-control:not(.form-control-sm):not(.form-control-color):not(textarea),
body.winhp-admin .form-select:not(.form-select-sm) { min-height: 44px; }
body.winhp-admin textarea.form-control { min-height: 96px; line-height: 1.6; }
body.winhp-admin .form-control-sm,
body.winhp-admin .form-select-sm { border-radius: 8px; min-height: 34px; }
body.winhp-admin .form-control::placeholder { color: #94a3b8; }
body.winhp-admin .form-control:hover:not(:focus):not(:disabled),
body.winhp-admin .form-select:hover:not(:focus):not(:disabled),
body.winhp-admin .select2-container--default:not(.select2-container--focus) .select2-selection:hover { border-color: #cbd5e1; }
body.winhp-admin .form-control:focus,
body.winhp-admin .form-select:focus,
body.winhp-admin .select2-container--focus .select2-selection,
body.winhp-admin .select2-container--open .select2-selection {
    border-color: var(--winhp-violet) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .18);
    outline: 0;
}
body.winhp-admin .form-control:disabled,
body.winhp-admin .form-control[readonly],
body.winhp-admin .form-select:disabled { background-color: var(--winhp-paper-2); color: var(--winhp-ink-soft); }
body.winhp-admin .input-group-text { background: var(--winhp-paper-2); color: var(--winhp-ink-soft); font-weight: 500; }
/* Logical corners: admin body is dir="rtl" (bootstrap.rtl), so physical left/right would flip wrong */
body.winhp-admin .input-group > :not(:first-child) { border-start-start-radius: 0; border-end-start-radius: 0; }
body.winhp-admin .input-group > :not(:last-child) { border-start-end-radius: 0; border-end-end-radius: 0; }
body.winhp-admin .input-group > .btn { min-height: 44px; border-color: var(--winhp-line); }

/* Validation keeps Bootstrap's red but with the same soft ring. */
body.winhp-admin .form-control.is-invalid,
body.winhp-admin .form-select.is-invalid { border-color: #ef4444 !important; }
body.winhp-admin .form-control.is-invalid:focus,
body.winhp-admin .form-select.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, .15); }
body.winhp-admin .invalid-feedback { font-size: 12px; }

/* Search inputs with a leading icon */
body.winhp-admin .input-icon-addon { color: var(--winhp-ink-soft); }
body.winhp-admin .input-icon:focus-within .input-icon-addon { color: var(--winhp-violet); }

/* Checkboxes, radios, switches */
body.winhp-admin .form-check-input { border-color: #cbd5e1; }
body.winhp-admin .form-check-input:checked { background-color: var(--winhp-violet); border-color: var(--winhp-violet); }
body.winhp-admin .form-check-input:focus { box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); border-color: var(--winhp-violet); }
body.winhp-admin .form-check-label { color: var(--winhp-ink); }
body.winhp-admin .form-switch .form-check-input { width: 2.4em; height: 1.3em; cursor: pointer; }
body.winhp-admin .form-control-color { border-radius: 10px; padding: 4px; min-height: 44px; }

/* Filter-row dropdown buttons sit beside 44px search inputs */
body.winhp-admin .dropdown-toggle.btn.border { min-height: 44px; border-radius: 10px !important; border-color: var(--winhp-line) !important; background: #fff; }
body.winhp-admin form .btn-sm:not(.btn-icon) { min-height: 34px; padding: 6px 14px; font-size: 13px; border-radius: 8px; }
body.winhp-admin input[type="file"].form-control::file-selector-button {
    background: var(--winhp-paper-2); color: var(--winhp-ink); border: 0; font-weight: 600;
}

/* Select2 (its dropdown is appended to <body>, so the body scope still reaches it) */
body.winhp-admin .select2-container--default .select2-selection--single { height: 44px; }
body.winhp-admin .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; }
body.winhp-admin .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
body.winhp-admin .select2-container--default .select2-selection--multiple { min-height: 44px; padding: 5px 8px; }
body.winhp-admin .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; margin: 0;
}
body.winhp-admin .select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-flex; align-items: center; gap: 6px; float: none; margin: 0;
    padding: 3px 10px; line-height: 1.5; font-size: 13px; font-weight: 500;
    background: #f3effc; border: 1px solid #e4dafb; color: var(--winhp-violet-deep); border-radius: 999px;
}
/* Theme paints the remove button solid #5625E8; make it a plain inline × */
body.winhp-admin .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: static; order: 2; display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; margin: 0; padding: 0; border: 0; border-radius: 50%;
    background: transparent; color: var(--winhp-violet); font-size: 14px; line-height: 1;
}
body.winhp-admin .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { background: var(--winhp-violet); color: #fff; }
body.winhp-admin .select2-container--default .select2-selection--multiple .select2-search--inline,
body.winhp-admin .select2-container--default .select2-selection--multiple .select2-search__field { margin: 0; }
body.winhp-admin .select2-dropdown { border-color: var(--winhp-line); border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .25); }
body.winhp-admin .select2-container--default .select2-results__option--highlighted[aria-selected],
body.winhp-admin .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--winhp-violet); color: #fff; }
body.winhp-admin .select2-container--default .select2-results__option[aria-selected="true"],
body.winhp-admin .select2-container--default .select2-results__option--selected { background: #f3effc; color: var(--winhp-violet-deep); }
body.winhp-admin .select2-search--dropdown .select2-search__field { border: 1px solid var(--winhp-line); border-radius: 8px; }

/* Summernote rich-text editor */
body.winhp-admin .note-editor.note-frame { border: 1px solid var(--winhp-line); border-radius: 10px; overflow: hidden; }
body.winhp-admin .note-editor.note-frame:focus-within { border-color: var(--winhp-violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); }
body.winhp-admin .note-editor .note-toolbar { background: var(--winhp-paper-2); border-bottom: 1px solid var(--winhp-line); }
body.winhp-admin .note-editor .note-toolbar .note-btn { background: #fff; border-color: var(--winhp-line); border-radius: 6px; }
body.winhp-admin .note-editor .note-toolbar .note-btn.active,
body.winhp-admin .note-editor .note-toolbar .note-btn:hover { color: var(--winhp-violet); border-color: #d8ccf7; }
body.winhp-admin .note-editor .note-statusbar { background: var(--winhp-paper-2); }

/* Upload drop zones */
body.winhp-admin .file-upload-area {
    border: 2px dashed #d8ccf7 !important; border-radius: 14px !important;
    background: #faf8ff; transition: border-color .15s ease, background-color .15s ease;
}
body.winhp-admin .file-upload-area.border-primary,
body.winhp-admin .file-upload-area:hover { border-color: var(--winhp-violet) !important; background: #f3effc; }
body.winhp-admin .image-uploads { border: 1px solid var(--winhp-line); }

/* Course / event creation wizard */
body.winhp-admin .add-course-item {
    background: #fff; border: 1px solid var(--winhp-line); border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04); overflow: hidden;
}
body.winhp-admin .add-course-item .wizard { background: #faf8ff; border-bottom: 1px solid var(--winhp-line); padding: 24px 20px; }
body.winhp-admin .add-course-item .wizard ul li span.dot-active {
    width: 38px; height: 38px; background: #fff; border: 2px solid var(--winhp-line); color: var(--winhp-ink-soft);
}
body.winhp-admin .add-course-item .wizard ul li::before,
body.winhp-admin .add-course-item .wizard ul li::after { height: 2px; top: 18px; background: var(--winhp-line); }
body.winhp-admin .add-course-item .wizard ul li.progress-active::after,
body.winhp-admin .add-course-item .wizard ul li.progress-activated::before,
body.winhp-admin .add-course-item .wizard ul li.progress-activated::after { background: var(--winhp-violet); }
body.winhp-admin .add-course-item .wizard ul li.progress-active span.dot-active { box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
/* The step JS paints the active dot inline as #000; re-point only that colour so the
   inline green (done) / red (error) it also sets still win. */
body.winhp-admin .add-course-item .wizard ul li span.dot-active[style*="rgb(0, 0, 0)"] {
    background: var(--winhp-grad-petal) !important; border-color: var(--winhp-violet) !important; color: #fff;
}
body.winhp-admin .add-course-item .step-section p { color: var(--winhp-ink-soft); margin: 0; }
body.winhp-admin .add-course-item .wizard ul li.progress-active .step-section p { color: var(--winhp-violet-deep); font-weight: 600; }
body.winhp-admin .add-course-item .wizard-form-card { padding: 28px 32px; }
body.winhp-admin .add-course-item .wizard-form-card > .title { padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--winhp-line); }
body.winhp-admin .add-course-item .wizard-form-card > .title h5 { font-weight: 700; }
body.winhp-admin .add-course-item .wizard-form-card > .title p { color: var(--winhp-ink-soft); margin: 4px 0 0; font-size: 13px; }
body.winhp-admin .add-course-item .add-form-btn { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--winhp-line); }
body.winhp-admin .add-course-item .initialization-form-set .main-btn:not(.prev_btns) { background: var(--winhp-grad-petal); border: 0; }
body.winhp-admin .add-course-item .initialization-form-set .main-btn.prev_btns { background: var(--winhp-paper-2); border-color: var(--winhp-line); color: var(--winhp-ink); }
body.winhp-admin .add-course-item .initialization-form-set .main-btn.prev_btns:hover { background: var(--winhp-line); color: var(--winhp-ink); }
@media (max-width: 767.98px) {
    body.winhp-admin .add-course-item .wizard-form-card { padding: 20px 16px; }
}

/* --- Tabs, pagination, badges --- */
body.winhp-admin .nav-tabs { border-bottom: 1px solid var(--winhp-line); }
body.winhp-admin .nav-tabs .nav-link { color: var(--winhp-ink-soft); border: 0; border-bottom: 2px solid transparent; font-weight: 500; }
body.winhp-admin .nav-tabs .nav-link:hover { color: var(--winhp-ink); }
body.winhp-admin .nav-tabs .nav-link.active { color: var(--winhp-violet); background: transparent; border-bottom-color: var(--winhp-violet); }
body.winhp-admin .pagination .active > .page-link,
body.winhp-admin .page-item.active .page-link { background: var(--winhp-violet); border-color: var(--winhp-violet); color: #fff; }
body.winhp-admin .page-link { color: var(--winhp-ink-soft); border-radius: 8px; }
body.winhp-admin .badge { border-radius: 6px; font-weight: 600; }
body.winhp-admin .badge.bg-primary { background: var(--winhp-violet) !important; }

/* --- Modals --- */
body.winhp-admin .modal-content { border: 0; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .35); }
body.winhp-admin .modal-header { border-bottom: 1px solid var(--winhp-line); padding: 18px 24px; }
body.winhp-admin .modal-footer { border-top: 1px solid var(--winhp-line); gap: 8px; }
/* Theme's `.modal .modal-footer .btn*` outranks the generic admin button rules */
body.winhp-admin .modal .modal-footer .btn { font-size: 14px; padding: 9px 18px; }
body.winhp-admin .modal .modal-footer .btn-secondary { background: var(--winhp-paper-2); border-color: var(--winhp-line); color: var(--winhp-ink); }
body.winhp-admin .modal .modal-footer .btn-secondary:hover { background: var(--winhp-line); box-shadow: none; color: var(--winhp-ink) !important; }

/* Stat tiles: theme's flat bg-* colours → brand gradients */
body.winhp-admin .card.bg-success,
body.winhp-admin .card.bg-info,
body.winhp-admin .card.bg-skyblue,
body.winhp-admin .card.bg-purple { border: 0; box-shadow: 0 10px 24px -14px rgba(76, 29, 149, .45); }
body.winhp-admin .card.bg-purple { background: var(--winhp-grad-petal) !important; }
body.winhp-admin .card.bg-info { background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%) !important; }
body.winhp-admin .card.bg-skyblue { background: var(--winhp-grad-teal) !important; }
body.winhp-admin .card.bg-success { background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important; }
body.winhp-admin .badge.bg-info { background: #4338ca !important; }
body.winhp-admin .student-info { background: #fff; border-color: var(--winhp-line); border-radius: 16px; }

/* Course card thumbnail can 403/404; keep a brand base behind the faded <img> */
body.winhp-admin .course-image { background: var(--winhp-grad-petal); min-height: 120px; }

/* Course detail header: the banner image may 403/404 (broken storage link) and
   its text is white — keep a dark brand base and a scrim so it stays readable. */
body.winhp-admin .inner-banner { background-color: #1e1145; background-size: cover; background-position: center; }
body.winhp-admin .inner-banner::before { background: linear-gradient(90deg, rgba(18, 10, 44, .35) 0%, rgba(18, 10, 44, .85) 100%); }