@import url('https://fonts.googleapis.com/css2?family=VT323&family=Press+Start+2P&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'VT323', monospace;
    font-weight: 400;
    background-color: #1a1a2e;
    overflow: hidden;
}

#map {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    #save-group-btn {
        bottom: 15px;
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
        min-width: 180px;
    }
    #save-group-btn:disabled {
        font-size: 0.7rem;
    }
}

/* 8-bit popup styles */
.leaflet-popup-content-wrapper {
    background-color: #16213e !important;
    border: 2px solid #0f3460 !important;
    border-radius: 0px !important;
    box-shadow: 2px 2px 0px #0f3460 !important;
    padding: 0 !important;
    max-width: 350px !important;
}

.narrow-popup .leaflet-popup-content-wrapper {
    max-width: 350px !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    padding: 1rem !important;
    font-family: 'VT323', monospace !important;
    width: auto !important;
    color: #e4e4e7 !important;
}

.leaflet-popup-tip {
    background-color: #16213e !important;
    border: 2px solid #0f3460 !important;
    border-top: none !important;
    border-right: none !important;
}

/* Show close button and style it 8-bit */
.leaflet-popup-close-button {
    display: block !important;
    color: #e4e4e7 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    background: #374151 !important;
    border: 1px solid #0f3460 !important;
    border-radius: 0 !important;
    width: 24px !important;
    height: 24px !important;
    text-align: center !important;
    line-height: 20px !important;
    font-family: 'VT323', monospace !important;
    top: 8px !important;
    right: 8px !important;
}

.leaflet-popup-close-button:hover {
    background: #4b5563 !important;
    color: #fbbf24 !important;
}

/* Enhanced popup content for park focus */
.popup-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.6rem;
    line-height: 1.2;
    word-wrap: break-word;
    font-family: 'VT323', monospace;
}

.popup-details {
    margin-bottom: 0.8rem;
}

.popup-image {
    margin-bottom: 0.8rem;
    text-align: center;
}

.popup-image img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border: 1px solid #0f3460;
    border-radius: 0;
    filter: contrast(1.2) saturate(0.8);
}

.popup-coordinates {
    font-size: 0.8rem;
    color: #94a3b8;
    font-family: 'VT323', monospace;
    margin-bottom: 0.4rem;
    padding: 0.3rem 0.4rem;
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 0;
    text-align: center;
}

.popup-rating {
    font-size: 0.9rem;
    color: #fef3c7;
    font-weight: 400;
    font-family: 'VT323', monospace;
    margin: 0.3rem 0.3rem 0.3rem 0;
    text-align: left;
    padding: 0.3rem 0.4rem;
    background-color: #d97706;
    border: 1px solid #92400e;
    border-radius: 0;
    display: inline-block;
    width: auto;
    max-width: fit-content;
    transition: all 0.2s ease;
    vertical-align: top;
}

.popup-rating:hover {
    box-shadow: 1px 1px 0px #92400e;
    transform: translate(-1px, -1px);
}

.popup-price {
    font-size: 0.9rem;
    color: #d1fae5;
    font-weight: 400;
    font-family: 'VT323', monospace;
    margin: 0.3rem 0.3rem 0.3rem 0;
    text-align: left;
    padding: 0.3rem 0.4rem;
    background-color: #059669;
    border: 1px solid #047857;
    border-radius: 0;
    display: inline-block;
    width: auto;
    max-width: fit-content;
    transition: all 0.2s ease;
    vertical-align: top;
}

.popup-price:hover {
    box-shadow: 1px 1px 0px #047857;
    transform: translate(-1px, -1px);
}


.popup-campsite-types {
    font-size: 0.9rem;
    color: #bfdbfe;
    font-weight: 400;
    font-family: 'VT323', monospace;
    margin: 0.3rem 0.3rem 0.3rem 0;
    padding: 0.3rem 0.4rem;
    background-color: #2563eb;
    border: 1px solid #1d4ed8;
    border-radius: 0;
    text-align: left;
    display: inline-block;
    width: auto;
    max-width: fit-content;
    transition: all 0.2s ease;
    vertical-align: top;
}

.popup-campsite-types:hover {
    box-shadow: 1px 1px 0px #1d4ed8;
    transform: translate(-1px, -1px);
}

