﻿
/* ── Progress bar strip ── */
.lesson-progress-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.lesson-progress-bar .fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #7C3AED, #A78BFA);
    border-radius: 3px;
}

/* ── Inner left course menu ── */
.inner-course-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    /* Plain menu items */
    .inner-course-menu .cm-item {
        border-top: 1px solid #F3F4F6;
    }

        .inner-course-menu .cm-item a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 18px;
            font-size: 13.5px;
            font-weight: 500;
            color: #374151;
            text-decoration: none;
            transition: color .15s;
        }

            .inner-course-menu .cm-item a:hover {
                color: #6D28D9;
            }

/* "Course Content" accordion toggle button */
.cm-accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    margin: 8px 18px;
    width: calc(100% - 36px);
    background: #F5F3FF;
    border: 1.5px solid #DDD6FE;
    border-radius: 10px;
    color: #5B21B6;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

    .cm-accordion-btn:hover {
        background: #EDE9FE;
        color: #4C1D95;
    }

    .cm-accordion-btn .acc-chevron {
        font-size: 12px;
        transition: transform .25s;
    }

    .cm-accordion-btn.collapsed .acc-chevron {
        transform: rotate(180deg);
    }

/* Session list inside accordion */
.session-sub-list {
    list-style: none;
    padding: 4px 18px 10px;
    margin: 0;
}

    .session-sub-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 13px;
        font-weight: 500;
        color: #4B5563;
        border-bottom: 1px solid #F3F4F6;
        cursor: pointer;
        transition: color .15s;
    }

        .session-sub-list li:last-child {
            border-bottom: none;
        }

        .session-sub-list li:hover {
            color: #6D28D9;
        }

            .session-sub-list li:hover .session-count-badge {
                border-color: #A78BFA;
                color: #6D28D9;
            }

.session-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-count-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6B7280;
    flex-shrink: 0;
    transition: border-color .15s, color .15s;
}

.session-chevron {
    font-size: 10px;
    color: #9CA3AF;
}

/* ── Lesson area ── */
.lesson-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.lesson-activity-info {
    font-size: 12.5px;
    color: #6B7280;
}

.lesson-complete-pct {
    font-size: 12.5px;
    color: #374151;
    font-weight: 600;
}

/* Audio/play block */
.lesson-play-block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.lesson-play-btn {
    width: 58px;
    height: 58px;
    background: #7C3AED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(124,58,237,.35);
    transition: transform .18s;
}

    .lesson-play-btn:hover {
        transform: scale(1.08);
    }

    .lesson-play-btn i {
        color: #fff;
        font-size: 22px;
        margin-left: 3px;
    }

.lesson-title-block h4 {
    font-size: 19px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.lesson-title-block .desc-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.lesson-title-block p {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.7;
    margin: 0;
}

/* ── Real Audio Player ── */
.lesson-player-bar {
    background: #1F2937;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    user-select: none;
}

.player-btn {
    color: #D1D5DB;
    font-size: 17px;
    cursor: pointer;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: color .15s, transform .12s;
}

    .player-btn:hover {
        color: #fff;
        transform: scale(1.12);
    }

.player-play-btn {
    width: 36px;
    height: 36px;
    background: #7C3AED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    border: none;
    transition: background .15s, transform .12s;
}

    .player-play-btn:hover {
        background: #6D28D9;
        transform: scale(1.08);
    }

    .player-play-btn i {
        color: #fff;
        font-size: 14px;
    }

        .player-play-btn i.fa-play {
            margin-left: 2px;
        }

.player-time {
    font-size: 11.5px;
    color: #9CA3AF;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
/* Scrubber track */
.player-track-wrap {
    flex: 1;
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.player-track {
    width: 100%;
    height: 4px;
    background: #4B5563;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.player-track-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    transition: width .05s linear;
    pointer-events: none;
}

.player-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    background: #fff;
    border-radius: 50%;
    left: 0%;
    margin-left: -6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s;
    box-shadow: 0 0 0 3px rgba(124,58,237,.4);
}

.player-track-wrap:hover .player-thumb {
    opacity: 1;
}
/* Volume */
.player-vol-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-vol-slider {
    width: 0;
    overflow: hidden;
    transition: width .2s;
    display: flex;
    align-items: center;
}

.player-vol-wrap:hover .player-vol-slider {
    width: 64px;
}

.player-vol-input {
    -webkit-appearance: none;
    appearance: none;
    width: 64px;
    height: 3px;
    background: #4B5563;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

    .player-vol-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 11px;
        height: 11px;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
    }
/* Speed badge */
.player-speed {
    font-size: 11.5px;
    color: #D1D5DB;
    background: #374151;
    border-radius: 5px;
    padding: 3px 7px;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    transition: background .15s;
}

    .player-speed:hover {
        background: #4B5563;
    }

/* Action buttons */
.lesson-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.btn-lesson-back {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
}

    .btn-lesson-back:hover {
        background: #F9FAFB;
    }

.btn-mark-complete {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #7C3AED;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-mark-complete:hover {
        background: #6D28D9;
    }

/* ── Course Content Section ── */
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.session-block {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.session-block-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #FAFAFA;
    cursor: pointer;
}

.session-date-box {
    width: 64px;
    height: 64px;
    background: #FEF3C7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    border: 1px solid #FDE68A;
}

.session-date-num {
    font-size: 22px;
    font-weight: 800;
    color: #D97706;
    line-height: 1;
}

.session-date-label {
    font-size: 10px;
    color: #92400E;
    font-weight: 600;
    margin-top: 2px;
}

.session-info {
    flex: 1;
}

    .session-info .snum {
        font-size: 16px;
        font-weight: 700;
        color: #111827;
        display: inline;
    }

    .session-info .stitle {
        font-size: 13px;
        color: #6B7280;
        margin-left: 8px;
        display: inline;
    }

.session-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    font-size: 12px;
    color: #6B7280;
}

    .session-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .session-meta .lm-tag {
        background: #EFF6FF;
        color: #2563EB;
        border-radius: 20px;
        padding: 2px 10px;
        font-size: 11.5px;
        font-weight: 500;
    }

.session-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #6B7280;
}

    .session-stats span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

