/* assets/css/storico.css */

/* Stili Generali */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #1b1b1b;
    margin: 0;
    padding: 0;
}

/* Contenitore Principale */
#storico-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    color: #ffffff;
}

/* Titolo */
#storico-container h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #FFD93D;
}

/* Filtro per le Date */
#date-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

#date-filter label {
    margin-right: 10px;
    font-weight: bold;
    color: #ffffff;
}

#date-filter select, #date-filter input {
    margin-right: 10px;
    padding: 7px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #2c2c2c;
    color: #ffffff;
}

#apply-custom-range {
    padding: 7px 15px;
    background-color: #FF6B6B;
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 5px;
}

#apply-custom-range:hover {
    background-color: #FFD93D;
}

/* Sezione Grafici */
#charts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 40px;
}

.chart {
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 15px;
    padding: 15px;
    margin: 15px;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
    width: 45%;
    height: 400px;
    position: relative;
}

/* Sezione Statistiche */
#statistics-container {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
    text-align: center;
    color: #ffffff;
}

#statistics-container h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 2em;
    color: #FFD93D;
}

#statistics-container p {
    font-size: 1.3em;
    margin: 15px 0;
    color: #ffffff;
}

/* Stili Responsivi */
@media screen and (max-width: 992px) {
    #charts-container {
        flex-direction: column;
        align-items: center;
    }

    .chart {
        width: 90%;
    }

    #date-filter {
        flex-direction: column;
    }

    #date-filter label, #date-filter select, #date-filter input, #apply-custom-range {
        margin-bottom: 10px;
    }
}
