/* Caseta: one plate field, the car's state, and cash. Built for a phone in
   one hand at the booth: big targets, one primary action, no tables. */
.dash.is-signed-in .view > .body.booth { max-width: 720px; }

/* Caseta automática: the car at the exit barrier, above the plate field. */
.booth-now { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px; }
.booth-now[hidden] { display: none; }
.booth-now-photo { flex: none; width: 168px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #f3f4f1; }
.booth-now-main { flex: 1; min-width: 180px; }
.booth-now-label { margin: 0; color: #5f6b64; font-size: 13px; font-weight: 500; }
.booth-now-plate { display: inline-block; margin: 6px 0 0; padding: 4px 10px; border: 1px solid rgba(16, 32, 26, 0.1); border-radius: 10px; background: #f3f4f1; color: #10201a; font-family: var(--font-mono); font-size: 22px; font-weight: 650; letter-spacing: 0.06em; }
.booth-now-main .booth-hint { margin-top: 6px; }
.booth-now.is-waiting .booth-now-label::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #2f7a52; vertical-align: 1px; animation: booth-now-pulse 1.6s ease-in-out infinite; }
.booth-now.is-other { border-color: rgba(176, 120, 20, 0.35); background: #fdf8ec; }
.dash.is-signed-in .cta.booth-now-show { width: 100%; height: 52px; margin: 0; border-radius: 14px; font-size: 16px; }
@keyframes booth-now-pulse { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .booth-now.is-waiting .booth-now-label::before { animation: none; } }

.booth-find { margin: 0 0 16px; }
.booth-find-label { display: block; margin: 0 0 6px; color: #5f6b64; font-size: 13px; font-weight: 500; }
.booth-find-row { display: flex; gap: 10px; }
.booth-plate-input {
  flex: 1;
  min-width: 0;
  height: 60px;
  padding: 0 16px;
  border: 1px solid rgba(16, 32, 26, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 32, 26, 0.04);
  color: #10201a;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}
.booth-plate-input::placeholder { color: #c2c8c4; font-weight: 500; }
.booth-plate-input::-webkit-search-cancel-button { display: none; }
.booth-plate-input:focus { border-color: rgba(20, 61, 43, 0.4); box-shadow: 0 0 0 4px rgba(20, 61, 43, 0.08); }
.dash.is-signed-in .cta.booth-go { width: auto; min-width: 104px; height: 60px; margin: 0; padding: 0 20px; border-radius: 14px; font-size: 16px; }
.booth-print { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 10px 10px 10px 14px; border-radius: 12px; background: #eef1ec; }
.booth-print[data-state="failed"] { background: #fbeae4; }
.booth-print[hidden] { display: none; }
.booth-print-note { margin: 0; color: #10201a; font-size: 14.5px; font-weight: 550; line-height: 1.4; }
.booth-print[data-state="failed"] .booth-print-note { color: #b9603f; }
.dash.is-signed-in .cta-line.booth-print-again { flex: none; width: auto; height: 42px; min-height: 0; margin: 0; padding: 0 14px; border-radius: 11px; font-size: 14px; white-space: nowrap; }
.booth-hint { margin: 8px 0 0; color: #8b958f; font-size: 12.5px; line-height: 1.45; }

.booth-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #e6efe8; color: #2f7a52; font-size: 14.5px; font-weight: 550; line-height: 1.4; }
.dash .booth .form-error { margin: 0 0 14px; font-size: 14px; }

.booth-card { border: 1px solid rgba(16, 32, 26, 0.06); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 32, 26, 0.03), 0 8px 24px rgba(16, 32, 26, 0.04); }
.booth-car { margin: 0 0 18px; padding: 18px; }
.booth-car-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.booth-car-plate { padding: 6px 12px; border: 1px solid rgba(16, 32, 26, 0.1); border-radius: 10px; background: #f3f4f1; color: #10201a; font-family: var(--font-mono); font-size: 22px; font-weight: 650; letter-spacing: 0.06em; }
.booth-state { display: inline-flex; align-items: center; gap: 8px; color: #10201a; font-size: 15px; font-weight: 600; }
.booth-amount { margin: 14px 0 0; color: #10201a; font-size: 36px; font-weight: 650; line-height: 1; letter-spacing: -0.03em; }

.booth-facts { display: flex; flex-direction: column; margin: 14px 0 0; padding: 0; }
.booth-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid #f0f1ee; }
.booth-facts dt { flex: none; color: #7b867f; font-size: 13.5px; }
.booth-facts dd { margin: 0; color: #10201a; font-size: 15px; font-weight: 500; text-align: right; }
.booth-card.booth-facts { margin: 10px 0 0; padding: 4px 16px; }
.booth-card.booth-facts > div:first-child { border-top: 0; }

.booth-saved-card { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: #eef1ec; color: #10201a; font-size: 16px; font-weight: 600; line-height: 1.4; }
.booth-saved-card[data-state="failed"] { background: #fbeae4; color: #b9603f; }
.dash.is-signed-in .cta.booth-collect { width: 100%; height: 58px; margin: 16px 0 0; border-radius: 14px; font-size: 17px; font-weight: 600; }

.booth-similar { margin: 0 0 18px; }
.booth-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.booth-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid rgba(16, 32, 26, 0.1); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(16, 32, 26, 0.04); color: #10201a; font-family: var(--font-mono); font-size: 16px; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; }
.booth-chip:hover { border-color: rgba(20, 61, 43, 0.3); }
.booth-chip-tag { color: #2f7a52; font-family: var(--font-sans, inherit); font-size: 12px; font-weight: 500; letter-spacing: 0; }

.booth-block { margin: 0 0 22px; }

/* An entry photo beside an exit photo: Caseta and Accesos (api/photo-match.js). */
.photo-matches { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; }
.photo-match { padding: 12px; border: 1px solid rgba(16, 32, 26, 0.06); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 32, 26, 0.03), 0 8px 24px rgba(16, 32, 26, 0.04); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.photo-shot { margin: 0; }
.photo-shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #f3f4f1; }
.photo-shot figcaption { margin: 6px 0 0; color: #7b867f; font-size: 12.5px; }
.photo-match-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; }
.photo-match-foot .booth-visit-plate { margin-right: auto; }
.dash.is-signed-in .photo-match-foot .cta-line,
.dash.is-signed-in .photo-match-foot .cta { width: auto; height: 42px; min-height: 0; margin: 0; padding: 0 16px; border-radius: 11px; font-size: 14px; white-space: nowrap; }
.booth-block > .booth-hint { margin-top: 4px; }
.booth-visits { margin: 10px 0 0; padding: 0; overflow: hidden; border: 1px solid rgba(16, 32, 26, 0.06); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 32, 26, 0.03), 0 8px 24px rgba(16, 32, 26, 0.04); list-style: none; }
.booth-visits:empty,
.booth-visits[hidden] { display: none; }
.booth-visit { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #f3f4f1; }
.booth-visit:last-child { border-bottom: 0; }
.booth-visit-main { min-width: 0; }
.booth-visit-when { margin: 0; color: #10201a; font-size: 14px; font-weight: 500; }
.booth-visit-plate { margin-right: 8px; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.04em; }
.booth-visit-meta { margin: 2px 0 0; color: #7b867f; font-size: 12.5px; line-height: 1.4; }
.booth-visit-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.booth-visit-amount { color: #10201a; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.dash.is-signed-in .cta-line.booth-visit-collect { width: auto; height: 42px; min-height: 0; margin: 0; padding: 0 14px; border-radius: 11px; font-size: 14px; white-space: nowrap; }
.dash.is-signed-in .dash-page.booth-more { margin: 12px auto 0; }

.booth-empty { margin: 8px 0 0; padding: 28px 16px; border: 1px dashed rgba(16, 32, 26, 0.12); border-radius: 16px; color: #7b867f; font-size: 14.5px; text-align: center; }

.booth-walkup { margin: 14px 0 18px; padding: 18px; }
.booth-walkup > .dash-h2 { margin: 0; }
.booth-hours { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.booth-hours-value { margin: 0; color: #10201a; font-size: 22px; font-weight: 650; }
.booth-hours-step { width: 52px; height: 52px; justify-content: center; padding: 0; font-family: var(--font-sans, inherit); font-size: 26px; letter-spacing: 0; }
.booth-hours-step:disabled { opacity: 0.35; cursor: default; }

.dash.is-signed-in .cta-line.booth-fix,
.dash.is-signed-in .cta-line.booth-void { width: 100%; height: 48px; margin: 10px 0 0; border-radius: 14px; font-size: 15px; }
.dash.is-signed-in .cta-line.booth-void { color: #b9603f; }
.booth-fix-hint,
.booth-void-hint { margin: 6px 20px 0; text-align: center; }
.booth-confirm-amount { margin: 6px 0 4px; color: #10201a; font-size: 40px; font-weight: 650; letter-spacing: -0.03em; text-align: center; }
.booth-confirm .booth-facts { margin: 8px 20px 0; }
.dash .booth-confirm .form-error { margin: 12px 20px 0; }
.booth-confirm-actions { gap: 10px; margin-top: 12px; }
.dash.is-signed-in .booth-confirm-actions .cta,
.dash.is-signed-in .booth-confirm-actions .cta-line { width: 100%; height: 54px; margin: 0; font-size: 16px; }

@media (max-width: 740px) {
  .dash.is-signed-in .view > .body.booth { padding: 18px 16px calc(32px + var(--shell-tabs) + env(safe-area-inset-bottom)); }
  .booth .dash-lot-head { margin-bottom: 12px; }
  .booth-visit { gap: 10px; padding: 12px; }
}
