/* Ensure the header background color is applied specifically */
header {
    background-color: #211f20 !important;
}

/* Ensure the nav links and header elements are styled correctly */
nav {
    background-color: #211f20 !important;
    color: white;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.bg-primary {
    background-color: #211f20 !important;
}

/* Toggle Switch Styling */
.form-switch {
    padding-left: 3.5rem;
}

.form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin-top: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-switch .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: right center;
}

.form-switch .form-check-input:not(:checked) {
    background-color: #ccc;
    border-color: #ccc;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: left center;
}

.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Ensures filter container is aligned & compact */
.filter-container {
    max-width: 900px; /* Controls width across different pages */
    margin: 0 auto 20px auto; /* Centers it and adds space below */
}

/* Adjust the spacing & alignment of filters */
.filter-container .col-md-5,
.filter-container .col-md-4 {
    max-width: 280px; /* Prevents overly wide dropdowns */
    margin-bottom: 0; /* Remove unnecessary space below */
}

/* Ensures filters & reset button are aligned properly */
.filter-container .d-flex {
    align-items: end;
}

/* Adjusts width of filters */
.filter-container select {
    max-width: 100%; /* Ensures dropdowns adjust properly */
}

/* Controls reset button size */
.filter-container .btn-outline-secondary {
    white-space: nowrap; /* Prevents text wrapping */
    padding: 6px 12px;
    min-width: 130px; /* Keeps button width consistent */
    margin-left: 10px;
}

/* Add this to your CSS file */
.footer-logo {
    width: 100px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
}