:root {
    --ink: #141820;
    --paper: #f3f5f8;
    --card: #ffffff;
    --line: #d7deea;
    --cobalt: #1a4fd8;
    --cobalt-deep: #1239a8;
    --wash: #e8eefc;
    --muted: #3d4a63;
}

::selection {
    background: #c9d7fb;
    color: var(--ink);
}

body.home-page,
body.student-surface,
body.catalog-surface {
    background: var(--paper);
    color: var(--ink);
}

body.home-page a:focus-visible,
body.student-surface a:focus-visible,
body.catalog-surface a:focus-visible,
body.home-page button:focus-visible,
body.student-surface button:focus-visible {
    outline: 2px solid var(--cobalt);
    outline-offset: 3px;
}

body.home-page .home-float-item {
    background: var(--cobalt) !important;
    opacity: 0.14;
    border-radius: 999px !important;
}

body.home-page .banner-wraper,
body.home-page .hero-spotlight-card {
    position: relative;
}

body.home-page .eBtn,
body.student-surface .eBtn,
body.catalog-surface .eBtn {
    background: var(--cobalt);
    border: 0;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(26, 79, 216, 0.22);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

body.home-page .eBtn:hover,
body.student-surface .eBtn:hover,
body.catalog-surface .eBtn:hover,
body.home-page .eBtn:focus,
body.student-surface .eBtn:focus {
    background: var(--cobalt-deep);
    color: #fff;
    transform: translateY(-1px);
}

body.home-page .Ecard,
body.student-surface .Ecard,
body.catalog-surface .Ecard,
body.catalog-surface .course-details {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(20, 24, 32, 0.06);
}

body.home-page .g-title,
body.student-surface .g-title,
body.catalog-surface .g-title {
    color: var(--ink);
    letter-spacing: -0.03em;
}

body.student-surface .my-course-content {
    background: var(--paper);
    padding-bottom: 64px;
}

body.student-surface .profile-banner-area {
    position: relative;
    z-index: 0;
    height: 120px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.14), transparent 42%),
        linear-gradient(120deg, #1239a8, #1a4fd8 55%, #3d6ef0);
}

body.student-surface .profile-banner-area::after {
    content: none;
}

body.student-surface .profile-banner-area-container {
    position: relative;
    z-index: 1;
    margin-top: -64px;
}

body.student-surface .profile-banner-area-container > .row > .col-lg-9 {
    padding-top: 84px;
}

body.student-surface .student-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 28px;
}

body.student-surface .student-page-head p {
    max-width: 62ch;
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

body.student-surface .gradient-border {
    background: transparent;
    padding: 0;
    border-radius: 16px;
}

body.student-surface .course-sideBar {
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(20, 24, 32, 0.06);
    padding: 22px 18px;
}

body.student-surface .course-sideBar .name {
    color: var(--ink);
    letter-spacing: -0.03em;
}

body.student-surface .course-sideBar .email {
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
}

body.student-surface .couses-tab-list li {
    border-bottom: 0;
    margin-bottom: 4px;
    padding-bottom: 0;
}

body.student-surface .couses-tab-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--ink);
}

body.student-surface .couses-tab-list li.active a,
body.student-surface .couses-tab-list a:hover {
    background: var(--wash);
    color: var(--cobalt-deep);
}

body.student-surface .c-card .card-body {
    padding: 16px 16px 18px;
}

body.student-surface .c-card .entry-title h3 {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.03em;
    min-height: 2.7em;
}

body.student-surface .single-progress h5,
body.student-surface .single-progress p {
    font-size: 13px;
    color: var(--muted);
}

body.student-surface .progress {
    height: 6px;
    background: #e6ebf4;
    border-radius: 999px;
}

body.student-surface .progress-bar {
    background: var(--cobalt);
    border-radius: 999px;
}

body.catalog-surface .breadcum-area {
    background: var(--paper);
}

body.catalog-surface .lesson-list.course_list li a {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 6px;
    background: #f7f9fc;
}

body.catalog-surface .lesson-list.course_list li a:hover {
    border-color: #c5d4f7;
    background: var(--wash);
}

body.catalog-surface .lesson-list.course_list li.is-preview a {
    background: #eef6f1;
}

body.catalog-surface .lesson-list.course_list li.is-locked a {
    background: #f4f6fa;
}

@media (max-width: 767px) {
    body.student-surface .student-page-head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.student-surface .profile-banner-area {
        height: 72px;
    }
}

@media (max-width: 991px) {
    body.student-surface .profile-banner-area-container {
        margin-top: -40px;
    }

    body.student-surface .profile-banner-area-container > .row > .col-lg-9 {
        padding-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-page .eBtn,
    body.student-surface .eBtn {
        transition: none;
    }
}
