/* Estilos Generales y Reseteo Básico */
body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.dashboard-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #1a73e8; /* Un azul deportivo */
    margin-bottom: 30px;
}

.kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.kpi-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-top: 4px solid #1a73e8;
}

.kpi-card .value {
    font-size: 2.5em;
    font-weight: bold;
    color: #1a73e8;
    margin: 0;
}

.kpi-card .title {
    font-size: 1em;
    color: #666;
    margin: 5px 0 0 0;
}

.chart-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.chart-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .chart-row {
        grid-template-columns: 1fr;
    }
}