/* Estilos básicos para que el mapa ocupe toda la pantalla */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

#map {
    height: 100%; /* El mapa ocupa todo el espacio restante */
    width: 100%;
    flex-grow: 1; /* Permite que el mapa crezca */
    z-index: 1; /* Mapa por debajo de la búsqueda */
}

.search-container {
    padding: 10px;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ddd;
    z-index: 1000; /* Búsqueda por encima del mapa */
    text-align: center;
}

#school-search {
    width: 400px;
    padding: 8px;
    font-size: 16px;
}

/* Contenedor para la animación Lottie sobre el mapa */
.lottie-animation-container {
    width: 200px;  /* Ajusta el tamaño de tu animación */
    height: 200px;
    position: relative;
    /* Centra el Lottie en el punto exacto */
    transform: translate(-50%, -50%); 
}

/* Estilos para los clusters de marcadores personalizados */
.my-custom-cluster {
    background: transparent;
    border: none;
}

.custom-cluster-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cluster-pebetero-bg {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
    z-index: 1;
    filter: drop-shadow(0px 0px 8px rgba(255, 110, 0, 0.75));
}

.cluster-count {
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(230, 70, 0, 0.95);
    padding: 2px 7px;
    border-radius: 12px;
    border: 1.5px solid #ffffff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.35);
    transform: translateY(-5px); /* Desplazado ligeramente hacia arriba para coincidir con la llama */
}