.progress-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
 /*   height: 100vh;*/
    background: #09103f;
    overflow: hidden;
background-color: #09103f;
    background-image: url("/client/assets/images/bg/profile_bg_portrait.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (orientation: landscape) {
    .progress-screen {
        background-image: url("/client/assets/images/bg/profile_bg_landscape.jpg");
    }
}
.progress-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #0a2a43;
    color: white;

    font-family: "Sora", sans-serif;
    flex-shrink: 0;
}
#progress-back-btn {
    font-family: "Sora", sans-serif;
    background: #123d5c;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

#progress-back-btn:hover {
    background: #06325b;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.progress-topbar h2 {
    margin: 0;
    color: white;
}
.progress-title {
    flex: 1;

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

    font-family: "Sora", sans-serif;

    font-size: 18px;
    font-weight: 500;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    color: white;
}
.progress-content {
    flex: 1;
    min-height: 0;

    overflow-y: auto;

    padding: 15px;

    display: flex;
    flex-direction: column;

    gap: 18px;
}
.progress-footer-label {
    color: white;

    font-family: "Sora", sans-serif;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 6px;
}
.progress-footer-banner {
    position: relative;

    overflow: hidden;

    background: #0f172a;

    border: 1px solid #334155;

    border-radius: 10px;

    padding: 8px 0;

    min-height: 36px;
}

.progress-footer-ticker {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    white-space: nowrap;

    color: #93c5fd;

    font-weight: 600;

    will-change: transform;
}
.progress-footer {
    flex-shrink: 0;

    background: #0a2a43;
    margin-top: auto;
    border-top: 1px solid #1e3a5f;

    padding: 8px 12px 10px;

    z-index: 100;
}
.progress-section-card {
    background: #1e293b;
    border-radius: 14px;
    padding: 14px;
    color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.progress-section-card summary {
    font-size: 1.05rem;
}
.progress-section-card summary,
.progress-subject-card summary,
.progress-level-card summary {
    cursor: pointer;
    font-weight: 700;
    color: #93c5fd;
}

.progress-section-card summary::marker,
.progress-subject-card summary::marker,
.progress-level-card summary::marker {
    color: #93c5fd;
}

.progress-subject-card,
.progress-level-card {
    background: #0f172a;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.progress-subject-card {
    margin-left: 12px;
}

.progress-table-wrapper {
    overflow-x: auto;
    margin-top: 12px;
}

.progress-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

.progress-table th {
    background: #334155;
    color: white;
    padding: 12px;
    text-align: center;
}

.progress-table td {
    padding: 12px;
    border-bottom: 1px solid #334155;
    text-align: center;
    color: white;
}

.progress-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.attempt-card {
    background: #0f172a;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 15px;
}

.attempt-header {
    color: #93c5fd;
    font-size: 14px;
    margin-bottom: 10px;
}

.attempt-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.topics-dropdown {
    margin-top: 12px;
    padding: 10px;
    background: #1e293b;
    border-radius: 10px;
}

.topics-dropdown ul {
    margin-top: 10px;
    padding-left: 20px;
}

.topics-dropdown li {
    margin-bottom: 8px;
}
