/* Dark Mode Toggle Button Styles */

/* Ensure button is always visible */
#darkModeToggleBtn {
    position: fixed !important;
    top: 80px !important;
    right: 20px !important;
    z-index: 9999 !important;
    background: white !important;
    border: 2px solid rgba(0,0,0,0.2) !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    cursor: pointer !important;
    font-size: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
}

#darkModeToggleBtn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

/* Dark mode styles for the button itself */
body.dark-map-mode #darkModeToggleBtn {
    background: #2a2a2a !important;
    border-color: rgba(255,255,255,0.2) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
}

/* Ensure button stays on top of everything */
div:has(> #darkModeToggleBtn) {
    position: fixed !important;
    top: 80px !important;
    right: 20px !important;
    z-index: 9999 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #darkModeToggleBtn {
        top: 70px !important;
        right: 10px !important;
        padding: 8px 12px !important;
        font-size: 18px !important;
    }
}