* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  display: none;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.screen.active {
  display: flex;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  text-align: center;
}

.brand-logo {
  display: block;
  margin: 0 auto 50px;
  width: 150px;
  height: auto;
}

.logo {
  font-size: 64px;
  margin-bottom: 16px;
}

.called-icon {
  font-size: 80px;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  color: #999;
  font-size: 16px;
  margin-bottom: 32px;
}

/* Form */
.field {
  margin-bottom: 16px;
  text-align: left;
}

.field label {
  display: block;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #333;
  border-radius: 12px;
  background: #1a1a1a;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus {
  border-color: #0070f3;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  background: #0070f3;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #005bd4;
}

.btn-primary:disabled {
  background: #333;
  cursor: not-allowed;
}

.error {
  color: #ff4444;
  margin-top: 16px;
  font-size: 14px;
}

.hidden {
  display: none;
}

/* Queue position */
.position-card {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 20px;
  padding: 32px;
  margin: 24px 0;
}

.position-label {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.position-number {
  font-size: 72px;
  font-weight: 800;
  color: #0070f3;
  line-height: 1;
}

.position-total {
  font-size: 18px;
  color: #666;
  margin-top: 4px;
}

.guest-info {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 8px;
}

.wait-text {
  color: #666;
  font-size: 14px;
}
