/* META LMS COMMON*/

.section-list--meta .section-item::before {
    background: #68469d;
}

.screen-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.screen-sub {
    margin-top: 4px;
    color: #99949f;
    font-size: 10px;
}

.screen-date {
    padding: 7px 11px;
    border: 1px solid #ebe7ef;
    border-radius: 8px;
    background: #fff;
    color: #756f7a;
    font-size: 9px;
    font-weight: 600;
}


/*   SCORE */

.score-screen {
    padding: 22px 24px 24px;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}


/* subject */
.subject-tabs {
    display: flex;
    padding: 4px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #f4f2f6;
}

.subject-tab {
    flex: 1;
    padding: 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #9c97a1;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.subject-tab.active {
    background: #fff;
    color: #68469f;
    box-shadow: 0 2px 7px rgba(74, 54, 98, .08);
}


/* score highlight */
.score-highlight {
    display: flex;
    align-items: center;
    margin-bottom: 11px;
    padding: 12px 15px;
    border-radius: 11px;
    background: linear-gradient(135deg, #69479f, #7e5daf);
    color: #fff;
}

.score-highlight-main {
    flex: 1.15;
}

.score-highlight-main > span,
.score-highlight-info > span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,.72);
    font-size: 8px;
}

.score-highlight-main strong {
    font-size: 26px;
    line-height: 1;
}

.score-highlight-main small {
    font-size: 9px;
}

.score-highlight-info {
    flex: 1;
}

.score-highlight-info strong {
    font-size: 12px;
}

.score-divider {
    width: 1px;
    height: 31px;
    margin: 0 13px;
    background: rgba(255,255,255,.2);
}


/* chart */

.score-chart-card {
    padding: 14px;
    border: 1px solid #eeeaf2;
    border-radius: 11px;
    background: #fff;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 11px;
}

.chart-description {
    margin-top: 3px;
    color: #aaa5ae;
    font-size: 8px;
}

.growth-badge {
    padding: 6px 10px;
    border-radius: 8px;
    background: #f3eef9;
    text-align: right;
}

.growth-badge span {
    display: block;
    color: #947eb3;
    font-size: 7px;
}

.growth-badge strong {
    color: #6946a0;
    font-size: 13px;
}


/* chart */
.chart-area {
    display: flex;
    height: 125px;
}

.y-axis {
    width: 27px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 5px;
    color: #b1acb5;
    font-size: 7px;
    text-align: right;
}

.graph {
    position: relative;
    flex: 1;
}

.grid-line {
    position: absolute;
    left: 0;
    width: 100%;
    border-top: 1px dashed #eeeaf2;
}

.line-100 { top: 0; }
.line-90  { top: 25%; }
.line-80  { top: 50%; }
.line-70  { top: 75%; }
.line-60  { top: 100%; }

.score-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.score-line {
    fill: none;
    stroke: #6c49a4;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.score-area {
    fill: url(#scoreAreaGradient);
}

.score-point {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 3px solid #6c49a4;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.score-tooltip {
    position: absolute;
    top: -27px;
    left: 50%;
    padding: 4px 6px;
    border-radius: 5px;
    background: #54406d;
    color: #fff;
    font-size: 7px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
    opacity: 0;
}

.score-point.last .score-tooltip,
.score-point:hover .score-tooltip {
    opacity: 1;
}

.x-axis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 6px;
    margin-left: 27px;
}

.x-axis div {
    text-align: center;
}

.x-axis span {
    display: block;
    color: #b2adb6;
    font-size: 7px;
}

.x-axis strong {
    color: #77717d;
    font-size: 8px;
}


/* record */

.exam-record {
    margin-top: 11px;
}

.record-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

.record-title {
    color: #55505c;
    font-size: 9px;
    font-weight: 700;
}

.record-unit {
    color: #b2adb5;
    font-size: 7px;
}

.record-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.record-item {
    padding: 8px 5px;
    border-radius: 8px;
    background: #f8f7f9;
    text-align: center;
}

.record-exam {
    color: #a09ba4;
    font-size: 7px;
}

.record-score {
    margin-top: 3px;
    color: #504a55;
    font-size: 15px;
    font-weight: 800;
}

.record-score span {
    color: #aaa5ad;
    font-size: 7px;
    font-weight: 500;
}

.record-change {
    margin-top: 2px;
    color: #7653aa;
    font-size: 7px;
    font-weight: 700;
}

