/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text color */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: #1f1f1f; /* Dark header background */
    color: #ffffff;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

header h1 {
    margin: 0;
    font-size: 2em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: #1f1f1f; /* Dark container background */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #ffffff; /* Light heading color */
}

/* Chart Container */
.chart-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

canvas {
    width: 100% !important;
    height: auto !important;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
    background-color: #1f1f1f; /* Dark table background */
    color: #e0e0e0; /* Light text color */
}

table, th, td {
    border: 1px solid #333333; /* Darker border */
}

th, td {
    padding: 12px;
    text-align: left;
    word-wrap: break-word;
}

th {
    background-color: #2c2c2c; /* Darker table header */
    color: #ffffff; /* Light header text */
}

tr:nth-child(even) {
    background-color: #2a2a2a; /* Slightly lighter row background */
}

tr:hover {
    background-color: #333333; /* Hover effect */
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1f1f1f; /* Dark footer background */
    color: #ffffff;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.5);
}

footer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    th, td {
        font-size: 14px;
        padding: 10px;
    }
}
/* Map container styling */
#map {
    height: 500px;
    width: 100%;
    margin-bottom: 20px;
}

/* Additional styling for charts, tables, and other elements */
.chart-container {
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}
/* CSS for the login form */
#login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#login-form input[type="password"] {
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
}

#login-form button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

.error {
    color: red;
    margin-top: 10px;
}

/* Additional styling for charts and other components can go here */
.container {
    margin: 20px 0;
}

.chart-container {
    position: relative;
    margin: auto;
    height: 300px;
    width: 80%;
}

footer {
    text-align: center;
    margin-top: 20px;
}
