:root {
    /* Brand — black + dark blue; light gray surfaces */
    --dw-brand: #1e3a8a;
    --dw-brand-dark: #0f172a;
    --dw-brand-light: #3b5998;
    --dw-purple: var(--dw-brand);
    --dw-purple-dark: var(--dw-brand-dark);
    --dw-purple-light: var(--dw-brand-light);
    --dw-accent: #1e3a8a;
    --dw-accent-soft: #4a6fa5;
    --dw-dark: #0a0a0a;
    --dw-muted: #6b7280;
    --dw-bg: #f0f2f5;
    --dw-surface: #ffffff;
    --dw-border: #d1d5db;
    --dw-teal: #e5e7eb;
    --dw-success: #166534;
    --dw-warning: #d97706;
    --dw-danger: #dc2626;
    --dw-gradient-brand: #1e3a8a;
    --dw-gradient-hero: linear-gradient(165deg, #f3f4f6 0%, #ffffff 48%, #eef1f6 100%);
    --dw-gradient-dark: linear-gradient(128deg, #0a0a0a 0%, #0f172a 50%, #1e3a8a 100%);
    --dw-container: 1600px;
    --dw-header-h: 72px;
    --dw-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --dw-radius: 12px;
    --dw-radius-lg: 20px;
    --dw-shadow-soft: 0 12px 40px rgba(10, 10, 10, 0.06);
    --dw-shadow-panel: 0 18px 50px rgba(15, 23, 42, 0.12);
    --auth-form-max: 760px;
    --bs-primary: #1e3a8a;
    --bs-primary-rgb: 30, 58, 138;
    --bs-link-color: #1e3a8a;
    --bs-link-hover-color: #0f172a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--dw-font);
    color: var(--dw-dark);
    background: var(--dw-bg);
    -webkit-font-smoothing: antialiased;
}

.dw-container {
    width: 100%;
    max-width: var(--dw-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 2vw, 1.75rem);
    padding-right: clamp(1rem, 2vw, 1.75rem);
}

/* Bootstrap .container — same 1600px cap at every breakpoint */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    width: 100%;
    max-width: var(--dw-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 2vw, 1.75rem);
    padding-right: clamp(1rem, 2vw, 1.75rem);
}

@media (min-width: 576px) {
    .container-sm,
    .container {
        max-width: var(--dw-container);
    }
}

@media (min-width: 768px) {
    .container-md,
    .container-sm,
    .container {
        max-width: var(--dw-container);
    }
}

@media (min-width: 992px) {
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: var(--dw-container);
    }
}

@media (min-width: 1200px) {
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: var(--dw-container);
    }
}

@media (min-width: 1400px) {
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: var(--dw-container);
    }
}

/* —— Udemy-style header —— */
.dw-header {
    background: #fff;
    border-bottom: 1px solid var(--dw-border);
    z-index: 1030;
    position: sticky;
    top: 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.dw-header.is-explore-open {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.explore-zone {
    position: relative;
    flex-shrink: 0;
}

.explore-trigger {
    border: 0;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dw-dark);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.explore-trigger:hover,
.dw-header.is-explore-open .explore-trigger {
    color: var(--dw-accent);
}

.explore-mega-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--dw-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 1025;
}

.dw-header.is-explore-open .explore-mega-panel {
    display: block;
}

.explore-mega-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.1fr) minmax(260px, 1.2fr);
    min-height: 380px;
}

.explore-mega-grid--two-col {
    grid-template-columns: minmax(240px, 320px) minmax(280px, 1fr);
    min-height: 320px;
}

.explore-col-l2#exploreCoursesCol {
    display: none;
    border-right: 0;
}

.dw-header.is-explore-courses-open .explore-col-l2#exploreCoursesCol {
    display: block;
}

.explore-l3-courses--scroll {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.explore-col {
    padding: 1.25rem 1rem 1.5rem;
    border-right: 1px solid var(--dw-border);
}

.explore-col:last-child {
    border-right: 0;
}

.explore-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dw-muted);
    margin-bottom: 0.5rem;
}

.explore-link {
    display: block;
    padding: 0.45rem 0.5rem;
    color: var(--dw-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
}

.explore-link:hover {
    background: #f7f0ff;
    color: var(--dw-accent);
}

.explore-l1-item,
.explore-l2-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0.5rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dw-dark);
    border-radius: 4px;
}

.explore-l1-item:hover,
.explore-l2-item:hover,
.explore-l1-item.is-active,
.explore-l2-item.is-active {
    background: #f7f0ff;
    color: var(--dw-accent);
}

.explore-l1-item i,
.explore-l2-item i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.explore-l2-group,
.explore-l3-panel {
    display: none;
}

.explore-l2-group.is-visible,
.explore-l3-panel.is-visible {
    display: block;
}

.explore-l2-link {
    display: block;
    padding: 0.5rem 0.5rem;
    color: var(--dw-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
}

.explore-l2-link:hover {
    background: #f7f0ff;
    color: var(--dw-accent);
}

.explore-l3-heading {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.explore-l3-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.explore-l3-heading--sub {
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dw-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


.explore-l3-list li a {
    display: block;
    padding: 0.4rem 0.25rem;
    color: var(--dw-dark);
    text-decoration: none;
    font-size: 0.875rem;
}

.explore-l3-list li a:hover {
    color: var(--dw-accent);
    text-decoration: underline;
}

.mobile-nav-panel {
    background: #f9fafb;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.04);
}

@media (max-width: 991.98px) {
    .mobile-nav-panel.show {
        display: block;
        max-height: calc(100dvh - var(--dw-header-h, 60px));
        max-height: calc(100svh - var(--dw-header-h, 60px));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
    }

    .mobile-nav-panel.collapsing {
        overflow: hidden;
    }

    body.dw-mobile-nav-open {
        overflow: hidden;
    }
}

.mobile-nav-panel-inner {
    padding: 0.85rem 0 1rem;
}

.mobile-nav-search {
    margin-bottom: 0.85rem;
}

.mobile-explore-accordion {
    margin-bottom: 0.85rem;
}

.mobile-explore-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    border: 1px solid var(--dw-border);
    background: linear-gradient(180deg, #fff 0%, #f3f4f6 100%);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    color: var(--dw-dark);
    box-shadow: var(--dw-shadow-soft);
}

.mobile-explore-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.mobile-explore-toggle-label .bi {
    color: var(--dw-brand);
    font-size: 1.1rem;
}

.mobile-explore-chevron {
    font-size: 0.9rem;
    color: var(--dw-muted);
    transition: transform 0.2s ease;
}

.mobile-explore-toggle[aria-expanded="true"] .mobile-explore-chevron {
    transform: rotate(180deg);
}

.mobile-explore-body {
    margin-top: 0.5rem;
    padding: 0.85rem 0.9rem 0.35rem;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
}

.mobile-explore-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.mobile-explore-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--dw-brand);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(30, 58, 138, 0.15);
}

.mobile-explore-chip:hover {
    background: var(--dw-brand);
    color: #fff;
}

.mobile-explore-section {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dw-muted);
    margin: 0.65rem 0 0.35rem;
}

.mobile-explore-section:first-of-type {
    margin-top: 0;
}

.mobile-explore-links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mobile-explore-links a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.35rem;
    border-radius: 8px;
    color: var(--dw-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
}

.mobile-explore-links a .bi {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--dw-brand);
    opacity: 0.85;
}

.mobile-explore-links a:hover {
    background: #f3f4f6;
    color: var(--dw-brand);
}

.mobile-explore-empty {
    display: block;
    padding: 0.5rem 0.35rem;
    font-size: 0.8rem;
    color: var(--dw-muted);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--dw-border);
}

.mobile-nav-links a,
.mobile-nav-logout {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--dw-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 0.35rem;
    border-radius: 8px;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
}

.mobile-nav-links a .bi,
.mobile-nav-logout .bi {
    color: var(--dw-muted);
    font-size: 1.05rem;
    width: 1.25rem;
}

.mobile-nav-links a:hover,
.mobile-nav-logout:hover {
    background: #fff;
    color: var(--dw-brand);
}

.mobile-nav-signup {
    color: var(--dw-brand) !important;
}

@media (max-width: 991.98px) {
    :root {
        --dw-header-h: 60px;
    }

    .dw-header-inner {
        gap: 0.65rem;
        min-height: 60px;
    }

    .dw-logo {
        font-size: 1.15rem;
        min-width: 0;
    }

    .dw-mobile-toggle {
        flex-shrink: 0;
        margin-left: auto;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        border: 1px solid var(--dw-border);
        border-radius: 10px;
        background: #fff;
        box-shadow: var(--dw-shadow-soft);
    }

    .dw-mobile-toggle .navbar-toggler-icon {
        width: 1.35rem;
        height: 1.35rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.25' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
    }

    .dw-mobile-toggle:focus {
        box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
        outline: none;
    }
}

@media (max-width: 991.98px) {
    .explore-mega-panel {
        display: none !important;
    }
}

@media (max-width: 1199.98px) {
    .explore-mega-grid:not(.explore-mega-grid--two-col) {
        grid-template-columns: 1fr 1fr;
    }

    .explore-mega-grid--two-col {
        grid-template-columns: 1fr 1fr;
    }

    .explore-col-l3 {
        grid-column: 1 / -1;
        border-right: 0;
        border-top: 1px solid var(--dw-border);
    }
}

.dw-header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
}

.dw-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.dw-logo-mark {
    color: var(--dw-accent);
    font-size: 1.5rem;
    line-height: 1;
}

.dw-logo-text {
    color: var(--dw-dark);
}

.dw-header-links {
    gap: 1rem;
    flex-shrink: 0;
}

.dw-header-links a,
.dw-header-link {
    color: var(--dw-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.dw-header-links a:hover,
.dw-header-link:hover {
    color: var(--dw-accent);
}

.dw-header-search {
    position: relative;
    flex: 1 1 420px;
    max-width: 480px;
    width: 100%;
    min-width: 200px;
}

.mobile-nav-panel .dw-header-search {
    flex: 1 1 auto;
    max-width: none;
}

.dw-header-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dw-dark);
    pointer-events: none;
}

.dw-header-search input {
    width: 100%;
    border: 1px solid var(--dw-dark);
    border-radius: 999px;
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    font-size: 0.9rem;
    background: #fff;
}

.dw-header-search input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.25);
    border-color: var(--dw-accent);
}

.dw-header-actions {
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.dw-header-promo-links {
    align-items: center;
    gap: 1.75rem;
    margin-right: 0.75rem;
    padding-right: 1.25rem;
    border-right: 1px solid var(--dw-border);
}

.dw-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--dw-border);
    border-radius: 4px;
    color: var(--dw-dark);
    text-decoration: none;
    background: #fff;
}

.dw-icon-btn:hover {
    background: var(--dw-bg);
}

.btn-dw-login {
    border: 1px solid var(--dw-accent);
    color: var(--dw-accent);
    background: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.45rem 1rem;
    border-radius: 2px;
}

.btn-dw-login:hover {
    background: #eef1f6;
    color: var(--dw-brand-dark);
    border-color: var(--dw-brand);
}

.btn-dw-signup {
    background: var(--dw-accent);
    border: 1px solid var(--dw-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.45rem 1rem;
    border-radius: 2px;
    text-decoration: none;
}

.btn-dw-signup:hover {
    background: var(--dw-brand-dark);
    border-color: var(--dw-brand-dark);
    color: #fff;
}

.dw-mobile-toggle {
    padding: 0.25rem;
}

/* Category tab bar (image 2) */
.dw-category-nav {
    border-bottom: 1px solid var(--dw-border);
    background: #fff;
}

.dw-category-tabs {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.35rem 0;
    scrollbar-width: thin;
}

.dw-category-tab {
    border: 0;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dw-muted);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.dw-category-tab:hover {
    color: var(--dw-dark);
}

.dw-category-tab.is-active {
    color: var(--dw-dark);
    border-bottom-color: var(--dw-dark);
}

.dw-category-nav--compact .dw-category-tabs {
    padding: 0.15rem 0;
}

.dw-category-nav--compact .dw-category-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
}

/* —— Courses catalog page —— */
.courses-catalog-page {
    background: #f3f4f6;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    overflow: visible;
}

.courses-catalog-search-bar {
    padding: 1.25rem 0 0;
}

.courses-catalog-page + .site-footer,
.courses-catalog-page ~ .site-footer {
    margin-top: 0 !important;
}

.courses-catalog-hero {
    position: relative;
    padding: 0.65rem 0 0.75rem;
    background: #fff;
    border-bottom: 1px solid var(--dw-border);
    overflow: hidden;
}

.courses-catalog-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(30, 58, 138, 0.07), transparent 55%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(15, 23, 42, 0.04), transparent 50%);
    pointer-events: none;
}

.courses-catalog-hero-inner {
    position: relative;
    z-index: 1;
}

.courses-catalog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}

.courses-catalog-breadcrumb a {
    color: var(--dw-brand);
    font-weight: 600;
    text-decoration: none;
}

.courses-catalog-breadcrumb a:hover {
    text-decoration: underline;
}

.courses-catalog-breadcrumb span:last-child {
    color: var(--dw-muted);
}

.courses-catalog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 0.75rem 1.25rem;
    align-items: center;
}

.courses-catalog-title {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 0.25rem;
}

.courses-catalog-lead {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--dw-muted);
    max-width: 32rem;
    margin: 0 0 0.35rem;
}

.courses-catalog-hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.75rem;
    color: var(--dw-muted);
}

.courses-catalog-hero-stats span[aria-hidden="true"] {
    opacity: 0.5;
}

.courses-catalog-hero-stats strong {
    font-weight: 800;
    color: var(--dw-brand);
}

.courses-catalog-search {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 0.2rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.courses-catalog-search:focus-within {
    border-color: var(--dw-brand);
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.12);
}

.courses-catalog-search .bi-search {
    align-self: center;
    padding-left: 0.85rem;
    color: var(--dw-muted);
    font-size: 1.1rem;
}

.courses-catalog-search input {
    flex: 1;
    border: 0;
    padding: 0.45rem 0.5rem;
    font-size: 0.875rem;
    min-width: 0;
    background: transparent;
    outline: none;
}

.courses-catalog-search .btn {
    border-radius: 8px !important;
    padding: 0.4rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
}

.courses-catalog-body {
    padding-top: 0.65rem;
    overflow: visible;
}

.courses-catalog-filters-panel {
    background: #fff;
    border: 1px solid var(--dw-border, #e5e7eb);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
}

.courses-catalog-filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    list-style: none;
}

.courses-catalog-filters-toggle::-webkit-details-marker {
    display: none;
}

.courses-catalog-filters-chevron {
    transition: transform 0.2s ease;
    color: var(--dw-muted);
}

.courses-catalog-filters-panel[open] .courses-catalog-filters-chevron {
    transform: rotate(180deg);
}

.courses-catalog-filter-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
    margin-bottom: 0.2rem;
}

.courses-catalog-filters .form-select-sm {
    font-size: 0.8125rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.courses-catalog-filters {
    padding: 0 0.75rem 0.65rem;
    border-top: 1px solid var(--dw-border);
    margin-top: 0;
    padding-top: 0.65rem;
}

.courses-catalog-quick-links {
    margin-bottom: 0.5rem;
}

.courses-catalog-quick-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dw-brand);
    background: #eef2ff;
    border: 1px solid rgba(30, 58, 138, 0.15);
}

.courses-catalog-quick-link:hover,
.courses-catalog-quick-link.is-active {
    background: var(--dw-brand);
    color: #fff;
    border-color: var(--dw-brand);
}

.courses-catalog-sort-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

@media (min-width: 768px) {
    .courses-catalog-filters-toggle {
        display: none;
    }

    .courses-catalog-filters {
        border-top: 0;
        padding: 0.55rem 0.85rem 0.65rem;
    }
}

.course-reviews-summary-score {
    line-height: 1.1;
}

.course-reviews-summary .display-6 {
    font-size: 2.25rem;
}

/* —— Course reviews (public + account) —— */
.dw-course-reviews {
    scroll-margin-top: 5rem;
}

.dw-review-stars {
    display: inline-flex;
    gap: 0.1rem;
    color: #f59e0b;
}

.dw-review-stars--sm {
    font-size: 0.8rem;
}

.dw-review-stars--md {
    font-size: 1rem;
}

.dw-review-stars--lg {
    font-size: 1.15rem;
}

.dw-review-stars .bi-star {
    color: #d1d5db;
}

.dw-review-summary {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
    padding: 1.25rem 1.35rem;
    margin: 1.25rem 0 1.5rem;
    background: var(--dw-surface-muted, #f3f4f6);
    border: 1px solid var(--dw-border, #e5e7eb);
    border-radius: 12px;
}

@media (max-width: 640px) {
    .dw-review-summary {
        grid-template-columns: 1fr;
    }
}

.dw-review-summary-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dw-navy, #0f172a);
}

.dw-review-summary-count {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.35rem;
}

.dw-review-bar-row {
    display: grid;
    grid-template-columns: 4.5rem 1fr 2.5rem;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #4b5563;
    margin-bottom: 0.35rem;
}

.dw-review-bar-track {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.dw-review-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1e3a8a, #0f172a);
    border-radius: 999px;
}

.dw-review-bar-pct {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.dw-review-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.dw-review-badge--approved {
    background: #dcfce7;
    color: #166534;
}

.dw-review-badge--pending {
    background: #fef3c7;
    color: #92400e;
}

.dw-review-badge--rejected {
    background: #fee2e2;
    color: #991b1b;
}

.dw-review-badge--own {
    background: #e0e7ff;
    color: #1e3a8a;
}

.dw-review-your-banner {
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
    background: #fff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
}

.dw-review-your-link {
    display: inline-block;
    margin-top: 0.35rem;
}

.dw-review-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
}

.dw-review-card {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--dw-border, #e5e7eb);
}

.dw-review-card--own {
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.04), transparent);
    padding-left: 0.75rem;
    margin-left: -0.75rem;
    border-radius: 8px;
}

.dw-review-card-head {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.dw-review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dw-navy, #0f172a);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dw-review-card-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.dw-review-card-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.15rem;
}

.dw-review-card-date {
    font-size: 0.8rem;
    color: #9ca3af;
}

.dw-review-card-body {
    margin: 0.65rem 0 0 3.25rem;
    color: #374151;
    line-height: 1.55;
}

.dw-review-card-body--muted {
    color: #9ca3af;
    font-style: italic;
}

.dw-review-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #6b7280;
}

.dw-review-empty i {
    font-size: 2rem;
    opacity: 0.5;
    display: block;
    margin-bottom: 0.5rem;
}

.dw-review-form-card {
    margin-top: 1rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid var(--dw-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.dw-review-form-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.dw-review-form-status {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dw-star-picker {
    border: 0;
    padding: 0;
    margin: 0;
}

.dw-star-picker-inputs {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.15rem;
}

.dw-star-picker-inputs input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dw-star-picker-inputs label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #d1d5db;
    transition: color 0.12s ease, transform 0.12s ease;
}

.dw-star-picker-inputs label:hover,
.dw-star-picker-inputs label:hover ~ label,
.dw-star-picker-inputs input:checked ~ label {
    color: #f59e0b;
}

.dw-star-picker-inputs input:focus-visible + label {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
    border-radius: 4px;
}

.dw-my-reviews-page {
    max-width: 960px;
}

.dw-my-reviews-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--dw-surface-muted, #f3f4f6);
    border-radius: 12px;
}

.dw-my-reviews-empty-icon {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
}

.dw-my-review-row {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 1rem 1.25rem;
    align-items: start;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--dw-border, #e5e7eb);
}

@media (max-width: 768px) {
    .dw-my-review-row {
        grid-template-columns: 72px 1fr;
    }

    .dw-my-review-actions {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

.dw-my-review-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--dw-border, #e5e7eb);
}

.dw-my-review-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    border-radius: 8px;
    font-size: 1.5rem;
    color: #6b7280;
}

.dw-my-review-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.dw-my-review-course {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.dw-my-review-course a {
    color: inherit;
    text-decoration: none;
}

.dw-my-review-course a:hover {
    color: #1e3a8a;
}

.dw-my-review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dw-my-review-text {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.dw-my-review-text--muted {
    color: #9ca3af;
    font-style: italic;
}

.dw-my-review-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.course-review-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.courses-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding: 0.55rem 0.75rem;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.courses-catalog-count {
    font-weight: 800;
    font-size: 0.95rem;
}

.courses-catalog-toolbar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.courses-catalog-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: #eef2ff;
    color: var(--dw-brand);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.courses-catalog-chip a {
    color: inherit;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.7;
}

.courses-catalog-chip a:hover {
    opacity: 1;
}

.courses-catalog-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.courses-catalog-sort-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dw-muted);
    margin-right: 0.25rem;
}

.courses-catalog-sort-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dw-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.courses-catalog-sort-link:hover {
    color: var(--dw-brand);
    background: #eef2ff;
}

.courses-catalog-sort-link.is-active {
    color: var(--dw-brand);
    background: #eef2ff;
    border-color: rgba(30, 58, 138, 0.2);
}

.courses-catalog-grid {
    overflow: visible;
}

.courses-catalog-grid > [class*="col-"] {
    overflow: visible;
    position: relative;
}

.courses-catalog-grid .udemy-course-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 0.65rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    overflow: visible;
}

