.bg-course{
    background-color: #f4f6f3;
    padding: 40px 0px;
}

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

.olp-wrap {
    --olp-green: #009144;
    --olp-green-light: #dcfce7;
    --olp-green-dark: #166534;
    --olp-green-mid: #4ade80;
    --olp-bg: #f4f6f3;
    --olp-surface: #ffffff;
    --olp-border: #e2e8e0;
    --olp-text: #1a1f1a;
    --olp-muted: #6b7c6b;
    --olp-hint: #9dac9d;
    --olp-radius: 12px;
    --olp-radius-sm: 8px;
    /* font-family: 'Be Vietnam Pro', sans-serif; */
    /* background: var(--olp-bg); */
    color: var(--olp-text);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ TOPBAR Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-topbar {
    background: var(--olp-surface);
    border-bottom: 1px solid var(--olp-border);
    padding: 0 32px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.olp-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--olp-green);
    letter-spacing: -0.3px;
}

.olp-logo__accent {
    color: var(--olp-text);
}

.olp-topbar__sep {
    width: 1px;
    height: 20px;
    background: var(--olp-border);
    margin: 0 4px;
}

.olp-topbar__course {
    font-size: 13px;
    color: var(--olp-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ BREADCRUMB Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-breadcrumb {
    padding: 14px 32px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--olp-hint);
}

.olp-breadcrumb a {
    color: var(--olp-muted);
    text-decoration: none;
}

.olp-breadcrumb a:hover {
    color: var(--olp-green);
}

.olp-breadcrumb__sep {
    font-size: 10px;
}

.olp-breadcrumb__current {
    color: var(--olp-text);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ LAYOUT GRID Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 0px 0px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ LESSON TITLE Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-lesson-title {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    padding: 15px 15px 20px 15px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ VIDEO PLAYER Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-video {
    background: #111820;
    border-radius: var(--olp-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.olp-video:hover .olp-video__play-btn {
    transform: scale(1.08);
}

.olp-video__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.olp-video__play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.olp-video__play-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.olp-video__play-icon {
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 22px solid white;
    margin-left: 5px;
}

.olp-video__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.olp-video__time {
    position: absolute;
    bottom: 36px;
    right: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.olp-video__bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.olp-video__bar-fill {
    height: 100%;
    width: 65%;
    background: var(--olp-green-mid);
    border-radius: 2px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ TABS Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-tabs {
    display: flex;
    border-bottom: 1px solid var(--olp-border);
    margin-top: 20px;
}

.olp-tabs__item {
    padding: 11px 0px;
    font-size: 13px;
    color: var(--olp-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
    user-select: none;
}

.olp-tabs__item:hover:not(.olp-tabs__item--active) {
    color: var(--olp-text);
}

.olp-tabs__item--active {
    color: var(--olp-green);
    border-bottom-color: var(--olp-green);
    font-weight: 500;
}

.olp-tab-panel {
    display: none;
    padding: 20px 0;
}

.olp-tab-panel--active {
    display: block;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ DESC TAB Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-tab-panel p {
    font-size: 14px;
    color: var(--olp-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.olp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.olp-info-card {
    background: #f8faf8;
    border: 1px solid var(--olp-border);
    border-radius: var(--olp-radius-sm);
    padding: 12px 14px;
}

.olp-info-card__label {
    font-size: 11px;
    color: var(--olp-hint);
    margin-bottom: 4px;
}

.olp-info-card__value {
    font-size: 14px;
    font-weight: 500;
    color: var(--olp-text);
}

.olp-tag-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.olp-tag {
    font-size: 12px;
    padding: 4px 12px;
    background: var(--olp-green-light);
    color: var(--olp-green-dark);
    border-radius: 20px;
    font-weight: 500;
}

.olp-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--olp-green);
    color: white;
    border: none;
    border-radius: var(--olp-radius-sm);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.olp-next-btn:hover {
    background: #15803d;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ DOCS TAB Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.olp-doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--olp-border);
    font-size: 13px;
    color: var(--olp-text);
}

.olp-doc-item:last-child {
    border-bottom: none;
}

.olp-doc-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--olp-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.olp-doc-item__name {
    font-weight: 500;
}

.olp-doc-item__meta {
    font-size: 11px;
    color: var(--olp-hint);
    margin-top: 2px;
}

.olp-doc-item__dl {
    margin-left: auto;
    font-size: 12px;
    color: var(--olp-green);
    text-decoration: none;
    font-weight: 500;
}

.olp-doc-item__dl:hover {
    text-decoration: underline;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ QA TAB Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-qa-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.olp-qa-form__input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--olp-border);
    border-radius: var(--olp-radius-sm);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border 0.15s;
    background: var(--olp-surface);
    color: var(--olp-text);
}

.olp-qa-form__input:focus {
    border-color: var(--olp-green);
}

.olp-qa-form__send {
    padding: 10px 18px;
    background: var(--olp-green);
    color: white;
    border: none;
    border-radius: var(--olp-radius-sm);
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.olp-qa-form__send:hover {
    background: #15803d;
}

.olp-qa-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--olp-border);
    font-size: 13px;
}

.olp-qa-item__user {
    font-weight: 500;
    color: var(--olp-text);
    margin-bottom: 4px;
}

.olp-qa-item__question {
    color: var(--olp-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.olp-qa-item__answer {
    background: var(--olp-green-light);
    border-radius: var(--olp-radius-sm);
    padding: 10px 12px;
    color: var(--olp-green-dark);
    line-height: 1.6;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ SIDEBAR Ã¢â€â‚¬Ã¢â€â‚¬ */
.olp-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.olp-sidebar__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--olp-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.olp-exam-btn {
    padding: 8px 16px;
    background: var(--olp-green);
    color: white;
    border: none;
    border-radius: var(--olp-radius-sm);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}
.olp-exam-btn:hover {
    background: #15803d;
    color:#fff;
}

/* progress strip */
.olp-progress {
    background: var(--olp-surface);
    border: 1px solid var(--olp-border);
    border-radius: var(--olp-radius-sm);
    padding: 12px 14px;
    margin-bottom: 14px;
}

.olp-progress__meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
}

.olp-progress__label {
    color: var(--olp-muted);
}

.olp-progress__value {
    color: var(--olp-green);
    font-weight: 600;
}

.olp-progress__track {
    height: 6px;
    background: #e8f5e9;
    border-radius: 3px;
}

.olp-progress__fill {
    height: 100%;
    width: 30%;
    background: var(--olp-green);
    border-radius: 3px;
    transition: width 0.4s;
}

/* lesson list */
.olp-lesson-list {
    background: var(--olp-surface);
    border: 1px solid var(--olp-border);
    /* border-radius: var(--olp-radius); */
    overflow: hidden;
}

.olp-lesson-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--olp-border);
    cursor: pointer;
    transition: background 0.15s;
}

.olp-lesson-item:last-child {
    border-bottom: none;
}

.olp-lesson-item:hover:not(.olp-lesson-item--active) {
    background: #f8faf8;
}

.olp-lesson-item--active {
    background: #f0fdf4;
    border-left: 3px solid var(--olp-green);
    padding-left: 11px;
}

.olp-lesson-item--done .olp-lesson-item__dot {
    background: var(--olp-green);
}

.olp-lesson-item--active .olp-lesson-item__dot {
    background: var(--olp-green);
    box-shadow: 0 0 0 3px #bbf7d0;
}

.olp-lesson-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--olp-border);
    flex-shrink: 0;
    margin-top: 5px;
    transition: background 0.2s;
}

.olp-lesson-item__body {
    flex: 1;
    min-width: 0;
}

.olp-lesson-item__num {
    font-size: 10px;
    color: var(--olp-hint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.olp-lesson-item__name {
    font-size: 14px;
    color: var(--olp-text);
    line-height: 1.45;
}

.olp-lesson-item--active .olp-lesson-item__name {
    color: var(--olp-green-dark);
    font-weight: 500;
}

.olp-lesson-item__dur {
    font-size: 11px;
    color: var(--olp-hint);
    white-space: nowrap;
    margin-top: 3px;
}

.title-course{margin-bottom: 30px;}

.title-course span{
    font-size: 22px;
    font-weight: 600;
    color: var(--olp-text);
    margin: 0 0 16px;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.exam-container{
    /* display:flex; */
    /* gap:20px; */
    max-width: 1000px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 0px 0px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    background: #fff;
    border-radius: 10px;
}

.exam-main{
    width: 100%;
}

.exam-sidebar{
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}
#exam-question-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.qnum{
    display:inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align:center;
    /* border:1px solid #ccc; */
    /* margin:5px; */
    cursor:pointer;
    font-size: 12px;
    background: #f5f5f5;
}

.qnum.done{
    background:#28a745;
    color:#fff;
}
.qnum.wrong{
    background: red;
    color: #fff;
}
.qnum.active{
    background:#007bff;
    color:#fff;
}

.exam-question-item{
    scroll-margin-top: 200px;
}

.exam-header{
    margin-bottom: 20px;
    /* padding-bottom: 20px; */
    /* border-bottom: 1px solid #e5e7eb; */
}
.exam-sidebar.fixed{
    position: fixed;
    top: 76px;
    width: 100%;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: #fff;
    margin-bottom: 0px;
    padding: 15px 40px;
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px; */
}
#exam-title{
    font-size: 27px;
    font-weight: 600;
}

.exam-info{
    color: rgb(108 117 125);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#exam-total{}

#exam-timer{}

#exam-questions{
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

#exam-questions hr{
    display: none;
}

.exam-question-item > h3{
    font-size: 15px;
    font-weight: 600;
    display: flex;
    gap: 10px;
}
.exam-question-item > h3 p{
    margin-bottom: 0px;
}
.exam-question-item > h3 img{
    max-width: 30px;
    height: auto !important;
    margin-top: -13px;
}
.exam-question-item > label{
    color: rgb(108 117 125);
    font-size: 13px;
    font-weight: normal;
}

.submit-exam{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: #009144;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    margin: 20px 0px 0px 0px;
}
.question-block{
    margin-bottom: 20px;
}
.question-block > h4{
    font-size: 15px;
    font-weight: 600;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.question-block > h4 p{
    margin-bottom: 0px;
}
.question-block > h4 img{
    max-width: 30px;
    height: auto !important;
    margin-top: -10px;
}
.question-block ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.question-block ul li{
    color: rgb(108 117 125);
    font-size: 13px;
    font-weight: normal;
}
.answer-list .wrong{
    color: red;
}
.answer-list .correct{
    color: #009144;
}
@media (max-width: 768px) {
    .olp-layout {
        grid-template-columns: 1fr;
        padding: 14px 16px 40px;
    }

    .olp-topbar {
        padding: 0 16px;
    }

    .olp-breadcrumb {
        padding: 12px 16px 0;
    }

    .olp-lesson-title {
        font-size: 18px;
    }

    .olp-info-grid {
        grid-template-columns: 1fr;
    }
}