
/* Configuración general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fondo de la página */
body {
    background: radial-gradient(
        circle at top,
        #faf8f2,
        #e4dfd3
    );

    color: #26372c;
    font-family: 'Segoe UI', sans-serif;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 30px;
}

/* Título principal */
h1 {
    font-family: Georgia, serif;
    font-size: clamp(45px, 8vw, 90px);
    font-weight: normal;
    letter-spacing: -3px;
    margin-bottom: 20px;

    animation: aparecer 1s ease;
}

/* Texto descriptivo */
p {
    font-size: 18px;
    color: #777b70;
    line-height: 1.6;
    margin-bottom: 35px;

    animation: aparecer 1.5s ease;
}

/* Diseño del botón */
button {
    background: #344d40;
    color: white;
    border: none;
    border-radius: 50px;

    padding: 16px 40px;
    font-size: 15px;
    cursor: pointer;

    transition: all 0.3s ease;
    animation: aparecer 2s ease;
}

/* Efecto al pasar el mouse */
button:hover {
    background: #496854;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px #344d4033;
}

/* Efecto al presionar */
button:active {
    transform: scale(0.96);
}

/* Animación de entrada */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ocultar pantallas */
.oculto {
    display: none;
}

/* Tarjeta de inicio de sesión */
.login-card {
    background: #ffffff90;
    padding: 40px;
    border-radius: 28px;
    width: min(380px, 100%);
    border: 1px solid #ffffff;
    box-shadow: 0 20px 60px #26372c15;

    animation: aparecer 0.6s ease;
}

.marca {
    font-size: 30px;
    font-family: Georgia, serif;
    display: block;
    margin-bottom: 25px;
}

h2 {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 12px;
}

.login-card p {
    font-size: 14px;
    margin-bottom: 30px;
}

/* Formulario */
form {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 12px;
}

label {
    font-size: 13px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 15px;
    border: 1px solid #d6d8ce;
    border-radius: 12px;
    background: #faf9f5;
    font-size: 15px;
    outline: none;
    margin-bottom: 10px;
    transition: 0.3s;
}

input:focus {
    border-color: #344d40;
    box-shadow: 0 0 0 3px #344d4015;
}

.secundario {
    background: transparent;
    color: #777b70;
    margin-top: 15px;
}

.secundario:hover {
    background: transparent;
    box-shadow: none;
    color: #26372c;
}
