body {
    background-image: url('../imgs/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    padding: 2rem;
    margin-top: 2rem;
}

.grid > div {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.grid > div:hover {
    background-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.grid > div h2 {
    color: #2c3e50;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

h1 {
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Chart-specific styling */
#line_chart,
#column_chart,
#geo_chart,
#map_chart {
    position: relative;
    width: 100%;
    height: 350px;
    max-height: 400px;
}

/* Subtle loading or error state */
#line_chart::before,
#column_chart::before,
#geo_chart::before,
#map_chart::before {
    content: 'Cargando datos...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7f8c8d;
    font-style: italic;
}