/* ==========================================================================
   Score Progression Graph
   ========================================================================== */

.score-graph-section {
    margin: 20px 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    max-width: 100%;
}

.graph-toggle {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.graph-toggle:hover {
    background-color: #357abd;
}

.graph-toggle-icon {
    transition: transform 0.3s ease;
}

.graph-toggle-icon.expanded {
    transform: rotate(180deg);
}

.graph-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.graph-content.expanded {
    max-height: 500px;
}

.graph-canvas-container {
    padding: 20px;
}

#scoreProgressionChart {
    max-height: 400px;
    max-width: 100%;
}
