/* Zentry demo — Consigna de equipaje: pantalla táctil. Carga encima de kiosk.css. Clases nuevas: .zk-luggage-* */

/* ---------- reposo ---------- */
.zk-luggage .zk-s-idle { padding-bottom: 48px; }
.zk-luggage .zk-idle-bottom { gap: 26px; }
.zk-luggage-idleqr {
  display: flex; align-items: center; gap: 16px; padding: 12px 22px 12px 12px; border-radius: 22px; text-align: left;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--zk-line);
}
.zk-luggage-idleqr-svg { width: 76px; height: 76px; flex: none; display: block; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--zk-line); }
.zk-luggage-idleqr span { display: flex; flex-direction: column; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--zk-ink2); max-width: 300px; }
.zk-luggage-idleqr b { font-size: 20px; font-weight: 800; color: var(--zk-ink); }

/* ---------- tamaño ---------- */
.zk-luggage-sizes { margin-top: 30px; gap: 18px; }
.zk-luggage-size { min-height: 150px; }
.zk-luggage-bagfill { fill: var(--zk-a); }
.zk-luggage-size .zk-size-dims2 { margin-top: 8px; font-size: 18px; line-height: 1.3; }
.zk-luggage-price { margin-top: 8px; font-size: 19px; font-weight: 700; color: var(--zk-ink2); }
.zk-luggage-price b { font-size: 26px; font-weight: 800; color: var(--zk-ink); letter-spacing: -.02em; }

