body {
    margin: 0;
    font-family: Arial, sans-serif;
}

h1 {
    text-align: left;
    margin: 0.8vw 0;
	font-size: 2.35vw;
}

#controls {
    text-align: center;
    margin: 10px;
}

#location-input {
    width: 60%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 1vw 1.1vw;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 0.4vw;
    cursor: pointer;
	font-size: 0.9vw;
	margin-right: 0.5vw;
}

button:hover {
    background-color: #0056b3;
}

#map {
    height: 80vh;
    width: 100%;
}

/**/
@keyframes fadeInDown {
    0% {
        opacity: 0;
        position: relative;
        top: -20px;
    }
    100% {
        opacity: 1;
        position: relative;
        top: 0;
    }
}

.leaflet-marker-icon {
    animation: fadeInDown 0.6s ease-out forwards;
}

/*cel*/
/* Estilos para el botón flotante */
/* Estilos para el botón flotante */
#open-form-btn {
    position: fixed;
    bottom: 1.4vw;
    left: 1.5vw;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 1.1vw 1.5vw;
    border-radius: 100vw;
    cursor: pointer;
    font-size: 1.1vw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 999; /* Asegura que esté encima de otros elementos */
}

#location-form input, textarea {
    width: 93%;
    padding: 3%;
    border-radius: 0.5vw;
    border: 0.1vw solid #3333;
	font-size: 1vw;
	margin-bottom: 0.5vw;
}

/* Estilos para la ventana modal */
#location-modal {
    position: fixed;
	bottom: 6vw;
    left: 1.5vw;
    width: 29vw;
    background: white;
    padding: 1vw;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none; /* Oculto por defecto */
}

/* Estilos para el botón de cerrar */
#close-form-btn {
    color: red;
    cursor: pointer;
    margin-left: 97%;
    padding: 0;
    background: none;
}

/* MENSAJE */
#loading-message {
    display: none;
    font-size: 16px;
    font-weight: bold;
    color: blue;
    margin-top: 10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

/* Ajuste para pantallas pequeñas */
@media screen and (max-width: 768px) {
	/* Boton de PopUp */
    #open-form-btn {
        bottom: 15px;
        left: 15px;
        padding: 18px 25px;
        font-size: 18px;
    }
	
	/* PopUp */
	#location-modal {
		top: 14% !important;
		left: 2vw !important;
        width: 50vw !important;
	}
	
	/* Formulario de PopUp */
	#location-form input, textarea {
    	font-size: 3vw;
	}
	
}