.popup-equipment {
    font-size: 0.9rem;
    color: #fce7f3;
    font-weight: 400;
    font-family: 'VT323', monospace;
    margin: 0.3rem 0.3rem 0.3rem 0;
    padding: 0.3rem 0.4rem;
    background-color: #be185d;
    border: 1px solid #9d174d;
    border-radius: 0;
    text-align: left;
    display: inline-block;
    width: auto;
    max-width: fit-content;
    transition: all 0.2s ease;
    vertical-align: top;
}

.popup-equipment:hover {
    box-shadow: 1px 1px 0px #9d174d;
    transform: translate(-1px, -1px);
}

.popup-amenities {
    font-size: 0.9rem;
    color: #dcfce7;
    font-weight: 400;
    font-family: 'VT323', monospace;
    margin: 0.3rem 0;
    padding: 0.3rem 0.4rem;
    background-color: #16a34a;
    border: 1px solid #15803d;
    border-radius: 0;
    line-height: 1.3;
    display: block;
    width: auto;
    max-width: fit-content;
    transition: all 0.2s ease;
    text-align: left;
}

.popup-amenities:hover {
    box-shadow: 1px 1px 0px #15803d;
    transform: translate(-1px, -1px);
}

.popup-amenities strong {
    color: #dcfce7;
    font-weight: 400;
    display: block;
    margin-bottom: 0.3rem;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
}

.popup-aggregate-message {
    font-size: 0.9rem;
    color: #fbbf24;
    font-weight: 400;
    font-family: 'VT323', monospace;
    padding: 0.3rem 0.4rem;
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 0;
    text-align: left;
    margin: 0.3rem 0.3rem 0.3rem 0;
    display: inline-block;
    width: auto;
    max-width: fit-content;
    transition: all 0.2s ease;
    vertical-align: top;
}

.popup-aggregate-message:hover {
    box-shadow: 1px 1px 0px #1e293b;
    transform: translate(-1px, -1px);
}

.popup-provider-line {
    margin: 0.3rem 0;
}

.popup-provider {
    padding: 0.3rem 0.4rem;
    background-color: #374151;
    color: #e5e7eb;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 0.9rem;
    font-family: 'VT323', monospace;
    border: 1px solid #4b5563;
    border-radius: 0;
    transition: all 0.2s ease;
    margin: 0.3rem 0.3rem 0.3rem 0;
    text-align: left;
    width: auto;
    max-width: fit-content;
    vertical-align: top;
}

.popup-provider.recreation_gov {
    background-color: #00ff00;
    color: #000;
}

.popup-provider.reservecalifornia {
    background-color: #ff4757;
    color: #000;
}

.popup-provider.recreation_gov:hover {
    background-color: #00cc00;
}

.popup-provider.reservecalifornia:hover {
    background-color: #e63946;
}

.map-action-btn {
    font-size: 0.9rem;
    color: #fef3c7;
    font-weight: 400;
    font-family: 'VT323', monospace;
    margin: 0.3rem 0;
    padding: 0.3rem 0.4rem;
    background-color: #d97706;
    border: 1px solid #92400e;
    border-radius: 0;
    text-align: left;
    display: block;
    width: auto;
    max-width: fit-content;
    transition: all 0.2s ease;
    cursor: pointer;
}

.map-action-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 1px 1px 0px #92400e;
}

.campground-link-btn {
    background-color: #2563eb !important;
    text-decoration: none !important;
    display: inline-block !important;
    color: #bfdbfe !important;
}

.campground-link-btn:hover {
    background-color: #1d4ed8 !important;
    color: #bfdbfe !important;
}

/* Layer control styling to match 8-bit theme */
.leaflet-control-layers {
    border: 1px solid #374151 !important;
    border-radius: 0 !important;
    box-shadow: 2px 2px 0px #374151 !important;
    background-color: #1f2937 !important;
}

.leaflet-control-layers-expanded {
    padding: 0.8rem !important;
    font-family: 'VT323', monospace !important;
}

.leaflet-control-layers label {
    font-weight: 400 !important;
    color: #e5e7eb !important;
    margin-bottom: 0.4rem !important;
}

.custom-popup {
    min-width: 200px;
}

.popup-title {
    font-weight: 400;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    font-family: 'VT323', monospace;
}

