/* Gate Kiosk — Stationary gate-side interface */

/* ── Screens ─────────────────────────────────────────────────────────── */
.screen {
  display: none;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.screen.active {
  display: flex;
}

/* ── Screen: Idle / Start Boarding ─────────────────────────────────────── */
#screenIdle {
  padding: 0;
}

.kiosk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #1a1d29 0%, #162033 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.kiosk-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.kiosk-terminal {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

.idle-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  gap: 2rem;
}

.idle-departure-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.idle-loading {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
}

.idle-route {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.idle-dest {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.idle-time-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.idle-time {
  font-family: 'Courier New', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: #34d399;
}

.idle-time.time-delayed {
  color: #fbbf24;
}

.idle-countdown {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
}

.idle-meta {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.idle-empty {
  text-align: center;
  padding: 2rem 0;
}

.idle-empty-icon {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.idle-empty-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.4);
}

.idle-actions {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-start-boarding {
  width: 100%;
  padding: 1.5rem 2rem;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.btn-start-boarding:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-start-boarding:not(:disabled):active {
  transform: scale(0.98);
}

.idle-hint {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

.idle-footer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Utility ──────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