.session-progress-wrap {
    padding: 0 18px 14px;
}

.session-progress-bar {
    height: 5px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

    .session-progress-bar .fill {
        height: 100%;
        background: #7C3AED;
        border-radius: 3px;
    }

.session-progress-pct {
    text-align: right;
    font-size: 11.5px;
    color: #6B7280;
    margin-top: 4px;
}

/* Content rows */
.content-item {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-top: 1px solid #F3F4F6;
    font-size: 13px;
    color: #374151;
    gap: 10px;
}

    .content-item:hover {
        background: #FAFAFA;
    }

    .content-item input[type=checkbox] {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        accent-color: #7C3AED;
        cursor: pointer;
    }

    .content-item .ci-icon {
        color: #6B7280;
        font-size: 14px;
        flex-shrink: 0;
    }

    .content-item .ci-name {
        flex: 1;
    }

        .content-item .ci-name.active {
            color: #7C3AED;
            font-weight: 600;
        }

    .content-item .ci-size {
        font-size: 11.5px;
        color: #9CA3AF;
        white-space: nowrap;
    }

    .content-item.highlighted {
        background: #F5F3FF;
    }


    /*video*/
/* ── Real Video Player ── */
.video-lesson-wrapper {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
}
/* The actual <video> element fills the wrapper */
#lessonVideo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

/* Center big play/pause overlay — visible only when paused */
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* clicks pass through to video */
    transition: opacity .25s;
}

    .video-play-overlay.hidden {
        opacity: 0;
    }

.video-play-btn {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    transition: transform .18s, background .18s;
}

    .video-play-btn:hover {
        background: rgba(255,255,255,0.34);
        transform: scale(1.08);
    }

    .video-play-btn i {
        color: #fff;
        font-size: 28px;
    }

        .video-play-btn i.fa-play {
            margin-left: 4px;
        }

/* Bottom controls bar — hides when playing, shows on hover */
.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.88));
    padding: 32px 16px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity .28s;
}

.video-lesson-wrapper:hover .video-controls-bar,
.video-lesson-wrapper.paused .video-controls-bar {
    opacity: 1;
}

/* Control buttons */
.vc-btn {
    color: #D1D5DB;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: color .15s, transform .1s;
}

    .vc-btn:hover {
        color: #fff;
        transform: scale(1.15);
    }

/* Time display */
.vc-time {
    font-size: 11.5px;
    color: #D1D5DB;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Scrubber */
.vc-scrubber-wrap {
    flex: 1;
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.vc-track {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.28);
    border-radius: 2px;
    overflow: hidden;
}

.vc-track-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    transition: width .08s linear;
    pointer-events: none;
}

.vc-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    background: #fff;
    border-radius: 50%;
    left: 0%;
    margin-left: -6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s;
    box-shadow: 0 0 0 3px rgba(124,58,237,.45);
}

.vc-scrubber-wrap:hover .vc-thumb {
    opacity: 1;
}

