:root {
        --dashboard-primary: #0f5f8f;
        --dashboard-primary-dark: #08496f;
        --dashboard-secondary: #ed3e4f;
        --dashboard-green: #67b55b;
        --dashboard-orange: #f39c3d;
        --dashboard-purple: #7559a8;
        --dashboard-background: #f5f7fb;
        --dashboard-border: #e8edf3;
        --dashboard-text: #263238;
        --dashboard-muted: #75808b;
    }

    .learner-dashboard {
        background: var(--dashboard-background);
        min-height: 100vh;
        padding: 130px 0 70px;
    }

    .dashboard-heading {
        margin-bottom: 28px;
    }

    .dashboard-heading h1 {
        color: var(--dashboard-text);
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 7px;
    }

    .dashboard-heading p {
        color: var(--dashboard-muted);
        font-size: 16px;
        margin-bottom: 0;
    }

    .dashboard-welcome {
        position: relative;
        overflow: hidden;
        min-height: 280px;
        border-radius: 22px;
        padding: 45px;
        margin-bottom: 28px;
        background:
            linear-gradient(
                110deg,
                rgba(8, 73, 111, 0.98) 0%,
                rgba(15, 95, 143, 0.94) 58%,
                rgba(35, 133, 177, 0.86) 100%
            );
        box-shadow: 0 18px 45px rgba(22, 69, 94, 0.14);
    }

    .dashboard-welcome::before {
        content: "";
        position: absolute;
        width: 290px;
        height: 290px;
        border-radius: 50%;
        right: -70px;
        bottom: -135px;
        background: rgba(255, 255, 255, 0.09);
    }

    .dashboard-welcome::after {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        right: 150px;
        top: -85px;
        background: rgba(255, 255, 255, 0.08);
    }

    .welcome-content {
        position: relative;
        z-index: 2;
        max-width: 680px;
    }

    .welcome-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        padding: 8px 15px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .dashboard-welcome h2 {
        color: #fff;
        font-size: 38px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .dashboard-welcome p {
        color: rgba(255, 255, 255, 0.87);
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 25px;
        max-width: 620px;
    }

    .welcome-actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .welcome-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 46px;
        padding: 11px 22px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .welcome-btn-primary {
        color: var(--dashboard-primary);
        background: #fff;
        border: 1px solid #fff;
    }

    .welcome-btn-primary:hover {
        color: var(--dashboard-primary-dark);
        background: #f3f8fb;
        transform: translateY(-2px);
    }

    .welcome-btn-outline {
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.55);
        background: rgba(255, 255, 255, 0.06);
    }

    .welcome-btn-outline:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
    }

    .dashboard-summary-card {
        height: 100%;
        background: #fff;
        border: 1px solid var(--dashboard-border);
        border-radius: 17px;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(26, 54, 75, 0.05);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .dashboard-summary-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 38px rgba(26, 54, 75, 0.09);
    }

    .summary-card-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 15px;
    }

    .summary-label {
        color: var(--dashboard-muted);
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        margin-bottom: 12px;
    }

    .summary-value {
        color: var(--dashboard-text);
        font-size: 34px;
        line-height: 1;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .summary-description {
        color: var(--dashboard-muted);
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .summary-icon {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        font-size: 22px;
    }

    .summary-icon.blue {
        background: rgba(15, 95, 143, 0.11);
        color: var(--dashboard-primary);
    }

    .summary-icon.green {
        background: rgba(103, 181, 91, 0.12);
        color: var(--dashboard-green);
    }

    .summary-icon.orange {
        background: rgba(243, 156, 61, 0.13);
        color: var(--dashboard-orange);
    }

    .summary-icon.purple {
        background: rgba(117, 89, 168, 0.12);
        color: var(--dashboard-purple);
    }

    .section-card {
        background: #fff;
        border: 1px solid var(--dashboard-border);
        border-radius: 19px;
        padding: 28px;
        box-shadow: 0 10px 30px rgba(26, 54, 75, 0.05);
    }

    .dashboard-section-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 22px;
    }

    .dashboard-section-heading h3 {
        color: var(--dashboard-text);
        font-size: 21px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .dashboard-section-heading p {
        color: var(--dashboard-muted);
        font-size: 14px;
        margin-bottom: 0;
    }

    .dashboard-section-link {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--dashboard-primary);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

    .dashboard-section-link:hover {
        color: var(--dashboard-primary-dark);
    }

    .dashboard-action-card {
        position: relative;
        display: block;
        height: 100%;
        min-height: 205px;
        overflow: hidden;
        padding: 26px;
        border: 1px solid var(--dashboard-border);
        border-radius: 16px;
        background: #fff;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .dashboard-action-card:hover {
        transform: translateY(-5px);
        border-color: rgba(15, 95, 143, 0.25);
        box-shadow: 0 16px 35px rgba(26, 54, 75, 0.09);
    }

    .action-card-icon {
        width: 54px;
        height: 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        margin-bottom: 21px;
        font-size: 23px;
    }

    .dashboard-action-card h4 {
        color: var(--dashboard-text);
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 9px;
    }

    .dashboard-action-card p {
        color: var(--dashboard-muted);
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .action-arrow {
        position: absolute;
        right: 24px;
        bottom: 22px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--dashboard-primary);
        font-size: 13px;
        font-weight: 600;
    }

    .course-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .course-list-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 17px;
        border: 1px solid var(--dashboard-border);
        border-radius: 14px;
        transition: all 0.2s ease;
    }

    .course-list-item:hover {
        border-color: rgba(15, 95, 143, 0.22);
        background: #fbfdff;
    }

    .course-date {
        flex: 0 0 67px;
        width: 67px;
        overflow: hidden;
        border-radius: 11px;
        text-align: center;
        border: 1px solid #e3eaf0;
        background: #fff;
    }

    .course-date-month {
        display: block;
        background: var(--dashboard-primary);
        color: #fff;
        padding: 5px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .course-date-day {
        display: block;
        color: var(--dashboard-text);
        padding: 8px 5px;
        font-size: 22px;
        font-weight: 700;
        line-height: 1;
    }

    .course-information {
        flex: 1;
        min-width: 0;
    }

    .course-information h5 {
        color: var(--dashboard-text);
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .course-information p {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 13px;
        color: var(--dashboard-muted);
        font-size: 12px;
        margin-bottom: 0;
    }

    .course-information p span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .course-status {
        padding: 6px 11px;
        border-radius: 30px;
        background: rgba(103, 181, 91, 0.12);
        color: #408d36;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

    .dashboard-empty-state {
        padding: 38px 20px;
        text-align: center;
        border: 1px dashed #d5dfe7;
        border-radius: 15px;
        background: #fbfcfd;
    }

    .dashboard-empty-state .empty-icon {
        width: 65px;
        height: 65px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
        border-radius: 50%;
        background: rgba(15, 95, 143, 0.1);
        color: var(--dashboard-primary);
        font-size: 27px;
    }

    .dashboard-empty-state h4 {
        color: var(--dashboard-text);
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .dashboard-empty-state p {
        color: var(--dashboard-muted);
        font-size: 14px;
        margin-bottom: 18px;
    }

    .dashboard-small-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 41px;
        padding: 9px 18px;
        border-radius: 9px;
        color: #fff;
        background: var(--dashboard-primary);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

    .dashboard-small-btn:hover {
        color: #fff;
        background: var(--dashboard-primary-dark);
    }

    .support-card {
        position: relative;
        overflow: hidden;
        height: 100%;
        padding: 29px;
        border-radius: 19px;
        background: linear-gradient(
            140deg,
            var(--dashboard-secondary),
            #c92f43
        );
        color: #fff;
        box-shadow: 0 12px 35px rgba(237, 62, 79, 0.14);
    }

    .support-card::after {
        content: "";
        position: absolute;
        width: 160px;
        height: 160px;
        right: -70px;
        bottom: -80px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }

    .support-card-content {
        position: relative;
        z-index: 2;
    }

    .support-card-icon {
        width: 54px;
        height: 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.15);
        font-size: 24px;
    }

    .support-card h3 {
        color: #fff;
        font-size: 21px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .support-card p {
        color: rgba(255, 255, 255, 0.84);
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 21px;
    }

    .support-card a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--dashboard-secondary);
        background: #fff;
        padding: 10px 17px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    @media (max-width: 991px) {
        .learner-dashboard {
            padding-top: 110px;
        }

        .dashboard-welcome {
            padding: 36px 30px;
        }

        .dashboard-welcome h2 {
            font-size: 31px;
        }
    }

    @media (max-width: 767px) {
        .learner-dashboard {
            padding: 95px 0 45px;
        }

        .dashboard-heading h1 {
            font-size: 28px;
        }

        .dashboard-welcome {
            min-height: auto;
            padding: 30px 23px;
            border-radius: 16px;
        }

        .dashboard-welcome h2 {
            font-size: 27px;
        }

        .section-card {
            padding: 22px 18px;
        }

        .course-list-item {
            align-items: flex-start;
        }

        .course-status {
            display: none;
        }
    }

    @media (max-width: 480px) {
        .welcome-actions {
            align-items: stretch;
            flex-direction: column;
        }

        .welcome-btn {
            width: 100%;
        }

        .course-date {
            flex-basis: 57px;
            width: 57px;
        }
    }



    /*
|--------------------------------------------------------------------------
| Dashboard online courses
|--------------------------------------------------------------------------
*/

.sh-online-course-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--dashboard-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 9px 28px rgba(26, 54, 75, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.sh-online-course-card:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 116, 188, 0.26);
    box-shadow: 0 17px 38px rgba(26, 54, 75, 0.1);
}

.sh-online-course-image-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #eaf1f6;
}

.sh-online-course-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.sh-online-course-card:hover .sh-online-course-image {
    transform: scale(1.04);
}

.sh-online-course-badge {
    position: absolute;
    left: 15px;
    bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 30px;
    background: rgba(8, 82, 133, 0.91);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.sh-online-course-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 190px);
    padding: 21px;
}

.sh-online-course-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
}

