.charts-section {
    padding: 80px 0;
    background-color: #e5e5e5;
    color: #fff;
}

.charts-section .container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin: 0 auto !important;
 
}

.charts-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 0px;
    color: #000000;
     position: relative;
    flex-direction: column;
}

.charts-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background-color: #333;
    margin: 20px auto;
}

@media (min-width: 1200px) {
    .charts-section .chart-container {
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
        border: 1px solid #ee2e2e;
    }
}

.chart-container {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.chart-name {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.chart-legend {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #181818;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.chart-wrapper {
    position: relative;
    height: 300px;
    margin-bottom: 30px;
}

.chart-highlight {
    background-color: #f7f7f7;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #757575;
    max-width: 300px;
    margin: 0 auto;
}

.highlight-date {
    font-size: 14px;
    color: #5b5b5b;
    margin-bottom: 5px;
}

.highlight-value {
    font-size: 36px;
    font-weight: 700;
    color: #ee2e2e;
    margin-bottom: 5px;
}

.highlight-label {
    font-size: 16px;
    color: #353535;
}

.chart-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    background-color: #f7f7f7;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #757575;
}

.stat-position {
    font-size: 14px;
    color: #5b5b5b;
    margin-bottom: 10px;
}

.stat-count {
    font-size: 24px;
    font-weight: 700;
    color: #ee2e2e;
}

@media (max-width: 968px) {

    .chart-container {
        width: 100%;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .chart-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-box {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .charts-section {
        padding: 60px 0px !important;
    }

    .charts-section .container {
        max-width: 1200px !important;
        margin: 0px auto !important;
        padding: 0px 20px !important;
    }

    .charts-title {
        font-size: 26px;
        margin-bottom: 0px;
    }

    .chart-container {
        padding: 20px 15px;
        margin-bottom: 30px;
        width: 100%;
        border: 1px solid #ee2e2e;
    }

    .chart-name {
        font-size: 20px;
    }

    .legend-item {
        font-size: 12px;
    }

    .chart-wrapper {
        height: 200px;
        margin-bottom: 20px;
    }

    .highlight-value {
        font-size: 28px;
    }

    .chart-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stat-position {
        margin-bottom: 0px;
    }

    .stat-count {
        font-size: 20px;
    }
}

