/* Zentry demo — escenario Lavandería 24 h. Carga encima de kiosk.css. Clases propias: .zk-laundry-* */

/* ---------- barra superior: modo personal ---------- */
.zk-laundry-staffbar {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px;
  background: #1b2433; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
  transition: opacity .2s ease-out, transform .25s var(--zk-ease);
}
.zk-laundry-staffbar .zk-ic { font-size: 24px; color: #f4c95d; }
.zk-top.zk-laundry-staffmode .zk-laundry-staffbar { opacity: 1; transform: translate(-50%, -50%); }
.zk-top .zk-top-name { transition: opacity .2s ease-out; }
.zk-top.zk-laundry-staffmode .zk-top-name { opacity: 0; }

/* ---------- servicios ---------- */
.zk-laundry-svcs { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.zk-laundry-svc {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 20px;
  min-height: 176px; padding: 22px 26px 22px 22px; border-radius: 30px; text-align: left;
  background: #fff; border: 2px solid var(--zk-line);
  box-shadow: 0 18px 36px -28px rgba(14, 23, 38, .45);
}
.zk-laundry-svc.zk-sel { border-color: var(--zk-a); background: rgba(var(--zk-a-rgb), .05); }
.zk-laundry-svc:active, .zk-laundry-svc.zk-press { transform: scale(.98); }
.zk-laundry-svc-ic {
  width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; font-size: 48px;
  color: var(--zk-a); background: rgba(var(--zk-a-rgb), .09);
}
.zk-laundry-svc-ic .zk-ic { stroke-width: 1.7; }
.zk-laundry-svc-body { display: flex; flex-direction: column; min-width: 0; }
.zk-laundry-svc-name { font-size: 29px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.zk-laundry-svc-unit { margin-top: 6px; font-size: 19px; font-weight: 600; color: var(--zk-ink2); }
.zk-laundry-svc-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.zk-laundry-ready {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 17px; font-weight: 800;
  color: var(--zk-ok); background: rgba(var(--zk-ok-rgb), .1);
}
.zk-laundry-ready .zk-ic { font-size: 20px; }
.zk-laundry-svc-price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- notas ---------- */
.zk-laundry-chips { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zk-laundry-chip {
  position: relative; min-height: 132px; padding: 22px 22px 20px; border-radius: 28px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left;
  background: #fff; border: 2px solid var(--zk-line); box-shadow: 0 12px 26px -22px rgba(14, 23, 38, .45);
}
.zk-laundry-chip-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; color: var(--zk-a); background: rgba(var(--zk-a-rgb), .08); transition: background-color .15s ease-out, color .15s ease-out; }
.zk-laundry-chip-tx { margin-top: 14px; font-size: 23px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.zk-laundry-chip-ok {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; color: transparent; border: 2px solid var(--zk-line);
  transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out, transform .2s var(--zk-ease);
}
.zk-laundry-chip-ok .zk-ic { stroke-width: 3; }
.zk-laundry-chip.zk-sel { border-color: var(--zk-a); background: rgba(var(--zk-a-rgb), .05); }
.zk-laundry-chip.zk-sel .zk-laundry-chip-ic { background: var(--zk-a); color: var(--zk-on-a); }
.zk-laundry-chip.zk-sel .zk-laundry-chip-ok { background: var(--zk-a); border-color: var(--zk-a); color: var(--zk-on-a); animation: zk-pop .2s ease-out; }
.zk-root .zk-laundry-chip.zk-hint::after, .zk-root .zk-laundry-svc.zk-hint::after { border-radius: 36px; }

.zk-laundry-order {
  margin-top: auto; margin-bottom: 18px; display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  border-radius: 24px; background: #fff; border: 1px solid var(--zk-line);
}
.zk-laundry-order-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; color: var(--zk-a); background: rgba(var(--zk-a-rgb), .09); flex: none; }
.zk-laundry-order-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zk-laundry-order-tx b { font-size: 22px; font-weight: 800; }
.zk-laundry-order-tx span { font-size: 18px; color: var(--zk-ink2); font-weight: 600; }
.zk-laundry-o-price { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.zk-s-notes .zk-actions { margin-top: 0; }

/* ---------- teléfono ---------- */
.zk-laundry-field {
  margin-top: 40px; display: flex; align-items: center; gap: 20px; padding: 24px 26px; border-radius: 28px;
  background: #fff; border: 2px solid var(--zk-a); box-shadow: 0 0 0 6px rgba(var(--zk-a-rgb), .1);
}
.zk-laundry-field-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 38px; color: var(--zk-a); background: rgba(var(--zk-a-rgb), .09); flex: none; }
.zk-laundry-field-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zk-laundry-field-k { font-size: 17px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--zk-mute); }
.zk-laundry-field-v { margin-top: 4px; font-size: 38px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zk-laundry-field-ok { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: var(--zk-ok); color: #fff; flex: none; }
.zk-laundry-field-ok .zk-ic { stroke-width: 3; }
.zk-laundry-privacy { margin-top: 10px; }

/* pantalla «¿Dónde te avisamos?»: campo +34, teclado sin OK, número de demo */
.zk-s-phone .zk-laundry-tel { margin-top: 24px; padding: 18px 22px; gap: 18px; flex: none; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.zk-s-phone .zk-laundry-field-ic { width: 64px; height: 64px; border-radius: 20px; font-size: 34px; }
.zk-laundry-tel-v { margin-top: 4px; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.zk-laundry-tel-cc {
  flex: none; display: inline-flex; align-items: center; height: 46px; padding: 0 12px; border-radius: 14px;
  background: #eef1f5; color: var(--zk-ink2); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.zk-laundry-tel-num { display: inline-flex; align-items: center; height: 46px; font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--zk-ink); }
.zk-laundry-tel-num b { display: inline-block; width: .62em; text-align: center; font-weight: 800; animation: zk-pop .16s ease-out; }
.zk-laundry-tel-num u { position: relative; display: inline-block; width: .62em; height: 1em; text-decoration: none; }
.zk-laundry-tel-num u::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 3px; border-radius: 2px; background: #d3d9e2; }
.zk-laundry-tel-num u.zk-cur::before { content: ""; position: absolute; left: 50%; top: 2px; bottom: 6px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--zk-a); animation: zk-caret 1s steps(1) infinite; }
.zk-laundry-tel-num u.zk-cur::after { background: var(--zk-a); }
.zk-laundry-tel-sp { display: inline-block; width: .3em; }
.zk-s-phone .zk-laundry-field-ok { opacity: 0; transform: scale(.6); transition: opacity .18s ease-out, transform .22s var(--zk-ease); }
.zk-laundry-tel.zk-laundry-telok .zk-laundry-field-ok { opacity: 1; transform: none; }
.zk-laundry-tel.zk-laundry-telok { border-color: var(--zk-ok); box-shadow: 0 0 0 6px rgba(var(--zk-ok-rgb), .1); }
.zk-laundry-tel.zk-laundry-telerr { border-color: var(--zk-err); box-shadow: 0 0 0 6px rgba(214, 60, 60, .1); }
.zk-s-phone .zk-laundry-telmsg { height: 44px; margin-top: 6px; font-size: 19px; }
.zk-laundry-telpad { margin-top: auto; gap: 10px; }
.zk-laundry-telpad .zk-key { height: 72px; border-radius: 22px; font-size: 34px; }
.zk-laundry-keygap { display: block; }
.zk-s-phone .zk-laundry-privacy {
  margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  font-size: 17px; font-weight: 600; color: var(--zk-mute);
}
.zk-s-phone .zk-laundry-privacy .zk-ic { font-size: 22px; color: var(--zk-ok); }
.zk-laundry-telacts { margin-top: 12px; display: grid; grid-template-columns: 1.22fr 1fr; gap: 12px; flex: none; }
.zk-laundry-telacts .zk-btn { min-height: 84px; padding: 0 12px; font-size: 22px; gap: 10px; white-space: nowrap; }
.zk-laundry-telacts .zk-btn .zk-ic { font-size: 28px; }
.zk-laundry-telgo.zk-laundry-off { background: #dfe4eb; color: #8a95a5; box-shadow: none; }
.zk-root .zk-laundry-telacts .zk-btn.zk-hint::after { border-radius: 30px; }
.zk-laundry-nw { white-space: nowrap; font-weight: 800; color: var(--zk-ink); }
.zk-laundry-task-tel { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-style: normal; font-size: 16px; font-weight: 700; color: var(--zk-a); white-space: nowrap; }
.zk-laundry-task-tel .zk-ic { font-size: 18px; }

/* ---------- pago ---------- */
.zk-laundry-amount {
  margin-top: 26px; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 24px 22px; border-radius: 28px; background: #fff; border: 1px solid var(--zk-line);
}
.zk-laundry-amount-k { font-size: 17px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--zk-mute); }
.zk-laundry-amount-v { margin-top: 2px; font-size: 76px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.zk-laundry-amount-s { margin-top: 4px; font-size: 20px; font-weight: 600; color: var(--zk-ink2); }
.zk-laundry-pays { margin-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.zk-laundry-pay { min-height: 196px; padding: 26px 30px 28px; }
.zk-laundry-pay .zk-card-ic { width: 72px; height: 72px; border-radius: 22px; font-size: 38px; }
.zk-laundry-pay .zk-card-title { margin-top: 18px; font-size: 34px; }

.zk-laundry-term-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 10px 0 18px; }
.zk-laundry-term { width: 360px; height: auto; max-height: 100%; }
.zk-laundry-term-led { fill: #23324a; transition: fill .2s ease-out; }
.zk-laundry-waves { stroke: var(--zk-a); opacity: .9; animation: zk-chev 1.4s ease-in-out infinite; }
.zk-laundry-card { animation: zk-laundry-hover 2.4s ease-in-out infinite; }
@keyframes zk-laundry-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
.zk-laundry-paying .zk-laundry-card { animation: none; transform: translateY(26px); transition: transform .3s var(--zk-ease); }
.zk-laundry-paying .zk-laundry-term-led { fill: rgba(var(--zk-a-rgb), .9); }
.zk-laundry-paidok .zk-laundry-card { animation: none; transform: translateY(-10px); opacity: .5; transition: transform .3s var(--zk-ease), opacity .3s ease-out; }
.zk-laundry-paidok .zk-laundry-term-led { fill: var(--zk-ok); }
.zk-laundry-paidok .zk-laundry-waves { animation: none; opacity: 0; }
.zk-laundry-paystate { height: 54px; margin-top: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }
.zk-laundry-ps-wait, .zk-laundry-ps-ok { display: none; align-items: center; gap: 12px; }
.zk-laundry-paying .zk-laundry-ps-wait { display: inline-flex; color: var(--zk-ink2); animation: zk-fadein .2s ease-out; }
.zk-laundry-paidok .zk-laundry-ps-ok { display: inline-flex; color: var(--zk-ok); animation: zk-fadein .2s ease-out; }
.zk-laundry-spin { width: 28px; height: 28px; border-radius: 50%; border: 4px solid rgba(var(--zk-a-rgb), .2); border-top-color: var(--zk-a); animation: zk-laundry-spin .7s linear infinite; }
@keyframes zk-laundry-spin { to { transform: rotate(360deg); } }
.zk-laundry-paying [data-act="card-tap"], .zk-laundry-paidok [data-act="card-tap"] { opacity: .5; pointer-events: none; }
.zk-laundry-paybig { margin-top: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; flex: none; }
.zk-laundry-paybig b { font-size: 72px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zk-laundry-paybig span { margin-top: 4px; font-size: 20px; font-weight: 600; color: var(--zk-ink2); }
.zk-laundry-order-door { margin-top: 14px; margin-bottom: 0; }

/* ---------- puerta / recibido ---------- */
.zk-s-drop-open, .zk-s-pickup-open { padding-top: 40px; align-items: stretch; }
.zk-laundry-tip .zk-ic { color: var(--zk-a); }
.zk-laundry-tip b { color: var(--zk-ink); font-weight: 800; }
.zk-s-received .zk-head { margin-top: 22px; }
.zk-laundry-paid-ok { color: var(--zk-ok); }

/* ---------- modo personal ---------- */
.zk-s-staff { padding-top: 30px; }
.zk-laundry-staff-in { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.zk-laundry-sum { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: none; }
.zk-laundry-sum span {
  display: flex; align-items: baseline; gap: 12px; padding: 18px 22px; border-radius: 22px;
  background: #1b2433; color: #c9d3e1; font-size: 20px; font-weight: 700;
}
.zk-laundry-sum b { font-size: 44px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.zk-laundry-tasks { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.zk-laundry-tasks-k { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; font-size: 17px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--zk-mute); }
.zk-laundry-tasks-k .zk-ic { font-size: 22px; }
.zk-laundry-task {
  display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  min-height: 92px; padding: 12px 18px 12px 12px; border-radius: 22px; background: #fff; border: 1px solid var(--zk-line);
  transition: background-color .25s ease-out, border-color .25s ease-out;
}
.zk-laundry-task-me { border: 2px solid rgba(var(--zk-a-rgb), .55); box-shadow: 0 0 0 4px rgba(var(--zk-a-rgb), .08); }
.zk-laundry-task-door {
  width: 86px; height: 68px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #eef1f5; color: var(--zk-ink2); line-height: 1;
}
.zk-laundry-task-door span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.zk-laundry-task-door b { margin-top: 4px; font-size: 32px; font-weight: 800; color: var(--zk-ink); font-variant-numeric: tabular-nums; }
.zk-laundry-task-me .zk-laundry-task-door { background: var(--zk-a); color: var(--zk-on-a); }
.zk-laundry-task-me .zk-laundry-task-door b { color: var(--zk-on-a); }
.zk-laundry-task-body { display: flex; flex-direction: column; min-width: 0; }
.zk-laundry-task-body b { font-size: 23px; font-weight: 800; }
.zk-laundry-task-body span { font-size: 17px; font-weight: 600; color: var(--zk-ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zk-laundry-task-st { font-size: 17px; font-weight: 800; }
.zk-laundry-task-todo { display: inline-flex; padding: 6px 12px; border-radius: 999px; color: var(--zk-ink2); background: #eef1f5; }
.zk-laundry-task-done { display: none; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; color: var(--zk-ok); background: rgba(var(--zk-ok-rgb), .12); }
.zk-laundry-task-done .zk-ic { font-size: 18px; stroke-width: 3; }
.zk-laundry-task-ok { background: #f3fbf6; border-color: rgba(var(--zk-ok-rgb), .35); }
.zk-laundry-task-ok .zk-laundry-task-todo { display: none; }
.zk-laundry-task-ok .zk-laundry-task-done { display: inline-flex; animation: zk-pop .2s ease-out; }
.zk-laundry-roundok {
  display: none; align-items: center; justify-content: center; gap: 12px; min-height: 96px; border-radius: 26px;
  font-size: 25px; font-weight: 800; color: var(--zk-ok); background: rgba(var(--zk-ok-rgb), .1);
}
.zk-laundry-roundok .zk-ic { font-size: 30px; stroke-width: 3; }
.zk-laundry-done .zk-laundry-roundok { display: flex; animation: zk-fadein .25s ease-out; }
.zk-laundry-done .zk-laundry-go { display: none; }
.zk-laundry-going { opacity: .7; }

/* ---------- valoración ---------- */
.zk-s-thanks .zk-head { margin-top: 24px; }
.zk-laundry-rate { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 16px; flex: none; }
.zk-laundry-rate-q, .zk-laundry-rate-ok { font-size: 24px; font-weight: 800; }
.zk-laundry-rate-ok { display: none; color: var(--zk-ok); }
.zk-laundry-rated .zk-laundry-rate-q { display: none; }
.zk-laundry-rated .zk-laundry-rate-ok { display: block; animation: zk-fadein .25s ease-out; }
.zk-laundry-stars { display: flex; gap: 10px; }
.zk-laundry-star {
  width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; font-size: 50px;
  color: #c9d1dc; background: #fff; border: 1px solid var(--zk-line);
}
.zk-laundry-star .zk-ic { stroke-width: 1.8; }
.zk-laundry-star.zk-on { color: #f2a91d; background: #fff8e8; border-color: #f6d58f; }
.zk-laundry-star.zk-on .zk-ic { fill: currentColor; animation: zk-pop .22s ease-out; }
.zk-laundry-rated .zk-laundry-star { pointer-events: none; }
.zk-root .zk-laundry-star.zk-hint::after { border-radius: 30px; }
.zk-s-thanks .zk-done-top { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
  .zk-laundry-card, .zk-laundry-waves, .zk-laundry-spin, .zk-laundry-tel-num b, .zk-laundry-tel-num u.zk-cur::before { animation: none !important; }
}
