
.filters {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.station-details {
    max-height: 80vh;
    overflow-y: auto;
}

.chart-container {
    height: 300px;
    margin: 20px 0;
}

.modal-xl {
    max-width: 95%;
}

.data-table {
    font-size: 0.9em;
}

.data-table th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.quality-indicator {
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
}

.quality-class-I {
    background-color: #28a745;
}

.quality-class-II {
    background-color: #17a2b8;
}


.quality-class-III {
    background-color: #ffc107;
    color: black;
}

.quality-class-IV {
    background-color: #fd7e14;
}

.quality-class-V {
    background-color: #dc3545;
}

.parameter-value {
    font-weight: bold;
}

.loading {
    position: relative;
    min-height: 200px;
}

.loading::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-section {
    margin-top: 60px
}

/* Modern dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 0.375rem;
    background: #4f46e5;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: none;
    outline: 1px solid #4f46e5;
    cursor: pointer;
}

.dropdown-button:hover {
    background: #6366f1;
}

.chevron-icon {
    width: 1rem;
    height: 1rem;
    transform: rotate(0);
    transition: transform 0.3s ease;
}

.chevron-icon.rotate {
    transform: rotate(-180deg);
}

.dropdown-content {
    position: absolute;
    top: 3rem;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top center;
    border-radius: 0.375rem;
    background: #ffffff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 99;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #4a5568;
    text-decoration: none;
}

.dropdown-link:hover {
    color: #111827;
    background: #f1f1f1;
}

.dropdown-link.selected {
    background: #e2e8f0;
    color: #1a202c;
    font-weight: 500;
}

.dropdown.active .dropdown-content {
    opacity: 1;
    transform: scaleY(1);
    visibility: visible;
}