/* ==========================================================================
   HO SETE! - Stylesheet
   ========================================================================== */

/* Base & Reset */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Map Container */
#map {
    height: 100vh;
    width: 100vw;
    z-index: 1;
    background-color: #e5e7eb;
    transition: background-color 0.3s ease;
}

/* UI Overlays */
.ui-layer {
    position: absolute;
    z-index: 1000;
    width: 100%;
    pointer-events: none;
}

.ui-element {
    pointer-events: auto;
}

/* Leaflet Customizations */
.leaflet-div-icon {
    background: transparent;
    border: none;
}

/* Animations */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Dark Mode Overrides for UI Elements */
body.dark-mode #map {
    background-color: #1f2937;
}

body.dark-mode .dark-target {
    background-color: rgba(31, 41, 55, 0.95) !important;
    color: #f3f4f6 !important;
    border-color: #374151 !important;
}

body.dark-mode .dark-target-input {
    background-color: #1f2937 !important;
    color: #f3f4f6 !important;
}

body.dark-mode .dark-text-title {
    color: #f9fafb !important;
}

body.dark-mode .dark-text-muted {
    color: #9ca3af !important;
}

/* Custom Scrollbar for Modals */
#aboutModal::-webkit-scrollbar {
    width: 6px;
}

#aboutModal::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#aboutModal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

#aboutModal::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
