﻿.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
}

.chart-wrapper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .chart-wrapper:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }

.chart-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.chart-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}

.chart-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-background {
    fill: rgba(255, 255, 255, 0.1);
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
}

.chart-progress {
    fill: none;
    stroke-width: 25;
    stroke-linecap: round;
    transition: stroke-dasharray 2s ease-in-out;
}

.chart-progress-blue {
    stroke: #4A90E2;
}

.chart-progress-purple {
    stroke: #8E44AD;
}

.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: bold;
    color: #2ECC71;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.legend-color-blue {
    background-color: #4A90E2;
}

.legend-color-purple {
    background-color: #8E44AD;
}

.legend-text {
    color: #4a90e2;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chart-wrapper {
    animation: fadeInUp 0.8s ease forwards;
}

    .chart-wrapper:nth-child(2) {
        animation-delay: 0.2s;
    }

    .chart-wrapper:nth-child(3) {
        animation-delay: 0.4s;
    }
