html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

#map { 
    flex: 1;
    width: 100%; 
    position: relative;
    min-height: 0;
}

.footer-section {
    flex-shrink: 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.footer-logo-container {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-section {
        min-height: 100px;
    }
    
    .footer-logo-container {
        margin-bottom: 0;
        margin-right: 2rem;
    }
}   

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.z-top {
    z-index: 1000; 
}
.w-indicator {
    width: 0.5rem;
    height: 2rem; 
}
.dot {
    width: 0.5rem;
    height: 0.5rem;
}
.text-xxs {
    font-size: 0.65rem;
    letter-spacing: 1px;
}
.text-xs {
    font-size: 0.75rem;
}
.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.methodology-container {
    max-width: 380px;
    width: 100%;
    bottom: calc(100px + 1rem);
    z-index: 1001;
}

@media (max-width: 767.98px) {
    .methodology-container {
        max-width: 75vw;
        bottom: calc(120px + 1rem);
    }
    .methodology-card {
    padding: 0.75rem !important;
    }
    .methodology-text {
        font-size: 0.65rem !important;
        line-height: 1.4 !important;
    }
    .methodology-title {
        font-size: 0.65rem !important;
        letter-spacing: 0.05em !important;
    }
    .methodology-legend {
        font-size: 0.55rem !important;
    }
    .icon-sm-mobile {
        width: 1rem;
        height: 1rem;
    }
}

/* Layer Switcher */
.layer-toggle {
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.layer-toggle:hover {
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .layer-toggle {
        font-size: 0.65rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    /* Leaflet controls - reposition on mobile */
    .leaflet-bottom {
        bottom: 140px;
    }
    
    .leaflet-attribution-flag {
        display: none !important;
    }
    
    .leaflet-attribution {
        font-size: 0.7rem !important;
        padding: 4px 8px !important;
    }
    
}