body, html { 
    margin: 0; 
    padding: 0; 
    height: 100%; 
    width: 100%; 
    overflow: hidden; 
    background: #e2e8f0; 
    font-family: 'Inter', sans-serif; 
}

#map { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    z-index: 1; 
    background: #0f172a; 
}

.custom-tooltip {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.leaflet-tooltip-left:before { border-left-color: rgba(15, 23, 42, 0.95); }
.leaflet-tooltip-right:before { border-right-color: rgba(15, 23, 42, 0.95); }

.marker-dot {
    width: 24px; 
    height: 24px;
    background-color: #fff;
    border-style: solid;
    border-width: 5px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    position: absolute; 
    left: 50%; 
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.marker-dot:hover { 
    transform: translate(-50%, -50%) scale(1.3); 
    z-index: 1000 !important; 
}

.sovereignty-label {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center;
}

.sovereignty-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

.modal-transition { 
    transition: opacity 0.3s ease, visibility 0.3s ease; 
}

.modal-hidden { 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
}

.modal-visible { 
    opacity: 1; 
    visibility: visible; 
    pointer-events: auto; 
}

@keyframes fadeUp { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.animate-fade-up { 
    animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}