/* ---------- tiempo ---------- */
.zk-luggage-times { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.zk-luggage-time {
  position: relative; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px;
  min-height: 128px; padding: 20px 28px 20px 22px; border-radius: 30px;
  background: #fff; border: 2px solid var(--zk-line); box-shadow: 0 18px 36px -28px rgba(14, 23, 38, .4);
}
.zk-luggage-time.zk-rec { border-color: rgba(var(--zk-a-rgb), .55); box-shadow: 0 0 0 5px rgba(var(--zk-a-rgb), .08), 0 18px 36px -26px rgba(var(--zk-a-rgb), .55); }
.zk-luggage-time.zk-sel { border-color: var(--zk-a); background: rgba(var(--zk-a-rgb), .05); }
.zk-luggage-time-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 36px; color: var(--zk-a); background: rgba(var(--zk-a-rgb), .09); }
.zk-luggage-time-tx { display: flex; flex-direction: column; min-width: 0; }
.zk-luggage-time-tx b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.zk-luggage-time-tx span { margin-top: 6px; font-size: 19px; font-weight: 600; color: var(--zk-ink2); }
.zk-luggage-time-p { font-size: 36px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zk-luggage-extra-note { margin-top: auto; }
.zk-luggage-extra-note .zk-ic { color: var(--zk-a); }

/* ---------- pago ---------- */
.zk-s-pay { padding-top: 32px; }
.zk-luggage-order {
  margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex: none;
  padding: 20px 24px; border-radius: 28px; background: #fff; border: 1px solid var(--zk-line);
}
.zk-luggage-order-l { display: flex; align-items: center; gap: 16px; min-width: 0; }
.zk-luggage-order-id { width: 52px; height: 52px; border-radius: 15px; font-size: 26px; flex: none; background: var(--zk-a); color: var(--zk-on-a); }
.zk-luggage-order-tx { display: flex; flex-direction: column; min-width: 0; }
.zk-luggage-order-tx b { font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.zk-luggage-order-tx span { font-size: 18px; font-weight: 600; color: var(--zk-ink2); margin-top: 2px; }
.zk-luggage-order-r { display: flex; flex-direction: column; align-items: flex-end; flex: none; line-height: 1.05; }
.zk-luggage-order-r span { font-size: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--zk-mute); }
.zk-luggage-order-r b { font-size: 46px; font-weight: 800; letter-spacing: -.035em; margin-top: 4px; font-variant-numeric: tabular-nums; }

.zk-luggage-term { position: relative; flex: 1; min-height: 0; margin: 14px 0 18px; }
.zk-luggage-layer {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transform: scale(.96); pointer-events: none; transition: opacity .25s ease-out, transform .3s var(--zk-ease);
}
.zk-s-pay[data-pay="none"] .zk-luggage-l-card,
.zk-s-pay[data-pay="card"] .zk-luggage-l-card,
.zk-s-pay[data-pay="phone"] .zk-luggage-l-phone,
.zk-s-pay[data-pay="ok"] .zk-luggage-l-ok { opacity: 1; transform: none; }
.zk-luggage-term-svg { width: 330px; height: auto; max-height: calc(100% - 70px); overflow: visible; }
.zk-luggage-phone-svg { width: 190px; height: auto; max-height: calc(100% - 80px); }
.zk-luggage-cap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.zk-luggage-cap b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.zk-luggage-cap span { font-size: 19px; font-weight: 600; color: var(--zk-ink2); margin-top: 4px; }
.zk-luggage-card-bg { fill: var(--zk-a); }
.zk-luggage-term-amt { fill: rgba(var(--zk-a-rgb), .85); }
.zk-luggage-term-ok { fill: #2f8f5b; }
.zk-luggage-phone-btn { fill: var(--zk-a); }
.zk-luggage-waves { stroke: var(--zk-a); }
.zk-luggage-w1, .zk-luggage-w2, .zk-luggage-w3 { animation: zk-chev 1.5s ease-in-out infinite; }
.zk-luggage-w2 { animation-delay: .18s; }
.zk-luggage-w3 { animation-delay: .36s; }
.zk-luggage-card { animation: zk-luggage-tap 2.6s var(--zk-ease) infinite; transform-origin: 180px 40px; }
@keyframes zk-luggage-tap {
  0%, 18%, 100% { transform: translate(104px, -4px) rotate(14deg); }
  50%, 66% { transform: translate(0, 24px) rotate(0); }
}
.zk-s-pay[data-pay="card"] .zk-luggage-card { animation: none; transform: translate(0, 24px); }
.zk-s-pay[data-pay="card"] .zk-luggage-w1, .zk-s-pay[data-pay="card"] .zk-luggage-w2, .zk-s-pay[data-pay="card"] .zk-luggage-w3 { animation-duration: .5s; }
.zk-luggage-cap .zk-luggage-c2 { display: none !important; }
.zk-s-pay[data-pay="card"] .zk-luggage-cap .zk-luggage-c1 { display: none !important; }
.zk-s-pay[data-pay="card"] .zk-luggage-cap b.zk-luggage-c2 { display: block !important; }
.zk-s-pay[data-pay="card"] .zk-luggage-cap span.zk-luggage-c2 { display: inline-flex !important; }
.zk-luggage-waiting { display: inline-flex !important; align-items: center; gap: 10px; }
.zk-luggage-waiting i { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(var(--zk-a-rgb), .25); border-top-color: var(--zk-a); animation: zk-luggage-spin .8s linear infinite; }
@keyframes zk-luggage-spin { to { transform: rotate(360deg); } }
.zk-luggage-okic {
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; font-size: 76px;
  background: var(--zk-ok); color: #fff; box-shadow: 0 0 0 16px rgba(var(--zk-ok-rgb), .12);
}
.zk-luggage-okic .zk-ic { stroke-width: 3; }
.zk-s-pay[data-pay="ok"] .zk-luggage-okic { animation: zk-scale .45s var(--zk-ease) both; }
.zk-s-pay .zk-actions { transition: opacity .2s ease-out; }
.zk-s-pay:not([data-pay="none"]) .zk-actions { opacity: .35; pointer-events: none; }
.zk-luggage-paycard .zk-ic, .zk-luggage-payphone .zk-ic { font-size: 30px; }

/* ---------- puerta abierta (dejar) ---------- */
.zk-luggage-paidline {
  margin-top: 18px; align-self: center; display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 10px 20px 10px 14px; border-radius: 999px; background: #effaf4; color: var(--zk-ok); font-size: 19px; font-weight: 800;
}
.zk-luggage-paidline .zk-ic { font-size: 24px; stroke-width: 3; }

/* ---------- tique ---------- */
.zk-s-ticket { padding-top: 24px; }
.zk-luggage-tk-top { display: flex; align-items: center; gap: 22px; flex: none; }
.zk-luggage-tk-top .zk-success { width: 96px; height: 96px; flex: none; }
.zk-luggage-tk-top .zk-title { font-size: 40px; }
.zk-luggage-tk-top .zk-sub { margin-top: 6px; font-size: 21px; }
.zk-luggage-ticket {
  position: relative; margin-top: 24px; flex: none; display: flex; flex-direction: column;
  padding: 26px 30px 26px; border-radius: 30px; background: #fff; border: 1px solid var(--zk-line);
  box-shadow: 0 26px 50px -32px rgba(14, 23, 38, .5);
}
.zk-luggage-tk-row::before, .zk-luggage-tk-row::after {
  content: ""; position: absolute; top: -16px; width: 30px; height: 30px; border-radius: 50%; background: var(--zk-bg); border: 1px solid var(--zk-line);
}
.zk-luggage-tk-row::before { left: -46px; clip-path: inset(0 0 0 50%); }
.zk-luggage-tk-row::after { right: -46px; clip-path: inset(0 50% 0 0); }
.zk-luggage-tk-k { font-size: 16px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--zk-mute); }
.zk-luggage-tk-code { margin: 6px 0 26px; font-size: 76px; font-weight: 800; letter-spacing: .06em; line-height: 1.05; color: var(--zk-ink); font-variant-numeric: tabular-nums; white-space: pre; }
.zk-luggage-tk-row { position: relative; display: flex; align-items: center; gap: 26px; padding-top: 24px; border-top: 2px dashed #dfe4ea; }
.zk-luggage-tk-qr { width: 170px; height: 170px; flex: none; display: block; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--zk-line); }
.zk-luggage-tk-info { display: flex; flex-direction: column; min-width: 0; }
.zk-luggage-tk-door { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--zk-a); margin: 2px 0 16px; font-variant-numeric: tabular-nums; }
.zk-luggage-tk-until { font-size: 24px; font-weight: 800; line-height: 1.2; margin-top: 4px; }
.zk-luggage-sent {
  margin-top: 20px; display: flex; align-items: center; gap: 14px; flex: none; padding: 18px 22px; border-radius: 22px;
  background: rgba(var(--zk-a-rgb), .07); color: var(--zk-ink2); font-size: 20px; font-weight: 600;
}
.zk-luggage-sent .zk-ic { font-size: 28px; color: var(--zk-a); }

