:root {
    --b2b-blue: #00AEEF;
    --b2b-blue-dark: #008fc9;
    --b2b-blue-soft: #e8f8ff;
    --b2b-orange: #F15A29;
    --b2b-orange-dark: #d84a1f;
    --b2b-orange-soft: #fff0ea;

    --b2b-bg: #f6fbff;
    --b2b-card: rgba(255, 255, 255, 0.92);
    --b2b-white: #ffffff;
    --b2b-border: rgba(0, 174, 239, 0.18);

    --b2b-text: #172033;
    --b2b-muted: #667085;
    --b2b-light: #98a2b3;

    --b2b-shadow-sm: 0 8px 24px rgba(0, 81, 128, 0.07);
    --b2b-shadow-md: 0 18px 48px rgba(0, 81, 128, 0.12);
    --b2b-shadow-lg: 0 28px 80px rgba(0, 81, 128, 0.18);

    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --speed: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(0, 174, 239, 0.35);
    outline-offset: 3px;
}

.main {
    padding: 0 18px 72px;
    background: transparent !important;
}

.dashboard-page,
.dasboard-section-parant {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.dashboard-page {
    padding-top: 40px;
}

.dashboard-page section {
    padding-top: 0;
}

/* Remove old decorative lines leaking from global css */
.section-title h2::before,
.section-title h2::after,
.dashboard-event-section h2::before,
.dashboard-event-section h2::after {
    content: none !important;
}

/* =========================
   SHARED TYPOGRAPHY
========================= */

.section-title {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 38px;
}

.section-title span,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--b2b-orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h2,
.panel-head h2 {
    margin: 0;
    color: var(--b2b-text);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.9px;
}

.section-title::after {
    content: "";
    display: block;
    width: 92px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--b2b-orange), var(--b2b-blue));
}

.left-title {
    text-align: left;
    margin: 0;
}

.left-title::after {
    margin-left: 0;
}

.left-title p {
    max-width: 520px;
    margin: 14px 0 0;
    color: var(--b2b-muted);
    font-size: 15px;
    line-height: 1.75;
}

/* =========================
   GLASS PANELS
========================= */

.dashboard-hero,
.learning-section,
.dashboard-event-section {
    margin-bottom: 34px;
}

.hero-content,
.learning-section,
.dashboard-event-section,
.course-progress-panel,
.user-level-panel {
    background: var(--b2b-card);
    border: 1px solid var(--b2b-border);
    box-shadow: var(--b2b-shadow-md);
    backdrop-filter: blur(18px);
}

.learning-section,
.dashboard-event-section {
    border-radius: var(--radius-xl);
    padding: clamp(28px, 4vw, 48px);
}

/* =========================
   HERO
========================= */

.dashboard-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    position: relative;
    min-height: 400px;
    width: 100%;
    border-radius: var(--radius-xl);
    padding: clamp(28px, 4vw, 52px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content::before,
.hero-content::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-content::before {
    right: -80px;
    top: -90px;
    width: 260px;
    height: 260px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.22), rgba(241, 90, 41, 0.16));
}

.hero-content::after {
    left: 36px;
    bottom: 34px;
    width: 120px;
    height: 120px;
    background: rgba(0, 174, 239, 0.07);
    filter: blur(4px);
}

.hero-text,
.dashboard-stats {
    position: relative;
    z-index: 1;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 9px 15px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--b2b-blue-soft);
    color: var(--b2b-blue-dark);
    border: 1px solid rgba(0, 174, 239, 0.24);
    font-size: 13px;
    font-weight: 900;
}

.dashboard-badge::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--b2b-orange);
    box-shadow: 0 0 0 6px rgba(241, 90, 41, 0.12);
}

.welcomeMessage {
    margin: 0 0 14px;
    color: var(--b2b-text);
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.07;
    font-weight: 950;
    letter-spacing: -1.4px;
}

