/* =====================================================================
   FEINT Campus Virtual — ZONA A · autenticación
   Ajustes finos sobre el layout auth y app.css.
   ===================================================================== */

.auth-main {
    justify-content: safe center;
    overflow-y: auto;
}

.auth-card {
    max-width: 478px;
    padding: 34px 36px 32px;
}

.auth-head {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}
.auth-head-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-50);
    color: var(--brand-700);
    border: 1px solid var(--brand-100);
}
.auth-head-icon .icon { width: 23px; height: 23px; }
.auth-head .auth-title { font-size: 25px; margin-bottom: 5px; }
.auth-head .auth-sub { margin-bottom: 0; font-size: 13.5px; line-height: 1.55; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .form-group { margin-bottom: 0; gap: 6px; }
.auth-form .form-grid { gap: 14px; }
.auth-form .form-check { font-size: 13px; }
.auth-form .btn[type="submit"] { margin-top: 2px; }

.auth-inline-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-700);
}
.auth-inline-link:hover { color: var(--brand-900); text-decoration: underline; }

.auth-terms { margin: 2px 0; }

.auth-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-800);
}
.auth-note .icon { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; color: var(--brand-600); }
.auth-note p { font-size: 12.4px; line-height: 1.55; }

.auth-card .form-error { line-height: 1.4; }
.auth-card .form-error .icon { width: 14px; height: 14px; }

/* Caja de cuentas de demostración */
.demo-box { margin-top: 20px; }
.demo-row { flex-wrap: wrap; row-gap: 6px; }
.demo-row-main { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.demo-row .btn { flex: 0 0 auto; height: 32px; padding: 0 12px; }
.demo-row .btn .icon { width: 14px; height: 14px; }
.demo-row code { overflow: hidden; text-overflow: ellipsis; }
.demo-note { display: flex; align-items: flex-start; gap: 6px; line-height: 1.45; }
.demo-note .icon { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; }

.auth-alt .icon { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }

@media (max-width: 760px) {
    .auth-card { padding: 26px 22px; }
    .auth-head { gap: 12px; margin-bottom: 20px; }
    .auth-head-icon { width: 42px; height: 42px; border-radius: 12px; }
    .auth-head .auth-title { font-size: 22px; }
    .auth-form .form-grid { gap: 12px; }
    .auth-form .form-grid .span-2 { grid-column: span 1; }
}

@media (max-width: 420px) {
    .auth-card { padding: 22px 16px; }
    .demo-row .btn { width: 100%; }
}
