<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* 🔹 Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* 🔹 Estilos Generales */
body {
    background: #f7f7f7;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* 🔹 Contenedor Principal */
.container {
    width: 90%;
    max-width: 600px;
    background: white;
    padding: 20px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

/* 🔹 Botones */
.btn {
    background: linear-gradient(135deg, #37a949, #82bf40);
    color: white;
    border: none;
    padding: 12px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px; /* ✅ Mismo alto que los inputs */
}

.btn:hover, .btn.selected {
    background: linear-gradient(135deg, #28a745, #218838);
    transform: scale(1.05);
}

/* 🔹 Inputs y Selects */
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

input:focus, select:focus, textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* 🔹 Alineación de Filas */
.row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* 🔹 Ajustar "Otro" para alinearlo con los botones */
.row .btn, #customAmount {
    flex: 1;
    max-width: 100px;
    height: 42px; /* ✅ Mismo alto que los botones */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* 🔹 Ajustes para Input "Otro" */
#customAmount {
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; /* ✅ Eliminar cualquier margen que desplace el input */
}

/* 🔹 Estilos para el Total */
#totalPrice {
    font-size: 22px;
    font-weight: bold;
    background: #eee;
    padding: 12px;
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Centrar el botón */
#priceButton {
    display: block;
    margin: 20px auto; /* Centra el botón horizontalmente */
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Color cuando el botón es seleccionado */
#priceButton.selected {
    background-color: green;
    color: white;
}

/* Estilos para el input de ZIP Code */
#zipCode {
    width: 50%; /* Ajusta el tamaño a la mitad del contenedor */
    max-width: 300px; /* Máximo ancho para que no sea demasiado grande */
    display: block;
    margin: 10px auto; /* Centra el input horizontalmente */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

/* Estilos para la descripción de la vivienda */
#descripcionVivienda {
    width: 100%; /* Ocupa todo el ancho del formulario */
    max-width: 500px; /* Máximo tamaño para que no sea muy grande */
    height: 80px; /* Altura del campo de texto */
    display: block;
    margin: 10px auto;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical; /* Permite que el usuario ajuste la altura si necesita más espacio */
}

/* Centrar los títulos y los selects */
h2 {
    text-align: center;
}

.medium-input {
    display: block;
    margin: 10px auto; /* Centra el select */
    width: 50%; /* Ajusta el tamaño para que no sea muy ancho */
    max-width: 300px; /* Máximo ancho */
    text-align: center; /* Centrar texto dentro del select */
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Centrar el botón "Comprar" */
button[type="submit"] {
    display: block;
    margin: 20px auto; /* Centra el botón horizontalmente */
    padding: 12px 25px;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
    border: none;
    background-color: #007BFF; /* Azul (puedes cambiarlo) */
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Efecto hover para el botón */
button[type="submit"]:hover {
    background-color: #0056b3; /* Azul más oscuro */
}


/* 🔹 Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🔹 Mejoras Responsivas */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .btn {
        width: 100%;
    }

    .medium-input {
        max-width: 100%;
        text-align: center;
        font-weight: 600;
    }
}

/* 🔴 Estilos para campos con error */
.input-error {
    border: 2px solid red !important;
    background-color: #ffe6e6;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
    padding-left: 5px;
}
</pre></body></html>