body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    color: #333;
}

.header {
    background-color: #004d99;
    color: white;
    text-align: center;
    padding: 20px 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header h1 { margin: 0; font-size: 24px; }
.header p { margin: 5px 0 0 0; font-size: 14px; opacity: 0.8; }

.dashboard-container {
    max-width: 900px;
    margin: 30px auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 25px;
}

/* Stile per i filtri temporali */
.filter-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 13px;
    font-weight: bold;
    color: #555;
}

.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

#btn-load {
    padding: 9px 20px;
    background-color: #004d99;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.2s;
}

#btn-load:hover { background-color: #003366; }

#status-message {
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 20px;
}

.error-text { color: #d9534f !important; font-weight: bold; }
canvas { width: 100% !important; max-height: 450px; }