/* ==================== STUDENT LEARNER REPORT MODAL STYLES ==================== */
:root {
    --report-good-gradient: linear-gradient(135deg, #22c55e, #16a34a);
    --report-average-gradient: linear-gradient(135deg, #f59e0b, #d97706);
    --report-bad-gradient: linear-gradient(135deg, #ef4444, #dc2626);
    --report-good-light: rgba(34, 197, 94, 0.1);
    --report-average-light: rgba(245, 158, 11, 0.1);
    --report-bad-light: rgba(239, 68, 68, 0.1);
    --report-signature-gradient: linear-gradient(135deg, #FFD700, #FFA500);
    --report-signature-light: rgba(255, 215, 0, 0.1);
    --report-signature-border: rgba(255, 215, 0, 0.3);
}

.student-report-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: reportFadeIn 0.3s ease;
}

.student-report-overlay.active {
    display: flex;
}

@keyframes reportFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.student-report-modal {
    background: #0b0e16;
    border-radius: 1.5rem;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    animation: reportSlideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f7f9ff;
}

@keyframes reportSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.student-report-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #c2c6d8;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.student-report-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.student-report-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.student-report-title {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.student-report-score-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.student-report-score {
    font-size: 2.5rem;
    font-weight: 900;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    color: white;
}

.student-report-score.good {
    background: var(--report-good-gradient);
}

.student-report-score.average {
    background: var(--report-average-gradient);
}

.student-report-score.bad {
    background: var(--report-bad-gradient);
}

.student-report-status {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    text-transform: uppercase;
}

.student-report-status.good {
    background: var(--report-good-light);
    color: #22c55e;
}

.student-report-status.average {
    background: var(--report-average-light);
    color: #f59e0b;
}

.student-report-status.bad {
    background: var(--report-bad-light);
    color: #ef4444;
}

.student-report-summary-banner {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    margin: 1.5rem 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.student-report-summary-content {
    flex: 1;
}

.student-report-summary-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.student-report-summary-text {
    color: #c2c6d8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.student-report-summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.student-report-stat-item {
    display: flex;
    flex-direction: column;
}

.student-report-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
}

.student-report-stat-label {
    font-size: 0.8rem;
    color: #c2c6d8;
}

.student-report-summary-gif {
    width: 120px;
    height: 120px;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
}

.student-report-content {
    padding: 0 2.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.student-report-progress-grid {
    display: grid;
    gap: 1.5rem;
}

.student-report-progress-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.25rem;
}

.student-report-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.student-report-progress-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.student-report-progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.student-report-progress-fill {
    height: 100%;
    width: 0;
    transition: width 0.5s ease;
}

.exposure .student-report-progress-fill {
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
}

.practice .student-report-progress-fill {
    background: linear-gradient(90deg, #10b981, #22c55e);
}

.checkpoint .student-report-progress-fill {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.student-report-progress-target {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #c2c6d8;
    margin-bottom: 0.5rem;
}

.student-report-progress-desc {
    font-size: 0.85rem;
    color: #c2c6d8;
    line-height: 1.5;
}

.student-report-chart-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
}

.student-report-chart-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.student-report-chart-container {
    height: 200px;
    position: relative;
    margin-bottom: 1.5rem;
    padding-top: 20px;
}

.student-report-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
}

.student-report-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.student-report-bar {
    width: 30px;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.student-report-bar.good {
    background: #22c55e;
}

.student-report-bar.average {
    background: #f59e0b;
}

.student-report-bar.bad {
    background: #ef4444;
}

.student-report-bar-value {
    font-size: 0.75rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.student-report-bar-label {
    font-size: 0.75rem;
    margin-top: 8px;
    color: #c2c6d8;
}

.student-report-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #c2c6d8;
}

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

    .student-report-summary-banner {
        flex-direction: column;
    }

    .student-report-summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .student-report-summary-gif {
        align-self: center;
    }
}