.popup-provider {
    padding: 0.3rem 0.4rem;
    background-color: #3498db;
    color: #000;
    text-decoration: none;
    display: block;
    font-weight: 400;
    font-size: 1rem;
    font-family: 'VT323', monospace;
    border: 2px solid #000;
    border-radius: 0;
    transition: all 0.2s ease;
    margin: 0.3rem 0;
    text-align: left;
    width: auto;
    max-width: fit-content;
}

.popup-provider:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
    color: #000 !important;
}

.popup-provider:visited {
    color: #000 !important;
}

.popup-provider:active {
    color: #000 !important;
    transform: translate(0px, 0px);
    box-shadow: 2px 2px 0px #000;
}

.popup-provider.recreation-gov { 
    background-color: #00ff00; 
    color: #000 !important;
}

.popup-provider.recreation-gov:hover { 
    background-color: #00cc00;
    color: #000 !important;
}

.popup-provider.recreation-gov:visited { 
    color: #000 !important;
}

.popup-provider.reservecalifornia { 
    background-color: #ff4757; 
    color: #000 !important;
}

.popup-provider.reservecalifornia:hover { 
    background-color: #ff4757;
    color: #000 !important;
}

.popup-provider.reservecalifornia:visited { 
    color: #000 !important;
}

/* Save Group Button - Floating at bottom */
#save-group-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0.5rem 1rem;
    background-color: #fbbf24;
    color: #1f2937;
    border: 2px solid #92400e;
    border-radius: 0px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 400;
    font-family: 'Press Start 2P', monospace;
    transition: all 0.1s ease;
    white-space: nowrap;
    min-width: 200px;
    text-align: center;
    box-shadow: 2px 2px 0px #92400e;
}

#save-group-btn:hover:not(:disabled) {
    transform: translateX(-50%) translate(-1px, -1px);
    box-shadow: 3px 3px 0px #92400e;
    background-color: #f59e0b;
}

#save-group-btn:disabled {
    background-color: #4b5563;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: 1px 1px 0px #374151;
    border-color: #374151;
}

/* Filter Button - Floating at top right */
#filter-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    padding: 0.8rem 1.5rem;
    background-color: #2563eb;
    color: #bfdbfe;
    border: 2px solid #1d4ed8;
    border-radius: 0px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 400;
    font-family: 'VT323', monospace;
    transition: all 0.1s ease;
    white-space: nowrap;
    text-align: center;
    box-shadow: 2px 2px 0px #1d4ed8;
}

#filter-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #1d4ed8;
    background-color: #1e40af;
}

@media (max-width: 768px) {
    #filter-btn {
        top: 15px;
        right: 15px;
        padding: 0.7rem 1.2rem;
        font-size: 1.1rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #1f2937;
    margin: 5% auto;
    padding: 0;
    border-radius: 0px;
    border: 2px solid #374151;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 2px 2px 0px #374151;
    box-sizing: border-box;
}

.modal-header {
    background-color: #16a34a;
    color: #dcfce7;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #15803d;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: 'Press Start 2P', monospace;
}

.close {
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.3rem;
    font-weight: 400;
    font-family: 'VT323', monospace;
    transition: all 0.1s ease;
    color: #dcfce7;
}

.close:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 0;
    max-height: 50vh;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'VT323', monospace;
    color: #e5e7eb;
    padding: 0 1rem;
    font-size: 1.1rem;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 1.2rem 1rem;
    border: none;
    border-top: 2px solid #374151;
    border-bottom: 2px solid #374151;
    border-radius: 0px;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'VT323', monospace;
    box-sizing: border-box;
    background-color: #111827;
    color: #e5e7eb;
    transition: all 0.1s ease;
    margin: 0;
}

.campground-list {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border: none;
    border-top: 2px solid #374151;
    border-bottom: 2px solid #374151;
    border-radius: 0px;
    background: #111827;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.campground-item {
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.campground-item label {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin: 0;
    cursor: pointer;
    border: none;
    border-bottom: 1px solid #374151;
    border-radius: 0;
    background: #111827;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    transition: all 0.2s ease;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #e5e7eb;
}

.campground-item input[type="checkbox"] {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transform: scale(1.2);
    accent-color: #16a34a;
    border: 0px;
    border-radius: 0px;
    align-self: flex-start;
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: #374151;
    border: 1px solid #4b5563;
    position: relative;
    flex-shrink: 0;
}

.campground-item input[type="checkbox"]:checked {
    background-color: #16a34a;
}

.campground-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dcfce7;
    font-weight: 400;
    font-size: 14px;
}