.dash_username {
    display: inline-block;
    max-width: min(460px, 100%);
    vertical-align: bottom;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
    background: linear-gradient(135deg, var(--b2b-blue), var(--b2b-blue-dark));
    color: #fff;
    padding: 3px 13px 5px;
    border-radius: 15px;
    box-shadow: 0 14px 30px rgba(0, 174, 239, 0.20);
}

.hero-text p {
    max-width: 700px;
    margin: 0;
    color: var(--b2b-muted);
    font-size: 16px;
    line-height: 1.8;
}

#word {
    color: var(--b2b-orange);
    font-weight: 950;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 4px;
    background: var(--b2b-orange);
    vertical-align: -2px;
    animation: dashboardBlink 0.85s infinite;
}

@keyframes dashboardBlink {
    50% {
        opacity: 0;
    }
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.stat-card {
    min-height: 132px;
    background: var(--b2b-white);
    border: 1px solid rgba(0, 174, 239, 0.13);
    border-radius: var(--radius-lg);
    padding: 22px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: var(--b2b-shadow-sm);
    transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}

.stat-card:hover {
    transform: translateY(-7px);
    border-color: rgba(241, 90, 41, 0.24);
    box-shadow: var(--b2b-shadow-md);
}

.stat-number {
    color: var(--b2b-text);
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1;
    font-weight: 950;
}

.stat-label {
    margin-top: 10px;
    color: var(--b2b-muted);
    font-size: 13px;
    font-weight: 800;
}

.dashboard-right-image {
    min-height: 560px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.dashboard-right-image img {
    width: 110%;
    max-width: 110%;
    height: 100%;

    object-fit: contain;

    filter: drop-shadow(0 25px 40px rgba(0, 81, 128, 0.14));

    /* 4 SIDE FADE */
    -webkit-mask-image:
        linear-gradient(to top,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 8%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0.25) 92%,
            transparent 100%),

        linear-gradient(to right,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 8%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0.25) 92%,
            transparent 100%);

    -webkit-mask-composite: intersect;

    mask-image:
        linear-gradient(to top,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 8%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0.25) 92%,
            transparent 100%),

        linear-gradient(to right,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 8%,
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0.25) 92%,
            transparent 100%);

    mask-composite: intersect;
}

/* =========================
   LEARNING SECTION
========================= */

.learning-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 28px;
    align-items: start;
}

/* MAIN PANELS */
.course-progress-panel,
.user-level-panel {
    position: relative;
    overflow: hidden;

    border-radius: var(--radius-lg);
    padding: clamp(20px, 2.4vw, 28px);

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(0, 174, 239, 0.12);

    box-shadow: var(--b2b-shadow-sm);
}

/* HEAD */
.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 26px;
}

.panel-head h2 {
    font-size: 22px;
    letter-spacing: -0.4px;
}

/* =========================
   COURSE CONTENT WRAP
========================= */

.course-content-wrap {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);

    gap: 30px;

    align-items: start;
}

/* LEFT SIDE */
.course-content-wrap .cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;

    min-width: 0;
}

/* RIGHT SIDE */
.course-right-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;

    min-width: 0;
}

.course-right-panel .userStats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;

    width: 100%;
}

/* =========================
   GENERIC CARDS
========================= */

.course-progress-panel .card,
.course-progress-panel .image-card,
.userStats>div {
    min-width: 0;

    background: var(--b2b-white);

    border: 1px solid rgba(0, 174, 239, 0.14);

    border-radius: 24px;

    overflow: hidden;

    box-shadow: var(--b2b-shadow-sm);

    transition:
        transform var(--speed),
        box-shadow var(--speed),
        border-color var(--speed);
}

.course-progress-panel .card:hover,
.course-progress-panel .image-card:hover,
.userStats>div:hover {
    transform: translateY(-5px);

    border-color: rgba(241, 90, 41, 0.22);

    box-shadow: var(--b2b-shadow-md);
}

/* =========================
   IMAGE CARD HEADER
========================= */

.image-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    min-width: 0;

    padding: 18px 20px;

    background: linear-gradient(135deg, #fff, #f5fbff);
}

