/*
|--------------------------------------------------------------------------
| Pantalla de inicio de sesión del intranet (login_admin.php)
|--------------------------------------------------------------------------
*/

body {
    background: #F3F4F6;
    color: #111827;
    font-family: 'Inter', sans-serif;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid #E5E7EB;
    padding: 32px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    font-size: 15px;
}

.form-group input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #D60000;
    border: 1px solid #D60000;
    color: #FFFFFF;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #FFFFFF;
    color: #D60000;
    border-color: #D60000;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.login-footer {
    margin-top: 24px;
    font-size: 13px;
    color: #64748B;
    text-align: center;
}

/* Campo de contraseña con botón para ver u ocultar lo escrito */
.password-field {
    position: relative;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748B;
    cursor: pointer;
}

.password-toggle:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.password-toggle:focus-visible {
    outline: 2px solid #2563EB;
    outline-offset: 1px;
}