.campground-name {
    font-weight: 400;
    color: #e5e7eb;
    margin-bottom: 0.5rem;
    width: 100%;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
}

.campground-info-blocks {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.campground-provider {
    font-size: 0.8rem;
    color: #bfdbfe;
    background: #2563eb;
    padding: 0.2rem 0.4rem;
    border-radius: 0px;
    border: 1px solid #1d4ed8;
    font-family: 'VT323', monospace;
    font-weight: 400;
    display: inline-block;
    width: auto;
    max-width: fit-content;
}

.campground-rating {
    font-size: 0.8rem;
    color: #fef3c7;
    font-weight: 400;
    font-family: 'VT323', monospace;
    padding: 0.2rem 0.4rem;
    background-color: #d97706;
    border: 1px solid #92400e;
    border-radius: 0;
    display: inline-block;
    width: auto;
    max-width: fit-content;
}

.campground-price {
    font-size: 0.8rem;
    color: #d1fae5;
    font-weight: 400;
    font-family: 'VT323', monospace;
    padding: 0.2rem 0.4rem;
    background-color: #059669;
    border: 1px solid #047857;
    border-radius: 0;
    display: inline-block;
    width: auto;
    max-width: fit-content;
}

.campground-campsite-types {
    font-size: 0.8rem;
    color: #bfdbfe;
    font-weight: 400;
    font-family: 'VT323', monospace;
    padding: 0.2rem 0.4rem;
    background-color: #2563eb;
    border: 1px solid #1d4ed8;
    border-radius: 0;
    display: inline-block;
    width: auto;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

.campground-equipment {
    font-size: 0.8rem;
    color: #fce7f3;
    font-weight: 400;
    font-family: 'VT323', monospace;
    padding: 0.2rem 0.4rem;
    background-color: #be185d;
    border: 1px solid #9d174d;
    border-radius: 0;
    display: inline-block;
    width: auto;
    max-width: fit-content;
}

.campground-amenities {
    font-size: 0.8rem;
    color: #dcfce7;
    font-weight: 400;
    font-family: 'VT323', monospace;
    margin-top: 0.3rem;
    padding: 0.2rem 0.4rem;
    background-color: #16a34a;
    border: 1px solid #15803d;
    border-radius: 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: inline-block;
    width: auto;
    max-width: fit-content;
}

.modal-footer {
    background-color: #1f2937;
    padding: 1rem;
    border-top: 2px solid #374151;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.modal-footer button {
    padding: 1.2rem 2rem;
    border: 2px solid #374151;
    border-radius: 0px;
    cursor: pointer;
    height: 50px;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'VT323', monospace;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#save-modal-btn {
    background-color: #16a34a;
    color: #dcfce7;
    box-shadow: 1px 1px 0px #15803d;
}

#save-modal-btn:hover:not(:disabled) {
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px #15803d;
    background-color: #059669;
}

#save-modal-btn:disabled {
    background-color: #4b5563;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: 1px 1px 0px #374151;
    border-color: #374151;
}

.modal-footer button:last-child {
    background-color: #dc2626;
    color: #fecaca;
    box-shadow: 1px 1px 0px #b91c1c;
}

.modal-footer button:last-child:hover {
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px #b91c1c;
    background-color: #b91c1c;
}

/* Success Modal Styles */
.success-modal .modal-header {
    background: #fbbf24;
    color: #1f2937;
    border-bottom: 2px solid #92400e;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.success-content {
    text-align: center;
    padding: 2.5rem 0;
}

.success-emoji {
    font-size: 4rem;
    margin: 1rem 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.success-message {
    font-size: 1.2rem;
    font-weight: 400;
    color: #e5e7eb;
    margin: 1rem 0;
    font-family: 'Press Start 2P', monospace;
}

.success-instructions {
    font-size: 1rem;
    color: #e5e7eb;
    margin: 1.5rem 0;
    line-height: 1.6;
    font-family: 'VT323', monospace;
    font-weight: 500;
}

.discord-command {
    background: #5865f2;
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 0px;
    border: 1px solid #4f46e5;
    font-family: 'VT323', monospace;
    font-weight: 400;
    box-shadow: 1px 1px 0px #4f46e5;
}

.success-btn {
    background: #16a34a;
    color: #dcfce7;
    border: 2px solid #15803d;
    padding: 1rem 2rem;
    border-radius: 0px;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'VT323', monospace;
    cursor: pointer;
    transition: all 0.1s ease;
    text-shadow: none;
    box-shadow: 2px 2px 0px #15803d;
}

.success-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #15803d;
    background: #059669;
}