/* ---------- comprobación de tiempo ---------- */
.zk-s-pick-check .zk-title { font-size: 40px; }
.zk-luggage-meter { margin-top: 28px; flex: none; padding: 24px 26px 22px; border-radius: 28px; background: #fff; border: 1px solid var(--zk-line); }
.zk-luggage-meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 20px; color: var(--zk-ink2); font-weight: 600; }
.zk-luggage-meter-top b { font-size: 28px; font-weight: 800; color: var(--zk-ink); letter-spacing: -.02em; }
.zk-luggage-bar { margin-top: 16px; height: 16px; border-radius: 8px; background: #e6ebf0; overflow: hidden; }
.zk-luggage-bar i { display: block; height: 100%; width: 4%; border-radius: inherit; background: var(--zk-ok); transition: width .6s var(--zk-ease); }
.zk-luggage-over .zk-luggage-bar i { background: #e0892b; }
.zk-luggage-meter-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--zk-mute); }
.zk-luggage-chk-rows { margin-top: 18px; }
.zk-luggage-ok-txt { color: var(--zk-ok); }
.zk-luggage-chk-note { margin-top: 18px; }
.zk-luggage-chk-note .zk-ic { color: var(--zk-a); }
.zk-luggage-over .zk-eyebrow { color: #c06a12; }

/* ---------- tu móvil (adónde enviamos código y recibo) ---------- */
.zk-luggage .zk-s-phone { padding-top: 30px; }
.zk-luggage-tel-title { font-size: 40px; }
.zk-luggage-tel-sub { font-size: 21px; margin-top: 8px; }
.zk-luggage-tel-field {
  margin-top: 20px; flex: none; height: 92px; display: flex; align-items: center; gap: 18px; padding: 0 22px;
  border-radius: 26px; background: #fff; border: 2px solid rgba(var(--zk-a-rgb), .55);
  box-shadow: 0 0 0 5px rgba(var(--zk-a-rgb), .08), 0 14px 30px -24px rgba(14, 23, 38, .5);
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
}
.zk-luggage-tel-ok .zk-luggage-tel-field { border-color: var(--zk-ok); box-shadow: 0 0 0 5px rgba(var(--zk-ok-rgb), .1); }
.zk-luggage-tel-field.is-err { border-color: var(--zk-err); box-shadow: 0 0 0 5px rgba(214, 60, 60, .1); }
.zk-luggage-tel-cc {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding-right: 18px; height: 52px;
  border-right: 2px solid var(--zk-line); font-size: 30px; font-weight: 800; color: var(--zk-ink2); font-variant-numeric: tabular-nums;
}
.zk-luggage-tel-cc .zk-ic { font-size: 28px; color: var(--zk-a); }
.zk-luggage-tel-num { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; }
.zk-luggage-tel-gap { width: 14px; flex: none; }
.zk-luggage-tel-d {
  position: relative; width: 27px; height: 52px; flex: none; display: grid; place-items: center;
  font-size: 40px; font-weight: 800; color: var(--zk-ink); font-variant-numeric: tabular-nums;
}
.zk-luggage-tel-d::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #d3dae3; }
.zk-luggage-tel-d.is-on::before { display: none; }
.zk-luggage-tel-d.is-on { animation: zk-pop .18s ease-out; }
.zk-luggage-tel-d.is-cur::before { display: none; }
.zk-luggage-tel-d.is-cur::after { content: ""; width: 3px; height: 38px; border-radius: 2px; background: var(--zk-a); animation: zk-caret 1s steps(1) infinite; }
.zk-luggage-pop { animation: zk-luggage-pop .35s var(--zk-ease); }
@keyframes zk-luggage-pop { 40% { transform: scale(1.025); } }
.zk-luggage-tel-row { margin-top: 12px; flex: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.zk-luggage-tel-msg { flex: 1; min-width: 0; font-size: 19px; font-weight: 600; color: var(--zk-mute); line-height: 1.25; }
.zk-luggage-tel-msg:empty::before { content: "9 cifras, sin el prefijo"; }
.zk-luggage-tel-msg.is-err { color: var(--zk-err); font-weight: 800; animation: zk-fadein .2s ease-out; }
.zk-luggage .zk-luggage-tel-demo { width: auto; flex: none; min-height: 62px; padding: 0 24px; border-radius: 20px; font-size: 21px; }
.zk-luggage .zk-luggage-tel-demo.zk-hint::after { border-radius: 26px; }
.zk-luggage-tel-keypad { margin-top: auto; padding-top: 14px; gap: 10px; }
.zk-luggage-tel-keypad .zk-key { height: 66px; border-radius: 20px; font-size: 34px; }
.zk-luggage-tel-keypad .zk-key-del .zk-ic { font-size: 34px; }
.zk-luggage-tel-keypad .zk-key.zk-hint::after { border-radius: 24px; }
.zk-luggage-tel-priv { margin-top: 12px; flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--zk-mute); }
.zk-luggage-tel-priv .zk-ic { font-size: 20px; color: var(--zk-ok); }
.zk-s-phone .zk-actions { margin-top: 14px; }
.zk-luggage-tel-go .zk-ic { font-size: 30px; }
.zk-luggage .zk-btn.zk-luggage-dis { opacity: .4; box-shadow: none; }
.zk-luggage-sent b { color: var(--zk-ink); font-weight: 800; white-space: nowrap; }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .zk-luggage-card { animation: none !important; transform: translate(0, 24px); }
  .zk-luggage-waiting i { animation: zk-luggage-spin 1.6s linear infinite !important; }
}