.courses-catalog-grid .udemy-course-card:hover {
    background: #fff;
    border-color: rgba(30, 58, 138, 0.22);
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.1);
    transform: translateY(-3px);
}

.courses-catalog-grid .udemy-course-thumb {
    border-radius: 8px;
}

.courses-catalog-grid .udemy-course-title {
    font-size: 0.92rem;
}

.courses-catalog-empty {
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 1.5rem;
    background: #fff;
    border: 1px dashed var(--dw-border);
    border-radius: 16px;
}

.courses-catalog-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--dw-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.courses-catalog-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.courses-catalog-pagination .pagination {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .courses-catalog-hero {
        padding: 0.55rem 0 0.65rem;
    }

    .courses-catalog-hero-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .courses-catalog-search {
        flex-wrap: nowrap;
    }

    .courses-catalog-search .btn {
        width: auto;
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .courses-catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .courses-catalog-sort {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 0.15rem;
    }

    .courses-catalog-sort-link {
        flex-shrink: 0;
    }
}

/* Catalog grid + hover flyout */
.dw-catalog-section {
    background: #fff;
    overflow: visible;
}

.catalog-panels {
    overflow: visible;
}

.catalog-panel {
    display: none;
    overflow: visible;
}

.catalog-panel.is-active {
    display: block;
}

.catalog-grid {
    overflow: visible;
}

.catalog-grid > [class*="col-"] {
    overflow: visible;
}

.course-card-hover-wrap {
    position: relative;
    height: 100%;
    z-index: 1;
}

.course-card-hover-wrap:hover,
.course-card-hover-wrap:focus-within {
    z-index: 120;
}

.udemy-course-card {
    position: relative;
    height: 100%;
}

.udemy-course-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.udemy-course-thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #3e3e3e, #1c1d1f);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.udemy-course-thumb span {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0 0.5rem;
    text-align: center;
}

.udemy-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.udemy-course-body {
    padding: 0.5rem 0 0;
}

.udemy-course-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.udemy-course-instructor {
    font-size: 0.75rem;
    color: var(--dw-muted);
    margin-bottom: 0.25rem;
}

.udemy-course-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem 0.25rem;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.rating-num {
    color: #b4690e;
    font-weight: 700;
}

.rating-stars {
    color: #b4690e;
    font-size: 0.65rem;
}

.rating-count {
    color: var(--dw-muted);
    font-size: 0.75rem;
}

.udemy-course-price .price-current {
    font-size: 0.95rem;
    font-weight: 800;
}

.udemy-course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.badge-dw {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 2px;
}

.badge-premium {
    background: #eceb98;
    color: #3d3c0a;
}

.badge-bestseller {
    background: #d1e7dd;
    color: #0a3622;
}

.course-hover-flyout {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% - 6px);
    width: min(340px, 85vw);
    background: #fff;
    border: 1px solid var(--dw-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    padding: 1rem 1.1rem 1.1rem;
    z-index: 130;
    pointer-events: auto;
}

.course-card-hover-wrap:hover .course-hover-flyout {
    display: block;
}

.course-hover-flyout.flyout-left {
    left: auto;
    right: calc(100% + 10px);
}

.course-hover-flyout.flyout-left .course-hover-arrow {
    left: auto;
    right: -6px;
    transform: rotate(225deg);
}

.course-hover-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--dw-border);
    border-bottom: 1px solid var(--dw-border);
    transform: rotate(45deg);
    left: -6px;
    top: 28px;
}

.flyout-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.flyout-meta {
    font-size: 0.72rem;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.flyout-desc {
    font-size: 0.8rem;
    color: var(--dw-dark);
    margin-bottom: 0.65rem;
}

.flyout-outcomes li {
    font-size: 0.78rem;
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    align-items: flex-start;
}

.flyout-outcomes i {
    color: var(--dw-muted);
    margin-top: 0.15rem;
}

.btn-dw-flyout-cart {
    background: var(--dw-accent);
    border: 1px solid var(--dw-accent);
    color: #fff;
    font-weight: 700;
    border-radius: 2px;
    padding: 0.65rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-dw-flyout-cart:hover {
    background: var(--dw-brand-dark);
    border-color: var(--dw-brand-dark);
    color: #fff;
}

@media (max-width: 991.98px) {
    .course-hover-flyout {
        display: none !important;
    }
}

.btn-dw-primary {
    background: var(--dw-brand);
    border: 1px solid var(--dw-brand-dark);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-dw-primary:hover {
    background: var(--dw-brand-dark);
    border-color: var(--dw-brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(30, 58, 138, 0.32);
}

.btn-dw-outline {
    border: 1px solid var(--dw-border);
    color: var(--dw-brand-dark);
    background: var(--dw-surface);
    font-weight: 700;
    border-radius: 10px;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-dw-outline:hover {
    border-color: var(--dw-brand-light);
    color: var(--dw-brand-dark);
    background: #eef1f6;
}

/* Outline buttons on dark / gradient banners (not white fill + white text) */
.btn-dw-on-dark:hover,
.btn-dw-outline.btn-dw-on-dark:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.btn-dw-outline.btn-dw-on-dark {
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
    background: transparent;
}

/* Compact sizing — all public DW buttons (overrides Bootstrap .btn-lg) */
.btn-dw-primary,
.btn-dw-outline,
.btn-dw-signup,
.btn-dw-login {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    line-height: 1.35;
    min-height: 0;
}

.btn-dw-primary.btn-lg,
.btn-dw-outline.btn-lg,
.btn-dw-signup.btn-lg,
.btn-dw-login.btn-lg,
.btn-dw-primary.btn-sm,
.btn-dw-outline.btn-sm,
.btn-dw-signup.btn-sm,
.btn-dw-login.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1.1rem;
}

.btn-auth-continue {
    font-size: 0.9375rem;
    padding: 0.65rem 1rem;
}

.btn-auth-continue.btn-lg {
    font-size: 0.9375rem;
    padding: 0.65rem 1rem;
}

.home-hero-actions .btn,
.home-cta-actions .btn,
.hero-banner .btn,
.about-mission-panel .btn,
.site-footer-cta-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1.1rem;
    line-height: 1.35;
}

.home-hero-actions .btn-lg,
.home-cta-actions .btn-lg,
.hero-banner .btn-lg,
.about-mission-panel .btn-lg {
    font-size: 0.875rem;
    padding: 0.5rem 1.1rem;
}

.dw-student-welcome-actions .btn-light,
.dw-admin-welcome-actions .btn-light {
    color: var(--dw-dark);
    background: #fff;
    border-color: #fff;
}

.dw-student-welcome-actions .btn-light:hover,
.dw-admin-welcome-actions .btn-light:hover {
    color: var(--dw-dark);
    background: #f3f4f6;
}

.hero-banner {
    background: linear-gradient(120deg, #1c1d1f 0%, #2d2f31 45%, var(--dw-brand-dark) 100%);
    color: #fff;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.hero-banner .display-5 {
    letter-spacing: -0.02em;
}

.hero-banner .lead {
    color: rgba(255, 255, 255, 0.88);
    max-width: 42rem;
}

.hero-banner-photo {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* —— Home page hero (above course catalog) —— */
.home-hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem);
    overflow: hidden;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 75% at 88% 12%, rgba(30, 58, 138, 0.4), transparent 55%),
        radial-gradient(ellipse 45% 55% at 8% 88%, rgba(15, 23, 42, 0.5), transparent 50%),
        var(--dw-gradient-dark);
    z-index: 0;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

.home-hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 0.85rem;
}

.home-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 16ch;
}

.home-hero-lead {
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
    margin-bottom: 0;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 1.75rem;
    align-items: center;
}

.home-hero-actions .btn-dw-primary {
    background: #fff;
    border-color: #fff;
    color: var(--dw-brand-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.home-hero-actions .btn-dw-primary:hover {
    background: #f3f4f6;
    border-color: #f3f4f6;
    color: var(--dw-brand-dark);
}

.home-hero-btn-light,
.home-hero-actions .btn-dw-on-dark {
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
    background: transparent;
}

.home-hero-btn-light:hover,
.home-hero-actions .btn-dw-on-dark:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.home-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.35rem;
    margin-top: 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.home-hero-trust .bi {
    color: var(--dw-accent-soft);
    margin-right: 0.35rem;
}

.home-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.home-hero-card {
    position: relative;
    z-index: 1;
    width: min(100%, 380px);
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.home-hero-card-head {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    background: #f7f9fa;
    border-bottom: 1px solid var(--dw-border);
}

.home-hero-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d7dc;
}

.home-hero-card-dot:first-child {
    background: #ff5f57;
}

.home-hero-card-dot:nth-child(2) {
    background: #febc2e;
}

.home-hero-card-dot:nth-child(3) {
    background: #28c840;
}

.home-hero-card-body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.home-hero-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dw-muted);
    margin-bottom: 0.85rem;
}

.home-hero-card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1c1d1f;
    margin-bottom: 0.65rem;
}

.home-hero-card-list .bi {
    color: var(--dw-accent);
    font-size: 1.1rem;
}

.home-hero-card-stat {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dw-border);
}

.home-hero-card-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dw-accent);
    line-height: 1.1;
}

.home-hero-card-stat-label {
    font-size: 0.8125rem;
    color: var(--dw-muted);
    font-weight: 600;
}

.home-hero-glow {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.45), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.home-catalog-wrap {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.home-catalog-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.home-catalog-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.home-catalog-lead {
    color: var(--dw-muted);
    font-size: 0.95rem;
}

.home-catalog-link {
    font-weight: 700;
    color: var(--dw-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-catalog-link:hover {
    color: var(--dw-accent);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-title {
        max-width: none;
    }

    .home-hero-visual {
        min-height: auto;
        margin-top: 0.5rem;
    }
}

/* —— Home testimonials slider —— */
.home-testimonials {
    background: #fff;
}

.home-testimonials-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.25rem;
}

.home-testimonials-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dw-dark);
    max-width: 28ch;
}

.home-testimonials-nav {
    display: flex;
    gap: 0.5rem;
}

.home-testimonials-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--dw-border);
    background: #fff;
    color: var(--dw-brand-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.home-testimonials-arrow:hover {
    background: var(--dw-brand-dark);
    border-color: var(--dw-brand-dark);
    color: #fff;
}

.home-testimonials-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -0.25rem;
    padding: 0.25rem 0.25rem 0.5rem;
}

.home-testimonials-slider:focus-visible {
    outline: 2px solid var(--dw-brand);
    outline-offset: 4px;
    border-radius: 8px;
}

.home-testimonials-slider::-webkit-scrollbar {
    display: none;
}

.home-testimonials-track {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.home-testimonial-card {
    flex: 0 0 calc(100% - 0.5rem);
    scroll-snap-align: start;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    background: #fafbfc;
    padding: 1.35rem 1.25rem 1.15rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

@media (min-width: 768px) {
    .home-testimonial-card {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (min-width: 992px) {
    .home-testimonial-card {
        flex: 0 0 calc(33.333% - 0.67rem);
    }
}

.home-testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
}

.home-testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #d1d5db;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.home-testimonials-dot.is-active {
    background: var(--dw-brand);
    transform: scale(1.15);
}

.home-testimonials-dot:hover {
    background: var(--dw-brand-light);
}

.home-testimonial-quote {
    display: block;
    font-family: var(--dw-font);
    font-weight: 800;
    font-size: 3.25rem;
    line-height: 1;
    color: #c4c9cd;
    margin-bottom: 0.35rem;
}

.home-testimonial-text {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #3e4143;
    flex: 1;
}

.home-testimonial-text strong {
    color: var(--dw-dark);
    font-weight: 800;
}

.home-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.home-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--dw-border);
}

.home-testimonial-name {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--dw-dark);
}

.home-testimonial-role {
    font-size: 0.8rem;
    color: var(--dw-muted);
    line-height: 1.35;
}

.home-testimonial-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dw-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: auto;
}

.home-testimonial-link:hover {
    text-decoration: underline;
    color: var(--dw-purple-dark, var(--dw-brand-dark));
}

.home-testimonial-link .bi {
    font-size: 0.85rem;
}

/* —— Home Personal Plan promo —— */
.home-personal-plan {
    background: #f7f9fa;
}

.home-personal-plan-shell {
    background: #1c1d1f;
    border-radius: 16px;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    overflow: hidden;
}

.home-personal-plan-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 18ch;
}

.home-personal-plan-lead {
    color: #d1d7dc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 36rem;
}

.home-personal-plan-lead strong {
    color: #fff;
    font-weight: 700;
}

.home-personal-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.home-personal-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #fff;
}

.home-plan-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #fff;
}

.home-plan-icon--purple {
    background: var(--dw-brand);
}

.home-plan-icon--teal {
    background: #01949a;
}

.home-plan-icon--coral {
    background: #e5989b;
}

.home-plan-icon--green {
    background: #3e8e41;
}

.home-personal-plan-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.home-personal-plan-btn {
    background: #fff;
    color: var(--dw-brand-dark);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.5rem 1.15rem;
    border-radius: 10px;
    border: 0;
    text-decoration: none;
    display: inline-block;
}

.home-personal-plan-btn:hover {
    background: #f7f9fa;
    color: #1c1d1f;
}

.home-personal-plan-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-personal-plan-link:hover {
    color: #fff;
    opacity: 0.9;
}

.home-personal-plan-visual {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 220px;
}

.home-personal-plan-photo-wrap {
    position: relative;
    flex: 1;
    max-width: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.home-personal-plan-photo {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.home-personal-plan-shape {
    position: absolute;
    width: 55%;
    height: 70%;
    right: -5%;
    bottom: -10%;
    background: linear-gradient(135deg, var(--dw-accent) 0%, var(--dw-brand) 50%, var(--dw-brand-dark) 100%);
    opacity: 0.85;
    transform: rotate(-12deg);
    border-radius: 8px;
    pointer-events: none;
}

.home-personal-plan-accent {
    width: 72px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--dw-brand) 0%, #01949a 45%, #3e8e41 100%);
    flex-shrink: 0;
    min-height: 220px;
}

@media (max-width: 991.98px) {
    .home-personal-plan-title {
        max-width: none;
    }

    .home-personal-plan-visual {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .home-personal-plan-features {
        grid-template-columns: 1fr;
    }

    .home-personal-plan-photo-wrap {
        max-width: 100%;
    }

    .home-personal-plan-accent {
        width: 48px;
    }
}

.udemy-course-thumb {
    border-radius: 8px;
}

.udemy-course-card {
    padding: 0.15rem;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.udemy-course-card:hover {
    background: rgba(8, 145, 178, 0.04);
}

.stat-card,
.auth-card,
.account-sidebar,
.course-detail-sidebar {
    border-radius: 12px;
}

.btn-dw-primary,
.btn-dw-signup,
.btn-dw-login,
.btn-dw-outline,
.btn-dw-flyout-cart {
    border-radius: 6px;
}

.dw-catalog-section {
    padding-top: 0.5rem;
}

.footer-dark {
    margin-top: clamp(2rem, 5vw, 4rem) !important;
}

.course-card {
    border: 1px solid var(--dw-border);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}

.course-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.course-thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dw-purple);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    overflow: hidden;
}

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

.price-current {
    font-weight: 800;
    color: var(--dw-dark);
}

.price-old {
    text-decoration: line-through;
    color: var(--dw-muted);
    font-size: 0.9rem;
}

.rating-badge {
    color: #b4690e;
    font-weight: 700;
}

.category-pill {
    border: 1px solid var(--dw-border);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    text-decoration: none;
    color: var(--dw-dark);
    background: #fff;
    display: inline-block;
}

.category-pill:hover {
    background: #f7f9fa;
    color: var(--dw-purple);
}

.course-detail-sidebar {
    border: 1px solid var(--dw-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.footer-dark {
    background: var(--dw-dark);
    color: #fff;
}

.footer-dark a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-dark a:hover {
    color: #fff;
}

/* —— Site footer —— */
.site-footer {
    background: var(--dw-dark);
    color: rgba(255, 255, 255, 0.85);
    margin-top: clamp(2rem, 5vw, 4rem);
}

.site-footer-newsletter {
    background: var(--dw-gradient-brand);
    padding: clamp(2rem, 4vw, 2.75rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-newsletter-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.site-footer-newsletter-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.5;
}

.site-footer-subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.site-footer-subscribe-input {
    flex: 1 1 220px;
    min-width: 0;
    border: 0;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
}

.site-footer-subscribe-input:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.site-footer-subscribe-btn {
    background: var(--dw-dark);
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    border: 0;
    white-space: nowrap;
}

.site-footer-subscribe-btn:hover {
    background: #000;
    color: #fff;
}

.site-footer-main {
    padding: clamp(2.5rem, 5vw, 3.25rem) 0 2rem;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.site-footer-logo .dw-logo-mark {
    color: var(--dw-accent);
}

.site-footer-logo .dw-logo-text {
    color: #fff;
}

.site-footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 22rem;
    margin-bottom: 1.25rem;
}

.site-footer-contact li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer-contact .bi {
    color: var(--dw-accent);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.site-footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.site-footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer-social {
    margin-top: 1.5rem;
}

.site-footer-social-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.65rem;
}

.site-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.site-footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.site-footer-heading {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer-links li {
    margin-bottom: 0.5rem;
}

.site-footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer-highlights {
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
}

.site-footer-highlights-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.site-footer-highlights-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer-highlights-list .bi {
    color: var(--dw-accent);
    font-size: 1.05rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.site-footer-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem 1rem;
}

.site-footer-nav-col {
    min-width: 0;
}

.site-footer-links li {
    margin-bottom: 0.55rem;
}

.site-footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(125deg, rgba(13, 148, 136, 0.35) 0%, rgba(20, 184, 166, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: #fff;
}

.site-footer-cta-text strong {
    font-size: 1.05rem;
}

.site-footer-cta-text span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.site-footer-bottom-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer-bottom-tagline {
    flex: 1 1 100%;
    text-align: center;
}

@media (max-width: 991.98px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer-bottom-tagline {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .site-footer-nav {
        grid-template-columns: 1fr;
    }

    .site-footer-highlights-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }

    .site-footer-cta-actions {
        width: 100%;
    }

    .site-footer-cta-actions .btn {
        flex: 1 1 auto;
    }
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.site-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
}

.site-footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 575.98px) {
    .site-footer-subscribe-form {
        flex-direction: column;
    }

    .site-footer-subscribe-btn {
        width: 100%;
    }
}

.dashboard-shell {
    min-height: calc(100vh - 120px);
    background: var(--dw-bg);
}

/* —— Role dashboards (student / trainer / admin) —— */
body.dw-panel-body {
    background: #eef1f5;
    min-height: 100vh;
}

.dw-panel {
    background: #eef1f5;
    min-height: 100vh;
    padding: 1.25rem 0 2.5rem;
}

.dw-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.dw-panel-sidebar {
    position: sticky;
    top: 1rem;
}

.dw-panel-sidebar-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 14px;
    padding: 1.15rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.dw-panel-sidebar-card--trainer {
    border-top: 3px solid #4338ca;
}

.dw-panel-sidebar-card--admin {
    border-top: 3px solid #0f766e;
}

.dw-panel-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--dw-dark);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dw-border);
    max-width: 100%;
}

.dw-panel-brand .dw-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--dw-brand);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}

.dw-panel-brand .dw-logo-text {
    color: var(--dw-dark);
    white-space: nowrap;
}

.dw-panel-brand-sub {
    color: var(--dw-dark);
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1.2;
}

.dw-panel-user {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 1rem;
}

.dw-panel-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dw-purple), var(--dw-accent));
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dw-panel-user-avatar--trainer {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.dw-panel-user-avatar--admin {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.dw-panel-user-name {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
}

.dw-panel-user-email {
    font-size: 0.75rem;
    color: var(--dw-muted);
    word-break: break-all;
}

.dw-panel-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: calc(100vh - 320px);
    overflow-y: auto;
}

.dw-panel-nav-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dw-muted);
    margin-top: 0.65rem;
    margin-bottom: 0.25rem;
    padding: 0 0.5rem;
}

.dw-panel-nav-label:first-child {
    margin-top: 0;
}

.dw-panel-nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dw-dark);
    text-decoration: none;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
}

.dw-panel-nav-link .bi {
    color: var(--dw-muted);
    font-size: 1.05rem;
}

.dw-panel-nav-link:hover {
    background: #f7f0ff;
    color: var(--dw-purple);
}

.dw-panel-nav-link:hover .bi {
    color: var(--dw-purple);
}

.dw-panel-nav-link.is-active {
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.12), rgba(13, 148, 136, 0.04));
    color: var(--dw-purple);
}

.dw-panel-nav-link.is-active .bi {
    color: var(--dw-purple);
}

.dw-panel-nav-link--muted {
    color: var(--dw-muted);
    cursor: default;
    pointer-events: none;
}

.dw-panel-soon {
    margin-left: auto;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f7f9fa;
    border: 1px solid var(--dw-border);
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}

.dw-panel-logout {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--dw-border);
}

.dw-panel-logout button {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #dc3545;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
}

.dw-panel-logout button:hover {
    background: #fff5f5;
}

.dw-panel-main {
    min-width: 0;
}

.dw-panel-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.dw-panel-topbar-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dw-purple);
    margin-bottom: 0.2rem;
}

