
/* ===================== GLOBAL FONT ===================== */
html, body,
input, button, textarea, select,
a, p, span, li, label, div,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Google Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.rbt-lesson-leftsidebar .rbt-title-style-3, .rbt-lesson-leftsidebar .lesson-search-wrapper {
    padding: 10px 15px 18px 15px;
}



.rbt-lesson-leftsidebar .rbt-title-style-3 {
    padding-left: 20px;
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: none;
    margin-bottom: 0px;
    font-size: 16px;
    font-weight: 600;
}



.rbt-lesson-leftsidebar .learning-lessons-block {
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.rbt-lesson-leftsidebar .learning-lessons-heading {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #d7e1f5;
}

.rbt-lesson-leftsidebar .learning-lessons-toggle {
    padding: 12px 24px;
    align-items: center;
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #070b16;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.rbt-lesson-leftsidebar .learning-lessons-toggle::after {
    width: auto;
    height: auto;
    margin-left: 12px;
    background-image: none;
    color: #635bff;
    content: "-";
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transform: none;
}

.rbt-lesson-leftsidebar .learning-lessons-toggle.collapsed::after {
    content: "+";
}

.rbt-lesson-leftsidebar .learning-lessons-toggle > div {
    min-width: 0;
    gap: 12px;
}

.rbt-lesson-leftsidebar .learning-lessons-toggle > div > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rbt-lesson-leftsidebar .learning-lessons-progress {
/*    min-width: 46px;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);*/
    color: #172033;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center;
    line-height: 1.2;
}

.rbt-lesson-leftsidebar .learning-lessons-body {

    background: #f4f7ff;
}

.rbt-lesson-leftsidebar .learning-sections-accordion {
    padding: 0;
}

.rbt-lesson-leftsidebar .learning-section {
    background: transparent;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.rbt-lesson-leftsidebar .learning-section-heading {
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
    border: 0;
}

.rbt-lesson-leftsidebar .learning-section-toggle {
    padding: 0;
    background: transparent !important;
    border: 0;
    box-shadow: none;
    color: #07111f;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.rbt-lesson-leftsidebar .learning-section-toggle::after {
    display: none;
}

.rbt-lesson-leftsidebar .learning-section-toggle > div {
    min-width: 0;
}

.rbt-lesson-leftsidebar .learning-section-toggle span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rbt-lesson-leftsidebar .learning-section-toggle i {
    display: none;
}

.rbt-lesson-leftsidebar .learning-section-progress {
    display: none;
}

.rbt-lesson-leftsidebar .learning-section-body {
    padding: 0;
    background: transparent;
}

.rbt-lesson-leftsidebar .learning-lecture-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.rbt-lesson-leftsidebar .learning-lecture-item {
    margin: 0;
    list-style: none;
}

.rbt-lesson-leftsidebar .learning-lecture-link {
    min-height: 60px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid #d9dde8;
    border-radius: 8px;
    background: #fff;
    color: #151922;
    box-shadow: 0 3px 9px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.rbt-lesson-leftsidebar .learning-lecture-link:hover,
.rbt-lesson-leftsidebar .learning-lecture-link:focus {
    border-color: #5b63ff;
    color: #2f37ef;
    box-shadow: 0 5px 14px rgba(47, 55, 239, 0.18);
    transform: translateY(-1px);
}

.rbt-lesson-leftsidebar .learning-lecture-link.active {
    border-color: #2f37ef;
    color: #2f37ef;
    box-shadow: 0 0 0 1px rgba(47, 55, 239, 0.1), 0 5px 14px rgba(47, 55, 239, 0.2);
}

#sectionCourseContent li > a {
    transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

#sectionCourseContent li > a.active {
    color: #2f37ef;
}

#sectionCourseContent li.is-switching > a {
    animation: learningSidebarSelect 360ms ease;
}

.rbt-lesson-leftsidebar .learning-section-collapse.show .learning-lecture-item {
    animation: learningLectureListIn 260ms ease both;
}

.rbt-lesson-leftsidebar .learning-section-collapse.show .learning-lecture-item:nth-child(2) {
    animation-delay: 25ms;
}

.rbt-lesson-leftsidebar .learning-section-collapse.show .learning-lecture-item:nth-child(3) {
    animation-delay: 50ms;
}

.rbt-lesson-leftsidebar .learning-section-collapse.show .learning-lecture-item:nth-child(4) {
    animation-delay: 75ms;
}

.rbt-lesson-leftsidebar .learning-section-collapse.show .learning-lecture-item:nth-child(n+5) {
    animation-delay: 100ms;
}

@keyframes learningSidebarSelect {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(0.985);
        box-shadow: 0 0 0 3px rgba(47, 55, 239, 0.12);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes learningLectureListIn {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rbt-lesson-leftsidebar .learning-lecture-left {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

.rbt-lesson-leftsidebar .learning-lecture-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

.rbt-lesson-leftsidebar .learning-lecture-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    color: currentColor;
    font-size: 22px;
}

.rbt-lesson-leftsidebar .learning-lecture-right {
    flex: 0 0 auto;
    gap: 8px;
}

.rbt-lesson-leftsidebar .learning-lecture-time {
    padding: 3px 7px;
    border-radius: 5px;
    background: #eff3ff;
    color: #5a6478;
    font-size: 12px;
    line-height: 1;
}

.rbt-lesson-leftsidebar .learning-lecture-status,
.rbt-lesson-leftsidebar .learning-lecture-status .rbt-check,
.rbt-lesson-leftsidebar .learning-lecture-status .course-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

#sectionMain {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#sectionMain .inner {
    position: relative;
    transition: opacity 180ms ease, transform 220ms ease, filter 220ms ease;
    will-change: opacity, transform;
}

.learning-logo-transition {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.985);
    transition: opacity 180ms ease, transform 220ms ease;
}

.learning-logo-transition.is-visible {
    opacity: 1;
    transform: scale(1);
}

.learning-logo-transition.is-leaving {
    opacity: 0;
    transform: scale(1.015);
}

.learning-logo-transition__panel {
    min-width: 220px;
    max-width: min(360px, calc(100vw - 48px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border: 1px solid rgba(47, 55, 239, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.learning-logo-transition__logo {
    width: min(230px, 58vw);
    height: auto;
    display: block;
    animation: learningLogoPulse 1000ms ease both;
}

.learning-logo-transition__bar {
    width: 180px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7f4;
}

.learning-logo-transition__bar span {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f37ef, #ff8a00);
    transform-origin: left center;
    animation: learningLogoProgress 1000ms ease forwards;
}

@keyframes learningLogoPulse {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
    35% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    70% {
        transform: translateY(0) scale(1.025);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes learningLogoProgress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

#sectionMain .inner.learning-content-exit {
    opacity: 0.18;
    filter: blur(1px);
}

#sectionMain .inner.learning-content-exit-forward {
    transform: translateX(-16px);
}

#sectionMain .inner.learning-content-exit-back {
    transform: translateX(16px);
}

#sectionMain .inner.learning-content-enter {
    opacity: 0;
    filter: blur(1px);
}

#sectionMain .inner.learning-content-enter-forward {
    transform: translateX(18px);
}

#sectionMain .inner.learning-content-enter-back {
    transform: translateX(-18px);
}

#sectionMain .inner.learning-content-enter.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

#sectionMain .rbt-lesson-content-wrapper {
    height: calc(100vh - 45px) !important;
    min-height: 0 !important;
}