/* Volume */
.vc-vol-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vc-vol-slider {
    width: 0;
    overflow: hidden;
    transition: width .2s;
    display: flex;
    align-items: center;
}

.vc-vol-wrap:hover .vc-vol-slider {
    width: 56px;
}

.vc-vol-input {
    -webkit-appearance: none;
    appearance: none;
    width: 56px;
    height: 3px;
    background: rgba(255,255,255,0.28);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

    .vc-vol-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 11px;
        height: 11px;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
    }

/* Speed badge */
.vc-speed {
    font-size: 11.5px;
    color: #D1D5DB;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 2px 7px;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    transition: background .15s;
}

    .vc-speed:hover {
        background: rgba(255,255,255,0.28);
    }

/* ── Description block ── */
.lesson-desc-block {
    margin-bottom: 22px;
}

    .lesson-desc-block h4 {
        font-size: 19px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 6px;
    }

    .lesson-desc-block .desc-label {
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
    }

    .lesson-desc-block p {
        font-size: 13px;
        color: #6B7280;
        line-height: 1.75;
        margin: 0;
    }

/* ── Action buttons ── */
.lesson-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.btn-lesson-next {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
}

    .btn-lesson-next:hover {
        background: #F9FAFB;
    }

.btn-mark-complete {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #7C3AED;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-mark-complete:hover {
        background: #6D28D9;
    }


    /*task complete*/

.inner-course-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inner-course-menu .cm-item {
    border-top: 1px solid #F3F4F6;
}

    .inner-course-menu .cm-item a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 18px;
        font-size: 13.5px;
        font-weight: 500;
        color: #374151;
        text-decoration: none;
        transition: color .15s;
    }

        .inner-course-menu .cm-item a:hover {
            color: #6D28D9;
        }

.cm-accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 36px);
    padding: 12px 14px;
    margin: 8px 18px;
    background: #F5F3FF;
    border: 1.5px solid #DDD6FE;
    border-radius: 10px;
    color: #5B21B6;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

    .cm-accordion-btn:hover {
        background: #EDE9FE;
        color: #4C1D95;
    }

    .cm-accordion-btn .acc-chevron {
        font-size: 12px;
        transition: transform .25s;
    }

    .cm-accordion-btn.collapsed .acc-chevron {
        transform: rotate(180deg);
    }

.session-sub-list {
    list-style: none;
    padding: 4px 18px 10px;
    margin: 0;
}

    .session-sub-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 13px;
        font-weight: 500;
        color: #4B5563;
        border-bottom: 1px solid #F3F4F6;
        cursor: pointer;
    }

        .session-sub-list li:last-child {
            border-bottom: none;
        }

.session-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-count-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6B7280;
}

.session-chevron {
    font-size: 10px;
    color: #9CA3AF;
}
/* Task meta */
.task-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.task-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.task-dates {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-date-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #374151;
}

    .task-date-item .label {
        font-weight: 600;
    }

    .task-date-item .val {
        color: #6B7280;
    }

.task-grade-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 20px;
}

.task-grade-num {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}
/* Completed block */
.task-completed-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 48px;
    text-align: center;
}

.task-completed-icon {
    width: 76px;
    height: 76px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 6px 24px rgba(16,185,129,.25);
}

    .task-completed-icon i {
        font-size: 34px;
        color: #fff;
    }

.task-completed-text {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    max-width: 440px;
}
/* Course Content */
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.session-block {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.session-block-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #FAFAFA;
    cursor: pointer;
}

.session-date-box {
    width: 64px;
    height: 64px;
    background: #FEF3C7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    border: 1px solid #FDE68A;
}

.session-date-num {
    font-size: 22px;
    font-weight: 800;
    color: #D97706;
    line-height: 1;
}

.session-date-label {
    font-size: 10px;
    color: #92400E;
    font-weight: 600;
    margin-top: 2px;
}

.session-info .snum {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.session-info .stitle {
    font-size: 13px;
    color: #6B7280;
    margin-left: 8px;
}

.session-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    font-size: 12px;
    color: #6B7280;
}

    .session-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .session-meta .lm-tag {
        background: #EFF6FF;
        color: #2563EB;
        border-radius: 20px;
        padding: 2px 10px;
        font-size: 11.5px;
        font-weight: 500;
    }

.session-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #6B7280;
}

    .session-stats span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

.session-progress-wrap {
    padding: 0 18px 14px;
}