.dw-panel-topbar-title {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.dw-panel-topbar-lead {
    font-size: 0.9rem;
    color: var(--dw-muted);
    margin-top: 0.35rem;
    max-width: 42rem;
}

.dw-panel-topbar-copy {
    flex: 1;
    min-width: 0;
}

.dw-panel-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.dw-panel-topbar-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dw-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dw-panel-topbar-link:hover {
    color: var(--dw-purple);
}

.dw-panel-topbar-actions--solo {
    margin-left: auto;
    width: 100%;
    justify-content: flex-end;
}

.dw-panel-topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding-left: 0.75rem;
    border-left: 1px solid var(--dw-border);
}

.dw-panel-topbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dw-dark);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dw-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dw-stat-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dw-stat-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.dw-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dw-purple), var(--dw-accent));
}

.dw-stat-card--indigo::before {
    background: linear-gradient(90deg, #4338ca, #818cf8);
}

.dw-stat-card--teal::before {
    background: linear-gradient(90deg, #0f766e, #2dd4bf);
}

.dw-stat-card--amber::before {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}

.dw-stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f7f0ff;
    color: var(--dw-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.dw-stat-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dw-muted);
    margin-bottom: 0.25rem;
}

.dw-stat-card-value {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.dw-panel-card {
    background: var(--dw-surface);
    border: 1px solid var(--dw-border);
    border-radius: 14px;
    box-shadow: var(--dw-shadow-soft);
    margin-bottom: 1.25rem;
}

.dw-panel-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-panel-card-head h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

.dw-panel-card-body {
    padding: 0.25rem 0;
}

.dw-panel-table {
    width: 100%;
    margin: 0;
    font-size: 0.875rem;
}

.dw-panel-table th {
    font-weight: 700;
    color: var(--dw-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-panel-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #eef1f5;
    vertical-align: middle;
}

.dw-panel-table tr:last-child td {
    border-bottom: 0;
}

.dw-progress-mini {
    height: 6px;
    border-radius: 999px;
    background: #eef1f5;
    overflow: hidden;
    min-width: 80px;
}

.dw-progress-mini-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dw-purple), var(--dw-accent));
}

.dw-panel-empty {
    padding: 2rem 1.25rem;
    text-align: center;
    color: var(--dw-muted);
}

@media (max-width: 991.98px) {
    .dw-panel-grid {
        grid-template-columns: 1fr;
    }

    .dw-panel-sidebar {
        position: static;
    }

    .dw-panel-nav {
        max-height: none;
    }

    .dw-stat-grid,
    .dw-stat-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .dw-stat-grid,
    .dw-stat-grid--3 {
        grid-template-columns: 1fr;
    }

    .dw-panel-table {
        display: block;
        overflow-x: auto;
    }
}

.stat-card {
    border: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.breadcrumb-dw {
    font-size: 0.9rem;
}

.breadcrumb-dw a {
    color: var(--dw-purple);
    text-decoration: none;
}

.auth-page {
    background: var(--dw-bg);
}

.auth-card {
    border: 1px solid var(--dw-border);
}

.account-sidebar .account-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dw-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.account-nav .nav-link {
    color: var(--dw-dark);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.account-nav .nav-link.active,
.account-nav .nav-link:hover {
    background: #f1f0ff;
    color: var(--dw-purple);
}

.account-nav-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dw-muted);
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    padding: 0 0.75rem;
}

.account-nav-label:first-child {
    margin-top: 0;
}

.account-avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
}

/* —— Header user menu (Udemy-style) —— */
.user-menu-trigger {
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 0;
}

a.user-menu-trigger--link {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
    border-radius: 50%;
}

a.user-menu-trigger--link:hover .user-menu-avatar {
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.25);
}

.user-menu-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1c1d1f;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-menu-avatar--lg {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.user-menu-panel {
    width: min(320px, calc(100vw - 1.5rem));
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.5rem !important;
}

.user-menu-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--dw-border);
}

.user-menu-name {
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.3;
}

.user-menu-email {
    font-size: 0.8rem;
    color: var(--dw-muted);
    word-break: break-all;
}

.user-menu-section {
    border-bottom: 1px solid var(--dw-border);
    padding: 0.35rem 0;
}

.user-menu-section--footer {
    border-bottom: 0;
}

.user-menu-item {
    display: block;
    padding: 0.55rem 1.15rem;
    color: var(--dw-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 0;
    background: transparent;
}

.user-menu-item:hover {
    background: #f7f9fa;
    color: var(--dw-dark);
}

.user-menu-item--badge,
.user-menu-item--lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.user-menu-badge {
    background: var(--dw-purple);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
}

.user-menu-lang {
    font-size: 0.85rem;
    color: var(--dw-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.user-menu-logout {
    color: #dc3545;
}

.user-menu-logout:hover {
    background: #fff5f5;
    color: #dc3545;
}

.mobile-account-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-account-links a {
    text-decoration: none;
    color: var(--dw-dark);
}

.static-content .content-body p {
    color: var(--dw-muted);
    line-height: 1.7;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #f7f0ff;
    color: var(--dw-dark);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--dw-border);
}

/* —— Course detail (Udemy-style) —— */
.course-detail-page {
    padding-bottom: 0;
    background: #fff;
    overflow: visible;
}

.course-hero-band {
    background: #1c1d1f;
    color: #fff;
    padding: 1.75rem 0 4.5rem;
    position: relative;
    z-index: 1;
}

.course-hero-inner {
    max-width: calc(100% - 420px);
    padding-right: 1.5rem;
}

.course-detail-body {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
    margin-top: -1.25rem;
}

.course-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 2.5rem;
    align-items: start;
}

.course-page-main {
    min-width: 0;
    padding-top: 0;
}

.course-page-sidebar {
    width: 380px;
    max-width: 100%;
    margin-top: -400px;
    position: sticky;
    top: calc(var(--dw-header-h) + 12px);
    z-index: 40;
    align-self: start;
}

.course-page-sidebar .course-purchase-card {
    position: static;
    top: auto;
}

.course-breadcrumb {
    font-size: 0.8rem;
}

.course-breadcrumb a {
    color: #c0c4fc;
    text-decoration: none;
}

.course-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.course-breadcrumb .sep,
.course-breadcrumb .current {
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0.35rem;
}

.course-hero-title {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.course-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    max-width: 46rem;
}

.course-hero-badge {
    display: inline-block;
    margin-top: 0.5rem;
}

.course-hero-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-top: 0.85rem;
    font-size: 0.875rem;
}

.hero-rating-num {
    font-weight: 800;
    color: #f3ca8c;
}

.hero-rating-stars {
    color: #f3ca8c;
    font-size: 0.7rem;
    letter-spacing: -0.05em;
}

.hero-rating-link {
    color: #c0c4fc;
    text-decoration: underline;
    font-weight: 600;
}

.hero-rating-link:hover {
    color: #fff;
}

.hero-rating-sep {
    color: rgba(255, 255, 255, 0.45);
}

.hero-rating-students {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.course-hero-instructor {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.course-hero-instructor a {
    color: #c0c4fc;
    text-decoration: underline;
}

.course-hero-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
}

.course-purchase-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.course-purchase-card--refined {
    border-radius: 14px;
    border-color: #e2e8f0;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    margin-bottom: 5.5rem;
}

.course-purchase-card--refined .purchase-preview-thumb {
    border-radius: 0;
}

.course-purchase-card--refined .purchase-preview-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.35) 100%);
    pointer-events: none;
}

.course-purchase-card--refined .purchase-preview-label {
    border-bottom: 0;
    padding: 0.75rem 1.15rem;
    background: #f8fafc;
    font-size: 0.82rem;
}

.course-purchase-card--refined .purchase-preview-label a {
    color: var(--dw-brand);
    text-decoration: none;
    font-weight: 700;
}

.course-purchase-card--refined .purchase-preview-label a:hover {
    text-decoration: underline;
}

.course-purchase-card--refined .purchase-body {
    padding: 1.15rem 1.15rem 1.25rem;
}

.course-purchase-card--refined .purchase-price-hero {
    text-align: center;
    padding: 0 0 0.65rem;
    border-bottom: 1px solid var(--dw-border);
    margin-bottom: 0.75rem;
}

.course-purchase-card--refined .purchase-price-hero-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dw-muted);
    margin-bottom: 0.15rem;
}

.course-purchase-card--refined .purchase-price-hero-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    line-height: 1.15;
}

.course-purchase-card--refined .purchase-price-hero-amount {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dw-dark);
}

.course-purchase-card--refined .purchase-price-hero-was {
    font-size: 0.88rem;
    color: #94a3b8;
}

.course-purchase-card--refined .purchase-price-hero-extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin-top: 0.3rem;
}

.course-purchase-card--refined .purchase-price-hero-save {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
}

.course-purchase-card--refined .purchase-price-hero-meta {
    font-size: 0.72rem;
    color: var(--dw-muted);
}

.course-purchase-card--refined .purchase-actions--stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.course-purchase-card--refined .purchase-actions--stack form {
    min-width: 0;
}

.course-purchase-card--refined .purchase-cta-main {
    font-weight: 800;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.course-purchase-card--refined .purchase-cta-secondary {
    font-weight: 700;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    border-width: 2px;
    font-size: 0.9rem;
    width: 100%;
}

.course-purchase-card--refined .purchase-plan-upsell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    margin-bottom: 0.85rem;
}

.course-purchase-card--refined .purchase-plan-upsell-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: var(--dw-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.course-purchase-card--refined .purchase-plan-upsell-copy {
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.35;
}

.course-purchase-card--refined .purchase-plan-upsell-btn {
    flex-shrink: 0;
    font-weight: 700;
    white-space: nowrap;
}

.course-purchase-card--refined .purchase-wishlist-row {
    text-align: center;
    margin-bottom: 0.75rem;
}

.course-purchase-card--refined .purchase-wishlist-link {
    border: 0;
    background: transparent;
    color: var(--dw-brand);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.course-purchase-card--refined .purchase-wishlist-link:hover {
    text-decoration: underline;
}

.course-purchase-card--refined .purchase-bundles {
    margin-top: 0.5rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--dw-border);
    margin-bottom: 0.75rem;
}

.course-purchase-card--refined .purchase-bundles-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
    margin-bottom: 0.5rem;
}

.course-purchase-card--refined .purchase-bundle-link {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dw-dark);
    text-decoration: none;
    padding: 0.35rem 0;
}

.course-purchase-card--refined .purchase-bundle-link:hover {
    color: var(--dw-brand);
}

.course-purchase-card--refined .purchase-bundle-price {
    color: var(--dw-brand);
    white-space: nowrap;
}

.course-purchase-card--refined .purchase-trust-list {
    list-style: none;
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--dw-border);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.course-purchase-card--refined .purchase-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--dw-muted);
}

.course-purchase-card--refined .purchase-trust-list i {
    color: var(--dw-brand);
    font-size: 0.9rem;
}

.purchase-preview-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #2d2f31;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purchase-preview-thumb span {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 1rem;
    text-align: center;
}

.purchase-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purchase-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dw-dark);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.purchase-preview-label {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid var(--dw-border);
    color: var(--dw-dark);
}

.purchase-options {
    padding: 1rem;
}

.purchase-option-title {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

.purchase-price-row {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.95rem;
}

.purchase-plan-note {
    background: #f7f0ff;
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
    color: var(--dw-dark);
    margin: 0.75rem 0;
    display: flex;
    gap: 0.4rem;
}

.purchase-includes {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.purchase-includes li {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.25rem;
}

.purchase-divider {
    text-align: center;
    margin: 0.75rem 0;
    position: relative;
    font-size: 0.75rem;
    color: var(--dw-muted);
}

.purchase-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid var(--dw-border);
    z-index: 0;
}

.purchase-divider span {
    background: #fff;
    padding: 0 0.5rem;
    position: relative;
    z-index: 1;
}

.purchase-radio {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0;
}

.purchase-radio .form-check-input {
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.purchase-radio .form-check-input:checked {
    background-color: var(--dw-dark);
    border-color: var(--dw-dark);
}

.purchase-price-main strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dw-dark);
}

.purchase-price-was {
    color: var(--dw-muted);
    font-size: 0.95rem;
    margin-left: 0.35rem;
    font-weight: 500;
}

.purchase-actions {
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.purchase-buy-now {
    font-weight: 700;
    padding: 0.75rem 1rem;
    border: 1px solid var(--dw-dark);
    color: var(--dw-dark);
    background: #fff;
}

.purchase-buy-now:hover {
    background: #f7f9fa;
    border-color: var(--dw-dark);
    color: var(--dw-dark);
}

.purchase-btn-wishlist {
    font-weight: 700;
    padding: 0.75rem 1rem;
    border: 1px solid var(--dw-dark);
    color: var(--dw-dark);
    background: #fff;
}

.purchase-btn-wishlist:hover {
    background: #f7f9fa;
    color: var(--dw-dark);
}

.purchase-guarantee {
    padding: 0 1rem 1rem;
}

.purchase-option-sub {
    opacity: 0.92;
}

.purchase-sub-btn {
    margin-top: 0.5rem;
}

.course-main-band {
    background: #fff;
    padding: 0 0 3rem;
}

.course-stats-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 5;
}

.course-stats-bar--compact {
    margin-bottom: 1.5rem;
}

.course-stats-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dw-accent);
    border-right: 1px solid var(--dw-border);
    padding-right: 1.25rem;
    margin-right: 0.25rem;
}

.course-stats-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.course-stats-rating .rating-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: #b4690e;
}

.course-stats-rating .rating-stars {
    color: #b4690e;
    font-size: 0.75rem;
}

.course-stats-rating .rating-link {
    color: var(--dw-accent);
    font-size: 0.85rem;
    text-decoration: underline;
}

.course-stats-students {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: auto;
}

.course-learn-box {
    position: relative;
    z-index: 3;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    padding: 1.75rem 1.5rem 1.5rem;
}

.course-learn-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem 1.5rem;
}

@media (min-width: 768px) {
    .course-learn-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.course-learn-grid li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.45;
}

.course-learn-grid i {
    color: var(--dw-dark);
    font-size: 1rem;
    margin-top: 0.1rem;
}

.course-section {
    margin-top: 2.5rem;
}

.course-topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-topic-tags a {
    border: 1px solid var(--dw-dark);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dw-dark);
    text-decoration: none;
}

.course-topic-tags a:hover {
    background: #f7f9fa;
}

.curriculum-module-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.curriculum-module-title {
    font-weight: 700;
}

.curriculum-module-count {
    font-size: 0.8rem;
    color: var(--dw-muted);
    font-weight: 500;
    white-space: nowrap;
}

.course-curriculum .accordion-button {
    background: #f7f9fa;
    box-shadow: none;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
}

.course-curriculum .accordion-button:not(.collapsed) {
    background: #f1f3f5;
    color: var(--dw-dark);
}

.curriculum-lessons .list-group-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 0.5rem 0.75rem;
    align-items: center;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
}

.lesson-icon {
    color: var(--dw-muted);
}

.preview-badge {
    background: #eceb98;
    color: #3d3c0a;
    font-size: 0.65rem;
    font-weight: 700;
}

.lesson-type {
    font-size: 0.75rem;
    color: var(--dw-muted);
    text-transform: capitalize;
}

.course-requirements {
    padding-left: 1.1rem;
    color: var(--dw-muted);
}

.course-requirements li {
    margin-bottom: 0.35rem;
}

.course-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    background: #fff;
    border-top: 1px solid var(--dw-border);
    padding: 0.75rem 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
    .course-mobile-cta {
        display: none;
    }

    .course-detail-page {
        padding-bottom: 0;
    }
}

@media (max-width: 991.98px) {
    .course-hero-inner {
        max-width: 100%;
        padding-right: 0;
    }

    .course-hero-band {
        padding-bottom: 2rem;
    }

    .course-detail-body {
        margin-top: 0;
    }

    .course-page-layout {
        grid-template-columns: 1fr;
    }

    .course-page-sidebar {
        width: 100%;
        max-width: 420px;
        margin: 0 auto 1.5rem;
        position: static;
        order: -1;
    }

    .course-page-sidebar .course-purchase-card {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .course-page-sidebar .course-purchase-card {
        display: none;
    }

    .course-detail-page {
        padding-bottom: 5rem;
    }
}

/* —— Auth pages (Dhimson-style split) —— */
.auth-split-page {
    background: #eef2f6;
    min-height: 100vh;
    margin: 0;
}

.auth-split-outer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: clamp(1rem, 2vw, 1.75rem);
    padding-bottom: clamp(1rem, 2vw, 1.75rem);
}

.auth-split-viewport {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    flex: 1;
    min-height: calc(100vh - clamp(2rem, 4vw, 3.5rem));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    background: #fff;
}

.auth-split-brand {
    background: linear-gradient(145deg, #0a0a0a 0%, var(--dw-brand-dark) 40%, var(--dw-brand) 100%);
    color: #fff;
    padding: clamp(1.75rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.auth-split-brand::before,
.auth-split-brand::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-split-brand::before {
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.06);
    top: -120px;
    right: -100px;
}

.auth-split-brand::after {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.04);
    bottom: -80px;
    left: -60px;
}

.auth-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 32rem;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    text-decoration: none;
    color: #fff;
    margin-bottom: 2rem;
}

.auth-brand-logo .dw-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}

.auth-brand-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-brand-title {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.auth-brand-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.auth-brand-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.auth-brand-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.auth-brand-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
}

.auth-brand-stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.85rem 0.65rem;
    text-align: center;
    backdrop-filter: blur(6px);
}

.auth-brand-stat strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
}

.auth-brand-stat span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-brand-quote {
    margin: 0;
    padding: 1rem 1.15rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 3px solid rgba(255, 255, 255, 0.35);
}

.auth-brand-quote p {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
}

.auth-brand-quote footer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.auth-split-panel {
    background: #f8fafc;
    padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.auth-panel-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    max-width: var(--auth-form-max);
    width: 100%;
}

.auth-panel-home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--dw-border);
    border-radius: 999px;
    background: #fff;
    color: var(--dw-dark);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-panel-home:hover {
    background: #fff;
    border-color: var(--dw-purple);
    color: var(--dw-purple);
}

.auth-role-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.auth-role-tab {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--dw-border);
    background: #fff;
    color: var(--dw-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.auth-role-tab:hover {
    border-color: #c4b5fd;
    color: var(--dw-purple);
}

.auth-role-tab.is-active {
    background: #eef1f6;
    border-color: var(--dw-brand);
    color: var(--dw-brand-dark);
}

.auth-panel-alert {
    max-width: var(--auth-form-max);
    width: 100%;
    margin-bottom: 1rem;
}

.auth-split-main {
    flex: 1;
    padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.auth-split-alert {
    margin-bottom: 0;
}

.auth-split-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 480px);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
}

.auth-split-aside {
    background: linear-gradient(145deg, var(--dw-brand) 0%, var(--dw-brand-dark) 45%, #1c1d1f 100%);
    border-radius: 12px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.25);
}

.auth-split-aside::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -80px;
    right: -60px;
}

.auth-aside-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.auth-aside-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}

.auth-aside-title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.auth-aside-lead {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    font-size: 0.95rem;
    max-width: 28rem;
    margin-bottom: 1.5rem;
}

.auth-aside-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.auth-aside-list .bi {
    color: #c0c4fc;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.auth-aside-art {
    margin-top: auto;
    padding-top: 1.5rem;
    max-width: 340px;
    align-self: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.auth-aside-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.auth-split-form-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 14px;
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.auth-form-card--panel {
    max-width: var(--auth-form-max);
    width: 100%;
    border: 1px solid rgba(209, 215, 220, 0.9);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.auth-login-head {
    margin-bottom: 0.25rem;
}

.auth-login-head .auth-type-badge {
    margin-bottom: 0.75rem;
}

.auth-login-head .auth-form-header--plain,
.auth-login-head + .auth-form-header {
    border: 0;
    padding: 0;
}

.auth-login-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dw-brand-dark);
    background: #eef1f6;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
}

.auth-login-notice .bi {
    color: var(--dw-brand);
    font-size: 1.1rem;
}

.auth-login-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 1rem 0 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--dw-border);
}

.auth-login-quicklinks a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dw-brand);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.auth-login-quicklinks a:hover {
    color: var(--dw-brand-dark);
    text-decoration: underline;
}

.auth-login-form {
    margin-top: 0;
}

.auth-login-remember {
    margin-bottom: 1rem !important;
}

.auth-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #eef1f6;
    color: var(--dw-brand-dark);
    border: 1px solid #d1d5db;
}

.auth-type-badge--admin {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.auth-login-demo summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--dw-brand-dark);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.auth-login-demo summary::-webkit-details-marker {
    display: none;
}

.auth-login-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 0.75rem 0 0.5rem;
}

.auth-login-demo-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dw-muted);
    margin-bottom: 0.2rem;
}

.auth-login-demo-hint {
    font-size: 0.75rem;
    color: var(--dw-muted);
}

.auth-login-demo--static {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
}

.auth-panel-footer {
    max-width: var(--auth-form-max);
    width: 100%;
    margin-top: 1.25rem;
}

.auth-form-header {
    border-bottom: 1px solid var(--dw-border);
    padding-bottom: 1.25rem;
}

