body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f4f4f4;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loading-content {
  background-color: transparent;
  padding: 20px;
  border-radius: 8px;
}

#loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3; /* Borde gris claro */
  border-top: 5px solid #3498db; /* Borde azul */
  border-radius: 50%;
  animation: spin 2s linear infinite; /* Animación de giro */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.container {
  width: 90%;
  max-width: 500px;
  margin: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
}

.form-group input {
  width: calc(100% - 12px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
}

.form button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.form button:hover {
  background-color: #0056b3;
}

#map {
  height: 200px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Estilos para móvil */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }

  .form-group input {
    padding: 8px;
  }

  .form button {
    padding: 8px;
  }
}