#sectionMain .rbt-lesson-leftsidebar {
    flex: 0 0 400px;
    width: 400px;
    max-width: 400px;
    opacity: 1;
    transform: translateX(0);
    transition:
        flex-basis 280ms ease,
        width 280ms ease,
        max-width 280ms ease,
        opacity 220ms ease,
        transform 280ms ease,
        border-color 220ms ease;
    will-change: flex-basis, width, max-width, opacity, transform;
}

#sectionMain .rbt-lesson-leftsidebar.sibebar-none {
    display: block !important;
    flex-basis: 0 !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    opacity: 0;
    transform: translateX(-18px);
    border-right-color: transparent !important;
    pointer-events: none;
}

#sectionMain .rbt-lesson-leftsidebar.sibebar-none .rbt-course-feature-inner {
    min-width: 400px;
}

#sectionMain .learning-top-nav {
    width: 100%;
    flex: 0 0 auto;
    min-height: 45px;
    padding: 6px 24px;
    background: #fff !important;
    border-bottom: 1px solid #d9d9de;
    color: #171821;
    box-shadow: none;
}

#sectionMain .learning-top-left,
#sectionMain .learning-top-actions {
    display: flex !important;
    align-items: center;
}

#sectionMain .learning-top-left {
    min-width: 0;
    gap: 10px;
}

