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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #2a0a4a, #160026);
  color: #ffffff;
  min-height: 100vh;
}

/* ---------- App Container ---------- */
.app {
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem;
}

/* ---------- Header ---------- */
.header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.header h1 {
  font-size: 1.8rem;
  font-weight: 800;
}

.subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
}

.vibe {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  color: #ff6bd6;
}

/* ---------- Warning ---------- */
.warning {
  background: rgba(255, 107, 214, 0.15);
  border: 1px solid #ff6bd6;
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ---------- Wait Cards ---------- */
.wait-times {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wait-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 0 18px rgba(255, 107, 214, 0.15);
}

.wait-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.time {
  font-size: 2.2rem;
  font-weight: 800;
  color: #7df9ff;
}

.updated {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* ---------- Submit Button ---------- */
.submit {
  margin: 1.5rem 0;
  text-align: center;
}

.submit button {
  background: linear-gradient(135deg, #ff6bd6, #a855f7);
  border: none;
  color: white;
  font-size: 1rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 107, 214, 0.4);
}

.submit button:active {
  transform: scale(0.96);
}

/* ---------- Form ---------- */
.form {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 18px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  animation: slideUp 0.3s ease;
}

.form h3 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Location choice */
.location-choice {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.location-choice button {
  flex: 1;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid #7df9ff;
  background: transparent;
  color: #7df9ff;
  font-weight: 600;
  cursor: pointer;
}

.location-choice button.selected {
  background: #7df9ff;
  color: #160026;
}

/* Time inputs */
.time-inputs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.time-inputs label {
  flex: 1;
  font-size: 0.85rem;
}

.time-inputs input {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

/* Form buttons */
.primary {
  width: 100%;
  background: #ff6bd6;
  border: none;
  color: white;
  padding: 0.8rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.secondary {
  width: 100%;
  background: transparent;
  border: 1px solid #ffffff55;
  color: white;
  padding: 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 2rem;
}

/* ---------- Utilities ---------- */
.hidden {
  display: none;
}

/* ---------- Animations ---------- */
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
