/* Kiosk — pulsante uscita discreto + tastierino PIN */

/* Pulsante uscita nella taskbar (tray), stile coerente con gli altri strumenti */
.kiosk-exit-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm, 6px);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s;
}

.kiosk-exit-btn:hover {
  background: var(--bg-hover);
}

.kiosk-exit-btn svg {
  width: 20px;
  height: 20px;
}

.kiosk-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kiosk-pad {
  width: 280px;
  padding: 26px 24px;
  border-radius: 18px;
  background: rgba(30, 32, 38, 0.99);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.kiosk-pad.shake {
  animation: kiosk-shake 0.32s;
}

.kiosk-pad-title {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text-1);
}

.kiosk-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.kiosk-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: background 0.1s, border-color 0.1s;
}

.kiosk-dot.filled {
  background: var(--accent);
  border-color: var(--accent);
}

.kiosk-pad-msg {
  min-height: 18px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  color: #ffb0b0;
}

.kiosk-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kiosk-key {
  height: 54px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
  font-size: 1.3rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.1s, transform 0.06s;
}

.kiosk-key:hover {
  background: rgba(255, 255, 255, 0.1);
}

.kiosk-key:active {
  transform: scale(0.94);
}

.kiosk-pad-cancel {
  margin-top: 16px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.kiosk-pad-cancel:hover {
  color: var(--text-1);
}

@keyframes kiosk-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}
