/* Lobby kiosk – large touch targets, high contrast */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 20px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
  padding: 1rem;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

#app {
  max-width: 36rem;
  margin: 0 auto;
  min-height: 100%;
}

.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 1.5rem 0;
  text-align: center;
}

.screen.active {
  display: flex;
}

.question {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 2rem;
  line-height: 1.3;
}

.instructions {
  font-size: 1.15rem;
  margin: 0 0 1.5rem;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 22rem;
}

.btn {
  min-height: 3.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}

.btn:hover,
.btn:focus {
  background: #1d4ed8;
}

.btn:active {
  background: #1e40af;
}

.back-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  background: #374151;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.back-btn:hover,
.back-btn:focus {
  background: #4b5563;
}

#screen-no-appointment {
  position: relative;
}

.no-appointment-message {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.phone-wrap {
  font-size: 1.25rem;
  margin: 0 0 1.5rem;
}

.phone-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

.arrival-message {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: 20rem;
}

.countdown {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}
