section h2 {
    text-align: center;
    font-weight: 500;
    font-size: 2.5rem;
}

.score {
    text-align: center;
    width: 200px;
}

.score h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.accuracy--containers {
    display: flex;
    flex-wrap: wrap;
    gap: 120px;
    margin-top: 60px;
}

.chart-container {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            overflow: hidden;
            margin-top: 90px;
        }

.chart-container h2 {
    font-weight: 500;
}
        
        .chart-title {
            text-align: center;
            margin-bottom: 30px;
            color: #2c3e50;
            font-size: 1.8em;
            font-weight: 600;
        }
        
        .chart-wrapper {
            position: relative;
            width: 100%;
            height: 500px;
            min-height: 300px;
        }
        
        .chart {
            display: flex;
            align-items: flex-end;
            justify-content: space-around;
            height: 100%;
            padding: 0 20px;
            border-bottom: 2px solid #ddd;
            border-left: 2px solid #ddd;
            position: relative;
        }
        
        .bar-group {
            display: flex;
            flex-direction: column;
            align-items: center;
            height: 100%;
            width: 60px;
            position: relative;
        }
        
        .bar {
            width: 40px;
            border-radius: 8px 8px 0 0;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            background: linear-gradient(to top, #3498db, #2980b9);
            margin-top: auto;
            animation: growBar 1s ease-out;
        }
        
        .bar:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .bar-value {
            position: absolute;
            top: -35px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.9em;
            font-weight: bold;
            opacity: 0;
            transition: opacity 0.3s;
            white-space: nowrap;
            z-index: 10;
        }
        
        .bar:hover .bar-value {
            opacity: 1;
        }
        
        .bar-label {
            margin-top: 10px;
            text-align: center;
            font-weight: 500;
            color: #2c3e50;
            font-size: 0.9em;
            word-break: break-word;
            max-width: 100%;
        }
        
        .y-axis {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px 0;
        }
        
        .y-tick {
            position: relative;
            text-align: right;
            padding-right: 10px;
            color: #7f8c8d;
            font-size: 0.8em;
        }
        
        .y-tick::after {
            content: '';
            position: absolute;
            right: -5px;
            top: 50%;
            width: 5px;
            height: 1px;
            background: #ddd;
        }
        
        .controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .control-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            background: #3498db;
            color: white;
            cursor: pointer;
            font-size: 1em;
            transition: all 0.3s ease;
        }
        
        .control-btn:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }
        
        @keyframes growBar {
            from {
                height: 0;
            }
            to {
                height: var(--bar-height);
            }
        }
        
        @media (max-width: 768px) {
            .chart-wrapper {
                height: 400px;
            }
            
            .bar-group {
                width: 50px;
            }
            
            .bar {
                width: 30px;
            }
            
            .bar-label {
                font-size: 0.8em;
            }
        }
        
        @media (max-width: 480px) {
            .chart-wrapper {
                height: 300px;
            }
            
            .bar-group {
                width: 40px;
            }
            
            .bar {
                width: 25px;
            }
            
            .bar-label {
                font-size: 0.7em;
            }
            
            .controls {
                flex-direction: column;
                align-items: center;
            }
            
            .control-btn {
                width: 100%;
                max-width: 200px;
            }
        }
        
        .legend {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
        }

        .finalize {
            margin-top: 90px;
        }

        .finalize p {
            font-size: 1.25rem;
        }

        .finalize b {
            font-weight: 500;
        }

@media screen and (max-width: 600px) {
    .accuracy--containers {
        gap: 60px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}