.session-progress-bar {
    height: 5px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

    .session-progress-bar .fill {
        height: 100%;
        background: #7C3AED;
        border-radius: 3px;
    }

.session-progress-pct {
    text-align: right;
    font-size: 11.5px;
    color: #6B7280;
    margin-top: 4px;
}

.content-item {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-top: 1px solid #F3F4F6;
    font-size: 13px;
    color: #374151;
    gap: 10px;
}

    .content-item:hover {
        background: #FAFAFA;
    }

    .content-item input[type=checkbox] {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        accent-color: #7C3AED;
    }

    .content-item .ci-icon {
        color: #6B7280;
        font-size: 14px;
        flex-shrink: 0;
    }

    .content-item .ci-name {
        flex: 1;
    }

    .content-item .ci-size {
        font-size: 11.5px;
        color: #9CA3AF;
        white-space: nowrap;
    }




    .inner-course-menu .cm-item a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 18px;
        font-size: 13.5px;
        font-weight: 500;
        color: #374151;
        text-decoration: none;
        transition: color .15s;
    }

        .inner-course-menu .cm-item a:hover {
            color: #6D28D9;
        }
    /* Active menu item (Tasks highlighted) */
    .inner-course-menu .cm-item.active-item a {
        background: #F5F3FF;
        color: #6D28D9;
        font-weight: 600;
        border: 1.5px solid #DDD6FE;
        border-radius: 10px;
        margin: 4px 10px;
        padding: 10px 14px;
    }
/* Collapsed Course Content toggle */
.cm-accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 36px);
    padding: 12px 14px;
    margin: 8px 18px;
    background: transparent;
    border: none;
    color: #374151;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

    .cm-accordion-btn .acc-chevron {
        font-size: 12px;
        transition: transform .25s;
        color: #9CA3AF;
    }

    .cm-accordion-btn.collapsed .acc-chevron {
        transform: rotate(180deg);
    }

.session-sub-list {
    list-style: none;
    padding: 4px 18px 10px;
    margin: 0;
}

    .session-sub-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 13px;
        font-weight: 500;
        color: #4B5563;
        border-bottom: 1px solid #F3F4F6;
        cursor: pointer;
    }

        .session-sub-list li:last-child {
            border-bottom: none;
        }

.session-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-count-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6B7280;
}

.session-chevron {
    font-size: 10px;
    color: #9CA3AF;
}

/* ── Task layout ── */
.task-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.task-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.task-dates {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-date-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #374151;
}

    .task-date-item .label {
        font-weight: 600;
    }

    .task-date-item .val {
        color: #6B7280;
    }
/* Green grade badge */
.task-grade-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 10px;
    padding: 10px 20px;
}

    .task-grade-badge .grade-text {
        font-weight: 600;
        color: #065F46;
        font-size: 14px;
    }

    .task-grade-badge .grade-score {
        font-size: 20px;
        font-weight: 800;
        color: #059669;
    }

/* ── Session label strip ── */
.session-label-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

    .session-label-strip .s-badge {
        font-size: 15px;
        font-weight: 700;
        color: #111827;
    }

    .session-label-strip .s-sub {
        font-size: 12px;
        color: #fff;
        background: #6B7280;
        border-radius: 20px;
        padding: 3px 12px;
        font-weight: 500;
    }

/* ── Question block ── */
.task-section-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.task-question {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.btn-download-res {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #7C3AED;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .15s;
}

    .btn-download-res:hover {
        background: #6D28D9;
    }

/* ── Answer textarea ── */
.task-answer-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.task-answer-textarea {
    width: 100%;
    min-height: 140px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: #4B5563;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color .15s;
}

    .task-answer-textarea:focus {
        border-color: #7C3AED;
    }

/* ── Upload row ── */
.task-upload-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 16px;
}

.upload-col {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

    .upload-col + .upload-col {
        border-left: 1px solid #E5E7EB;
    }

    .upload-col .file-name {
        color: #6B7280;
        font-size: 12.5px;
    }

    .upload-col i {
        color: #6B7280;
        font-size: 16px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .upload-col .upload-icon {
        margin-left: auto;
    }

/* ── Action buttons ── */
.task-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-task-back {
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
}

    .btn-task-back:hover {
        background: #F9FAFB;
    }

.btn-task-download {
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #7C3AED;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .2s;
}

    .btn-task-download:hover {
        background: #6D28D9;
    }



   

.cm-accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 36px);
    padding: 12px 14px;
    margin: 8px 18px;
    background: #F5F3FF;
    border: 1.5px solid #DDD6FE;
    border-radius: 10px;
    color: #5B21B6;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

    .cm-accordion-btn:hover {
        background: #EDE9FE;
        color: #4C1D95;
    }

    .cm-accordion-btn .acc-chevron {
        font-size: 12px;
        transition: transform .25s;
    }

    .cm-accordion-btn.collapsed .acc-chevron {
        transform: rotate(180deg);
    }

.session-sub-list {
    list-style: none;
    padding: 4px 18px 10px;
    margin: 0;
}

    .session-sub-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 13px;
        font-weight: 500;
        color: #4B5563;
        border-bottom: 1px solid #F3F4F6;
        cursor: pointer;
    }

        .session-sub-list li:last-child {
            border-bottom: none;
        }