.auth-form-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #eef1f6;
    color: var(--dw-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.auth-split-title {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    line-height: 1.2;
    color: var(--dw-dark);
}

.auth-split-lead {
    color: var(--dw-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-field {
    display: flex;
    flex-direction: column;
}

.auth-label {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--dw-dark);
}

.auth-required {
    color: #dc3545;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 0.85rem;
    color: var(--dw-muted);
    font-size: 1.05rem;
    pointer-events: none;
    z-index: 1;
}

.auth-input {
    width: 100%;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    padding: 0.8rem 1rem 0.8rem 2.65rem;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input-wrap .auth-input {
    padding-right: 2.75rem;
}

.auth-input:focus {
    outline: none;
    border-color: var(--dw-brand);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.18);
}

.auth-input.is-invalid {
    border-color: #dc3545;
}

.auth-field-error {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 0.35rem;
}

.auth-password-toggle {
    position: absolute;
    right: 0.5rem;
    border: 0;
    background: transparent;
    color: var(--dw-muted);
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    line-height: 1;
}

.auth-password-toggle:hover {
    color: var(--dw-dark);
    background: #f7f9fa;
}

.auth-inline-link {
    color: var(--dw-accent);
    font-weight: 600;
    text-decoration: none;
}

.auth-inline-link:hover {
    text-decoration: underline;
}

.auth-check .form-check-input:checked {
    background-color: var(--dw-accent);
    border-color: var(--dw-accent);
}

.auth-check .form-check-label {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--dw-dark);
}

.auth-check a {
    color: var(--dw-accent);
}

.btn-auth-continue {
    background: linear-gradient(135deg, var(--dw-brand-light) 0%, var(--dw-brand) 100%);
    border: 0;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
}

.btn-auth-continue:hover {
    background: linear-gradient(135deg, var(--dw-brand) 0%, var(--dw-brand-dark) 100%);
    color: #fff;
}

.btn-auth-secondary {
    background: #fff;
    border: 1px solid var(--dw-dark);
    color: var(--dw-dark);
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.btn-auth-secondary:hover {
    background: #f7f9fa;
    color: var(--dw-dark);
    border-color: var(--dw-dark);
}

.auth-form-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0 1rem;
    font-size: 0.8rem;
    color: var(--dw-muted);
}

.auth-form-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid var(--dw-border);
}

.auth-form-divider span {
    background: #fff;
    padding: 0 0.75rem;
    position: relative;
    z-index: 1;
}

.auth-card-footer-text {
    font-size: 0.9rem;
    color: var(--dw-muted);
}

.auth-card-footer-text a {
    color: var(--dw-accent);
    font-weight: 700;
    text-decoration: none;
}

.auth-card-footer-text a:hover {
    text-decoration: underline;
}

.auth-demo-box {
    background: #f7f9fa;
    border: 1px dashed var(--dw-border);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    color: var(--dw-muted);
}

.auth-demo-box summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--dw-dark);
}

.site-footer--auth {
    margin-top: 0 !important;
}

@media (max-width: 991.98px) {
    .auth-split-outer {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .auth-split-viewport {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 12px;
    }

    .auth-split-brand {
        min-height: auto;
        padding: 1.75rem 1.5rem;
    }

    .auth-brand-inner {
        margin: 0;
    }

    .auth-brand-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .auth-brand-quote {
        display: none;
    }

    .auth-split-panel {
        padding: 1.5rem 1.25rem 2rem;
    }

    .auth-panel-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-role-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
    }

    .auth-split-shell {
        grid-template-columns: 1fr;
    }

    .auth-split-aside {
        order: -1;
        padding: 1.5rem;
    }

    .auth-aside-art {
        display: none;
    }

    .auth-aside-lead {
        margin-bottom: 1rem;
    }

    .auth-aside-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 1rem;
    }
}

@media (max-width: 575.98px) {
    .auth-aside-list {
        grid-template-columns: 1fr;
    }

    .auth-form-card {
        padding: 1.25rem;
    }
}

/* —— Auth card (centered login / register) —— */
.auth-card-page {
    background: #f7f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-card-main {
    flex: 1;
    padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2rem, 4vw, 3rem);
}

.auth-card-shell {
    max-width: var(--dw-container);
    margin: 0 auto;
}

.auth-form-card--center {
    border-radius: 14px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: var(--auth-form-max);
    margin-left: auto;
    margin-right: auto;
}

/* .auth-type-badge — see auth-login block above */

.auth-admin-note {
    font-size: 0.85rem;
    color: var(--dw-muted);
    padding: 0.85rem 1rem;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 8px;
}

.auth-admin-note code {
    font-size: 0.8rem;
}

.auth-admin-note .bi {
    color: #0f766e;
    margin-right: 0.35rem;
}

.auth-form-header--plain {
    border-bottom: 0;
    padding-bottom: 0;
}

.auth-input-wrap--phone .auth-input-icon {
    left: 0.85rem;
}

.auth-phone-prefix {
    position: absolute;
    left: 2.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dw-dark);
    z-index: 1;
    pointer-events: none;
}

.auth-input--phone {
    padding-left: 4.35rem !important;
}

.auth-consent-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.auth-consent-box {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0;
    padding: 0.85rem 1rem;
    background: #f7f9fa;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--dw-dark);
}

.auth-consent-box.is-invalid {
    border-color: #dc3545;
}

.auth-consent-box input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--dw-purple);
}

.auth-consent-box a {
    color: var(--dw-purple);
    font-weight: 600;
    text-decoration: none;
}

.auth-consent-box a:hover {
    text-decoration: underline;
}

.auth-legal-footnote {
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--dw-muted);
}

.auth-card-footer-wrap {
    text-align: center;
    margin-top: 1.25rem;
}

.auth-card-alert {
    max-width: var(--dw-container);
    margin-left: auto;
    margin-right: auto;
}

/* —— About Us (premium) —— */
.about-page + .site-footer {
    margin-top: 0 !important;
}

.about-serif-title {
    font-family: var(--dw-font);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.about-subnav {
    border-bottom: 1px solid var(--dw-border);
    background: #fff;
}

.about-subnav--sticky {
    position: sticky;
    top: var(--dw-header-h);
    z-index: 1020;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.about-subnav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.25rem;
    padding: 0.75rem clamp(1rem, 2vw, 1.75rem);
    overflow-x: auto;
}

.about-subnav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dw-muted);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.about-subnav-link:hover {
    color: var(--dw-purple);
}

.about-subnav-link.is-active {
    color: var(--dw-dark);
    border-bottom-color: var(--dw-purple);
}

.about-eyebrow,
.about-section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dw-purple);
    margin-bottom: 0.85rem;
}

.about-section-kicker--light {
    color: rgba(255, 255, 255, 0.75);
}

.about-section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.about-section-head--left {
    text-align: left;
    margin-left: 0;
    max-width: 36rem;
}

.about-section-lead {
    color: var(--dw-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0.75rem 0 0;
}

.about-hero {
    position: relative;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(13, 148, 136, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(8, 145, 178, 0.08), transparent 50%),
        linear-gradient(180deg, #f7f9fa 0%, #fff 100%);
    z-index: 0;
}

.about-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-hero-copy .about-serif-title {
    font-size: clamp(2.15rem, 4.5vw, 3.35rem);
    max-width: 14ch;
    margin-bottom: 0;
}

.about-hero-intro {
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.7;
    color: var(--dw-muted);
    max-width: 34rem;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.about-hero-btn-outline {
    border-width: 2px;
    font-weight: 700;
}

.about-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.5rem;
    margin-top: 1.75rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dw-dark);
}

.about-hero-trust .bi {
    color: #01949a;
    margin-right: 0.35rem;
}

.about-hero-visual {
    display: flex;
    justify-content: center;
}

.about-hero-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.about-hero-frame::before {
    content: "";
    position: absolute;
    inset: -12px -12px 12px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(8, 145, 178, 0.08));
    z-index: -1;
}

.about-hero-photo {
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 0 24px 60px rgba(28, 29, 31, 0.18);
}

.about-hero-float {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 0.65rem 1rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 100px;
}

.about-hero-float--top {
    top: 8%;
    right: -8%;
}

.about-hero-float--bottom {
    bottom: 10%;
    left: -6%;
}

.about-hero-float-num {
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--dw-dark);
}

.about-hero-float-num .bi {
    color: #f69c08;
    font-size: 0.95rem;
}

.about-hero-float-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
}

.about-news-bar {
    background: var(--dw-dark);
    color: #fff;
    padding: 0.9rem 0;
}

.about-news-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.about-news-badge {
    background: var(--dw-purple);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
}

.about-news-bar a {
    color: #fff;
    text-decoration: none;
}

.about-news-bar a:hover {
    text-decoration: underline;
}

.about-news-arrow {
    font-size: 1.35rem;
    opacity: 0.8;
}

.about-pillars {
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    background: #fff;
}

.about-pillar-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 14px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.25);
}

.about-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7f0ff, #ede9fe);
    color: var(--dw-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.about-pillar-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.about-pillar-text {
    font-size: 0.92rem;
    color: var(--dw-muted);
    line-height: 1.6;
    margin: 0;
}

.about-mission {
    padding: 0 0 clamp(3.5rem, 7vw, 5rem);
}

.about-mission-panel {
    background: linear-gradient(135deg, var(--dw-brand) 0%, var(--dw-brand-dark) 50%, #1e1b4b 100%);
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(13, 148, 136, 0.25);
}

.about-mission-panel::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -100px;
    right: -80px;
}

.about-mission-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}

.about-mission-title {
    font-size: clamp(1.75rem, 3.5vw, 2.65rem);
    margin-bottom: 1rem;
    color: #fff;
}

.about-mission-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 36rem;
}

.about-underline {
    position: relative;
    display: inline-block;
}

.about-underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 0.35em;
    background: rgba(255, 255, 255, 0.35);
    z-index: -1;
}

.about-mission-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 280px;
    margin-left: auto;
}

.about-mission-stack-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.about-mission-stack-card .bi {
    font-size: 1.35rem;
    color: #c4b5fd;
}

.about-mission-stack-card:nth-child(2) {
    margin-left: 1.5rem;
}

.about-mission-stack-card:nth-child(3) {
    margin-left: 3rem;
}

.about-stories {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: #f7f9fa;
}

.about-stories-shell {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.about-story-nav {
    width: 48px;
    height: 48px;
    border: 1px solid var(--dw-border);
    border-radius: 50%;
    background: #fff;
    color: var(--dw-purple);
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.about-story-nav:hover {
    background: #f7f0ff;
    border-color: var(--dw-purple);
}

.about-stories-track {
    position: relative;
    min-height: 340px;
}

.about-story-slide {
    display: none;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--dw-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.about-story-slide.is-active {
    display: grid;
}

.about-story-index {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--dw-purple);
    margin-bottom: 0.5rem;
}

.about-story-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #2d2f31;
    border-radius: 12px;
    overflow: hidden;
}

.about-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-story-thumb-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.about-story-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dw-dark);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}

.about-story-play:hover {
    transform: scale(1.05);
}

.about-story-copy p {
    color: var(--dw-muted);
    line-height: 1.65;
    margin-bottom: 0;
    font-size: 1.02rem;
}

.about-story-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.about-story-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: #d1d7dc;
    transition: width 0.2s ease, background 0.2s ease;
}

.about-story-dot.is-active {
    width: 28px;
    background: var(--dw-purple);
}

.about-impact {
    position: relative;
    color: #fff;
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    text-align: center;
    overflow: hidden;
}

.about-impact-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--dw-brand) 0%, var(--dw-brand) 40%, #115e59 100%);
    z-index: 0;
}

.about-impact-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-impact-inner {
    position: relative;
    z-index: 1;
}

.about-impact-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
    color: #fff;
}

.about-impact-lead {
    max-width: 40rem;
    margin: 0 auto 2.5rem;
    opacity: 0.92;
    line-height: 1.6;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.about-stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1.35rem 0.75rem;
    backdrop-filter: blur(6px);
}

.about-stat-num {
    display: block;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
}

.about-stat-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    opacity: 0.88;
    line-height: 1.3;
}

.about-enterprise-cta {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: #fff;
}

.about-enterprise-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    background: #f7f9fa;
    border: 1px solid var(--dw-border);
    border-radius: 16px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.about-enterprise-copy {
    flex: 1;
    min-width: min(100%, 28rem);
}

.about-enterprise-copy p {
    color: var(--dw-muted);
    line-height: 1.65;
    max-width: 36rem;
}

.about-enterprise-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-testimonials {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: linear-gradient(180deg, #fff 0%, #f7f9fa 100%);
}

.about-testimonial-card {
    border: 1px solid var(--dw-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.about-logos {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    border-top: 1px solid var(--dw-border);
    background: #fff;
    overflow: hidden;
}

.about-logos-lead {
    text-align: center;
    color: var(--dw-muted);
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.about-logo-marquee {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.about-logo-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: about-logo-scroll 40s linear infinite;
}

.about-logo-pill {
    flex-shrink: 0;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--dw-border);
    background: #f7f9fa;
    font-size: 0.85rem;
    font-weight: 800;
    color: #6a6f73;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@keyframes about-logo-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.about-resource-cards {
    padding-bottom: clamp(3.5rem, 7vw, 5rem);
    background: #f7f9fa;
}

.about-resource-card {
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    border: 1px solid transparent;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.about-resource-card:hover {
    transform: translateY(-4px);
}

.about-resource-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.about-resource-card p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.about-resource-card h3 {
    color: #fff;
}

.about-resource-card a {
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.about-resource-card a:hover {
    text-decoration: underline;
}

.about-resource-card--purple {
    background: linear-gradient(145deg, var(--dw-brand), var(--dw-brand-light));
}

.about-resource-card--indigo {
    background: linear-gradient(145deg, #115e59, #4338ca);
}

.about-resource-card--teal {
    background: linear-gradient(145deg, #0f766e, #01949a);
}

@media (max-width: 991.98px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-visual {
        order: -1;
    }

    .about-hero-copy .about-serif-title {
        max-width: none;
    }

    .about-hero-float--top {
        right: 2%;
    }

    .about-hero-float--bottom {
        left: 2%;
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
    }

    .about-mission-stack {
        margin-left: 0;
        max-width: none;
    }

    .about-mission-stack-card:nth-child(2),
    .about-mission-stack-card:nth-child(3) {
        margin-left: 0;
    }

    .about-story-slide.is-active {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-stories-shell {
        grid-template-columns: 1fr;
    }

    .about-story-nav {
        display: none;
    }

    .about-enterprise-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero-actions .btn {
        width: 100%;
    }

    .about-enterprise-actions .btn {
        width: 100%;
    }
}
/* —— Request demo (Business) —— */
.dw-demo-page {
    background: linear-gradient(180deg, #f7f9fa 0%, #fff 45%, #faf5ff 100%);
}

.dw-demo-wrap {
    max-width: 1140px;
}

.dw-demo-alert {
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.dw-demo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

.dw-demo-aside-inner {
    padding: 1.75rem 1.5rem;
    border-radius: var(--dw-radius-lg);
    background: linear-gradient(145deg, #1c1d1f 0%, #134e4a 42%, var(--dw-brand) 100%);
    color: #fff;
    box-shadow: var(--dw-shadow-panel);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dw-demo-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.dw-demo-aside-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.dw-demo-aside-lead {
    opacity: 0.92;
    line-height: 1.55;
    font-size: 0.95rem;
    margin-bottom: 1.35rem;
}

.dw-demo-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.dw-demo-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.65rem 0.5rem;
    text-align: center;
}

.dw-demo-stat-value {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
}

.dw-demo-stat-label {
    display: block;
    font-size: 0.65rem;
    opacity: 0.85;
    margin-top: 0.15rem;
}

.dw-demo-benefits li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
    opacity: 0.95;
}

.dw-demo-benefits i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.dw-demo-aside-foot {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.dw-demo-trust-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.dw-demo-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.dw-demo-trust-chips span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.dw-demo-aside-meta {
    font-size: 0.8125rem;
    opacity: 0.9;
}

.dw-demo-aside-meta a {
    color: #fff;
    font-weight: 600;
}

.dw-demo-form-panel {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    box-shadow: var(--dw-shadow-panel);
    overflow: hidden;
}

.dw-demo-form-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--dw-border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.dw-demo-form-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--dw-purple), #14b8a6);
    color: #fff;
    flex-shrink: 0;
}

.dw-demo-form-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.dw-demo-form-sub {
    font-size: 0.875rem;
    color: var(--dw-muted);
}

.dw-demo-form {
    padding: 1.35rem 1.5rem 1.5rem;
}

.dw-demo-form .form-label {
    font-size: 0.8125rem;
}

.dw-demo-legal a {
    color: var(--dw-purple);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .dw-demo-layout {
        grid-template-columns: 1fr;
    }

    .dw-demo-aside-inner {
        padding: 1.35rem 1.25rem;
    }

    .dw-demo-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .dw-demo-stats {
        grid-template-columns: 1fr;
    }
}

/* Legacy demo-form compact (home embed) */
.demo-page {
    background: #fff;
    min-height: calc(100vh - var(--dw-header-h) - 80px);
}

.demo-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.demo-benefits-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.demo-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
}

.demo-benefits-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.demo-benefits-list .bi-check-lg {
    color: #01949a;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.demo-trusted-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.demo-trusted-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    align-items: center;
}

.demo-trusted-logos span {
    font-weight: 800;
    font-size: 0.95rem;
    color: #9da3a7;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-field {
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 0.55rem 0.85rem 0.65rem;
    background: #fff;
    position: relative;
}

.demo-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dw-dark);
    margin-bottom: 0.15rem;
}

.demo-field input,
.demo-field select,
.demo-field textarea {
    width: 100%;
    border: 0;
    padding: 0.15rem 0 0;
    font-size: 0.95rem;
    background: transparent;
    color: var(--dw-dark);
    outline: none;
}

.demo-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231c1d1f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 1.25rem;
}

.demo-field--textarea textarea {
    resize: vertical;
    min-height: 5rem;
}

.demo-field.is-invalid {
    border-color: #dc3545;
}

.demo-field-error {
    font-size: 0.75rem;
    color: #dc3545;
    margin-top: 0.35rem;
}

.demo-submit-btn {
    background: var(--dw-purple);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 0;
    margin-top: 0.5rem;
}

.demo-submit-btn:hover {
    background: var(--dw-accent);
    color: #fff;
}

.demo-legal {
    font-size: 0.75rem;
    color: var(--dw-muted);
    line-height: 1.55;
    margin: 1rem 0 0;
}

.demo-legal a {
    color: var(--dw-purple);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .demo-page-grid {
        grid-template-columns: 1fr;
    }
}

/* —— Contact us (Dhimson-style) —— */
.contact-page {
    background: #f7f9fa;
}

.contact-page-inner {
    max-width: none;
}

.contact-breadcrumb a {
    color: var(--dw-purple);
    text-decoration: none;
    font-weight: 600;
}

.contact-breadcrumb a:hover {
    text-decoration: underline;
}

.contact-breadcrumb span[aria-hidden] {
    margin: 0 0.35rem;
    color: var(--dw-muted);
}

.contact-breadcrumb-current {
    color: var(--dw-muted);
}

.contact-page-title {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.contact-page-lead {
    color: var(--dw-muted);
    font-size: 1.05rem;
    max-width: 36rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-page-alert {
    border: 0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-method-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 1.35rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-method-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.contact-method-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.1);
    color: var(--dw-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-method-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-method-text {
    font-size: 0.88rem;
    color: var(--dw-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.contact-method-action {
    display: block;
    font-weight: 700;
    color: var(--dw-purple);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.45;
    word-break: break-word;
}

a.contact-method-action:hover {
    text-decoration: underline;
}

.contact-method-action--static {
    color: var(--dw-dark);
    font-weight: 600;
}

.contact-method-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--dw-purple);
    font-weight: 600;
    text-decoration: none;
}

.contact-method-link:hover {
    text-decoration: underline;
}

.contact-form-section {
    margin-top: 0.5rem;
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.contact-form-card-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.contact-form-card-lead {
    color: var(--dw-muted);
    font-size: 0.95rem;
}

.contact-message-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-message-form .form-control,
.contact-message-form .form-select {
    border-color: #d1d7dc;
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
}

.contact-message-form .form-control:focus,
.contact-message-form .form-select:focus {
    border-color: var(--dw-purple);
    box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.15);
}

.contact-send-btn {
    min-width: 200px;
    font-weight: 700;
}

.contact-faq-section {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.contact-faq-badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.12);
    color: var(--dw-purple);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.contact-faq-title {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-faq-lead {
    color: var(--dw-muted);
    max-width: 32rem;
    margin-bottom: 0;
}

.contact-faq-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-faq-accordion .accordion-item {
    border: 1px solid var(--dw-border);
    border-radius: 8px !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.contact-faq-accordion .accordion-item:last-of-type {
    margin-bottom: 0;
}

.contact-faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.15rem;
    box-shadow: none;
}

.contact-faq-accordion .accordion-button:not(.collapsed) {
    background: #f7f0ff;
    color: var(--dw-dark);
}

.contact-faq-accordion .accordion-body {
    color: var(--dw-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

.contact-faq-more {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dw-border);
}

.contact-faq-more a {
    color: var(--dw-purple);
    font-weight: 700;
    text-decoration: none;
}

.contact-faq-more a:hover {
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .contact-send-btn {
        width: 100%;
    }
}

/* —— Blog —— */
.blog-view-all {
    color: var(--dw-purple);
}

.blog-view-all:hover {
    color: var(--dw-purple-dark);
}

.blog-card {
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.blog-card-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--dw-brand) 0%, var(--dw-accent) 55%, #2d2f31 100%);
    position: relative;
    text-decoration: none;
}

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

.blog-card-thumb-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.55));
}

.blog-card-body {
    padding: 1rem 1.1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: var(--dw-muted);
    margin-bottom: 0.5rem;
}

.blog-card-dot {
    margin: 0 0.25rem;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.blog-card-title a {
    color: var(--dw-dark);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--dw-purple);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--dw-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* —— Global page title header (all pages except home) —— */
.dw-page-hero {
    background: var(--dw-gradient-hero);
    border-bottom: 1px solid var(--dw-border);
    padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(1.75rem, 3vw, 2.25rem);
}

.dw-page-hero-breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 0.65rem;
}

.dw-page-hero-breadcrumb a {
    color: var(--dw-purple);
    font-weight: 600;
    text-decoration: none;
}

.dw-page-hero-breadcrumb a:hover {
    text-decoration: underline;
}

.dw-page-hero-breadcrumb span[aria-hidden="true"] {
    color: var(--dw-muted);
    margin: 0 0.35rem;
}

.dw-page-hero-breadcrumb-current {
    color: var(--dw-muted);
}

.dw-page-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.dw-page-hero-lead {
    color: var(--dw-muted);
    max-width: 42rem;
    margin: 0;
    line-height: 1.6;
    font-size: 1.02rem;
}

.blog-article-hero--compact {
    padding-top: 0;
    border-bottom: 0;
}

.blog-article-hero--compact .blog-article-hero-inner {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
}

.blog-page-hero {
    background: #f7f9fa;
    border-bottom: 1px solid var(--dw-border);
    padding: 2.5rem 0 2rem;
}

.blog-page-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.blog-page-lead {
    color: var(--dw-muted);
    max-width: 40rem;
    margin: 0;
    line-height: 1.55;
}

.blog-breadcrumb a {
    color: var(--dw-purple);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb span {
    color: var(--dw-muted);
    margin: 0 0.35rem;
}

.blog-breadcrumb-current {
    color: var(--dw-dark);
}

.blog-article-hero {
    padding-top: 2rem;
}

.blog-article-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-bottom: 1rem;
}

.blog-article-deck {
    font-size: 1.15rem;
    color: var(--dw-muted);
    line-height: 1.55;
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.blog-article-byline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.blog-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dw-purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.blog-article-cover {
    margin-bottom: 0;
}

.blog-article-cover img,
.blog-article-cover-placeholder {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.blog-article-cover-placeholder {
    background: linear-gradient(120deg, var(--dw-brand), var(--dw-brand-dark) 50%, #1c1d1f);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.35rem);
}

.blog-article-main {
    max-width: 760px;
    margin: 0 auto;
}

.blog-prose {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--dw-dark);
}

.blog-prose p {
    margin-bottom: 1.25rem;
}

.blog-prose code {
    background: #f7f9fa;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.blog-pagination .pagination {
    margin-bottom: 0;
}

/* —— Legal policies (Terms, Privacy, Return) —— */
.legal-page {
    background: #f7f9fa;
    min-height: calc(100vh - var(--dw-header-h) - 120px);
}

.legal-page-wrap {
    max-width: none;
}

.legal-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.legal-toc-panel {
    position: sticky;
    top: calc(var(--dw-header-h) + 1rem);
}

.legal-toc-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.legal-toc-card--muted {
    background: #fafbfc;
}

.legal-toc-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #312485;
    margin-bottom: 1rem;
}

.legal-toc-mini-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--dw-muted);
}

.legal-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: legal-toc;
}

.legal-toc-list li {
    counter-increment: legal-toc;
    margin-bottom: 0.65rem;
}

.legal-toc-list li:last-child {
    margin-bottom: 0;
}

.legal-toc-link {
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--dw-brand);
    text-decoration: none;
    padding: 0.15rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
    margin-left: -0.5rem;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.legal-toc-link:hover {
    color: var(--dw-brand-dark);
    text-decoration: underline;
}

.legal-toc-link.is-active {
    color: var(--dw-dark);
    font-weight: 700;
    border-left-color: var(--dw-purple);
    background: rgba(13, 148, 136, 0.06);
}

.legal-related-list a {
    font-size: 0.9rem;
    color: var(--dw-purple);
    text-decoration: none;
    display: block;
    padding: 0.35rem 0;
}

.legal-related-list a:hover {
    text-decoration: underline;
}

.legal-related-list a.is-active {
    color: var(--dw-dark);
    font-weight: 700;
}

.legal-doc-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.legal-doc-title {
    font-size: clamp(1.75rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: var(--dw-dark);
}

.legal-doc-meta {
    font-size: 0.9rem;
    color: var(--dw-muted);
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--dw-border);
}

.legal-doc-meta strong {
    color: var(--dw-dark);
    font-weight: 600;
}

.legal-doc-meta-sep {
    margin: 0 0.35rem;
}

.legal-prose.legal-intro,
.legal-prose .legal-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dw-dark);
    margin-bottom: 1.75rem;
}

.legal-prose h2 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dw-dark);
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    scroll-margin-top: calc(var(--dw-header-h) + 1.25rem);
}

