
.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 2rem 0;
}

.chart-card {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.chart-card h4 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.chart-wrapper {
    position: relative;
    flex: 1;
    min-height: 380px;
    width: 100%;
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 900px) {
    .chart-grid {
        grid-template-columns: 1fr;
    }
    .chart-wrapper {
        min-height: 320px;
    }
}

@media (max-width: 600px) {
    .chart-grid {
        gap: 16px;
    }
    .chart-card {
        padding: 16px;
        border-radius: 8px;
    }
    .chart-card h4 {
        font-size: 14px;
        margin: 0 0 12px;
    }
    .chart-wrapper {
        min-height: 280px;
    }
}

@media (max-width: 400px) {
    .chart-wrapper {
        min-height: 240px;
    }
    .chart-card {
        padding: 12px;
    }
}

.red-underline {
    color: white;             
    text-decoration: underline;
    text-decoration-color: #de0039; 
}


.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-card {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #de0039;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 1.15rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1rem;
    margin-top: .5rem;
    display: block;
}

@media (max-width: 600px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-card {
        padding: 1.5rem 1rem;
    }
    .stat-number {
        font-size: 2.4rem;
    }
    .stat-label {
        font-size: 1rem;
    }
}