/* General Map Styling */
#formidable-map, #admin-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    transition: height 0.3s ease;
    margin-top: 10px;
}

/* Ensure map container fills the available space properly after load */
.leaflet-container {
    width: 100% !important;
    font-family: "Segoe UI", sans-serif;
}

/* Geocoder input field styling */
.leaflet-control-geocoder-form input[type="search"] {
    width: 160px;
    font-size: 14px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Zoom Level Indicator */
.zoom-indicator,.latlng-indicator {
    background: #000000;
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 4px;
    color: #ffffff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

/* Locate Button */
.leaflet-control-custom {
    background-color: #0073aa;
    color: white;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background 0.2s ease;
}
.leaflet-control-custom:hover {
    background-color: #005e8a;
}

/* Responsive fix for backend */
@media (max-width: 768px) {
    #formidable-map, #admin-map {
        height: 300px;
    }
}
