/* Importar Noto Sans de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Aplicar fuente a todos los contenedores del mapa */
[id^="app-map-container-"],
[id^="app-map-container-"] * {
    font-family: 'Noto Sans', sans-serif;
}

/* Contenedor del mapa */
[id^="map-"] {
    background-color: #F2F2F2 !important;
}

.text-label {
    font-size: 16px;
    font-weight: 400;
}

.text-black {
    color: #000000;
}

.text-white {
    color: #FFFFFF;
}

.text-content {
    font-size: 20px;
    color: #030303;
    font-weight: 700;
}

.text-right {
    text-align: right;
}

.text-white {
    color: white;
}

/* Ocultar botón de cierre por defecto de Leaflet */
.leaflet-popup-close-button {
    display: none !important;
}

/* Botón de cierre personalizado */
.custom-close-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.custom-close-btn:hover {
    opacity: 0.7;
    background-color: unset !important;
}

.custom-close-btn:focus {
    outline-style: unset !important;
}

/* Estilos del popup */
.leaflet-popup-content-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}

.leaflet-popup-content {
    margin-bottom: 0px !important;
}

.leaflet-popup-tip {
    background-color: rgba(255, 255, 255, 0.30) !important;
    backdrop-filter: blur(8px);
}

/* Título del popup */
.popup-box-title {
    margin-left: auto;
    background-color: #A57F2C;
    border-top-left-radius: 40px;
    width: 50%;
    padding: 8px;
}

/* Caja del popup con efecto glassmorphism */
.popup-box {
    background-color: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(8px);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    color: #333;
    min-width: 500px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
}

.leaflet-touch .leaflet-bar button {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 1px 6px;
}

.leaflet-pane {
    z-index: 50 !important;
}

.leaflet-control-container > .leaflet-top {
    z-index: 60 !important;
}