.legal-prose h2:first-of-type {
    margin-top: 0;
}

.legal-prose p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #3e4143;
    margin-bottom: 1rem;
}

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

.legal-prose a {
    color: var(--dw-brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-prose a:hover {
    color: var(--dw-brand-dark);
}

.legal-doc-footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--dw-border);
    font-size: 0.9rem;
    color: var(--dw-muted);
}

.legal-doc-footer a {
    color: var(--dw-purple);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .legal-page-grid {
        grid-template-columns: 1fr;
    }

    .legal-toc-panel {
        position: static;
    }

    .legal-toc-list {
        columns: 1;
    }
}

/* —— Account: manage subscriptions —— */
.account-subscriptions {
    max-width: 960px;
}

.account-subscriptions-section {
    margin-bottom: 2.5rem;
}

.account-subscriptions-section--plans {
    margin-bottom: 0;
}

.account-subscriptions-heading {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1c1d1f;
    margin-bottom: 1rem;
}

.account-subscriptions-empty {
    border: 2px dashed #d1d7dc;
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #6a6f73;
    font-size: 0.95rem;
    background: #fff;
}

.account-sub-plan-card {
    border: 1px solid #d1d7dc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.account-sub-plan-body {
    padding: 1.75rem 1.75rem 1.5rem;
}

.account-sub-plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    color: #1c1d1f;
}

.account-sub-plan-intro {
    font-size: 0.9375rem;
    color: #1c1d1f;
    margin-bottom: 1.25rem;
    max-width: 36rem;
}

.account-sub-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    margin-bottom: 0.65rem;
    color: #1c1d1f;
}

.account-sub-plan-features .bi-check-lg {
    color: var(--dw-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.account-sub-plan-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.account-sub-plan-btn {
    font-weight: 800;
    padding: 0.65rem 1.35rem;
    min-width: 8.5rem;
}

.account-sub-plan-learn {
    font-weight: 700;
    color: var(--dw-accent);
    text-decoration: none;
    font-size: 0.9375rem;
}

.account-sub-plan-learn:hover {
    color: #8710d8;
    text-decoration: underline;
}

.account-sub-plan-pricing {
    font-size: 0.8125rem;
    color: #6a6f73;
}

.account-sub-plan-pricing s {
    color: #6a6f73;
    margin: 0 0.15rem;
}

.account-sub-plan-visual {
    background: #78d5ae;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.account-sub-plan-svg {
    width: 100%;
    height: 100%;
    min-height: 260px;
    display: block;
}

@media (max-width: 991.98px) {
    .account-sub-plan-visual {
        min-height: 220px;
    }

    .account-sub-plan-body {
        padding: 1.5rem;
    }
}

/* —— Cart, wishlist, checkout —— */
.dw-commerce-page {
    max-width: 960px;
}

.dw-commerce-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border: 2px dashed var(--dw-border);
    border-radius: 12px;
    background: #fff;
}

.dw-commerce-empty-icon {
    font-size: 2.5rem;
    color: var(--dw-accent);
    margin-bottom: 1rem;
}

.dw-commerce-empty h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.dw-commerce-line {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--dw-border);
}

.dw-commerce-line-thumb {
    width: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
}

.dw-commerce-line-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.dw-commerce-line-body {
    flex: 1;
    min-width: 0;
}

.dw-commerce-line-title {
    font-weight: 700;
    color: #1c1d1f;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.dw-commerce-line-title:hover {
    color: var(--dw-accent);
}

.dw-commerce-line-meta {
    font-size: 0.85rem;
    color: var(--dw-muted);
}

.dw-commerce-line-actions {
    text-align: right;
    flex-shrink: 0;
}

.dw-commerce-line-price {
    font-weight: 800;
    font-size: 1.05rem;
}

.dw-commerce-summary,
.dw-commerce-panel {
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    padding: 1.5rem;
    background: #fff;
}

.dw-checkout-items {
    font-size: 0.9rem;
}

.dw-checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0;
}

.dw-checkout-demo {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #f7f9fa;
    border-radius: 8px;
    border: 1px solid var(--dw-border);
}

.dw-checkout-demo .bi-shield-check {
    font-size: 1.5rem;
    color: #3e8e41;
}

.dw-thankyou-card {
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    background: #fff;
}

.dw-thankyou-icon {
    font-size: 3rem;
    color: #3e8e41;
    margin-bottom: 0.75rem;
}

.dw-cert-list-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    background: #fff;
}

.dw-cert-list-icon {
    font-size: 2rem;
    color: var(--dw-accent);
}

.dw-certificate-doc {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 2.5rem 2.5rem;
    border: 3px solid #1c1d1f;
    border-radius: 4px;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dw-certificate-doc-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.dw-certificate-doc-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--dw-muted);
    font-weight: 700;
}

.dw-certificate-doc-intro {
    color: var(--dw-muted);
    margin: 1.5rem 0 0.35rem;
}

.dw-certificate-doc-name {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0;
}

.dw-certificate-doc-course {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dw-accent);
    margin: 0.5rem 0 1rem;
}

.dw-certificate-doc-instructor {
    font-size: 0.9rem;
    color: var(--dw-muted);
}

.dw-certificate-doc-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dw-border);
    text-align: left;
}

.dw-certificate-doc-foot-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dw-muted);
}

.dw-certificate-doc-seal {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    font-size: 3rem;
    color: rgba(30, 58, 138, 0.18);
}

/* —— Public certificate verification —— */
.dw-cert-verify-hero {
    background: var(--dw-gradient-dark);
    color: #fff;
    padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(1.75rem, 3vw, 2.25rem);
}

.dw-cert-verify-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
}

.dw-cert-verify-crumb a {
    color: #fff;
    text-decoration: none;
}

.dw-cert-verify-crumb a:hover {
    text-decoration: underline;
}

.dw-cert-verify-hero-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    max-width: 40rem;
}

.dw-cert-verify-hero-icon {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: #93c5fd;
}

.dw-cert-verify-hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.dw-cert-verify-hero-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.dw-cert-verify-page {
    background: #f3f4f6;
    padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.dw-cert-verify-steps-wrap {
    margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.dw-cert-verify-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.35rem, 1.5vw, 0.85rem);
    font-size: clamp(0.625rem, 2.65vw, 0.875rem);
    font-weight: 600;
    color: var(--dw-text, #0f172a);
}

.dw-cert-verify-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.35rem;
    padding: clamp(0.45rem, 1.5vw, 0.75rem) clamp(0.3rem, 1vw, 1rem);
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    box-shadow: var(--dw-shadow-soft);
    min-height: 0;
}

@media (min-width: 768px) {
    .dw-cert-verify-steps li {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        gap: 0.65rem;
        min-height: 3rem;
    }
}

.dw-cert-verify-steps-num {
    flex-shrink: 0;
    width: clamp(1.35rem, 4vw, 1.65rem);
    height: clamp(1.35rem, 4vw, 1.65rem);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dw-brand-dark, #0f172a), var(--dw-brand, #1e3a8a));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    font-weight: 800;
}

.dw-cert-verify-steps-text {
    line-height: 1.3;
    hyphens: auto;
}

.dw-cert-verify-body {
    position: relative;
    z-index: 1;
}

.dw-cert-verify-panel {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--dw-shadow-panel);
}

.dw-cert-verify-input-group .input-group-text {
    background: #f9fafb;
    border-color: var(--dw-border);
    color: var(--dw-brand);
}

.dw-cert-verify-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.dw-cert-verify-tips {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid var(--dw-border);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--dw-muted);
}

.dw-cert-verify-tips li {
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
}

.dw-cert-verify-tips .bi {
    color: var(--dw-brand);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.dw-cert-verify-result-shell {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--dw-shadow-soft);
    min-height: 280px;
}

.dw-cert-verify-placeholder {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--dw-muted);
}

.dw-cert-verify-placeholder-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #eef1f6;
    color: var(--dw-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.dw-cert-verify-result {
    padding: 1rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--dw-border);
    margin-bottom: 1rem;
}

.dw-cert-verify-result-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.dw-cert-verify-result--valid {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #86efac;
}

.dw-cert-verify-result--invalid {
    background: #fffbeb;
    border-color: #fcd34d;
}

.dw-cert-verify-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: #166534;
}

.dw-cert-verify-result-badge--warn {
    color: #b45309;
}

.dw-cert-verify-result-lead {
    font-size: 0.875rem;
    color: #166534;
}

.dw-cert-verify-doc {
    margin: 0 auto;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.dw-cert-verify-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* —— Shopping cart page —— */
.dw-cart-page:not(.dw-cart-page--v2) {
    max-width: 1100px;
}

.dw-cart-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.dw-cart-count {
    font-weight: 800;
    font-size: 1.05rem;
    color: #1c1d1f;
}

.dw-cart-continue {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dw-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dw-cart-continue:hover {
    text-decoration: underline;
    color: var(--dw-accent);
}

.dw-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.75rem;
    align-items: start;
}

.dw-cart-panel {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.dw-cart-panel-head {
    display: grid;
    grid-template-columns: 1fr 100px 88px;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: #f7f9fa;
    border-bottom: 1px solid var(--dw-border);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
}

.dw-cart-item {
    display: grid;
    grid-template-columns: 1fr 100px 88px;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-cart-item:last-child {
    border-bottom: 0;
}

.dw-cart-item-course {
    display: flex;
    gap: 1rem;
    min-width: 0;
}

.dw-cart-item-thumb {
    flex-shrink: 0;
    width: 140px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
}

.dw-cart-item-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.dw-cart-item-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    color: #1c1d1f;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.dw-cart-item-title:hover {
    color: var(--dw-accent);
}

.dw-cart-item-instructor {
    font-size: 0.8125rem;
    color: var(--dw-muted);
}

.dw-cart-item-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.35rem;
    font-size: 0.78rem;
}

.dw-cart-item-rating .rating-num {
    color: #b4690e;
    font-weight: 700;
}

.dw-cart-item-rating .rating-stars {
    color: #b4690e;
    font-size: 0.6rem;
}

.dw-cart-item-rating .rating-count {
    color: var(--dw-muted);
    font-size: 0.72rem;
}

.dw-cart-price-main {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1c1d1f;
}

.dw-cart-remove {
    border: none;
    background: transparent;
    color: var(--dw-muted);
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.dw-cart-remove:hover {
    color: #dc3545;
    background: #fff5f5;
}

.dw-cart-aside {
    position: sticky;
    top: calc(var(--dw-header-h) + 1rem);
}

.dw-cart-summary {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.dw-cart-summary-title {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.dw-cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--dw-muted);
    margin-bottom: 0.5rem;
}

.dw-cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    border-top: 2px solid #1c1d1f;
    font-weight: 800;
    font-size: 1rem;
}

.dw-cart-summary-total-amt {
    font-size: 1.35rem;
}

.dw-cart-checkout-btn {
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.dw-cart-trust li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.dw-cart-trust li:last-child {
    margin-bottom: 0;
}

.dw-cart-trust .bi {
    color: #3e8e41;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.dw-cart-summary-discount {
    color: #1e7e34;
}

.dw-cart-coupon .form-control {
    text-transform: uppercase;
}

.course-learn-scorm-tracking {
    padding: 0.6rem 0.9rem;
    background: #f7f9fa;
    border-top: 1px solid #d1d7dc;
}

@media (max-width: 991.98px) {
    .dw-cart-layout {
        grid-template-columns: 1fr;
    }

    .dw-cart-aside {
        position: static;
    }

    .dw-cart-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .dw-cart-item-price,
    .dw-cart-item-action {
        padding-left: calc(140px + 1rem);
    }

    .dw-cart-item-action {
        padding-left: calc(140px + 1rem);
    }
}

@media (max-width: 575.98px) {
    .dw-cart-item-thumb {
        width: 100px;
    }

    .dw-cart-item-price,
    .dw-cart-item-action {
        padding-left: 0;
    }

    .dw-cart-item-course {
        flex-direction: column;
    }

    .dw-cart-item-thumb {
        width: 100%;
        max-width: 280px;
    }
}

/* WhatsApp floating support */
.dw-whatsapp-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #25d366;
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dw-whatsapp-fab:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.dw-whatsapp-fab .bi-whatsapp {
    font-size: 1.35rem;
}

@media (max-width: 575.98px) {
    .dw-whatsapp-fab-label {
        display: none;
    }

    .dw-whatsapp-fab {
        width: 3.25rem;
        height: 3.25rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* —— Admin console (Dhimson-style) —— */
.dw-admin-sidebar .dw-admin-brand span:last-child {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dw-admin-nav .dw-panel-nav-link,
.dw-admin-nav .dw-panel-nav-group-toggle {
    font-style: normal;
    font-weight: 600;
}

.dw-panel-nav-group {
    margin-bottom: 0.15rem;
}

.dw-panel-nav-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--dw-dark);
    font-size: 0.875rem;
    font-weight: 600;
    font-style: normal;
}

.dw-panel-nav-group-toggle:hover,
.dw-panel-nav-group.is-active-group .dw-panel-nav-group-toggle {
    background: #f7f0ff;
    color: var(--dw-purple);
}

.dw-panel-nav-group-left {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.dw-panel-nav-group-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.dw-panel-nav-group-toggle:not(.collapsed) .dw-panel-nav-group-chevron {
    transform: rotate(180deg);
}

.dw-panel-nav-sub {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.15rem 0 0.35rem 0.35rem;
    margin-left: 0.65rem;
    border-left: 2px solid #e8ecf1;
}

.dw-panel-nav-sublink {
    display: block;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    font-style: normal;
    color: var(--dw-muted);
    text-decoration: none;
}

.dw-panel-nav-sublink:hover {
    background: #f3f4f6;
    color: var(--dw-dark);
}

.dw-panel-nav-sublink.is-active {
    background: rgba(13, 148, 136, 0.1);
    color: var(--dw-purple);
}

.dw-panel-nav-sublink--danger {
    color: #b42318;
}

.dw-admin-sidebar-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.65rem 0.5rem 0;
    border-top: 1px solid var(--dw-border);
    font-size: 0.8125rem;
    font-weight: 600;
    font-style: normal;
}

.dw-admin-sidebar-foot small {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dw-muted);
    font-style: normal;
}

.dw-admin-sidebar-foot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111;
    flex-shrink: 0;
}

.dw-admin-sidebar-credit {
    margin-top: 0.85rem;
    padding: 0.65rem 0.5rem 0.15rem;
    text-align: center;
    border-top: 1px dashed rgba(15, 118, 110, 0.25);
}

.dw-admin-sidebar-credit p {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1.45;
}

.dw-admin-sidebar-credit strong {
    display: inline-block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #0f766e;
    background: linear-gradient(90deg, #0f766e, #0891b2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dw-admin-sidebar-credit i {
    font-size: 0.7rem;
    color: #cbd5e1;
    margin-right: 0.2rem;
    vertical-align: 0.05em;
}

.dw-admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-admin-topbar-title h1 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dw-admin-topbar-lead {
    font-size: 0.85rem;
    color: var(--dw-muted);
    margin-top: 0.2rem;
}

.dw-admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.dw-admin-topbar-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--dw-border);
    background: #fff;
    color: var(--dw-dark);
    text-decoration: none;
    box-sizing: border-box;
}

.dw-admin-topbar-icon-btn:hover {
    background: #f8fafc;
    color: var(--dw-dark);
}

.dw-admin-topbar-icon-btn .bi {
    font-size: 1.1rem;
    line-height: 1;
}

.dw-admin-topbar-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(35%, -35%);
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
}

.dw-admin-topbar-profile {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.dw-admin-topbar-profile-name {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.dw-admin-topbar-profile-role {
    font-size: 0.72rem;
    color: var(--dw-muted);
}

.dw-panel-main--admin .dw-panel-topbar {
    display: none;
}

/* Admin main: card padding, forms, and list rhythm */
.dw-panel-main--admin .dw-panel-card {
    margin-bottom: 1.25rem;
    border-radius: var(--dw-radius-lg);
    overflow: hidden;
}

.dw-panel-main--admin .dw-panel-card:last-child {
    margin-bottom: 0;
}

.dw-panel-main--admin .dw-panel-card-body:not(.p-0):not(.dw-panel-card-body--flush) {
    padding: 1.15rem 1.25rem 1.25rem;
}

.dw-panel-main--admin .dw-admin-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.dw-panel-main--admin .dw-admin-form-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dw-panel-main--admin .dw-admin-form-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 1.5rem 0 0.75rem;
    color: var(--dw-dark);
}

.dw-panel-main--admin .dw-admin-form-section-title:first-child {
    margin-top: 0;
}

.dw-panel-main--admin .dw-admin-outcome-card {
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #f8fafc;
}

.dw-panel-main--admin .dw-admin-outcome-labels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 2fr);
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
    margin-bottom: 0.35rem;
    padding: 0 0.15rem;
}

