@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #d4d4df, #3655e0, #0918e2);
}

/* Contenedor del formulario */
.contenedor-formulario {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Título */
.contenedor-formulario h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* Input */
.contenedor-inputs {
    margin: 20px 0;
}

.contenedor-inputs input {
    width: 100%;
    padding: 12px 15px;
    background: #eee;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
}

.contenedor-inputs input::placeholder {
    color: #888;
}

/* Botón */
.botones {
    width: 100%;
    height: 45px;
    background: #7494ec;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    transition: .3s ease;
}

.botones:hover {
    background: #3655e0;
}

/* Mensaje de error */
.contenedor-formulario p {
    font-size: 14px;
    margin-top: 15px;
}

/* Responsivo */
@media (max-width: 480px) {
    .contenedor-formulario {
        padding: 30px 20px;
    }

    .contenedor-formulario h2 {
        font-size: 22px;
    }
}