.success-footer {
    background: transparent;
    border: none;
    padding: 2.5rem;
    justify-content: center;
}

/* Update form focus styles for 8-bit */
#group-name:focus {
    border-color: #16a34a;
    border-top: 2px solid #16a34a;
    border-bottom: 2px solid #16a34a;
    box-shadow: none;
    outline: none;
    background-color: #0f172a;
}

/* 8-bit checkboxes */
.campground-item input[type="checkbox"] {
    border-radius: 0px;
}

.campground-item:hover {
    background-color: #1f2937;
    transition: background-color 0.1s ease;
}

/* Instructions Modal Styles */
.instructions-content {
    padding: 1rem;
    color: #e5e7eb;
}

.instruction-step {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    line-height: 1.4;
    box-shadow: none;
    color: #e5e7eb;
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.instruction-step code {
    background: #1e293b;
    padding: 0.2rem 0.4rem;
    border: 1px solid #334155;
    font-family: 'VT323', monospace;
    font-weight: 400;
    color: #fbbf24;
}

#start-schniffing-btn {
    background-color: #16a34a;
    color: #dcfce7;
    box-shadow: 2px 2px 0px #15803d;
    width: 100%;
    font-size: 1rem;
    padding: 1.5rem 2rem;
    font-family: 'VT323', monospace;
    border: 2px solid #15803d;
}

#start-schniffing-btn:hover {
    background-color: #059669;
    transform: translateY(-1px);
    box-shadow: 3px 3px 0px #15803d;
}

/* Filter Modal Styles */
.filter-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #1f2937;
}

.filter-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 400;
    color: #fbbf24;
    text-transform: uppercase;
    font-family: 'Press Start 2P', monospace;
}

.filter-checkbox-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid #374151;
    background-color: #111827;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid transparent;
    transition: all 0.1s ease;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.filter-checkbox-item:hover {
    background-color: #1f2937;
    border-color: #374151;
}

.filter-checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    accent-color: #dc2626;
}

.filter-checkbox-item label {
    cursor: pointer;
    font-weight: 400;
    user-select: none;
    font-family: 'VT323', monospace;
}

.map-layers-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #374151;
    background-color: #111827;
}

.map-layers-container .filter-checkbox-item input[type="radio"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    accent-color: #dc2626;
}

.slider-container {
    margin-bottom: 1rem;
}

.slider-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #e5e7eb;
    font-family: 'VT323', monospace;
    font-size: 1rem;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 0;
    background: #4b5563;
    outline: none;
    border: 1px solid #374151;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: #dc2626;
    border: 1px solid #b91c1c;
    cursor: pointer;
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: #dc2626;
    border: 1px solid #b91c1c;
    cursor: pointer;
}

.secondary-btn {
    background-color: #4b5563 !important;
    color: #e5e7eb !important;
    border: 2px solid #374151 !important;
    box-shadow: 1px 1px 0px #374151 !important;
    font-family: 'VT323', monospace !important;
}

.secondary-btn:hover {
    background-color: #374151 !important;
    transform: translate(-1px, -1px) !important;
    box-shadow: 2px 2px 0px #374151 !important;
}

.primary-btn {
    background-color: #16a34a !important;
    color: #dcfce7 !important;
    border: 2px solid #15803d !important;
    box-shadow: 1px 1px 0px #15803d !important;
    font-family: 'VT323', monospace !important;
}

.primary-btn:hover {
    background-color: #059669 !important;
    transform: translate(-1px, -1px) !important;
    box-shadow: 2px 2px 0px #15803d !important;
}

@media (max-width: 768px) {
    .filter-checkbox-container {
        grid-template-columns: 1fr;
        max-height: 150px;
    }
    
    .filter-section {
        padding: 0.8rem;
    }
}