.record-change.down {
    color: #d67373;
}


/* =========================================================
   ATTENDANCE
========================================================= */

.attendance-state {
    padding: 6px 11px;
    border-radius: 20px;
    background: #edf7f1;
    color: #55936b;
    font-size: 8px;
    font-weight: 700;
}

.attendance-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border-radius: 12px;
    background: #faf9fb;
}

.circle-card {
    flex: 1;
    text-align: center;
}

.circle-progress {
    --value: 0;

    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 8px;
    border-radius: 50%;

    background:
        conic-gradient(
            #6f4ba4 calc(var(--value) * 1%),
            #ece8f0 0
        );

    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-progress.participation {
    background:
        conic-gradient(
            #9b78b8 calc(var(--value) * 1%),
            #ece8f0 0
        );
}

.circle-inner {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
}

.circle-inner strong {
    color: #574f5d;
    font-size: 16px;
}

.circle-label {
    color: #554f5a;
    font-size: 9px;
    font-weight: 700;
}

.circle-desc {
    margin-top: 3px;
    color: #aaa5ae;
    font-size: 7px;
}

.summary-divider {
    width: 1px;
    height: 80px;
    background: #ece8ef;
}


/* learning bar */

.learning-card {
    margin-top: 12px;
    padding: 13px;
    border: 1px solid #eeeaf2;
    border-radius: 11px;
    background: #fff;
}

.learning-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 11px;
}

.trend-badge {
    padding: 5px 8px;
    border-radius: 7px;
    background: #f2edf8;
    color: #7653a5;
    font-size: 7px;
    font-weight: 700;
}

.monthly-bars {
    display: grid;
    gap: 8px;
}

.month-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.month-name {
    width: 23px;
    color: #8f8994;
    font-size: 8px;
}

.month-bar {
    flex: 1;
    height: 6px;
    border-radius: 10px;
    background: #efecf1;
    overflow: hidden;
}

.month-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7653aa, #9a7bbb);
}

.month-row strong {
    width: 28px;
    color: #665c6b;
    font-size: 8px;
    text-align: right;
}


/* attendance record */

.attendance-record {
    margin-top: 11px;
}

.attendance-list {
    margin-top: 7px;
    display: grid;
    gap: 5px;
}

.attendance-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8f7f9;
}

.attendance-item > span {
    width: 45px;
    color: #aaa5ae;
    font-size: 7px;
}

.attendance-item strong {
    flex: 1;
    color: #5b555f;
    font-size: 8px;
}

.attendance-tag {
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 700;
}

.attendance-tag.present {
    background: #eaf6ee;
    color: #57946c;
}

.attendance-tag.late {
    background: #fff3dd;
    color: #bc8741;
}


/* =========================================================
   AWARD
========================================================= */

.award-count {
    padding: 6px 10px;
    border-radius: 7px;
    background: #f2edf8;
    color: #6d49a0;
    font-size: 8px;
    font-weight: 700;
}


/* featured */

.award-feature {
    display: flex;
    align-items: center;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #7250a5,
            #896bb0
        );
    color: #fff;
}

.award-feature-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.17);
    font-size: 18px;
}

.award-feature-text span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,.7);
    font-size: 7px;
}

.award-feature-text strong {
    font-size: 11px;
}

.award-feature-text p {
    margin: 3px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 8px;
}


/* award list */

.award-list {
    display: grid;
    gap: 7px;
}

.award-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #eeeaf2;
    border-radius: 10px;
    background: #fff;
}

.award-icon {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 9px;
    border-radius: 9px;
    font-size: 12px;
}

.award-icon.gold {
    background: #fff5d8;
    color: #c89829;
}

.award-icon.silver {
    background: #f0f1f4;
    color: #8c929d;
}

.award-icon.bronze {
    background: #f9eee5;
    color: #b97952;
}

.award-info {
    flex: 1;
}

.award-name {
    color: #554f59;
    font-size: 9px;
    font-weight: 700;
}

.award-detail {
    margin-top: 3px;
    color: #918b96;
    font-size: 7px;
}

.award-date {
    color: #aaa5ae;
    font-size: 7px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .record-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .score-divider {
        margin: 0 7px;
    }

    .score-highlight-info strong {
        font-size: 10px;
    }

    .circle-progress {
        width: 65px;
        height: 65px;
    }

    .circle-inner {
        width: 49px;
        height: 49px;
    }

}