/*
|--------------------------------------------------------------------------
| LOGIN
|--------------------------------------------------------------------------
*/

.login-page {
    min-height: calc(100vh - 140px);
    padding: 70px 20px 100px;
    background: #f8f7f4;
}

.login-container {
    max-width: 560px;
    margin: 0 auto;
}

.login-hero {
    text-align: center;
    margin-bottom: 42px;
}

.login-eyebrow {
    margin: 0 0 18px;
    color: #2f6658;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.login-title {
    margin: 0;
    color: #242424;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 56px;
    line-height: 1.08;
    font-weight: 700;
}

.login-subtitle {
    max-width: 600px;
    margin: 24px auto 0;
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| TARJETA
|--------------------------------------------------------------------------
*/

.login-form-card {
    background: #fff;
    border: 1px solid #e7e3dd;
    border-radius: 18px;
    padding: 38px 42px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-field label {
    color: #303030;
    font-size: 15px;
    font-weight: 600;
}

.login-field input[type="text"],
.login-field input[type="email"],
.login-field input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d8d4ce;
    border-radius: 8px;
    background: #fff;
    color: #242424;
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.login-field input[type="text"]:focus,
.login-field input[type="email"]:focus,
.login-field input[type="password"]:focus {
    border-color: #2f6658;
    box-shadow: 0 0 0 3px rgba(47, 102, 88, 0.10);
}


/*
|--------------------------------------------------------------------------
| RECORDAR
|--------------------------------------------------------------------------
*/

.login-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #555;
    font-size: 14px;
}

.login-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
}


/*
|--------------------------------------------------------------------------
| ERROR
|--------------------------------------------------------------------------
*/

.login-error {
    margin-bottom: 20px;
    padding: 13px 16px;
    border-radius: 8px;
    background: #f8eaea;
    border: 1px solid #e5c7c7;
    color: #9b3c3c;
    font-size: 14px;
    line-height: 1.5;
}


/*
|--------------------------------------------------------------------------
| BOTÓN
|--------------------------------------------------------------------------
*/

.login-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    padding: 13px 24px;
    border: 0;
    border-radius: 28px;
    background: #2f6658;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.login-submit:hover {
    background: #28594d;
    transform: translateY(-1px);
}


/*
|--------------------------------------------------------------------------
| ENLACES
|--------------------------------------------------------------------------
*/

.login-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    font-size: 14px;
}

.login-links a {
    color: #2f6658;
    font-weight: 600;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| RECUPERACIÓN
|--------------------------------------------------------------------------
*/

.login-recovery {
    display: none;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e7e3dd;
}

.login-recovery.is-visible {
    display: block;
}

.login-recovery-title {
    margin: 0 0 10px;
    color: #242424;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
}

.login-recovery-text {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 700px) {

    .login-page {
        padding: 50px 18px 70px;
    }

    .login-title {
        font-size: 42px;
    }

    .login-subtitle {
        font-size: 16px;
    }

    .login-form-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .login-links {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

}

@media (max-width: 480px) {

    .login-title {
        font-size: 36px;
    }

}