body{

    background:
    linear-gradient(
        to right,
        #06152d,
        #0b1f47
    );

    color:white;

    font-family:'Poppins',sans-serif;

}

/* SECTION */

.dashboard-section{

    padding:
    120px 0 80px;

}

/* TOP */

.dashboard-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    margin-bottom:45px;

}

/* TAG */

.dashboard-tag{

    display:inline-block;

    padding:10px 18px;

    border-radius:30px;

    background:
    rgba(56,182,255,0.12);

    color:#38b6ff;

    font-size:13px;

    font-weight:600;

    margin-bottom:18px;

}

/* TITLE */

.dashboard-top h1{

    font-size:48px;

    margin-bottom:12px;

}

.dashboard-subtitle{

    color:#c4d3f0;

    line-height:1.8;

}

/* STREAK */

.dashboard-streak{

    padding:18px 24px;

    border-radius:18px;

    background:
    rgba(255,255,255,0.05);

    font-weight:600;

    font-size:15px;

}

.dashboard-actions-top{

    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    flex-wrap:wrap;

}

.continue-btn,
.quick-actions a{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:white;
    text-decoration:none;
    font-weight:700;
    border-radius:16px;
    transition:0.25s ease;

}

.quick-actions a.disabled-action{

    opacity:0.72;

}

.continue-btn{

    padding:18px 24px;
    background:
    linear-gradient(
        145deg,
        #0077ff,
        #38b6ff
    );

}

.continue-btn:hover,
.quick-actions a:hover{

    transform:translateY(-3px);

}

.quick-actions{

    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(190px,1fr));
    gap:14px;
    margin-bottom:28px;

}

.quick-actions a{

    min-height:54px;
    padding:0 18px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);

}

/* STATS */

.dashboard-stats{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(240px,1fr));

    gap:24px;

    margin-bottom:40px;

}

/* CARD */

.dashboard-card{

    background:
    rgba(20,35,75,0.9);

    border-radius:26px;

    padding:28px;

    display:flex;

    align-items:center;

    gap:22px;

    transition:0.3s;

}

.dashboard-card:hover{

    transform:
    translateY(-6px);

    box-shadow:
    0 10px 25px rgba(56,182,255,0.12);

}

/* ICON */

.dashboard-icon{

    width:68px;
    height:68px;

    border-radius:18px;

    background:
    rgba(56,182,255,0.12);

    display:flex;

    justify-content:center;

    align-items:center;

}

.dashboard-icon i{

    font-size:28px;

    color:#38b6ff;

}

/* TEXT */

.dashboard-card h3{

    font-size:16px;

    color:#b5c4df;

    margin-bottom:10px;

}

.dashboard-card p{

    font-size:34px;

    font-weight:700;

}

/* GRID */

.dashboard-grid{

    display:grid;

    grid-template-columns:
    2fr 1fr;

    gap:30px;

}

/* LEFT */

.dashboard-left{

    display:flex;

    flex-direction:column;

    gap:30px;

}

/* BOX */

.analytics-box,
.recent-box,
.side-box{

    background:
    rgba(20,35,75,0.9);

    border-radius:30px;

    padding:30px;

}

/* TOP */

.analytics-top{

    margin-bottom:28px;

}

.analytics-top h2{

    font-size:28px;

}

/* CHART */

#performanceChart{

    width:100% !important;

    height:320px !important;

}

.chart-empty-state{

    min-height:320px;
    display:none;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:30px;
    color:#c4d3f0;
    border-radius:20px;
    background:rgba(255,255,255,0.04);
    border:1px dashed rgba(255,255,255,0.12);

}

/* RECENT */

#recentResults{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* RESULT CARD */

.result-item{

    background:
    rgba(255,255,255,0.04);

    border-radius:18px;

    padding:22px;

    transition:0.3s;

}

.result-item:hover{

    transform:
    translateY(-4px);

}

.clickable-result{

    cursor:pointer;

}

.summary-only-result{

    opacity:1;

}

/* RESULT TOP */

.result-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:12px;

}

/* TITLE */

.result-title{

    font-size:18px;

    font-weight:600;

}

/* SCORE */

.result-score{

    color:#38b6ff;

    font-weight:700;

}

/* META */

.result-meta{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

    color:#c4d3f0;

    font-size:13px;

}

.review-attempt-btn{

    margin-top:16px;
    padding:10px 14px;
    border:none;
    border-radius:12px;
    background:rgba(56,182,255,0.12);
    color:#38b6ff;
    font-weight:700;
    cursor:pointer;

}

.summary-only-result .review-attempt-btn{

    cursor:pointer;
    color:#38b6ff;
    background:rgba(56,182,255,0.12);

}

/* RIGHT */

.dashboard-right{

    display:flex;

    flex-direction:column;

    gap:30px;

}

/* PROGRESS RING */

.progress-ring{

    width:170px;
    height:170px;

    border-radius:50%;

    margin:25px auto;

    background:
    conic-gradient(
        #38b6ff 0%,
        #38b6ff 72%,
        rgba(255,255,255,0.08) 72%
    );

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

}

.progress-ring::before{

    content:"";

    position:absolute;

    width:125px;
    height:125px;

    border-radius:50%;

    background:#10244b;

}

/* VALUE */

.ring-value{

    position:relative;

    z-index:2;

    font-size:34px;

    font-weight:700;

}

/* TEXT */

.side-text{

    color:#c4d3f0;

    line-height:1.8;

    text-align:center;

}

/* GOAL */

.goal-progress{

    width:100%;

    height:14px;

    border-radius:30px;

    overflow:hidden;

    background:
    rgba(255,255,255,0.08);

    margin:
    25px 0 18px;

}

#goalFill{

    width:60%;

    height:100%;

    background:
    linear-gradient(
        145deg,
        #0077ff,
        #38b6ff
    );

}

.goal-text{

    text-align:center;

    color:#d4e1f8;

}

.weak-area-box{

    margin-top:20px;
    padding:18px;
    border-radius:18px;
    background:rgba(255,255,255,0.04);
    color:#d4e1f8;
    line-height:1.7;

}

.weak-area-box strong{

    display:block;
    color:white;
    margin-bottom:6px;

}

.weak-area-box.warning{

    border:1px solid rgba(255,193,7,0.28);
    background:rgba(255,193,7,0.08);

}

.weak-area-box.danger{

    border:1px solid rgba(255,82,82,0.28);
    background:rgba(255,82,82,0.08);

}

.dashboard-empty-state{

    display:flex;
    flex-direction:column;
    gap:12px;

}

.dashboard-empty-state a{

    display:inline-flex;
    width:max-content;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
    border-radius:14px;
    color:white;
    text-decoration:none;
    font-weight:700;
    background:
    linear-gradient(
        145deg,
        #0077ff,
        #38b6ff
    );

}

/* MOBILE */

@media(max-width:1100px){

    .dashboard-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .dashboard-section{

        padding:
        100px 0 70px;

    }

    .dashboard-top{

        flex-direction:column;

        align-items:flex-start;

    }

    .dashboard-actions-top{

        width:100%;
        justify-content:stretch;

    }

    .continue-btn,
    .dashboard-streak{

        width:100%;
        text-align:center;

    }

    .dashboard-top h1{

        font-size:36px;

    }

    .dashboard-card{

        padding:24px;

    }

    .dashboard-card p{

        font-size:28px;

    }

}
