/* ★ 4-nov (local) · formularios.css — avisos de validación (formularios.js) y botones de la entrada profesional */

/* ---------- campo con error y su aviso ---------- */
input.fv-err, textarea.fv-err, select.fv-err,
.gate-field input.fv-err, .login__field input.fv-err {
  border-color: #B2483A !important; background-color: #FFF8F6 !important; box-shadow: 0 0 0 3px rgba(178, 72, 58, .12) !important; }
.fv-msg { display: flex; align-items: flex-start; gap: 6px; margin: 5px 0 0; font: 500 12px/1.35 "Inter", Arial, sans-serif; color: #A23B2E; text-align: left; letter-spacing: 0; text-transform: none; }
.fv-msg[hidden] { display: none; }
.fv-msg::before { content: "!"; flex: 0 0 auto; display: grid; place-items: center; width: 15px; height: 15px; margin-top: 1px; border-radius: 50%; background: #B2483A; color: #fff; font: 700 10px/1 "Inter", Arial, sans-serif; }
.fv-msg--info { color: #6B5A35; }
.fv-msg--info::before { content: "i"; background: #A8833B; font-style: italic; }
/* donde el campo va en una fila (vendedores), el aviso ocupa toda la fila */
.perf-vend__add { flex-wrap: wrap; }
.perf-vend__add .fv-msg { flex: 1 1 100%; order: 9; }
.ac-tar3-row .fv-msg, .admin__pago-row .fv-msg { flex: 1 1 100%; }

/* ---------- entrada: acceso profesional ⇄ alta ---------- */
.login__intro { margin: -4px 0 2px; font-size: 13.5px; line-height: 1.45; color: var(--muted, #62605B); text-align: left; }
.gate-alt { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line, #E8E4DD); text-align: center; }
.gate-alt__t { font-size: 14px; font-weight: 600; color: var(--ink, #22211F); }
.gate-alt__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 1.5px solid var(--accent, #A8833B);
  border-radius: 999px; background: #fff; color: var(--accent-dark, #896223); font: 600 14.5px/1.2 "Inter", Arial, sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.gate-alt__btn::after { content: "→"; font-weight: 500; }
.gate-alt__btn:hover { background: var(--accent, #A8833B); color: #fff; }
.gate-alt__btn:focus-visible { outline: 2px solid #2864B4; outline-offset: 2px; }
.gate-alt__s { font-size: 12px; color: var(--muted, #62605B); }
.gate-field--ancho { grid-column: 1 / -1; }
#gateProfesional .gate-acc .btn { min-width: 240px; }
@media (max-width: 560px) {
  #gateProfesional .gate-acc .btn { width: 100%; min-width: 0; }
  .gate-alt__btn { width: 100%; }
}