.dw-panel-main--admin .dw-admin-outcome-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 2fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dw-panel-main--admin .dw-admin-outcome-card .dw-admin-outcome-fields {
    margin-top: 0.75rem;
}

.dw-panel-main--admin .dw-admin-question-card {
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    background: #fff;
}

.dw-panel-main--admin .dw-admin-question-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.dw-panel-main--admin .dw-admin-question-option-row {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.35rem;
}

.dw-panel-main--admin .dw-admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dw-border);
}

.dw-panel-main--admin .pagination {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Account notifications (dashboard) */
.dw-account-notifications {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dw-account-notification-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--dw-border);
}

.dw-account-notification-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dw-account-notification-item:first-child {
    padding-top: 0;
}

.dw-account-notification-item.is-unread {
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.06), transparent 70%);
    margin: 0 -0.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-radius: 8px;
}

.dw-account-notification-text {
    white-space: pre-line;
    margin-top: 0.35rem;
}

@media (max-width: 767.98px) {
    .dw-panel-main--admin .dw-admin-outcome-labels {
        display: none;
    }

    .dw-panel-main--admin .dw-admin-outcome-row {
        grid-template-columns: 1fr 1fr;
    }
}

.dw-admin-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dw-admin-hero-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dw-muted);
    margin-bottom: 0.25rem;
}

.dw-admin-hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.dw-admin-hero-greeting {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.dw-admin-hero-date {
    color: var(--dw-muted);
    font-size: 0.9rem;
}

.dw-admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dw-admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.dw-admin-summary-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.dw-admin-summary-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--dw-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dw-admin-summary-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0.25rem 0;
}

.dw-admin-trend {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--dw-muted);
}

.dw-admin-trend--up {
    background: #ecfdf3;
    color: #027a48;
}

.dw-admin-lms-card .dw-panel-card-head h2 {
    font-size: 1rem;
    font-weight: 800;
}

.dw-admin-lms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem 1.15rem 1.25rem;
}

.dw-admin-lms-stat {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    background: #fafbfc;
}

.dw-admin-lms-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef1f5;
    flex-shrink: 0;
}

.dw-admin-lms-icon--blue { background: #e5e7eb; color: #1e3a8a; }
.dw-admin-lms-icon--amber { background: #fef3c7; color: #b45309; }
.dw-admin-lms-icon--purple { background: #ede9fe; color: var(--dw-brand); }
.dw-admin-lms-icon--green { background: #e5e7eb; color: #1e3a8a; }
.dw-admin-lms-icon--pink { background: #fce7f3; color: #be185d; }

.dw-admin-lms-label {
    font-size: 0.78rem;
    color: var(--dw-muted);
    font-weight: 600;
}

.dw-admin-lms-value {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.dw-admin-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0.5rem;
}

.dw-admin-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--dw-border);
    border-radius: 999px;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dw-dark);
    text-decoration: none;
}

.dw-admin-quick-links a:hover {
    border-color: var(--dw-purple);
    color: var(--dw-purple);
}

@media (max-width: 991.98px) {
    .dw-admin-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dw-admin-lms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .dw-admin-summary-grid {
        grid-template-columns: 1fr;
    }
}

.dw-checkout-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-checkout-step {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 1rem 0.85rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6a6f73;
    position: relative;
}

.dw-checkout-step + .dw-checkout-step::before {
    content: "";
    width: 1.25rem;
    height: 1px;
    background: var(--dw-border);
    margin-right: 0.35rem;
}

.dw-checkout-step-num {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    border: 1px solid var(--dw-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.dw-checkout-step.is-current {
    color: #1c1d1f;
}

.dw-checkout-step.is-current .dw-checkout-step-num,
.dw-checkout-step.is-done .dw-checkout-step-num {
    background: var(--dw-accent, var(--dw-accent));
    border-color: transparent;
    color: #fff;
}

.dw-checkout-step.is-done a {
    color: inherit;
    text-decoration: none;
}

.dw-checkout-step.is-done a:hover {
    text-decoration: underline;
}

.dw-thankyou-icon.is-fail {
    color: #b32d0f;
}

.dw-pay-gateway-brand {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.dw-pay-gateway-brand .bi {
    font-size: 1.75rem;
    color: var(--dw-accent, var(--dw-accent));
}

.dw-pay-card-preview {
    background: linear-gradient(135deg, #1c1d1f, #3d2a5a);
    color: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    max-width: 360px;
    letter-spacing: 0.08em;
}

.dw-pay-card-chip {
    width: 2rem;
    height: 1.4rem;
    border-radius: 4px;
    background: #e0c36a;
    margin-bottom: 1.25rem;
}

.dw-pay-card-num {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

/* Checkout — payment step */
.dw-checkout-pay-page {
    background: #f3f4f6;
    padding: 1rem 0 2.5rem;
}

.dw-checkout-pay-wrap {
    max-width: 1080px;
}

.dw-checkout-pay-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: center;
    margin-bottom: 0.35rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

@media (min-width: 768px) {
    .dw-checkout-pay-head {
        grid-template-columns: auto 1fr auto;
    }
}

.dw-checkout-pay-head-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dw-brand-dark, #0f172a), var(--dw-brand, #1e3a8a));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.dw-checkout-pay-title {
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.15rem;
}

.dw-checkout-pay-lead {
    font-size: 0.875rem;
    color: var(--dw-muted);
}

.dw-checkout-pay-order-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.8rem;
}

.dw-checkout-pay-order-id {
    font-weight: 700;
    color: var(--dw-dark);
}

.dw-checkout-pay-status {
    color: var(--dw-muted);
}

.dw-checkout-pay-page .dw-checkout-steps {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 0.65rem 1rem 0;
    margin-bottom: 1rem;
}

.dw-checkout-pay-panel {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.dw-checkout-pay-panel-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-checkout-pay-gateway-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: #eef2ff;
    color: var(--dw-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.dw-pay-gateway-brand {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.dw-checkout-pay-methods {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.dw-checkout-pay-methods li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--dw-muted);
    border: 1px solid var(--dw-border);
}

.dw-checkout-pay-form .dw-pay-card-preview {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #312e81 100%);
    color: #fff;
    border-radius: 14px;
    padding: 1.35rem 1.4rem 1.15rem;
    max-width: 100%;
    margin-bottom: 1.15rem;
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.25);
}

.dw-pay-card-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.dw-pay-card-contactless {
    font-size: 1.25rem;
    opacity: 0.85;
    transform: rotate(90deg);
}

.dw-pay-card-foot {
    gap: 1rem;
}

.dw-pay-card-label {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
    margin-bottom: 0.15rem;
}

.dw-pay-card-value {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.dw-checkout-pay-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
    padding: 0.65rem 0.75rem;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid var(--dw-border);
}

.dw-checkout-pay-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dw-dark);
}

.dw-checkout-pay-trust-item .bi {
    color: var(--dw-brand);
}

.dw-checkout-pay-legal a {
    font-weight: 600;
}

.dw-checkout-pay-summary {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

@media (min-width: 992px) {
    .dw-checkout-pay-summary {
        position: sticky;
        top: calc(var(--dw-header-h, 72px) + 1rem);
    }
}

.dw-checkout-pay-line {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0f1f3;
}

.dw-checkout-pay-line:last-child {
    border-bottom: 0;
}

.dw-checkout-pay-line-thumb {
    width: 56px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--dw-border);
    flex-shrink: 0;
}

.dw-checkout-pay-line-thumb--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: var(--dw-brand);
    font-size: 1rem;
}

.dw-checkout-pay-line-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dw-checkout-pay-line-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
}

.dw-checkout-pay-line-price {
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dw-checkout-pay-totals {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dw-checkout-pay-total-row {
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--dw-border);
}

.dw-checkout-pay-total-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dw-brand);
}

.dw-checkout-step.is-current .dw-checkout-step-num,
.dw-checkout-step.is-done .dw-checkout-step-num {
    background: var(--dw-brand);
    border-color: var(--dw-brand);
}

/* —— 2026 visual refresh (public + dashboards) —— */
.dw-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

.btn-dw-primary,
.btn-dw-signup {
    border-radius: var(--dw-radius);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.dw-panel-sidebar-card {
    border-radius: var(--dw-radius-lg);
    box-shadow: var(--dw-shadow-soft);
    border: 1px solid rgba(209, 215, 220, 0.85);
}

.dw-panel-sidebar-card--admin {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 3px solid #0f766e;
}

.dw-panel-sidebar-card--trainer {
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}

body.dw-panel-body {
    background: radial-gradient(1200px 600px at 10% -10%, rgba(8, 145, 178, 0.08), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(20, 184, 166, 0.07), transparent 50%),
        #eef1f7;
}

.dw-panel-topbar {
    border-radius: var(--dw-radius-lg);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--dw-shadow-soft);
    border: 1px solid rgba(209, 215, 220, 0.75);
}

.dw-panel-card {
    border-radius: var(--dw-radius-lg);
    box-shadow: var(--dw-shadow-soft);
    border: 1px solid rgba(209, 215, 220, 0.8);
    overflow: hidden;
}

.dw-panel-nav-link.is-active {
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.12), rgba(8, 145, 178, 0.06));
    border-radius: 10px;
}

.dw-admin-summary-card,
.dw-student-stat-card,
.dw-trainer-stat-card {
    border-radius: var(--dw-radius-lg);
    box-shadow: var(--dw-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dw-admin-summary-card:hover,
.dw-student-stat-card:hover,
.dw-trainer-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--dw-shadow-panel);
}

.dw-trainer-courses-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.dw-trainer-courses-page .dw-panel-card {
    margin-bottom: 0;
}

.dw-trainer-courses-table .dw-trainer-course-cell {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.dw-trainer-course-thumb {
    flex-shrink: 0;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
    line-height: 0;
}

.dw-trainer-course-thumb img {
    display: block;
    width: 112px;
    height: 63px;
    object-fit: cover;
}

.dw-trainer-courses-empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(20, 184, 166, 0.15));
    color: var(--dw-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

@media (max-width: 767.98px) {
    .dw-trainer-courses-table .dw-trainer-course-cell {
        flex-direction: column;
        align-items: flex-start;
    }
}

.dw-admin-permissions-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dw-admin-permissions-group {
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin: 0;
    background: #f8fafc;
}

.dw-admin-permission-check {
    padding: 0.35rem 0;
}

.dw-admin-permission-check .form-check-label strong {
    display: block;
}

.site-footer-main {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

.site-footer-newsletter {
    background: var(--dw-brand);
}

.explore-mega-panel {
    border-bottom-left-radius: var(--dw-radius-lg);
    border-bottom-right-radius: var(--dw-radius-lg);
}

.course-card,
.dw-course-card {
    border-radius: var(--dw-radius-lg);
}

/* —— Admin panel (uses shared .dw-panel--wide layout) —— */
.dw-panel--admin.dw-panel--wide .dw-panel-grid--admin {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
}

@media (min-width: 1200px) {
    .dw-panel--admin.dw-panel--wide .dw-panel-grid--admin {
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    }
}

.dw-panel--admin .dw-panel-main {
    min-width: 0;
}

/* —— Admin dashboard page —— */
.dw-admin-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dw-admin-welcome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border-radius: var(--dw-radius-lg);
    background: linear-gradient(125deg, var(--dw-brand-dark) 0%, var(--dw-brand) 55%, var(--dw-brand-light) 100%);
    color: #fff;
    box-shadow: var(--dw-shadow-panel);
}

.dw-admin-welcome-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.35rem;
}

.dw-admin-welcome-title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
}

.dw-admin-welcome-meta {
    font-size: 0.875rem;
    opacity: 0.92;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dw-admin-welcome-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
}

.dw-admin-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dw-admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.dw-admin-kpi-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    background: #fff;
    border: 1px solid rgba(209, 215, 220, 0.85);
    border-radius: var(--dw-radius-lg);
    box-shadow: var(--dw-shadow-soft);
}

.dw-admin-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dw-admin-kpi-card--blue .dw-admin-kpi-icon { background: #e5e7eb; color: #1e3a8a; }
.dw-admin-kpi-card--purple .dw-admin-kpi-icon { background: #ede9fe; color: var(--dw-brand); }
.dw-admin-kpi-card--teal .dw-admin-kpi-icon { background: #ccfbf1; color: #0f766e; }
.dw-admin-kpi-card--green .dw-admin-kpi-icon { background: #e5e7eb; color: #1e3a8a; }
.dw-admin-kpi-card--amber .dw-admin-kpi-icon { background: #fef3c7; color: #b45309; }

.dw-admin-kpi-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dw-muted);
    margin-bottom: 0.15rem;
}

.dw-admin-kpi-value {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.15rem;
}

.dw-admin-kpi-hint {
    font-size: 0.75rem;
    color: var(--dw-muted);
    margin-bottom: 0;
}

.dw-admin-dashboard-split {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
}

.dw-admin-section-card {
    margin-bottom: 0;
}

.dw-admin-section-card .dw-panel-card-head {
    display: none;
}

.dw-admin-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--dw-border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.dw-admin-section-head h2 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.dw-admin-section-head p {
    font-size: 0.8rem;
    color: var(--dw-muted);
}

.dw-admin-section-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--dw-purple);
    text-decoration: none;
    white-space: nowrap;
}

.dw-admin-section-link:hover {
    text-decoration: underline;
}

.dw-admin-lms-grid--compact {
    padding: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dw-admin-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 1rem;
}

.dw-admin-shortcuts a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--dw-border);
    background: #fafbfc;
    text-decoration: none;
    color: var(--dw-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.dw-admin-shortcuts a i {
    color: var(--dw-purple);
}

.dw-admin-shortcuts a:hover {
    border-color: rgba(13, 148, 136, 0.35);
    background: #f7f0ff;
    color: var(--dw-purple);
}

.dw-admin-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}

.dw-admin-activity-card {
    display: flex;
    flex-direction: column;
}

.dw-admin-activity-body {
    flex: 1;
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
}

.dw-admin-activity-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 2.5rem 1.25rem;
    text-align: center;
    color: var(--dw-muted);
    font-size: 0.875rem;
}

.dw-admin-activity-empty i {
    font-size: 2rem;
    opacity: 0.45;
}

.dw-admin-activity-timeline {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.dw-admin-activity-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--dw-border);
    position: relative;
}

.dw-admin-activity-item:last-child {
    border-bottom: 0;
}

.dw-admin-activity-item::before {
    content: "";
    position: absolute;
    left: 1.95rem;
    top: 2.75rem;
    bottom: -0.5rem;
    width: 2px;
    background: #e5e7eb;
}

.dw-admin-activity-item:last-child::before {
    display: none;
}

.dw-admin-activity-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    z-index: 1;
    background: #eef1f5;
    color: var(--dw-dark);
}

.dw-admin-activity-item--teal .dw-admin-activity-icon { background: #ccfbf1; color: #0f766e; }
.dw-admin-activity-item--green .dw-admin-activity-icon { background: #e5e7eb; color: #1e3a8a; }
.dw-admin-activity-item--purple .dw-admin-activity-icon { background: #ede9fe; color: var(--dw-brand); }
.dw-admin-activity-item--blue .dw-admin-activity-icon { background: #e5e7eb; color: #1e3a8a; }
.dw-admin-activity-item--amber .dw-admin-activity-icon { background: #fef3c7; color: #b45309; }
.dw-admin-activity-item--slate .dw-admin-activity-icon { background: #f1f5f9; color: #475569; }

.dw-admin-activity-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.dw-admin-activity-type {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--dw-dark);
}

.dw-admin-activity-time {
    font-size: 0.72rem;
    color: var(--dw-muted);
    white-space: nowrap;
}

.dw-admin-activity-detail {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--dw-muted);
}

.dw-admin-activity-detail a {
    color: inherit;
    text-decoration: none;
}

.dw-admin-activity-detail a:hover {
    color: var(--dw-purple);
    text-decoration: underline;
}

.dw-admin-feed-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dw-admin-feed-body {
    padding: 0.75rem 1rem 1rem;
}

.dw-admin-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dw-admin-feed-list li {
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--dw-border);
}

.dw-admin-feed-list li:last-child {
    border-bottom: 0;
}

.dw-admin-feed-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef1f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--dw-purple);
}

.dw-admin-feed-title {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
}

.dw-admin-feed-meta {
    font-size: 0.75rem;
    color: var(--dw-muted);
}

.dw-admin-status-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--dw-dark);
}

@media (max-width: 1399.98px) {
    .dw-admin-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dw-admin-lms-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dw-admin-dashboard-split,
    .dw-admin-feed-grid,
    .dw-admin-feed-grid--two {
        grid-template-columns: 1fr;
    }

    .dw-admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .dw-admin-kpi-grid {
        grid-template-columns: 1fr;
    }

    .dw-admin-welcome {
        padding: 1.1rem 1.15rem;
    }

    .dw-admin-shortcuts {
        grid-template-columns: 1fr;
    }
}

/* —— Home: tutors, FAQ, forms, CTA —— */
.home-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.home-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dw-accent);
    margin-bottom: 0.35rem;
}

.home-section-title {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.home-section-lead {
    color: var(--dw-muted);
    font-size: 1rem;
    max-width: 640px;
}

.home-section-link {
    font-weight: 700;
    color: var(--dw-purple);
    text-decoration: none;
    white-space: nowrap;
}

.home-section-link:hover {
    text-decoration: underline;
}

.home-tutors {
    padding: 4rem 0;
    background: #fff;
}

.home-tutor-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--dw-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-tutor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--dw-shadow-panel);
}

.home-tutor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--dw-purple), var(--dw-accent));
    margin-bottom: 0.85rem;
}

.home-tutor-name {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.home-tutor-headline {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dw-purple);
    margin-bottom: 0.5rem;
}

.home-tutor-bio {
    font-size: 0.8125rem;
    color: var(--dw-muted);
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.home-tutor-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dw-muted);
}

.home-faq {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: linear-gradient(180deg, #f3f4f6 0%, #fff 55%);
}

.home-faq-intro-panel {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: var(--dw-shadow-soft);
    border-left: 4px solid var(--dw-brand);
    height: 100%;
}

@media (min-width: 992px) {
    .home-faq-intro-panel {
        position: sticky;
        top: 5.25rem;
    }
}

.home-faq-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dw-brand);
    margin-bottom: 0.5rem;
}

.home-faq-title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--dw-brand-dark);
    margin: 0 0 0.65rem;
}

.home-faq-lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--dw-muted);
}

.home-faq-topics {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.home-faq-topics li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dw-dark);
}

.home-faq-topic-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef1f6;
    color: var(--dw-brand);
    font-size: 0.95rem;
}

.home-faq-all-link {
    display: inline-flex;
    align-items: center;
}

.home-faq-all-link .bi {
    font-size: 0.85rem;
    transition: transform 0.15s ease;
}

.home-faq-all-link:hover .bi {
    transform: translateX(2px);
}

.home-faq-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--dw-shadow-soft);
}

.home-faq-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--dw-border);
}

.home-faq-accordion .accordion-item:last-child {
    border-bottom: 0;
}

.home-faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 0.25rem;
    background: transparent;
    box-shadow: none;
}

.home-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--dw-brand);
    background: transparent;
}

.home-faq-more {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--dw-border);
}

.home-faq-more a {
    font-weight: 700;
    color: var(--dw-purple);
    text-decoration: none;
}

.home-faq-empty {
    text-align: center;
    color: var(--dw-muted);
}

.home-inquiry {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff 0%, #f7f9fa 100%);
}

.home-inquiry-shell {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    box-shadow: var(--dw-shadow-panel);
    overflow: hidden;
}

.home-inquiry-aside {
    padding: 2rem 1.75rem;
    background: linear-gradient(160deg, #1c1d1f 0%, #134e4a 48%, var(--dw-brand) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.home-inquiry-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.65rem;
}

.home-inquiry-title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.home-inquiry-lead {
    opacity: 0.92;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.home-inquiry-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.home-inquiry-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.45;
}

.home-inquiry-list i {
    margin-top: 0.15rem;
    opacity: 0.9;
}

.home-inquiry-contact {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home-inquiry-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.home-inquiry-contact a:hover {
    text-decoration: underline;
}

.home-inquiry-full-link {
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.home-inquiry-full-link:hover {
    color: #fff;
}

.home-inquiry-main {
    padding: 1.75rem 1.75rem 2rem;
}

.home-inquiry-tabs {
    gap: 0.5rem;
    margin-bottom: 1.35rem;
    flex-wrap: wrap;
}

.home-inquiry-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--dw-muted);
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
}

.home-inquiry-tabs .nav-link.active {
    background: var(--dw-purple);
    color: #fff;
}

.home-inquiry-form .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
}

.home-inquiry-legal a {
    color: var(--dw-purple);
}