#sectionMain .learning-top-actions {
    gap: 12px;
}

#sectionMain .learning-top-back {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

#sectionMain .learning-top-back-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #222631;
    font-size: 20px;
    transition: background-color 160ms ease, color 160ms ease;
}

#sectionMain .learning-top-back-link:hover,
#sectionMain .learning-top-back-link:focus {
    background: #f2f3f7;
    color: #13005a;
}

#sectionMain .learning-top-title {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #171821 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sectionMain .learning-sidebar-toggle {
    margin: 0 !important;
    flex: 0 0 auto;
}

#sectionMain .learning-sidebar-toggle .lesson-toggle-active {
    background:white;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #606576;
    font-size: 17px;
    transition: background-color 160ms ease, color 160ms ease, transform 220ms ease;
}

#sectionMain .learning-sidebar-toggle .lesson-toggle-active:hover,
#sectionMain .learning-sidebar-toggle .lesson-toggle-active:focus {
    background: #f2f3f7;
    color: #13005a;
}

#sectionMain .learning-sidebar-toggle .lesson-toggle-active.sidebar-hide {
    transform: rotate(180deg);
}

#sectionMain #btn-toggle-ai.learning-ai-button {
    width: 32px;
    height: 32px;
    padding: 0 !important;
    justify-content: center;
    border: 1px solid #e2e4ec !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #13005a !important;
}

#sectionMain #btn-toggle-ai.learning-ai-button .hide-on-mobile {
    display: none !important;
}

#sectionMain #btn-toggle-ai.learning-ai-button:hover,
#sectionMain #btn-toggle-ai.learning-ai-button:focus {
    background: #f5f6fb !important;
    transform: none !important;
}

#sectionMain .learning-progress-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#sectionMain .learning-progress-label {
    color: #3c3f4a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

#sectionMain .learning-progress-circle.progress-bar {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px;
}

#sectionMain .learning-progress-circle.progress-bar div {
    width: 28px !important;
    height: 28px !important;
}

#sectionMain .learning-progress-circle.progress-bar div span {
    width: 24px !important;
    height: 24px !important;
    left: 2px !important;
    top: 2px !important;
    background: #fff !important;
    color: #13005a !important;
    font-size: 9px !important;
    font-weight: 700;
    line-height: 24px !important;
}

#sectionMain .learning-progress-circle.progress-bar .background,
#sectionMain .learning-progress-circle.progress-bar .left {
    background-color: #e5e7f4 !important;
}

#sectionMain .learning-progress-circle.progress-bar .rotate,
#sectionMain .learning-progress-circle.progress-bar .right {
    background-color: #2f57ef !important;
}

#sectionMain .learning-progress-circle.progress-bar .rotate,
#sectionMain .learning-progress-circle.progress-bar .left,
#sectionMain .learning-progress-circle.progress-bar .right {
    clip: rect(0 14px 28px 0) !important;
}

#sectionMain #title-progress.learning-progress-text {
    width: 1px !important;
    height: 1px !important;
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

