body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #00a7d9;
    --light-color: #00a7d9;
    --dark-color: #000000;
    --formal-dark-color: #333;
    --formal-light-color: #f1f1f1;
    --desert-color: #00a7d9;
}

main {
    max-width: 800px;
    margin: 150px auto 50px; /* Ajusta el margen superior según sea necesario */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 100px;
}

.form-container {
    padding: 20px;
    border-radius: 8px;
}


h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    padding: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 1.5rem;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: none; /* Evita que el tamaño del textarea se pueda cambiar */
}

input[type="submit"] {
    background-color: #00a7d9;
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 16px;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #0091bdd3;
}

#map {
    height: 400px;
    width: 100%;
    border: 1px solid #ccc;
    z-index: 20;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

button {
    background-color: var(--light-color);
    padding: 10px 20px; /* Aumenta el espacio interno del botón */
    font-size: 15px;    /* Aumenta el tamaño del texto */
    border-radius: .5rem;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background-color: var(--secondary-color);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    color: #333;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

.tipo-preview{
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fafafa;
}

.tipo-preview img{
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.tipo-preview-text{
  margin: 0;
  font-size: 14px;
  color: #333;
}

