/* HolaPOS — estilos de pantallas públicas animadas (login, registro, landing) */
  body { font-family: 'Plus Jakarta Sans', sans-serif; }

  /* ── Blobs de gradiente en movimiento ── */
  .blob { position: absolute; border-radius: 9999px; filter: blur(70px); opacity: .55; will-change: transform; }
  .b1 { width: 420px; height: 420px; background: #F18A00; top: -120px; right: -80px; animation: drift1 16s ease-in-out infinite; }
  .b2 { width: 380px; height: 380px; background: #5b5fe0; bottom: -140px; left: -100px; animation: drift2 19s ease-in-out infinite; }
  .b3 { width: 260px; height: 260px; background: #ff5f7e; top: 45%; left: 40%; opacity: .28; animation: drift3 22s ease-in-out infinite; }
  @keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-90px,120px) scale(1.15); } }
  @keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(120px,-80px) scale(.9); } }
  @keyframes drift3 { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-80px,-60px); } 66% { transform: translate(60px,40px); } }
  .grain { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }

  /* ── Palabra rotativa ── */
  .rotator { display: inline-grid; vertical-align: bottom; }
  .rotator span { grid-area: 1/1; opacity: 0; transform: translateY(60%); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1); }
  .rotator span.on { opacity: 1; transform: none; }
  .rotator span.out { opacity: 0; transform: translateY(-60%); }

  /* ── Ticket que se imprime ── */
  .printer { width: 270px; }
  .printer-top { height: 18px; border-radius: 12px 12px 4px 4px; background: linear-gradient(#1f2366, #171a52); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
  .paper-wrap { overflow: hidden; margin: 0 14px; }
  .paper { background: #fff; color: #0f172a; padding: 14px 16px 18px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
    transform: translateY(-100%); animation: printOut 1.6s steps(14) forwards; position: relative;
    -webkit-mask: radial-gradient(circle 5px at 7px 100%, transparent 98%, #000) -7px 0/14px 100% repeat-x;
            mask: radial-gradient(circle 5px at 7px 100%, transparent 98%, #000) -7px 0/14px 100% repeat-x; }
  @keyframes printOut { to { transform: translateY(0); } }
  .paper .ln { opacity: 0; animation: fadeIn .3s forwards; }
  @keyframes fadeIn { to { opacity: 1; } }
  .stamp { position: absolute; right: 10px; bottom: 26px; transform: rotate(-12deg) scale(2.2); opacity: 0;
    border: 2px solid #059669; color: #059669; border-radius: 6px; padding: 2px 6px; font-weight: 700; font-size: 10px; letter-spacing: .04em;
    animation: stampIn .35s cubic-bezier(.3,1.6,.5,1) forwards; animation-delay: 3.2s; background: rgba(255,255,255,.85); }
  @keyframes stampIn { to { opacity: 1; transform: rotate(-12deg) scale(1); } }

  /* ── Notificaciones flotantes ── */
  .toastf { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem .6rem .6rem; border-radius: 1rem;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: #fff; font-size: .78rem; box-shadow: 0 12px 30px rgba(0,0,0,.18); opacity: 0; animation: pop .6s cubic-bezier(.3,1.4,.5,1) forwards, bob 6s ease-in-out infinite; }
  .toastf .ico { width: 34px; height: 34px; border-radius: .75rem; display: grid; place-items: center; font-size: 1rem; }
  @keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

  /* ── Formulario ── */
  .fl { position: relative; }
  .fl input { width: 100%; height: 3.6rem; padding: 1.35rem 1rem .4rem; border: 1.5px solid #e2e8f0; border-radius: 1rem; background: #f8fafc;
    font-size: .98rem; color: #0f172a; transition: border-color .18s, background .18s, box-shadow .18s; }
  .fl input:focus { outline: none; border-color: #2B318A; background: #fff; box-shadow: 0 0 0 4px rgba(43,49,138,.10); }
  .fl label { position: absolute; left: 1rem; top: 1.15rem; font-size: .95rem; color: #94a3b8; pointer-events: none; transition: all .18s; }
  .fl input:focus + label, .fl input:not(:placeholder-shown) + label { top: .5rem; font-size: .7rem; font-weight: 600; color: #2B318A; letter-spacing: .02em; }
  .btn-go { position: relative; overflow: hidden; background: linear-gradient(135deg, #2B318A, #3b40b0); transition: transform .12s, box-shadow .2s; }
  .btn-go:hover { box-shadow: 0 14px 30px rgba(43,49,138,.35); transform: translateY(-1px); }
  .btn-go:active { transform: translateY(1px); }
  .btn-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-100%); animation: shine 3.5s ease-in-out infinite 1s; }
  @keyframes shine { 0%,60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
  .shake { animation: shake .45s; }
  @keyframes shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
  .rise { opacity: 0; animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: sp .7s linear infinite; }
  @keyframes sp { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* ── Registro: pasos ── */
.step { display: none; }
.step.on { display: block; animation: stepIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.step-row { display: flex; gap: .9rem; align-items: flex-start; }
.step-dot { flex: none; width: 2rem; height: 2rem; border-radius: 9999px; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); transition: all .3s; }
.step-dot.done { background: #F18A00; border-color: #F18A00; box-shadow: 0 0 0 6px rgba(241,138,0,.18); }
.glass-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 1.4rem; padding: 1.2rem; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.mod-pill { background: rgba(255,255,255,.08); border-radius: .9rem; padding: .55rem .3rem; opacity: 0; animation: pop .45s cubic-bezier(.3,1.4,.5,1) forwards; }

/* Tarjetas de tipo de negocio */
.tcard { cursor: pointer; display: block; }
.tcard-in { position: relative; height: 100%; border: 2px solid #e2e8f0; border-radius: 1.1rem; padding: 1rem; background: #fff;
  transition: border-color .18s, box-shadow .18s, transform .12s; }
.tcard:hover .tcard-in { border-color: #cbd5e1; transform: translateY(-2px); }
.tcard input:checked + .tcard-in { border-color: var(--c); box-shadow: 0 10px 26px -10px var(--c); }
.tcard input:focus-visible + .tcard-in { outline: 3px solid rgba(43,49,138,.3); outline-offset: 2px; }
.tcard-ico { width: 2.75rem; height: 2.75rem; border-radius: .9rem; display: grid; place-items: center; font-size: 1.35rem;
  background: color-mix(in srgb, var(--c) 14%, white); transition: transform .25s; }
.tcard input:checked + .tcard-in .tcard-ico { transform: rotate(-8deg) scale(1.08); }
.tcard-check { position: absolute; top: .75rem; right: .75rem; width: 1.4rem; height: 1.4rem; border-radius: 9999px; display: grid; place-items: center;
  font-size: .75rem; color: #fff; background: var(--c); transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.tcard input:checked + .tcard-in .tcard-check { transform: scale(1); }
.pw-bar { flex: 1; height: 4px; border-radius: 9999px; background: #e2e8f0; transition: background .2s; }