.sh-online-course-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
}

.sh-online-course-status-enrolled {
    background: rgba(12, 116, 188, 0.11);
    color: #0C74BC;
}

.sh-online-course-status-in_progress {
    background: rgba(243, 156, 61, 0.14);
    color: #bb6f13;
}

.sh-online-course-status-completed {
    background: rgba(83, 164, 71, 0.13);
    color: #43873a;
}

.sh-online-course-status-expired,
.sh-online-course-status-cancelled {
    background: rgba(117, 128, 139, 0.12);
    color: #68737d;
}

.sh-online-course-access {
    color: var(--dashboard-muted);
    font-size: 10px;
}

.sh-online-course-title {
    margin: 0 0 9px;
    color: var(--dashboard-text);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.sh-online-course-intro {
    margin: 0 0 17px;
    color: var(--dashboard-muted);
    font-size: 13px;
    line-height: 1.6;
}

.sh-online-course-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    color: var(--dashboard-muted);
    font-size: 11px;
}

.sh-online-course-progress-header strong {
    color: var(--dashboard-primary);
    font-size: 12px;
}

.sh-online-course-progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    margin-bottom: 17px;
    border-radius: 20px;
    background: #e8edf1;
}

.sh-online-course-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--dashboard-primary),
        #48a5d3
    );
    transition: width 0.4s ease;
}

.sh-online-course-meta {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--dashboard-muted);
    font-size: 11px;
}

.sh-online-course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sh-online-course-meta i {
    color: var(--dashboard-primary);
}

.sh-online-course-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #edf1f4;
}

.sh-online-course-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 9px;
    background: var(--dashboard-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
}

.sh-online-course-button:hover,
.sh-online-course-button:focus {
    background: var(--dashboard-primary-dark);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.sh-online-course-button-complete {
    background: var(--dashboard-green);
}

.sh-online-course-button-complete:hover,
.sh-online-course-button-complete:focus {
    background: #4b9841;
}

.sh-online-course-button-disabled {
    cursor: not-allowed;
    background: #a5afb7;
}

@media (max-width: 767px) {
    .sh-online-course-image-wrap {
        height: 210px;
    }

    .sh-online-course-body {
        height: auto;
    }
}