.session-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-count-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6B7280;
}

.session-chevron {
    font-size: 10px;
    color: #9CA3AF;
}

/* ── Task layout ── */
.task-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.task-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.task-dates {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-date-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #374151;
}

    .task-date-item .label {
        font-weight: 600;
    }

    .task-date-item .val {
        color: #6B7280;
    }

.task-grade-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 20px;
}

.task-grade-num {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

/* ── Session label strip ── */
.session-label-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

    .session-label-strip .s-badge {
        font-size: 15px;
        font-weight: 700;
        color: #111827;
    }

    .session-label-strip .s-sub {
        font-size: 12px;
        color: #fff;
        background: #6B7280;
        border-radius: 20px;
        padding: 3px 12px;
        font-weight: 500;
    }

/* ── Question + answer ── */
.task-section-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

.task-question {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.btn-download-res {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #7C3AED;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .15s;
}

    .btn-download-res:hover {
        background: #6D28D9;
    }

.task-answer-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.task-answer-textarea {
    width: 100%;
    min-height: 140px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13.5px;
    color: #4B5563;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color .15s;
}

    .task-answer-textarea:focus {
        border-color: #7C3AED;
    }

/* ── Upload row ── */
.task-upload-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 16px;
}

.upload-col {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

    .upload-col + .upload-col {
        border-left: 1px solid #E5E7EB;
    }

    .upload-col .file-name {
        color: #6B7280;
        font-size: 12.5px;
    }

    .upload-col i {
        color: #6B7280;
        font-size: 16px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .upload-col .upload-icon {
        margin-left: auto;
    }

/* ── Action buttons ── */
.task-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.btn-task-cancel {
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
}

    .btn-task-cancel:hover {
        background: #F9FAFB;
    }

.btn-task-submit {
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #7C3AED;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .2s;
}

    .btn-task-submit:hover {
        background: #6D28D9;
    }


.inner-course-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inner-course-menu .cm-item {
    border-top: 1px solid #F3F4F6;
}

    .inner-course-menu .cm-item a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 18px;
        font-size: 13.5px;
        font-weight: 500;
        color: #374151;
        text-decoration: none;
        transition: color .15s;
    }

        .inner-course-menu .cm-item a:hover {
            color: #6D28D9;
        }

        .inner-course-menu .cm-item a.active {
            width: calc(100% - 36px);
            margin: 8px 18px;
            padding: 12px 14px;
            border: 1.5px solid #7C3AED;
            border-radius: 10px;
            color: #7C3AED;
            font-weight: 600;
        }

.cm-accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 36px);
    padding: 12px 14px;
    margin: 8px 18px;
    background: #fff;
    border: 0;
    border-radius: 10px;
    color: #374151;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.session-sub-list {
    list-style: none;
    padding: 4px 18px 10px;
    margin: 0;
}

    .session-sub-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 13px;
        font-weight: 500;
        color: #4B5563;
        border-bottom: 1px solid #F3F4F6;
    }

        .session-sub-list li:last-child {
            border-bottom: none;
        }

.session-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-count-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6B7280;
}

.session-chevron {
    font-size: 10px;
    color: #9CA3AF;
}

.student-tasks-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
}

.student-task-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 350px) 116px 1fr 42px 150px 58px 150px;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.student-task-search {
    height: 43px;
    border: 0;
    border-radius: 8px;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    color: #9CA3AF;
}

    .student-task-search input {
        border: 0;
        outline: 0;
        width: 100%;
        background: transparent;
        font-size: 12px;
    }

.student-search-btn {
    height: 43px;
    border: 0;
    border-radius: 8px;
    background: #FFB33D;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-label {
    justify-self: end;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.filter-select {
    height: 43px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 0 38px 0 16px;
    color: #374151;
    font-size: 13px;
    background-color: #fff;
    outline: none;
}

.student-tasks-card {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    padding: 20px;
    background: #fff;
}

    .student-tasks-card h3 {
        font-size: 22px;
        font-weight: 800;
        color: #111827;
        margin: 0 0 14px;
    }

.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.student-task-item {
    min-height: 92px;
    border: 1px solid #EEF0F4;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(17,24,39,.035);
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px 16px 16px 18px;
    background: #fff;
}

    .student-task-item.muted {
        opacity: .42;
    }

.task-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.done-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #61C889;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 5px;
}

