/* =====================================================================
   PANTALLAS DE ACCESO (login, registro, recuperar) — estilo aprobado
   Franja azul en degradado con figura geométrica, tarjeta blanca centrada.
   ===================================================================== */
.acceso2 {
    margin: 0; min-height: 100vh; background: #F7F9FC; color: #3E4555;
    font-family: Roboto, 'Segoe UI', Arial, sans-serif; font-size: 15px; position: relative; overflow-x: hidden;
    --marca: #0062FF; --marca-hover: #0050D4; --p: #0062FF; --p-claro: #DCE9FF; --p-tenue: #F0F6FF;
}
.acceso2 h1, .acceso2 h2, .acceso2 h3, .acceso2 input, .acceso2 button, .acceso2 select { font-family: Roboto, 'Segoe UI', Arial, sans-serif; }

/* Franja superior */
.ac-franja {
    position: absolute; inset: 0 0 auto 0; height: 48vh; min-height: 340px; overflow: hidden;
    background: linear-gradient(90deg, #0062FF 0%, #0090FF 38%, #3FB8FF 62%, #94EDFF 100%);
}
.ac-figura { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }

.ac-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 28px 40px; color: #fff; }
.ac-top img { height: 52px; width: auto; }
.ac-top span { font-size: 15px; font-weight: 300; letter-spacing: .4px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .45); }

/* Tarjeta */
.ac-centro { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 6vh 16px 40px; }
.ac-tarjeta {
    width: 100%; max-width: 480px; background: #fff; border: 1px solid #DFE3EA; border-radius: 3px;
    box-shadow: 0 1px 2px rgba(9, 30, 66, .08), 0 10px 30px rgba(9, 30, 66, .10);
    padding: 44px 60px 48px;
}
.ac-logo { display: block; height: 58px; width: auto; margin: 0 0 26px; }
.ac-tarjeta h2 { font-size: 24px; font-weight: 500; color: #172B4D; margin: 0 0 8px; }
.ac-tarjeta .sub { font-size: 14px; color: #6B778C; margin: 0 0 26px; line-height: 1.5; }
.ac-pie { margin-top: 26px; font-size: 13px; color: #8993A4; text-align: center; }
.ac-pie a { color: #6B778C; }

/* Pestañas Iniciar sesión / Crear cuenta */
.acceso2 .acc-pestanas { display: flex; gap: 22px; background: none; padding: 0; border-bottom: 2px solid #EBECF0; margin: 0 0 28px; border-radius: 0; }
.acceso2 .acc-pestanas a {
    padding: 0 2px 12px; margin-bottom: -2px; border-bottom: 2px solid transparent; border-radius: 0;
    color: #6B778C; font-weight: 500; font-size: 15px; background: none; box-shadow: none; text-decoration: none;
}
.acceso2 .acc-pestanas a.sel { color: var(--marca); border-bottom-color: var(--marca); background: none; box-shadow: none; }

/* Campos y botón como el ejemplo */
.acceso2 .formulario { gap: 20px; }
.acceso2 .formulario label > span { font-size: 14px; font-weight: 500; color: #5E6C84; }
.acceso2 .formulario input[type=email], .acceso2 .formulario input[type=password],
.acceso2 .formulario input[type=text], .acceso2 .formulario input:not([type]) {
    border: 2px solid #DFE1E6; border-radius: 3px; padding: 12px 14px; font-size: 15px; background: #FAFBFC; color: #172B4D;
}
.acceso2 .formulario input:focus { border-color: #4C9AFF; background: #fff; box-shadow: none; outline: none; }
.acceso2 .btn { border-radius: 3px; font-weight: 400; font-size: 16px; padding: 14px 20px; }
.acceso2 .btn-primario { background: var(--marca); box-shadow: none; }
.acceso2 .btn-primario:hover { background: var(--marca-hover); }
.acceso2 .input-codigo { font-family: Roboto, sans-serif !important; font-weight: 500; }
.acceso2 .nota-seg { background: #F4F5F7; border-radius: 3px; color: #6B778C; }
.acceso2 .alerta { border-radius: 3px; }
.acceso2 .icono-grande { font-size: 38px; }
.acceso2 .selector-tipo label > span { border-radius: 3px; border: 2px solid #DFE1E6; }
.acceso2 .selector-tipo input:checked + span { border-color: var(--marca); background: var(--p-tenue); }
.acceso2 .pasos-reg span { border-radius: 3px; }

@media (max-width: 600px) {
    .ac-top { padding: 20px; }
    .ac-top span { display: none; }
    .ac-tarjeta { padding: 32px 24px 36px; border-left: 0; border-right: 0; }
    .ac-centro { padding-top: 2vh; }
}
.acceso2 .recordar { flex-direction: row !important; align-items: flex-start; gap: 10px !important; cursor: pointer; }
.acceso2 .recordar input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--marca); }
.acceso2 .recordar span { display: flex; flex-direction: column; font-size: 14px !important; color: #3E4555 !important; font-weight: 400 !important; }
.acceso2 .recordar small { color: #8993A4; font-size: 12px; }

/* ---------- Verificación con app (vendedores) ---------- */
.pasos-totp { margin: 6px 0 18px; padding-left: 22px; display: grid; gap: 14px; font-size: 14px; color: var(--texto-2); }
.pasos-totp strong { color: var(--texto); }
.apps-totp { display: block; font-size: 12px; color: var(--tenue); margin-top: 2px; }
.qr-totp { display: flex; justify-content: center; margin: 12px 0 6px; }
.qr-totp img { border-radius: 14px; border: 1px solid var(--borde); padding: 10px; background: #FFF; box-shadow: var(--sombra); image-rendering: pixelated; }
.llave-totp summary { cursor: pointer; font-size: 13px; color: var(--p); }
.llave-totp p { margin: 8px 0 4px; font-size: 12px; }
.llave-totp code { display: block; font-size: 15px; letter-spacing: 1px; background: var(--p-tenue); border-radius: 10px; padding: 10px 12px; word-break: break-word; color: var(--texto); }