@media (max-width: 991.98px) {
    .home-inquiry-aside {
        padding: 1.5rem 1.25rem;
    }

    .home-inquiry-main {
        padding: 1.25rem 1.25rem 1.75rem;
    }
}

.home-cta {
    padding: 0 0 4rem;
}

.home-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.25rem 2rem;
    border-radius: var(--dw-radius-lg);
    background: linear-gradient(125deg, #1c1d1f 0%, var(--dw-brand) 55%, var(--dw-brand-light) 100%);
    color: #fff;
    box-shadow: var(--dw-shadow-panel);
}

.home-cta-title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.home-cta-lead {
    opacity: 0.92;
    max-width: 520px;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
}

.home-cta-actions .btn-light {
    color: var(--dw-brand-dark, #0f172a);
    background: #fff;
    border-color: #fff;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
}

.home-cta-actions .btn-light:hover {
    background: #f3f4f6;
    border-color: #f3f4f6;
    color: var(--dw-brand-dark, #0f172a);
}

.home-cta-actions .btn-dw-on-dark {
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
}

.home-cta-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0.35rem 0.25rem;
    white-space: nowrap;
}

.home-cta-link:hover {
    color: #e5e7eb;
}

@media (max-width: 767.98px) {
    .home-cta-actions {
        width: 100%;
    }

    .home-cta-actions .btn {
        flex: 0 1 auto;
    }

    .home-cta-link {
        width: 100%;
        justify-content: center;
        margin-top: 0.15rem;
    }
}

/* —— Admin analytics & reports —— */
.dw-admin-reports {
    min-width: 0;
}

.dw-admin-reports-toolbar {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--dw-shadow-soft);
}

.dw-admin-reports-kpis {
    margin-bottom: 1rem !important;
}

.dw-admin-reports-grid {
    margin-left: 0;
    margin-right: 0;
}

.dw-admin-reports .dw-panel-card {
    margin-bottom: 0;
    border-radius: var(--dw-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dw-admin-reports .dw-panel-card-head {
    padding: 0.85rem 1.15rem;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.dw-admin-reports .dw-panel-card-body {
    padding: 1rem 1.15rem 1.15rem;
    flex: 1;
}

.dw-admin-reports .dw-panel-card-body--flush {
    padding: 0;
}

.dw-admin-reports .table-responsive {
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.dw-admin-reports .dw-panel-table th,
.dw-admin-reports .dw-panel-table td {
    padding: 0.7rem 1rem;
    white-space: nowrap;
}

.dw-admin-reports .dw-panel-table td:first-child,
.dw-admin-reports .dw-panel-table th:first-child {
    white-space: normal;
    min-width: 140px;
}

.dw-panel-table-empty {
    padding: 1.25rem 1rem !important;
    text-align: center;
}

.dw-admin-reports-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}

.dw-admin-reports-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.dw-admin-reports-facts li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--dw-muted);
}

.dw-admin-reports-facts li strong {
    color: var(--dw-dark);
}

.dw-admin-reports-footer-actions {
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--dw-border);
    background: #fafbfc;
}

.dw-stat-card--green::before {
    background: linear-gradient(90deg, #0f172a, #1e3a8a);
}

.dw-stat-card--green {
    background: #fff;
}

/* —— Admin list pages (enrollments, etc.) —— */
.dw-admin-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.dw-admin-page .dw-admin-page-card {
    margin-bottom: 0;
    border-radius: var(--dw-radius-lg);
    overflow: hidden;
    box-shadow: var(--dw-shadow-soft);
}

.dw-admin-page .dw-panel-card-head {
    padding: 0.85rem 1.15rem;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.dw-admin-page .dw-panel-card-body {
    padding: 1rem 1.15rem 1.15rem;
}

.dw-admin-page .dw-panel-card-body--flush {
    padding: 0;
}

.dw-admin-page-toolbar {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    padding: 1rem 1.15rem;
    box-shadow: var(--dw-shadow-soft);
}

.dw-admin-page .table-responsive {
    -webkit-overflow-scrolling: touch;
}

.dw-admin-page .dw-panel-table th,
.dw-admin-page .dw-panel-table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

/* Admin enrollments page */
.dw-admin-enrollments-page .dw-panel-card-head h2 {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.dw-admin-enroll-form {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(10rem, 0.75fr) auto;
    gap: 1rem 1.15rem;
    align-items: end;
}

.dw-admin-enroll-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 0.1rem;
}

.dw-admin-enroll-form-actions .btn {
    white-space: nowrap;
    min-width: 9.5rem;
}

.dw-admin-enrollments-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}

.dw-admin-enrollments-head h2 {
    margin: 0 0 0.15rem;
    font-size: 1rem;
    font-weight: 800;
}

.dw-admin-enrollments-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem 0.75rem;
    flex: 1 1 20rem;
    max-width: 36rem;
    margin-left: auto;
}

.dw-admin-enrollments-filters-field {
    flex: 1 1 10rem;
    min-width: 0;
}

.dw-admin-enrollments-filters-field--status {
    flex: 0 1 9rem;
}

.dw-admin-enrollments-filters-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.dw-admin-enrollments-table-wrap {
    overflow-x: auto;
}

.dw-admin-enrollments-table {
    min-width: 52rem;
}

.dw-admin-enrollments-student {
    min-width: 11rem;
}

.dw-admin-enrollments-course {
    max-width: 14rem;
}

.dw-admin-enrollments-course-link {
    color: var(--dw-dark);
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dw-admin-enrollments-course-link:hover {
    color: var(--dw-brand);
    text-decoration: underline;
}

.dw-admin-enrollments-progress {
    min-width: 6.5rem;
}

.dw-admin-enrollments-progress-bar {
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.dw-admin-enrollments-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dw-brand-dark), var(--dw-brand));
}

.dw-admin-enrollments-access {
    min-width: 8.5rem;
    max-width: 11rem;
    line-height: 1.35;
}

.dw-admin-enrollments-row-menu .dropdown-toggle::after {
    margin-left: 0.35rem;
}

.dw-admin-enrollments-dropdown {
    min-width: 13.5rem;
    padding-top: 0.25rem;
}

.dw-admin-status-pill--active {
    background: #ccfbf1;
    color: #0f766e;
}

.dw-admin-status-pill--success {
    background: #dcfce7;
    color: #166534;
}

.dw-admin-status-pill--muted {
    background: #f3f4f6;
    color: #6b7280;
}

.dw-admin-status-pill--danger {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width: 991.98px) {
    .dw-admin-enroll-form {
        grid-template-columns: 1fr 1fr;
    }

    .dw-admin-enroll-form-field--course {
        grid-column: 1 / -1;
    }

    .dw-admin-enroll-form-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .dw-admin-enroll-form-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .dw-admin-enrollments-head {
        flex-direction: column;
        align-items: stretch;
    }

    .dw-admin-enrollments-filters {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .dw-admin-enroll-form {
        grid-template-columns: 1fr;
    }
}

/* Admin AI assessment submission detail */
.dw-admin-ai-attempt-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.dw-admin-ai-attempt-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dw-admin-ai-attempt-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dw-admin-ai-attempt-hero .dw-stat-card-value {
    word-break: break-word;
}

.dw-admin-ai-attempt-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 1rem 1.5rem;
    margin: 0;
}

.dw-admin-ai-attempt-meta dt {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
    margin-bottom: 0.2rem;
}

.dw-admin-ai-attempt-meta dd {
    margin: 0;
    font-weight: 600;
    color: var(--dw-dark);
    word-break: break-word;
}

.dw-admin-ai-attempt-meta a {
    color: var(--dw-brand);
    text-decoration: none;
}

.dw-admin-ai-attempt-meta a:hover {
    text-decoration: underline;
}

.dw-admin-ai-attempt-questions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dw-admin-ai-q {
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    background: #fff;
}

.dw-admin-ai-q.is-correct {
    border-left: 4px solid #16a34a;
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.05), #fff 40%);
}

.dw-admin-ai-q.is-incorrect {
    border-left: 4px solid #dc2626;
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.04), #fff 40%);
}

.dw-admin-ai-q-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
}

.dw-admin-ai-q-num {
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--dw-brand);
}

.dw-admin-ai-q-skill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--dw-muted);
}

.dw-admin-ai-q-verdict {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dw-admin-ai-q-verdict--ok {
    color: #15803d;
}

.dw-admin-ai-q-verdict--bad {
    color: #b91c1c;
}

.dw-admin-ai-q-verdict--skip {
    color: #6b7280;
}

.dw-admin-ai-q-stem {
    font-weight: 600;
    margin-bottom: 0.85rem;
    line-height: 1.45;
}

.dw-admin-ai-q-answers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.75rem;
}

.dw-admin-ai-q-answer {
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.dw-admin-ai-q-answer.is-match {
    border-color: #86efac;
    background: #f0fdf4;
}

.dw-admin-ai-q-answer.is-correct-key {
    border-color: #93c5fd;
    background: #eff6ff;
}

.dw-admin-ai-q-answer-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
    margin-bottom: 0.25rem;
}

.dw-admin-ai-q-explanation {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--dw-border);
}

.dw-admin-page-pagination {
    padding: 0 0.15rem;
}

/* —— Admin quiz question bank form —— */
.dw-quiz-bank-form-page {
    max-width: 1200px;
}

.dw-quiz-bank-form-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.dw-quiz-bank-form-id {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dw-muted);
}

.dw-quiz-bank-form-card {
    border-radius: var(--dw-radius-lg);
    overflow: hidden;
}

.dw-quiz-bank-form-card-head {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--dw-border);
    padding: 0.85rem 1.15rem;
}

.dw-quiz-bank-stem {
    font-size: 1.05rem;
    line-height: 1.55;
    min-height: 6rem;
}

.dw-quiz-bank-options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dw-quiz-bank-option-row {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
}

.dw-quiz-bank-option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d1d5db;
    font-weight: 700;
    font-size: 0.8rem;
    color: #1e3a8a;
}

.dw-quiz-bank-option-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.dw-quiz-bank-option-mark .form-check-input {
    margin-top: 0;
}

.dw-quiz-bank-tf-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.dw-quiz-bank-tf-btn {
    cursor: pointer;
    margin: 0;
}

.dw-quiz-bank-tf-btn input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dw-quiz-bank-tf-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: #fff;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.dw-quiz-bank-tf-btn input:checked + span {
    border-color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
}

.dw-quiz-bank-form-sidebar {
    position: sticky;
    top: 1rem;
}

.dw-quiz-bank-preview-stem {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--dw-dark);
}

.dw-quiz-bank-preview-opt {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
}

.dw-quiz-bank-preview-opt:last-child {
    border-bottom: 0;
}

.dw-quiz-bank-preview-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    border: 2px solid #94a3b8;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.dw-quiz-bank-form-actions .btn {
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .dw-quiz-bank-form-sidebar {
        position: static;
    }
}

.dw-admin-page-pagination .pagination {
    margin-bottom: 0;
}

/* —— Student dashboard —— */
.dw-panel-sidebar-card--student {
    background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
}

/* —— Student / trainer / admin dashboards — full-width (minimal side gutters) —— */
.dw-panel--wide {
    padding-top: 0;
    padding-bottom: 0;
}

.dw-panel--wide > .dw-container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.dw-panel--wide .dw-panel-grid {
    gap: 0;
    min-height: calc(100vh - 0px);
}

.dw-panel--wide .dw-panel-sidebar {
    top: 0;
    padding: 1rem 0 1rem 1rem;
}

.dw-panel--wide .dw-panel-main {
    padding: 1rem 1.25rem 2rem;
    min-height: calc(100vh - 0px);
}

@media (min-width: 992px) {
    .dw-panel--wide .dw-panel-sidebar {
        padding-left: 1.25rem;
    }

    .dw-panel--wide .dw-panel-main {
        padding: 1.25rem 1.5rem 2.5rem;
    }
}

.dw-student-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: none;
}

.dw-student-welcome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
    border-radius: 0 0 var(--dw-radius-lg) var(--dw-radius-lg);
    background: linear-gradient(125deg, var(--dw-brand-dark) 0%, var(--dw-brand) 55%, var(--dw-brand-light) 100%);
    color: #fff;
    box-shadow: var(--dw-shadow-panel);
}

@media (min-width: 992px) {
    .dw-panel--wide .dw-student-welcome {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        width: calc(100% + 3rem);
    }
}

.dw-student-welcome-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.35rem;
}

.dw-student-welcome-title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
}

.dw-student-welcome-meta {
    font-size: 0.875rem;
    opacity: 0.92;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dw-student-welcome-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
}

.dw-student-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dw-student-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.dw-student-kpi-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    background: #fff;
    border: 1px solid rgba(209, 215, 220, 0.85);
    border-radius: var(--dw-radius-lg);
    box-shadow: var(--dw-shadow-soft);
}

.dw-student-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.dw-student-kpi-card--purple .dw-student-kpi-icon {
    background: rgba(13, 148, 136, 0.12);
    color: var(--dw-purple);
}

.dw-student-kpi-card--teal .dw-student-kpi-icon {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

.dw-student-kpi-card--green .dw-student-kpi-icon {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.dw-student-kpi-card--amber .dw-student-kpi-icon {
    background: rgba(217, 119, 6, 0.12);
    color: #d97706;
}

.dw-student-kpi-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
    margin-bottom: 0.15rem;
}

.dw-student-kpi-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.dw-student-kpi-hint {
    font-size: 0.75rem;
    color: var(--dw-muted);
    margin-bottom: 0;
}

.dw-student-dashboard-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1rem;
    align-items: start;
}

.dw-student-section-card {
    margin-bottom: 0;
}

.dw-student-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-student-section-head--compact {
    padding-bottom: 0.75rem;
}

.dw-student-section-head h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.dw-student-section-head p {
    font-size: 0.8125rem;
    color: var(--dw-muted);
}

.dw-student-course-list {
    padding: 0.25rem 0;
}

.dw-student-course-row {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-student-course-row:last-child {
    border-bottom: 0;
}

.dw-student-course-thumb {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--dw-shadow-soft);
}

.dw-student-course-thumb img {
    display: block;
    width: 128px;
    height: 72px;
    object-fit: cover;
}

.dw-student-course-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.dw-student-course-title a {
    color: inherit;
    text-decoration: none;
}

.dw-student-course-title a:hover {
    color: var(--dw-purple);
}

.dw-student-course-meta {
    font-size: 0.8125rem;
    color: var(--dw-muted);
    margin-bottom: 0.35rem;
}

.dw-student-progress {
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    max-width: 280px;
}

.dw-student-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dw-purple), #14b8a6);
}

.dw-student-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.dw-student-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--dw-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dw-student-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dw-student-quick-links {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0.5rem 0.65rem;
}

.dw-student-quick-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.dw-student-quick-link:hover {
    background: rgba(13, 148, 136, 0.06);
}

.dw-student-quick-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dw-purple);
}

.dw-student-quick-text strong {
    display: block;
    font-size: 0.875rem;
}

.dw-student-quick-text small {
    color: var(--dw-muted);
    font-size: 0.75rem;
}

.dw-student-quick-chevron {
    color: var(--dw-muted);
    font-size: 0.85rem;
}

.dw-student-completed-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-bottom: 1px solid var(--dw-border);
    font-size: 0.8125rem;
}

.dw-student-completed-list li:last-child {
    border-bottom: 0;
}

.dw-student-completed-list a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dw-student-completed-list a:hover {
    color: var(--dw-purple);
}

.dw-student-tip-card {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: var(--dw-radius-lg);
    background: linear-gradient(135deg, #fef3c7 0%, #fff 100%);
    border: 1px solid #fde68a;
    font-size: 0.8125rem;
}

.dw-student-tip-card > i {
    font-size: 1.25rem;
    color: #d97706;
    flex-shrink: 0;
}

@media (max-width: 1199.98px) {
    .dw-student-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dw-student-dashboard-split {
        grid-template-columns: 1fr;
    }

    .dw-student-course-row {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .dw-student-course-actions {
        grid-column: 1 / -1;
        padding-left: calc(96px + 1rem);
    }

    .dw-student-course-thumb img {
        width: 96px;
        height: 54px;
    }
}

@media (max-width: 575.98px) {
    .dw-student-kpi-grid {
        grid-template-columns: 1fr;
    }

    .dw-student-course-row {
        grid-template-columns: 1fr;
    }

    .dw-student-course-actions {
        padding-left: 0;
    }
}

/* —— Wishlist page —— */
.dw-wishlist-page {
    max-width: var(--dw-container, 1600px);
}

.dw-wishlist-empty {
    padding: 2rem 0 3rem;
}

.dw-wishlist-empty-inner {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 3rem 1.75rem;
    border-radius: var(--dw-radius-lg);
    background: linear-gradient(180deg, #fff 0%, #f3f4f6 100%);
    border: 1px solid var(--dw-border);
    box-shadow: var(--dw-shadow-soft);
}

.dw-wishlist-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef1f6, #f3f4f6);
    color: var(--dw-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.dw-wishlist-empty-inner h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.dw-wishlist-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.dw-wishlist-count {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    color: #1c1d1f;
}

.dw-wishlist-toolbar-meta {
    display: block;
    font-size: 0.8125rem;
    color: var(--dw-muted);
    margin-top: 0.15rem;
}

.dw-wishlist-link,
.dw-wishlist-continue {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dw-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dw-wishlist-link:hover,
.dw-wishlist-continue:hover {
    text-decoration: underline;
    color: var(--dw-accent);
}

.dw-wishlist-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 1.25rem 1.5rem;
    align-items: start;
}

.dw-wishlist-panel {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--dw-shadow-soft);
}

.dw-wishlist-panel-head {
    grid-template-columns: minmax(0, 1fr) 88px minmax(160px, auto);
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-muted);
    background: #f7f9fa;
    border-bottom: 1px solid var(--dw-border);
}

.dw-wishlist-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px minmax(160px, auto);
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-wishlist-item:last-child {
    border-bottom: 0;
}

.dw-wishlist-item-course {
    display: flex;
    gap: 1rem;
    min-width: 0;
}

.dw-wishlist-item-thumb {
    flex-shrink: 0;
    width: 128px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
    box-shadow: var(--dw-shadow-soft);
}

.dw-wishlist-item-thumb img {
    display: block;
    width: 128px;
    height: 72px;
    object-fit: cover;
}

.dw-wishlist-item-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dw-brand);
    margin-bottom: 0.25rem;
}

.dw-wishlist-item-title {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    color: #1c1d1f;
    text-decoration: none;
    margin-bottom: 0.2rem;
    line-height: 1.35;
}

.dw-wishlist-item-title:hover {
    color: var(--dw-brand);
}

.dw-wishlist-item-instructor {
    font-size: 0.8125rem;
    color: var(--dw-muted);
}

.dw-wishlist-item-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.dw-wishlist-item-rating .rating-num {
    font-weight: 800;
    color: #b4690e;
}

.dw-wishlist-item-rating .rating-stars {
    color: #e59819;
    font-size: 0.75rem;
}

.dw-wishlist-item-rating .rating-count {
    color: var(--dw-muted);
}

.dw-wishlist-item-meta {
    font-size: 0.8125rem;
    color: var(--dw-muted);
    margin-top: 0.35rem;
}

.dw-wishlist-price-main {
    font-weight: 800;
    font-size: 1.05rem;
}

.dw-wishlist-price-free {
    font-weight: 800;
    font-size: 1.05rem;
    color: #16a34a;
}

.dw-wishlist-enrolled-badge {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.65rem;
}

.dw-wishlist-item-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem 0.5rem;
}

.dw-wishlist-btn {
    font-size: 0.8125rem !important;
    font-weight: 700;
    padding: 0.35rem 0.75rem !important;
    border-radius: 8px;
    line-height: 1.25;
    box-shadow: none !important;
    white-space: nowrap;
}

.dw-wishlist-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--dw-border);
    border-radius: 8px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dw-muted);
    cursor: pointer;
}

.dw-wishlist-remove:hover {
    color: #dc2626;
}

.dw-wishlist-remove .bi-heart-fill {
    color: #dc2626;
    font-size: 0.85rem;
}

.dw-wishlist-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dw-wishlist-summary {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1.35rem 1.25rem;
    box-shadow: var(--dw-shadow-soft);
}

.dw-wishlist-summary-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.dw-wishlist-summary-lead {
    font-size: 0.8125rem;
    color: var(--dw-muted);
    margin-bottom: 1rem;
}

.dw-wishlist-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.35rem 0;
    color: var(--dw-muted);
}

.dw-wishlist-summary-row span:last-child {
    font-weight: 700;
    color: #1c1d1f;
}

.dw-wishlist-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-weight: 800;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--dw-border);
}

.dw-wishlist-trust li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.35rem 0;
}

.dw-wishlist-trust li:last-child {
    padding-bottom: 0;
}

.dw-wishlist-trust .bi {
    color: var(--dw-brand);
    margin-top: 0.1rem;
}

.dw-wishlist-tip {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef1f6 0%, #fff 100%);
    border: 1px solid var(--dw-border);
    font-size: 0.8125rem;
}

.dw-wishlist-tip > i {
    font-size: 1.25rem;
    color: var(--dw-brand);
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .dw-wishlist-layout {
        grid-template-columns: 1fr;
    }

    .dw-wishlist-aside {
        order: -1;
    }

    .dw-wishlist-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .dw-wishlist-item-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .dw-wishlist-item-thumb,
    .dw-wishlist-item-thumb img {
        width: 96px;
        height: 54px;
    }
}