.task-name {
    font-size: 16px;
    font-weight: 700;
    color: #2F2C3B;
    margin: 0 0 12px;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    color: #6B7280;
    font-size: 12px;
}

    .task-meta span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .task-meta strong {
        color: #374151;
        font-weight: 700;
    }

    .task-meta .start i {
        color: #FBBF24;
    }

    .task-meta .delivery i {
        color: #FF6D5F;
    }

.btn-start-task {
    min-width: 136px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: #7C3AED;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}

.task-result {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    min-width: 160px;
}

.grade-pill {
    border-radius: 16px;
    background: #FAFAFA;
    color: #374151;
    padding: 9px 16px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(17,24,39,.04);
}

    .grade-pill i {
        color: #61C889;
        margin-right: 7px;
    }

.pass-from {
    color: #817A94;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .pass-from::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #786F91;
        display: inline-block;
    }

.task-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    color: #2F2C39;
    font-weight: 600;
}

.page-arrow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #F0EDF6;
    color: #7C3AED;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(17,24,39,.04);
}

<style >
.inner-course-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inner-course-menu .cm-item {
    border-top: 1px solid #F3F4F6;
}

    .inner-course-menu .cm-item a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 18px;
        font-size: 13.5px;
        font-weight: 500;
        color: #374151;
        text-decoration: none;
        transition: color .15s;
    }

        .inner-course-menu .cm-item a:hover {
            color: #6D28D9;
        }

        .inner-course-menu .cm-item a.active {
            width: calc(100% - 36px);
            margin: 8px 18px;
            padding: 12px 14px;
            border: 1.5px solid #7C3AED;
            border-radius: 10px;
            color: #7C3AED;
            font-weight: 600;
        }

.cm-accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 36px);
    padding: 12px 14px;
    margin: 8px 18px;
    background: #fff;
    border: 0;
    border-radius: 10px;
    color: #374151;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.session-sub-list {
    list-style: none;
    padding: 4px 18px 10px;
    margin: 0;
}

    .session-sub-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 13px;
        font-weight: 500;
        color: #4B5563;
        border-bottom: 1px solid #F3F4F6;
    }

        .session-sub-list li:last-child {
            border-bottom: none;
        }

.session-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-count-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6B7280;
}

.session-chevron {
    font-size: 10px;
    color: #9CA3AF;
}

.student-tasks-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
}

.student-task-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 350px) 116px 1fr 42px 150px 58px 150px;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.student-task-search {
    height: 43px;
    border: 0;
    border-radius: 8px;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    color: #9CA3AF;
}

    .student-task-search input {
        border: 0;
        outline: 0;
        width: 100%;
        background: transparent;
        font-size: 12px;
    }

.student-search-btn {
    height: 43px;
    border: 0;
    border-radius: 8px;
    background: #FFB33D;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-label {
    justify-self: end;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.filter-select {
    height: 43px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 0 38px 0 16px;
    color: #374151;
    font-size: 13px;
    background-color: #fff;
    outline: none;
}

.student-tasks-card {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    padding: 20px;
    background: #fff;
}

    .student-tasks-card h3 {
        font-size: 22px;
        font-weight: 800;
        color: #111827;
        margin: 0 0 14px;
    }

.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.student-task-item {
    min-height: 92px;
    border: 1px solid #EEF0F4;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(17,24,39,.035);
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px 16px 16px 18px;
    background: #fff;
}

    .student-task-item.muted {
        opacity: .42;
    }

.task-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.done-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #61C889;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 5px;
}

.task-name {
    font-size: 16px;
    font-weight: 700;
    color: #2F2C3B;
    margin: 0 0 12px;
}

.task-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    color: #6B7280;
    font-size: 12px;
}

    .task-meta span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .task-meta strong {
        color: #374151;
        font-weight: 700;
    }

    .task-meta .start i {
        color: #FBBF24;
    }

    .task-meta .delivery i {
        color: #FF6D5F;
    }