#sectionMain #btn-rating.learning-rating-button {
    height: 32px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #12005a !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 32px;
    white-space: nowrap;
}

#sectionMain #btn-rating.learning-rating-button:hover,
#sectionMain #btn-rating.learning-rating-button:focus {
    background: #22106d !important;
}

.lesson-video .plyr--video .plyr__control--overlaid {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: #8da14b;
    box-shadow:
        0 0 0 13px rgba(255, 255, 255, 0.28),
        0 0 0 28px rgba(255, 255, 255, 0.2),
        0 12px 28px rgba(0, 0, 0, 0.16);
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lesson-video .plyr--video .plyr__control--overlaid::before {
    content: "";
    position: absolute;
    inset: -13px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    pointer-events: none;
}

.lesson-video .plyr--video .plyr__control--overlaid svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

.lesson-video .plyr--video .plyr__control--overlaid:hover,
.lesson-video .plyr--video .plyr__control--overlaid:focus {
    background: rgba(255, 255, 255, 0.92);
    color: #7f9441;
    transform: translate(-50%, -50%) scale(1.03);
    box-shadow:
        0 0 0 13px rgba(255, 255, 255, 0.34),
        0 0 0 28px rgba(255, 255, 255, 0.24),
        0 14px 30px rgba(0, 0, 0, 0.18);
}

@media only screen and (max-width: 991px) {
    #sectionMain .rbt-lesson-leftsidebar {
        flex-basis: auto;
        width: 100%;
        max-width: 100%;
        max-height: 70vh;
        transition:
            max-height 280ms ease,
            opacity 220ms ease,
            transform 280ms ease;
    }

    #sectionMain .rbt-lesson-leftsidebar.sibebar-none {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 0 !important;
        transform: translateY(-12px);
    }

    #sectionMain .rbt-lesson-leftsidebar.sibebar-none .rbt-course-feature-inner {
        min-width: 0;
    }
}

@media only screen and (max-width: 575px) {
    #sectionMain .learning-top-nav {
        padding: 6px 12px;
        gap: 8px;
    }

    #sectionMain .learning-top-title {
        font-size: 13px;
    }

    #sectionMain .learning-sidebar-toggle {
        display: none;
    }

    #sectionMain .learning-top-actions {
        gap: 8px;
    }

    #sectionMain .learning-progress-label {
        display: none;
    }

    #sectionMain #btn-rating.learning-rating-button {
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .rbt-lesson-leftsidebar .learning-lessons-toggle {
        min-height: 52px;
        padding: 12px 18px;
        font-size: 18px;
    }

    .rbt-lesson-leftsidebar .learning-lessons-progress {
        min-width: 46px;
        font-size: 13px !important;
    }

    .rbt-lesson-leftsidebar .learning-lessons-body {
        padding: 22px 14px 16px !important;
    }

    .rbt-lesson-leftsidebar .learning-section-toggle {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #sectionMain .inner,
    #sectionCourseContent li > a,
    .rbt-lesson-leftsidebar .learning-lecture-link {
        transition: none !important;
    }

    #sectionMain .inner.learning-content-exit,
    #sectionMain .inner.learning-content-exit-forward,
    #sectionMain .inner.learning-content-exit-back,
    #sectionMain .inner.learning-content-enter,
    #sectionMain .inner.learning-content-enter-forward,
    #sectionMain .inner.learning-content-enter-back,
    #sectionMain .inner.learning-content-enter.is-visible {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    #sectionCourseContent li.is-switching > a,
    .rbt-lesson-leftsidebar .learning-section-collapse.show .learning-lecture-item,
    .learning-logo-transition__logo,
    .learning-logo-transition__bar span {
        animation: none !important;
    }

    .learning-logo-transition,
    .learning-logo-transition.is-visible,
    .learning-logo-transition.is-leaving {
        transform: none !important;
    }

    .learning-logo-transition__bar span {
        transform: scaleX(1) !important;
    }
}
