/* ═════════════ 📝 Campos de formulario · componentes/formulario.js ═════════════ */
.fm-campo { display: grid; gap: 6px; min-width: 0; }
.fm-label { font: 700 13px 'Nunito', sans-serif; color: #b8b2c8; letter-spacing: .1px; }
.fm-input { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; font: 600 15.5px 'Nunito', sans-serif; color: #f4f2f8;
  background: #0f0d15; border: 1px solid #2d2939; outline: none; transition: border-color .15s, box-shadow .15s; color-scheme: dark; min-width: 0; }
.fm-input::placeholder { color: #5f5a70; }
.fm-input:hover { border-color: #3b3649; }
.fm-input:focus { border-color: #ff7a59; box-shadow: 0 0 0 3px rgba(255,122,89,.18); }
.fm-input:user-invalid { border-color: #e5484d; }
select.fm-input { appearance: none; padding-right: 36px; cursor: pointer;
  background: #0f0d15 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238f8aa0' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; }
select.fm-input option { background: #17141f; }
.fm-ayuda { font: 600 12.5px/1.45 'Nunito', sans-serif; color: #7f7991; margin: 0; }
.fm-clave { position: relative; display: block; }
.fm-clave .fm-input { padding-right: 46px; }
.fm-ojo { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 8px; background: none; color: #7f7991; cursor: pointer; }
.fm-ojo:hover, .fm-ojo.on { color: #e9e5f2; }
.fm-casilla { display: flex; gap: 10px; align-items: flex-start; font: 600 13.5px/1.45 'Nunito', sans-serif; color: #b8b2c8; cursor: pointer; }
.fm-casilla input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #ff6b57; flex: none; cursor: pointer; }
.fm-error { margin: 0; display: none; padding: 10px 12px; border-radius: 10px; font: 700 13.5px/1.4 'Nunito', sans-serif; color: #ffb4b0;
  background: rgba(229,72,77,.12); border: 1px solid rgba(229,72,77,.35); }
.fm-error.show { display: block; animation: fmSacude .3s; }
@keyframes fmSacude { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
/* código de 6 dígitos */
.fm-codigo { display: flex; justify-content: center; gap: 8px; margin: 4px 0; }
.fm-dig { width: 50px; height: 60px; padding: 0; text-align: center; border-radius: 12px; font: 800 26px 'Nunito', sans-serif; color: #fff;
  background: #0f0d15; border: 1px solid #2d2939; outline: none; caret-color: #ff7a59; transition: border-color .15s, box-shadow .15s; }
.fm-dig:nth-child(3) { margin-right: 10px; }
.fm-dig:focus { border-color: #ff7a59; box-shadow: 0 0 0 3px rgba(255,122,89,.18); }
@media (max-width: 380px) { .fm-codigo { gap: 5px; } .fm-dig { width: 42px; height: 54px; font-size: 23px; } .fm-dig:nth-child(3) { margin-right: 6px; } }
