:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --bg-color: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  width: 100%;
  max-width: 500px;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  margin: 0 0 0.5rem 0;
  color: var(--primary-color);
}

header p {
  margin: 0;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

select, input, textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

select:focus, input:focus, textarea:focus {
  border-color: var(--primary-color);
}

select:disabled, input:disabled {
  background-color: #f1f5f9;
  cursor: not-allowed;
}

.slots-container {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
}

.placeholder-text {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
}

.slot-btn {
  background: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.slot-btn:hover {
  background: #eff6ff;
}

.slot-btn.selected {
  background: var(--primary-color);
  color: white;
}

.hidden {
  display: none !important;
}

#bookingForm {
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#selectedSlotText {
  font-weight: bold;
  color: var(--primary-color);
  margin-top: -0.5rem;
}

.primary-btn {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.primary-btn:hover {
  background: var(--secondary-color);
}

.success-box {
  text-align: center;
  padding: 2rem;
}

.success-box h2 {
  color: #16a34a;
}
