/* css/estilo.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #f3f6fb;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Contenedor principal del formulario */
.contenedor-form {
    background-color: white;
    border-radius: 12px;
    padding: 30px 25px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contenedor-form h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

form input:focus {
    border-color: #4285f4;
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #3367d6;
}

/* Mensajes */
.mensaje {
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 480px) {
    .contenedor-form {
        padding: 20px 15px;
    }

    form input, button {
        font-size: 15px;
    }
}
