/* ============================================================
   Sistema de Gestión de Tickets TI
   Desarrollado por: Miguel Angel Salinas Salazar
   Proyecto de Titulación

   Archivo: auth.css
   Descripción:
   Estilos utilizados en las vistas de autenticación del sistema,
   incluyendo inicio de sesión y cambio obligatorio de contraseña.
============================================================ */

/* =========================
   LOGIN Y CAMBIO DE CONTRASEÑA
========================= */
.login-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6f8;
    font-family: Arial, Helvetica, sans-serif;
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 34px 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    text-align: center;
}

.login-card h1 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 30px;
    line-height: 1.2;
}

.login-card h2 {
    margin: 0 0 26px;
    color: #111827;
    font-size: 24px;
    line-height: 1.2;
}

/* =========================
   FORMULARIOS DE LOGIN
========================= */
.login-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.login-form label {
    margin-bottom: 6px;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    height: 50px;
    margin-bottom: 18px;
    padding: 0 12px;
    border: 1px solid #cbd3dc;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
    outline: none;
}

.login-form input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.login-form button {
    width: 100%;
    height: 52px;
    margin-top: 2px;
    border: 0;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.login-form button:hover {
    background: #1d4ed8;
}

/* =========================
   LINK RECUPERAR CONTRASEÑA
========================= */
.forgot-link {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    color: #374151;
    font-size: 14px;
    text-align: center;
}

/* =========================
   AJUSTE AUTOCOMPLETADO DEL NAVEGADOR
========================= */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
}

/* =========================
   MENSAJE DE ERROR EN LOGIN / CONTRASEÑA
========================= */
.login-error {
    margin-bottom: 16px;
    padding: 10px;
    border-radius: 6px;
    background: #fee2e2;
    color: #991b1b;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* =========================
   MENSAJE DE ÉXITO / CONFIRMACIÓN
   Usado en restablecimiento de contraseña
========================= */
.login-success {
    margin-bottom: 16px;
    padding: 10px;
    border-radius: 6px;
    background: #dcfce7;
    color: #166534;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* =========================
   TEXTO DE APOYO EN CAMBIO DE CONTRASEÑA
========================= */
.login-card p {
    font-size: 14px;
    line-height: 1.4;
}
/* =========================
   TEXTO DE APOYO EN RESTABLECER CONTRASEÑA
========================= */
.password-rules {
    margin: 0 0 20px;
    color: #374151;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}