.btn-start-task {
    min-width: 136px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: #7C3AED;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}

.task-result {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    min-width: 160px;
}

.grade-pill {
    border-radius: 16px;
    background: #FAFAFA;
    color: #374151;
    padding: 9px 16px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(17,24,39,.04);
}

    .grade-pill i {
        color: #61C889;
        margin-right: 7px;
    }

.pass-from {
    color: #817A94;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .pass-from::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #786F91;
        display: inline-block;
    }

.status-pill {
    min-width: 128px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

    .status-pill::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
    }

.active-status {
    color: #FFAE2E;
    background: #FFF5E6;
}

    .active-status::before {
        background: #FFAE2E;
    }

.finished-status {
    color: #45B95C;
    background: #DDFFE8;
}

    .finished-status::before {
        background: #45B95C;
    }

.inactive-status {
    color: #AAA8AF;
    background: #EFEFEF;
}

    .inactive-status::before {
        background: #AAA8AF;
    }

.grade-line {
    color: #817A94;
    font-size: 13px;
    white-space: nowrap;
}

    .grade-line i {
        color: #61C889;
        margin-right: 7px;
    }

.task-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    color: #2F2C39;
    font-weight: 600;
}

.page-arrow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #F0EDF6;
    color: #7C3AED;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(17,24,39,.04);
}

@media (max-width: 1200px) {
    .student-task-toolbar {
        grid-template-columns: 1fr 116px;
    }

    .filter-label {
        justify-self: start;
    }
}

@media (max-width: 768px) {
    .student-task-item {
        grid-template-columns: 1fr;
    }

    .task-result {
        align-items: flex-start;
    }
}

/* Auto-moved inline styles from TStudentDashboard */

.td-inline-001 {
    width: 50px;
    height: 50px;
}

.td-inline-002 {
    text-decoration: none;
}

.td-inline-003 {
    font-size: 12px;
    color: #9CA3AF;
}

.td-inline-004 {
    width: 20px;
    height: 15px;
    margin-right: 8px;
}

.td-inline-005 {
    text-decoration: none;
    color: inherit;
}

