/* General Styling */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    text-align: center;
    color: #333;
}

/* Header */
header {
    background-color: #007bff;
    color: white;
    padding: 15px;
    font-size: 1.5em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Dropdown */
.dropdown-container {
    margin: 20px;
}
.dropdown-container label {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}
.dropdown-container select {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dropdown-container select:hover {
    border-color: #007bff;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

/* Speedometers */
.speedometer-container {
    width: 280px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 10px;
}
.speedometer-container h3 {
    margin-bottom: 10px;
}
#gaugeValue1, #gaugeValue2 {
    position: absolute;
    bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

/* Map */
#map {
    flex: 1;
    height: 350px;
    min-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Charts */
.chart-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}
.chart-box {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.chart-box:hover {
    transform: scale(1.03);
}
canvas {
    width: 100%;
    background: white;
}




.data-section {
            background: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            display: inline-block;
            max-width: 90%;
            overflow-x: auto;
        }
        label {
            font-weight: bold;
            margin-right: 10px;
        }
        input[type="date"] {
            padding: 5px;
            border-radius: 5px;
            border: 1px solid #ccc;
        }
        button {
            background: #28a745;
            color: white;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            border-radius: 5px;
            margin-left: 10px;
        }
        button:hover {
            background: #218838;
        }
        .table-container {
            max-height: 400px;
            overflow-y: auto;
            overflow-x: auto;
            border: 1px solid #ddd;
            margin-top: 20px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            background: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            min-width: 800px;
        }
        th, td {
            padding: 10px;
            border: 1px solid #ddd;
            text-align: center;
        }
        th {
            background: #007bff;
            color: white;
        }
        tbody tr:nth-child(even) {
            background: #f9f9f9;
        }
/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
        align-items: center;
    }
    #map {
        width: 100%;
        height: 50vh;
    }
    .chart-box {
        min-width: 100%;
    }
}