.image-card-header h3 {
    max-width: 76%;

    margin: 0;

    color: var(--b2b-text);

    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-card-header-stars {
    flex: 0 0 auto;

    color: #d0d5dd;

    font-size: 19px;

    letter-spacing: 1px;

    white-space: nowrap;
}

/* =========================
   COURSE CARD IMAGE
========================= */

.course-progress-panel .image-card img {
    width: 100%;
    height: 228px;

    object-fit: cover;

    background: var(--b2b-blue-soft);
}

.course-progress-panel .image-card p {
    margin: 0;

    padding: 18px 20px 4px;

    color: var(--b2b-muted);

    font-size: 14px;
    line-height: 1.75;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* =========================
   COURSE PROGRESS
========================= */

.course-progress {
    padding: 8px 20px 20px !important;
}

.progress-group {
    margin-top: 14px;
}

.progress-label {
    display: flex;
    justify-content: space-between;

    margin-bottom: 8px;

    color: var(--b2b-text);

    font-size: 13px;
    font-weight: 850;
}

.progress-bar {
    width: 100%;
    height: 11px;

    background: #eef7fc;

    border-radius: 999px;

    overflow: hidden;

    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.progress-fill,
.progress-fill-grace,
.progress-fill-paid-grace {
    height: 100%;
    max-width: 100%;

    border-radius: 999px;

    background: linear-gradient(90deg, var(--b2b-orange), #ff7848);

    transition: width 450ms ease;
}

.progress-fill-grace {
    background: linear-gradient(90deg, #ff9f1c, var(--b2b-orange));
}

.progress-fill-paid-grace {
    background: linear-gradient(90deg, #c68a00, #f7b731);
}

/* =========================
   CTA BUTTON
========================= */

.course-btn-container {
    display: flex;
    gap: 10px;

    padding: 0 20px 20px;
}

.btnDashboardType1,
.event-btn,
.event-details-btn {
    width: 100%;

    border: 0;
    outline: 0;

    background: linear-gradient(135deg,
            var(--b2b-orange),
            #ff7445);

    color: #fff;

    padding: 13px 18px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 12px 26px rgba(241, 90, 41, 0.18);

    transition:
        transform var(--speed),
        box-shadow var(--speed),
        background var(--speed);
}

.btnDashboardType1:hover,
.event-btn:hover,
.event-details-btn:hover {
    transform: translateY(-2px);

    background: linear-gradient(135deg,
            var(--b2b-orange-dark),
            var(--b2b-orange));

    box-shadow: 0 16px 30px rgba(241, 90, 41, 0.24);
}

/* =========================
   USER LEVEL
========================= */

.courseStat {
    position: relative;

    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 18px 22px;

    background:
        radial-gradient(circle at 16% 18%,
            rgba(0, 174, 239, 0.10),
            transparent 28%),
        linear-gradient(135deg, #ffffff, #f5fbff);

    color: var(--b2b-text);
}

.courseStat>div:first-child {
    display: grid;
    gap: 8px;

    text-align: center;

    min-width: 0;
}

.statLevels {
    color: #d0d5dd;

    font-size: 28px;

    line-height: 1;
}

.statCourseName {
    max-width: 280px;

    margin: 0 auto;

    color: var(--b2b-text);

    font-size: 15px;
    font-weight: 900;

    line-height: 1.4;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.statLevelDesc {
    position: absolute;

    top: 14px;
    right: 14px;

    background: var(--b2b-orange);

    color: #fff;

    border-radius: 999px;

    padding: 7px 12px;

    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.courseStatPending {
    background: linear-gradient(90deg,
            var(--b2b-orange),
            #ff7445);

    color: #fff;

    text-align: center;

    border: 0;

    padding: 13px 14px;

    font-size: 13px;
    font-weight: 800;
}

.courseStatPending a {
    color: #fff;

    font-weight: 950;

    text-decoration: underline;
}

/* =========================
   SIDE IMAGE
========================= */

.course-side-image {
    width: 100%;

    min-height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 26px;
}

.course-side-image img {
    width: 100%;
    max-width: 520px;

    height: auto;

    object-fit: contain;

    display: block;

    filter: drop-shadow(0 18px 35px rgba(0, 81, 128, 0.12));

    opacity: 0.96;

    -webkit-mask-image:
        radial-gradient(ellipse at center,
            rgba(0, 0, 0, 1) 52%,
            rgba(0, 0, 0, 0.78) 70%,
            rgba(0, 0, 0, 0.25) 88%,
            transparent 100%);

    mask-image:
        radial-gradient(ellipse at center,
            rgba(0, 0, 0, 1) 52%,
            rgba(0, 0, 0, 0.78) 70%,
            rgba(0, 0, 0, 0.25) 88%,
            transparent 100%);
}

.learning-section .section-title {
    padding-bottom: 0 !important;
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .learning-grid,
    .course-content-wrap {
        grid-template-columns: 1fr;
    }

    .course-side-image {
        min-height: auto;
    }

    .course-side-image img {
        max-width: 420px;
    }
}

@media (max-width: 576px) {

    .course-content-wrap {
        gap: 20px;
    }

    .course-side-image {
        min-height: 220px;
    }

    .courseStat {
        min-height: 160px;
    }
}

/* =========================
   EVENTS - PREMIUM REDESIGN
========================= */

.dashboard-event-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(0, 174, 239, .12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7fcff 100%);
}

.event-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 30px;
    gap: 24px;
    margin-bottom: 34px;
}

.view-all-events {
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--b2b-blue-dark);
    background: var(--b2b-blue-soft);
    font-weight: 900;
    border: 1px solid rgba(0, 174, 239, .22);
    transition: .25s ease;
}

.view-all-events:hover {
    color: #fff;
    background: var(--b2b-blue);
    transform: translateY(-2px);
}

.event-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.event-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(0, 174, 239, .16);
    box-shadow: 0 14px 35px rgba(0, 81, 128, .09);
    transition: .28s ease;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(0, 81, 128, .16);
    border-color: rgba(241, 90, 41, .26);
}


.event-image {
    position: relative;
    height: 240px;
    padding: 0;
    overflow: hidden;
    background: #eef8ff;
    border-bottom: 1px solid rgba(0, 174, 239, .08);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    padding: 0;
    background: #eef8ff;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.event-card:hover .event-image img {
    transform: scale(1.03);
}

.event-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    max-width: 100%;

    margin: 0 0 14px;

    padding: 7px 14px;

    border-radius: 999px;

    background: #ffffff;

    color: var(--b2b-orange);

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    border: 1px solid rgba(241, 90, 41, 0.14);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    position: relative;
    z-index: 2;
}

.event-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.event-body h3 {
    margin: 0 0 14px;
    color: var(--b2b-text);
    font-size: 21px;
    line-height: 1.35;
    font-weight: 900;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: grid;
    gap: 9px;
    margin-bottom: 16px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475467;
    font-size: 14px;
    font-weight: 700;
}

.event-meta span:first-child::before {
    content: "📅";
}

.event-meta span:last-child::before {
    content: "⏱";
}

.event-body p {
    margin: 0 0 20px;
    color: var(--b2b-muted);
    font-size: 14px;
    line-height: 1.7;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 13px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--b2b-orange), #ff7445);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(241, 90, 41, .18);
    transition: .25s ease;
}

.event-details-link:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(241, 90, 41, .26);
}

.events-empty {
    grid-column: 1 / -1;
    padding: 42px 24px;
    text-align: center;
    border-radius: 24px;
    background: #fff;
    border: 1px dashed rgba(0, 174, 239, .35);
}

.events-empty h3 {
    margin: 0 0 8px;
    color: var(--b2b-text);
    font-weight: 900;
}

.events-empty p {
    margin: 0;
    color: var(--b2b-muted);
}

@media (max-width: 768px) {
    .event-section-head {
        flex-direction: column;
    }

    .view-all-events {
        margin-left: 0;
    }

    .event-container {
        grid-template-columns: 1fr;
    }

    .event-image {
        height: 190px;
    }
}

.event-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .55);
}

.event-modal.is-open {
    display: flex;
}

.event-modal-box {
    position: relative;
    width: min(720px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 28px;
    background: #fff;
}

.event-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff0ea;
    color: var(--b2b-orange);
    font-size: 24px;
    font-weight: 900;
}

.event-modal-location {
    color: var(--b2b-orange);
    font-weight: 900;
}

.event-modal-title {
    margin: 12px 0;
    color: var(--b2b-text);
}

.event-modal-meta {
    margin-bottom: 18px;
    color: var(--b2b-muted);
    font-weight: 700;
}

.event-modal-details {
    color: #344054;
    line-height: 1.8;
}

.event-modal-details ul {
    padding-left: 20px;
    margin: 14px 0;
}

.event-modal-details li {
    margin-bottom: 8px;
    color: #344054;
    line-height: 1.7;
}

.event-modal-details h1,
.event-modal-details h2,
.event-modal-details h3,
.event-modal-details h4 {
    color: var(--b2b-text);
    margin-bottom: 14px;
}

.event-modal-details * {
    max-width: 100% !important;
}

.event-modal-details section,
.event-modal-details div {
    width: 100% !important;
    max-width: 100% !important;
}

.event-modal-details img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px;
}

.event-modal-box {
    width: min(900px, 95%);
}

.event-modal-details {
    margin-top: 20px;
    color: #344054;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.event-modal-details ul {
    padding-left: 22px;
}

.event-modal-details li {
    margin-bottom: 10px;
}

.event-modal-details h1,
.event-modal-details h2,
.event-modal-details h3 {
    color: var(--b2b-text);
    margin-bottom: 16px;
}

.event-modal-image {
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 24px;
    background:
        linear-gradient(135deg, #f7fbff 0%, #eef8ff 100%);

    display: flex;
    align-items: center;
    justify-content: center;
}

.event-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-modal-box {
    width: min(950px, 95%);
}

.event-body p {
    max-height: 48px;
    overflow: hidden;
}

.dashboard-event-section .section-title::after {
    display: none !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #eef7fc;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--b2b-blue), var(--b2b-orange));
    border-radius: 999px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
    .dashboard-hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        min-height: auto;
    }

    .dashboard-right-image {
        min-height: 360px;
        max-height: 420px;
    }

    .dashboard-right-image img {
        max-width: 560px;
    }

    .learning-grid {
        grid-template-columns: 1fr;
    }

    .event-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .course-content-wrap {
        grid-template-columns: 1fr;
    }

    .course-right-panel {
        width: 100%;
    }

    .course-right-panel .userStats {
        grid-template-columns: 1fr;
    }

    .course-side-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .main {
        padding: 28px 14px 52px;
    }

    .hero-content,
    .learning-section,
    .dashboard-event-section {
        border-radius: 24px;
        padding: 24px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .stat-card {
        min-height: 104px;
    }

    .event-section-head,
    .panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title,
    .left-title {
        text-align: left;
    }

    .section-title::after,
    .left-title::after {
        margin-left: 0;
    }

    .course-progress-panel,
    .user-level-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .course-progress-panel .image-card img {
        height: 190px;
    }

    .dashboard-right-image {
        min-height: 280px;
        max-height: 320px;
    }

    .event-container {
        grid-template-columns: 1fr;
    }

    .event-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 22px 12px 42px;
    }

    .welcomeMessage {
        font-size: 29px;
        letter-spacing: -0.7px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .image-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .image-card-header h3 {
        max-width: 100%;
        font-size: 16px;
    }

    .course-btn-container {
        flex-direction: column;
    }

    .event-body {
        padding: 20px;
    }

    .event-body h3 {
        font-size: 18px;
    }

    .dashboard-right-image {
        min-height: 220px;
    }

    .event-image {
        height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}