.td-inline-006 {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.td-inline-007 {
    font-size: 11px;
    color: #9CA3AF;
}

.td-inline-008 {
    min-width: 180px;
}

.td-inline-009 {
    font-size: 20px;
    line-height: 0;
    vertical-align: middle;
}

.td-inline-010 {
    font-size: 13px;
}

.td-inline-011 {
    max-width: 320px;
}

.td-inline-012 {
    color: #F59E0B;
}

.td-inline-013 {
    color: #7C3AED;
}

.td-inline-014 {
    font-size: 0.9rem;
    line-height: 1.6;
}

.td-inline-015 {
    margin-left: 3px;
}

.td-inline-016 {
    background-color: #F5FAF5;
}

.td-inline-017 {
    font-size: 0.9rem;
}

.td-inline-018 {
    max-width: 400px;
}

.td-inline-019 {
    border-radius: var(--border-radius-input);
    padding: 0.75rem;
}

.td-inline-020 {
    display: none;
}

.td-inline-021 {
    border-radius: 4px;
}

.td-inline-022 {
    font-size: 0.85rem;
}

.td-inline-023 {
    font-size: .95rem;
}

.td-inline-024 {
    padding: 1.2rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.td-inline-025 {
    color: #10B981;
    margin-top: 2px;
}

.td-inline-026 {
    color: #065F46;
}

.td-inline-027 {
    color: #9CA3AF;
    font-size: 6px;
}

.td-inline-028 {
    color: #9CA3AF;
    font-size: 12px;
}

.td-inline-029 {
    border-color: #D1D5DB;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
}

.td-inline-030 {
    color: var(--primary-color);
}

.td-inline-031 {
    font-size: .9rem;
}

.td-inline-032 {
    font-size: .88rem;
}

.td-inline-033 {
    max-width: 640px;
}

.td-inline-034 {
    color: var(--secondary-cta);
}

.td-inline-035 {
    color: var(--text-primary);
    font-weight: 600;
}

.td-inline-036 {
    color: #10B981;
}

.td-inline-037 {
    border-right: none;
}

.td-inline-038 {
    border-radius: 8px;
    font-weight: 600;
}

.td-inline-039 {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.td-inline-040 {
    background: #F5FAF5;
    border-color: #D1FAE5;
}

.td-inline-041 {
    background: #DBEAFE;
    color: #3B82F6;
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.td-inline-042 {
    margin-bottom: 0;
}

.td-inline-043 {
    font-size: .92rem;
}

.td-inline-044 {
    cursor: pointer;
}

.td-inline-045 {
    min-width: 200px;
}

.td-inline-046 {
    font-size: .85rem;
    border-radius: 8px;
    padding-right: 40px;
}

.td-inline-047 {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #7C3AED;
}

.td-inline-048 {
    flex: 1;
}

.td-inline-049 {
    min-width: 250px;
}

.td-inline-050 {
    font-size: .85rem;
}

.td-inline-051 {
    color: inherit;
    line-height: 1;
}

.td-inline-052 {
    font-size: .8rem;
}

.td-inline-053 {
    font-size: .65rem;
    font-variant-numeric: tabular-nums;
    opacity: .8;
}

.td-inline-054 {
    flex-grow: 1;
    height: 2px;
    background: rgba(255,255,255,.2);
    border-radius: 1px;
    position: relative;
}

.td-inline-055 {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #fff;
}

.td-inline-056 {
    font-size: .75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 180px;
}

.td-inline-057 {
    line-height: 1;
}

.td-inline-058 {
    color: #3B82F6;
}

.td-inline-059 {
    line-height: 1.1;
}

.td-inline-060 {
    font-size: .75rem;
    font-weight: 600;
    color: #1F2937;
}

.td-inline-061 {
    font-size: .65rem;
    color: #6B7280;
}

.td-inline-062 {
    color: #C4B5FD;
    margin: 0 5px;
}

.td-inline-063 {
    color: #5B21B6;
}

.td-inline-064 {
    font-size: 11px;
}

.td-inline-065 {
    font-size: 1.3rem;
}

.td-inline-066 {
    width: 30%;
    background-color: #6C5CE7;
}

.td-inline-067 {
    width: 100%;
    background-color: #2ecc71;
}

.td-inline-068 {
    width: 0%;
    background-color: #eee;
}

.td-inline-069 {
    font-size: 10px;
}

.td-inline-070 {
    font-size: 13px;
    color: #6B7280;
}

.td-inline-071 {
    width: 70%;
}

.td-inline-072 {
    width: 60%;
}

.td-inline-073 {
    background: #fff;
    padding: 0;
    margin-bottom: 24px;
}

.td-inline-074 {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.td-inline-075 {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #FDE68A, #F59E0B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.td-inline-076 {
    font-size: 24px;
    color: #78350F;
}

.td-inline-077 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.td-inline-078 {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.td-inline-079 {
    font-size: 13.5px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

.td-inline-080 {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.td-inline-081 {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #6D28D9;
    background: #fff;
    border: 1.5px solid #6D28D9;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.td-inline-082 {
    font-size: 16px;
}

.td-inline-083 {
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #6D28D9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.td-inline-084 {
    border-color: #E5E7EB;
    margin-bottom: 24px;
}

.td-inline-085 {
    width: 80%;
}

.td-inline-086 {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.td-inline-087 {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg,#60A5FA,#2563EB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
}

.td-inline-088 {
    font-size: 26px;
    color: #fff;
}

.td-inline-089 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.td-inline-090 {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.td-inline-091 {
    font-size: 13.5px;
    color: #6B7280;
    line-height: 1.65;
    margin: 0;
}

.td-inline-092 {
    display: flex;
    justify-content: flex-end;
}

.td-inline-093 {
    padding: 11px 32px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #6D28D9;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .2s;
}

.td-inline-094 {
    width: 90%;
}

.td-inline-095 {
    background: #fff;
    padding: 0 0 24px 0;
}

.td-inline-096 {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.td-inline-097 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.td-inline-098 {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 24px;
    font-weight: 500;
}

.td-inline-099 {
    color: #4B5563;
    font-size: 14px;
    line-height: 1.7;
    position: relative;
}

.td-inline-100 {
    position: absolute;
    right: -12px;
    top: 0;
    width: 4px;
    height: 100px;
    background: #E5E7EB;
    border-radius: 2px;
}

.td-inline-101 {
    font-size: 17px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.td-inline-102 {
    margin-bottom: 20px;
}

.td-inline-103 {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
    color: #6B7280;
}

.td-inline-104 {
    width: 50%;
}

.td-inline-105 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.td-inline-106 {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.td-inline-107 {
    width: 10%;
}

.td-inline-108 {
    color: #7C3AED;
    font-size: 15px;
}

.td-inline-109 {
    color: #EF4444;
    font-size: 15px;
}

.td-inline-110 {
    color: #6B7280;
    font-size: 18px;
}

.td-inline-111 {
    font-weight: 600;
    color: #374151;
}

.td-inline-112 {
    width: 0%;
}

.td-inline-113 {
    color: #10B981;
    font-size: 18px;
}

.td-inline-114 {
    color: #6B7280;
}

.td-inline-115 {
    font-size: 14px;
}

/* End auto-moved inline styles from TStudentDashboard */