/* —— Purchase history (account) —— */
.dw-purchase-page {
    width: 100%;
    max-width: none;
}

.dw-purchase-empty {
    padding: 1rem 0 2rem;
}

.dw-purchase-empty-inner {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 3rem 1.75rem;
    border-radius: var(--dw-radius-lg);
    background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
    border: 1px solid rgba(13, 148, 136, 0.15);
    box-shadow: var(--dw-shadow-soft);
}

.dw-purchase-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.08));
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.dw-purchase-empty-inner h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.dw-purchase-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.dw-purchase-count {
    display: block;
    font-weight: 800;
    font-size: 1.15rem;
    color: #1c1d1f;
}

.dw-purchase-toolbar-meta {
    display: block;
    font-size: 0.8125rem;
    color: #d97706;
    font-weight: 600;
    margin-top: 0.15rem;
}

.dw-purchase-continue {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dw-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dw-purchase-continue:hover {
    text-decoration: underline;
    color: var(--dw-accent);
}

.dw-purchase-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 1.25rem 1.75rem;
    align-items: start;
}

@media (min-width: 1400px) {
    .dw-purchase-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    }
}

.dw-purchase-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dw-purchase-order {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--dw-shadow-soft);
}

.dw-purchase-order-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f7f9fa;
    border-bottom: 1px solid var(--dw-border);
}

.dw-purchase-order-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dw-muted);
}

.dw-purchase-order-id strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.dw-purchase-order-date {
    display: block;
    font-size: 0.8125rem;
    color: var(--dw-muted);
    margin-top: 0.15rem;
}

.dw-purchase-order-meta {
    text-align: right;
}

.dw-purchase-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.35rem;
}

.dw-purchase-status--success {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.dw-purchase-status--warning {
    background: rgba(217, 119, 6, 0.15);
    color: #b45309;
}

.dw-purchase-status--danger {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.dw-purchase-status--muted {
    background: #e5e7eb;
    color: #4b5563;
}

.dw-purchase-order-total {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
}

.dw-purchase-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-purchase-item:last-child {
    border-bottom: 0;
}

.dw-purchase-item-thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
}

.dw-purchase-item-thumb img {
    display: block;
    width: 96px;
    height: 54px;
    object-fit: cover;
}

.dw-purchase-item-type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dw-purple);
    margin-bottom: 0.2rem;
}

.dw-purchase-item-title {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1c1d1f;
    text-decoration: none;
    line-height: 1.35;
}

.dw-purchase-item-title:hover {
    color: var(--dw-purple);
}

.dw-purchase-item-meta {
    font-size: 0.8125rem;
    color: var(--dw-muted);
}

.dw-purchase-item-price {
    font-weight: 800;
    font-size: 0.95rem;
    white-space: nowrap;
}

.dw-purchase-order-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fafbfc;
    border-top: 1px solid var(--dw-border);
}

.dw-purchase-order-details {
    flex: 1;
    min-width: 200px;
}

.dw-purchase-detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    padding: 0.15rem 0;
}

.dw-purchase-detail-row dt {
    font-weight: 600;
    color: var(--dw-muted);
    margin: 0;
}

.dw-purchase-detail-row dd {
    margin: 0;
    color: #1c1d1f;
}

.dw-purchase-order-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.dw-purchase-refund-details {
    display: inline-flex;
    align-items: center;
}

.dw-purchase-refund-details[open] {
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-end;
}

.dw-purchase-refund-details summary {
    list-style: none;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dw-brand);
    padding: 0.25rem 0.15rem;
}

.dw-purchase-refund-details summary::-webkit-details-marker {
    display: none;
}

.dw-purchase-refund-form {
    max-width: 280px;
    text-align: left;
}

.dw-purchase-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dw-purchase-summary {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1.35rem 1.25rem;
    box-shadow: var(--dw-shadow-soft);
}

.dw-purchase-summary-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.dw-purchase-summary-lead {
    font-size: 0.8125rem;
    color: var(--dw-muted);
    margin-bottom: 1rem;
}

.dw-purchase-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.35rem 0;
    color: var(--dw-muted);
}

.dw-purchase-summary-row span:last-child {
    font-weight: 700;
    color: #1c1d1f;
}

.dw-purchase-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.05rem;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--dw-border);
}

.dw-purchase-trust li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.35rem 0;
}

.dw-purchase-trust .bi {
    color: var(--dw-purple);
    margin-top: 0.1rem;
}

.dw-purchase-tip {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef1f6 0%, #fff 100%);
    border: 1px solid var(--dw-border);
    font-size: 0.8125rem;
}

.dw-purchase-tip > i {
    font-size: 1.25rem;
    color: var(--dw-brand);
    flex-shrink: 0;
}

.dw-purchase-tip a {
    font-weight: 600;
}

.dw-purchase-aside-card {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1.15rem 1.2rem;
    box-shadow: var(--dw-shadow-soft);
}

.dw-purchase-aside-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.dw-purchase-invoice-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dw-purchase-invoice-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 0.8125rem;
}

.dw-purchase-invoice-row strong {
    font-size: 0.8rem;
    display: block;
}

.dw-purchase-invoice-row span.dw-purchase-invoice-amt {
    font-weight: 700;
    color: var(--dw-brand-dark);
    white-space: nowrap;
}

.dw-purchase-invoice-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.dw-purchase-invoice-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 6px;
    border: 1px solid var(--dw-border);
    background: #fff;
    color: var(--dw-brand);
    text-decoration: none;
}

.dw-purchase-invoice-actions a:hover {
    background: #eef1f6;
}

.dw-purchase-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.dw-purchase-quick-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--dw-border);
    background: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dw-dark);
    text-decoration: none;
}

.dw-purchase-quick-link:hover {
    border-color: var(--dw-brand-light);
    background: #eef1f6;
    color: var(--dw-brand);
}

.dw-purchase-quick-link .bi {
    color: var(--dw-brand);
}

.dw-purchase-spend-highlight {
    text-align: center;
    padding: 1rem 0.5rem 0.25rem;
}

.dw-purchase-spend-highlight .dw-purchase-spend-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dw-brand);
    letter-spacing: -0.02em;
}

.dw-purchase-spend-highlight .dw-purchase-spend-label {
    font-size: 0.75rem;
    color: var(--dw-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .dw-purchase-layout {
        grid-template-columns: 1fr;
    }

    .dw-purchase-aside {
        order: -1;
    }

    .dw-purchase-order-meta {
        text-align: left;
    }

    .dw-purchase-order-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .dw-purchase-item {
        grid-template-columns: 1fr;
    }

    .dw-purchase-item-price {
        padding-left: 0;
    }
}

/* —— Public subscriptions page —— */
.dw-sub-page {
    background: linear-gradient(180deg, #faf5ff 0%, #fff 35%, #f7f9fa 100%);
}

.dw-sub-hero {
    padding: 0.5rem 0 2rem;
}

.dw-sub-hero-inner {
    max-width: 720px;
}

.dw-sub-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dw-purple);
    margin-bottom: 0.5rem;
}

.dw-sub-hero-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.dw-sub-hero-lead {
    color: var(--dw-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.dw-sub-plans-section {
    padding-bottom: 2.5rem;
}

.dw-sub-plan-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: var(--dw-radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--dw-shadow-soft);
}

.dw-sub-plan-card--featured {
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: var(--dw-shadow-panel);
}

.dw-sub-plan-card--team {
    background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
}

.dw-sub-plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--dw-purple);
    color: #fff;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.dw-sub-plan-name {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.dw-sub-plan-tagline {
    color: var(--dw-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.dw-sub-plan-price {
    margin-bottom: 1.25rem;
}

.dw-sub-plan-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dw-sub-plan-amount--custom {
    font-size: 1.35rem;
}

.dw-sub-plan-interval {
    font-size: 0.95rem;
    color: var(--dw-muted);
    font-weight: 600;
}

.dw-sub-plan-compare {
    display: block;
    font-size: 0.9rem;
    color: var(--dw-muted);
    margin-top: 0.25rem;
}

.dw-sub-plan-features li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
}

.dw-sub-plan-features .bi-check-lg {
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.dw-sub-compare {
    padding: 2rem 0 2.5rem;
}

.dw-sub-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.25rem;
}

.dw-sub-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.dw-sub-compare-col {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
}

.dw-sub-compare-col h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.dw-sub-compare-col li {
    display: flex;
    gap: 0.45rem;
    font-size: 0.875rem;
    margin-bottom: 0.45rem;
    color: var(--dw-muted);
}

.dw-sub-compare-col .bi-check2 {
    color: var(--dw-purple);
}

@media (max-width: 767.98px) {
    .dw-sub-compare-grid {
        grid-template-columns: 1fr;
    }
}

/* Header cart / wishlist badges */
.dw-icon-btn {
    position: relative;
}

.dw-header-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dw-purple), var(--dw-accent));
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1.125rem;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

.dw-header-badge--wishlist {
    background: linear-gradient(135deg, #e11d48, #fb7185);
}

.dw-icon-btn.has-badge .bi {
    transform: scale(1.02);
}

/* Commerce toast popup */
.dw-commerce-toast-root {
    position: fixed;
    top: calc(5rem + env(safe-area-inset-top, 0px));
    right: 1rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: min(22rem, calc(100vw - 2rem));
    pointer-events: none;
}

.dw-commerce-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.75rem 0.85rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--dw-border);
    box-shadow: 0 12px 40px rgba(28, 29, 31, 0.18);
    transform: translateX(calc(100% + 1.5rem));
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
    pointer-events: auto;
}

.dw-commerce-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.dw-commerce-toast--success .dw-commerce-toast-icon {
    color: #0d9488;
}

.dw-commerce-toast--info .dw-commerce-toast-icon {
    color: var(--dw-purple);
}

.dw-commerce-toast-icon {
    font-size: 1.35rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.dw-commerce-toast-title {
    display: block;
    font-size: 0.9375rem;
    color: #1c1d1f;
}

.dw-commerce-toast-msg {
    font-size: 0.8125rem;
    color: var(--dw-muted);
    margin-top: 0.15rem;
}

.dw-commerce-toast-close {
    border: 0;
    background: transparent;
    color: var(--dw-muted);
    padding: 0.15rem;
    margin-left: auto;
    line-height: 1;
}

.dw-commerce-toast-close:hover {
    color: #1c1d1f;
}

/* Cart page refresh (align with wishlist) */
.dw-cart-page:not(.dw-cart-page--v2) {
    max-width: 1200px;
}

.dw-cart-empty {
    padding: 2rem 0 3rem;
}

.dw-cart-empty-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(13, 148, 136, 0.06) 0%, rgba(20, 184, 166, 0.08) 100%);
    border: 1px solid rgba(13, 148, 136, 0.12);
}

.dw-cart-empty-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--dw-purple);
    background: #fff;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.12);
}

.dw-cart-empty-inner h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.dw-cart-toolbar-meta {
    display: block;
    font-size: 0.875rem;
    color: var(--dw-muted);
    font-weight: 500;
    margin-top: 0.15rem;
}

.dw-cart-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dw-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dw-cart-link:hover {
    color: var(--dw-accent);
}

.dw-cart-panel-head.d-none.d-md-grid {
    display: none;
}

@media (min-width: 768px) {
    .dw-cart-panel-head.d-none.d-md-grid {
        display: grid;
    }
}

.dw-cart-summary {
    background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--dw-border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.dw-cart-summary-lead {
    font-size: 0.8125rem;
    color: var(--dw-muted);
    margin-bottom: 1rem;
}

.dw-cart-item-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dw-purple);
    margin-bottom: 0.25rem;
}

/* Checkout — single page (billing + payment) */
.dw-checkout-page--v2 {
    background: #f3f4f6;
    padding: 1rem 0 2.5rem;
    max-width: none;
    width: 100%;
}

.dw-checkout-page--v2 .dw-checkout-wrap {
    max-width: var(--dw-container);
    width: 100%;
}

.dw-checkout-page--v2 .dw-checkout-steps {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 0.65rem 1rem 0;
    margin-bottom: 1rem;
}

.dw-checkout-panel {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    padding: 0;
    overflow: hidden;
}

.dw-checkout-panel-section {
    padding: 1.25rem 1.35rem;
}

.dw-checkout-panel-section--pay {
    border-top: 1px solid var(--dw-border);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 40%);
}

.dw-checkout-page--v2 .dw-checkout-billing-form .form-control {
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
}

.dw-checkout-pay-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    padding-top: 0.25rem;
}

.dw-checkout-pay-actions .btn {
    width: auto;
    max-width: 100%;
}

.dw-checkout-demo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
}

.dw-checkout-pay-error {
    flex: 1 1 100%;
    margin-top: 0.15rem;
}

.dw-checkout-summary-foot {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dw-border);
}

.dw-checkout-fail-modal .modal-content {
    border-radius: 14px;
}

.dw-checkout-fail-modal-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #b91c1c;
    background: #fef2f2;
}

.dw-checkout-page--v2 .dw-checkout-pay-trust {
    margin-bottom: 0;
}

.dw-checkout-page--v2 .dw-checkout-pay-panel-top {
    margin-bottom: 0;
}

.dw-checkout-page--v2 .dw-checkout-pay-summary {
    border-radius: 12px;
}

@media (min-width: 992px) {
    .dw-checkout-page--v2 .dw-checkout-pay-summary {
        position: sticky;
        top: calc(var(--dw-header-h, 72px) + 1rem);
    }
}

/* Thank you — order confirmation */
.dw-thankyou-page {
    background: #f3f4f6;
    padding: 1rem 0 2.5rem;
    max-width: none;
    width: 100%;
}

.dw-thankyou-page .dw-checkout-wrap {
    max-width: var(--dw-container);
    width: 100%;
}

.dw-thankyou-page .dw-checkout-steps {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 0.65rem 1rem 0;
    margin-bottom: 1rem;
}

.dw-thankyou-head-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dw-thankyou-status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    display: inline-block;
}

.dw-thankyou-success-card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.dw-thankyou-success-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-thankyou-success-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.dw-thankyou-meta dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.1rem;
}

.dw-thankyou-courses {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.dw-thankyou-course-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f1f3;
}

.dw-thankyou-course-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dw-thankyou-course-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dw-thankyou-course-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dw-thankyou-course-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
}

.dw-thankyou-bundle-courses {
    margin-top: 0.75rem;
    padding-left: 4.25rem;
}

.dw-thankyou-bundle-course {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
}

.dw-thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.dw-thankyou-actions .btn {
    width: auto;
}

.dw-thankyou-invoice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dw-thankyou-page .dw-checkout-pay-summary {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

@media (min-width: 992px) {
    .dw-thankyou-page .dw-checkout-pay-summary {
        position: sticky;
        top: calc(var(--dw-header-h, 72px) + 1rem);
    }
}

@media (max-width: 575.98px) {
    .dw-thankyou-bundle-courses {
        padding-left: 0;
    }
}

/* Cart page v2 — aligned with checkout payment */
.dw-cart-page--v2 {
    background: #f3f4f6;
    padding: 1rem 0 2.5rem;
    max-width: none;
    width: 100%;
}

.dw-cart-page--v2 .dw-cart-wrap {
    max-width: var(--dw-container);
    width: 100%;
}

.dw-cart-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: center;
    margin-bottom: 0.35rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

@media (min-width: 768px) {
    .dw-cart-head {
        grid-template-columns: auto 1fr auto;
    }
}

.dw-cart-head-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dw-brand-dark, #0f172a), var(--dw-brand, #1e3a8a));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.dw-cart-head-title {
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.15rem;
}

.dw-cart-head-lead {
    font-size: 0.875rem;
    color: var(--dw-muted);
}

.dw-cart-head-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.8rem;
}

.dw-cart-head-count {
    font-weight: 700;
    color: var(--dw-dark);
}

.dw-cart-head-total {
    color: var(--dw-muted);
}

.dw-cart-page--v2 .dw-checkout-steps {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 0.65rem 1rem 0;
    margin-bottom: 1rem;
}

.dw-cart-page--v2 .dw-cart-toolbar {
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    gap: 0.75rem 1rem;
}

.dw-cart-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.dw-cart-trust--inline {
    flex: 1;
    min-width: 0;
}

.dw-cart-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dw-dark);
}

.dw-cart-trust-item .bi {
    color: var(--dw-brand);
}

.dw-cart-panel-v2 {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    padding: 0;
    overflow: hidden;
}

.dw-cart-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--dw-border);
    background: #fafbfc;
}

.dw-cart-refresh {
    text-decoration: none;
}

.dw-cart-item--v2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-cart-item--v2:last-child {
    border-bottom: 0;
}

.dw-cart-item--v2 .dw-cart-item-course {
    flex: 1;
    min-width: min(100%, 260px);
}

.dw-cart-item-side {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.dw-cart-item--v2 .dw-cart-item-thumb {
    width: 120px;
    border-radius: 10px;
}

@media (min-width: 1200px) {
    .dw-cart-item--v2 .dw-cart-item-thumb {
        width: 160px;
    }
}

.dw-cart-item--v2 .dw-cart-remove {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    border: 1px solid #fecaca;
    background: #fff;
    color: #b91c1c;
    font-size: 0.8rem;
    font-weight: 600;
}

.dw-cart-item--v2 .dw-cart-remove:hover {
    background: #fef2f2;
}

.dw-cart-summary-v2 {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

@media (min-width: 992px) {
    .dw-cart-summary-v2 {
        position: sticky;
        top: calc(var(--dw-header-h, 72px) + 1rem);
    }
}

.dw-cart-page--v2 .dw-cart-empty-inner {
    background: #fff;
    border: 1px solid var(--dw-border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.dw-cart-page--v2 .dw-cart-empty-icon {
    color: var(--dw-brand);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.12);
}

.dw-cart-summary-note a {
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .dw-cart-trust--inline {
        width: 100%;
    }

    .dw-cart-toolbar {
        flex-direction: column;
        align-items: stretch !important;
    }

    .dw-cart-item-side {
        width: 100%;
        justify-content: space-between;
        padding-top: 0.5rem;
        border-top: 1px dashed var(--dw-border);
    }
}

@media (max-width: 575.98px) {
    .dw-commerce-toast-root {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

/* Admin — course content builder */
.dw-admin-course-content-page .dw-course-content-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
}

.dw-course-content-toolbar-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
}

.dw-course-content-stat {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dw-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dw-course-content-stat--muted {
    font-weight: 500;
    color: var(--dw-muted, #64748b);
}

.dw-course-content-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.dw-course-content-add-module {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

@media (max-width: 575.98px) {
    .dw-course-content-add-module {
        grid-template-columns: 1fr;
    }
}

.dw-admin-course-content-page .dw-panel-card-head h2 {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.dw-course-module {
    background: #fff;
    border: 1px solid var(--dw-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.dw-course-module-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--dw-border);
}

.dw-course-module-head-main {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.dw-course-module-order {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--dw-brand, #1e3a8a);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
}

.dw-course-module-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}

.dw-course-module-meta {
    font-size: 0.8rem;
    color: var(--dw-muted, #64748b);
}

.dw-course-module-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.dw-course-module-settings {
    padding: 1rem 1.15rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--dw-border);
}

.dw-course-module-settings-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5rem auto;
    gap: 0.75rem 1rem;
    align-items: end;
    max-width: 36rem;
}

@media (max-width: 575.98px) {
    .dw-course-module-settings-form {
        grid-template-columns: 1fr;
    }
}

.dw-course-module-empty {
    padding: 1.25rem 1.15rem;
    font-size: 0.875rem;
    color: var(--dw-muted, #64748b);
    border-bottom: 1px solid var(--dw-border);
}

.dw-course-lesson-list {
    margin: 0;
}

.dw-course-lesson-item {
    border-bottom: 1px solid var(--dw-border);
}

.dw-course-lesson-item:last-child {
    border-bottom: none;
}

.dw-course-lesson-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1.15rem;
}

.dw-course-lesson-order {
    flex-shrink: 0;
    width: 1.65rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dw-muted, #64748b);
}

.dw-course-lesson-info {
    flex: 1 1 12rem;
    min-width: 0;
}

.dw-course-lesson-title-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.dw-course-lesson-type-icon {
    color: var(--dw-brand, #1e3a8a);
    font-size: 1rem;
}

.dw-course-lesson-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
}

.dw-course-lesson-badge--preview {
    background: #dbeafe;
    color: #1d4ed8;
}

.dw-course-lesson-badge--optional {
    background: #f1f5f9;
    color: #475569;
}

.dw-course-lesson-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.dw-course-lesson-reorder {
    display: inline-flex;
    gap: 0.15rem;
}

.dw-course-lesson-reorder form {
    display: inline;
}

.dw-course-lesson-edit-panel,
.dw-course-lesson-add-panel {
    padding: 0 1.15rem 1.15rem;
    background: #f8fafc;
}

.dw-course-lesson-add-panel {
    padding-top: 0;
}

.dw-course-module-footer {
    padding: 1rem 1.15rem;
    background: #fafbfc;
    border-top: 1px solid var(--dw-border);
}

.dw-course-lesson-form {
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    background: #fff;
}

.dw-course-lesson-form-heading {
    letter-spacing: 0.06em;
}

@media (max-width: 575.98px) {
    .dw-course-lesson-row {
        flex-direction: column;
        align-items: stretch;
    }

    .dw-course-lesson-actions {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }
}

