/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2 {
    text-align: center;
    color: #003366;
}

h2 {
    margin-top: 30px;
    font-size: 1.5em;
    border-bottom: 2px solid #003366;
    display: inline-block;
    padding-bottom: 5px;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.tab-button {
    padding: 10px 20px;
    background: #003366;
    color: #FFD700;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.tab-button:hover {
    background: #00509E;
}

.tab-button.active {
    background: #FFD700;
    color: #003366;
}

/* Tab Content */
.tab-content {
    display: none;
    margin-top: 20px;
}

.tab-content.active {
    display: block;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.filters label {
    font-weight: bold;
}

.filters select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1em;
}

/* Map and Charts */
#map {
    width: 100%;
    height: 500px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
}

canvas {
    margin: 0 auto 30px;
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

/* Accessibility Improvements */
button, select {
    font-size: 1em;
}

.tab-button, select {
    outline: 2px solid transparent;
}

.tab-button:focus, select:focus {
    outline: 2px solid #00509E;
}
