/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Container for the Console Buttons */
#consoleButtonsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

/* Container for the Condition Buttons */
#conditionButtonsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
}

/* Style for Buttons */
button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

button:active {
    background-color: #003d80;
}

/* Date Range Form Styles */
#dateRangeForm {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dateRangeForm label {
    margin: 0 10px;
    font-weight: bold;
}

#dateRangeForm input {
    padding: 5px;
    font-size: 14px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Container for the Chart */
#chartsContainer {
    width: 90%;
    max-width: 1000px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Canvas (Chart) Styles */
canvas {
    width: 100%;
    height: 400px;
}

/* Statistics Container */
#statisticsContainer {
    width: 90%;
    max-width: 1000px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

#statisticsContainer h2 {
    margin-top: 0;
    font-size: 24px;
}

#statisticsContainer p {
    font-size: 18px;
    margin: 10px 0;
}

/* Media Queries */
@media (max-width: 768px) {
    #dateRangeForm {
        flex-direction: column;
        align-items: stretch;
    }

    #dateRangeForm label, #dateRangeForm input {
        margin-bottom: 10px;
        width: 100%;
    }

    #chartsContainer, #statisticsContainer {
        width: 100%;
    }

    canvas {
        height: 300px;
    }
}
