:root {
  --bg: #f7f5f1;
  --text: #1c1712;
  --accent: #21180c;
  --border: #e4ddd2;
  --muted: #6f6558;
  --card: #fffdf9;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.header__brand {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__email {
  color: var(--muted);
  font-size: 0.9rem;
}

.main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.boot-loading,
.auth,
.home {
  width: min(100%, 28rem);
}

.boot-loading__card,
.auth,
.home {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(28, 23, 18, 0.06);
}

.boot-loading__card {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.boot-loading__spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth__title {
  margin: 0 0 0.5rem;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.auth__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form__field {
  display: grid;
  gap: 0.35rem;
}

.auth-form__label {
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-form__input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.role-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.role-toggle__option {
  margin: 0;
  cursor: pointer;
}

.role-toggle__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-toggle__pill {
  display: block;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.role-toggle__option input:checked + .role-toggle__pill {
  background: var(--card);
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.role-toggle__option input:focus-visible + .role-toggle__pill {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.auth-form__actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.auth__status {
  min-height: 1.25rem;
  margin: 1rem 0 0;
  color: #9a3412;
  font-size: 0.9rem;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.home__title {
  margin: 0 0 0.5rem;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.home__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.5;
}

.home__actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

/* Mode tabs */
.mode-tabs {
  display: flex;
  gap: 0.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem;
  margin-bottom: 1.75rem;
}

.mode-tab {
  flex: 1;
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.mode-tab--active {
  background: var(--card);
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(28,23,18,0.08);
}

/* Steps */
.steps {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
}

.steps__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}

.steps__item--active .steps__dot,
.steps__item--done .steps__dot {
  background: var(--accent);
}

.steps__label {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
}

.steps__item--active .steps__label {
  color: var(--accent);
  font-weight: 600;
}

.steps__line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 0.4rem;
  margin-bottom: 1rem;
  transition: background 0.2s;
}

.steps__line--done {
  background: var(--accent);
}

/* Checkin form */
.checkin-form {
  display: grid;
  gap: 1rem;
}

/* Carousel */
.carousel {
  overflow: hidden;
  position: relative;
}

.carousel__track {
  display: flex;
  transition: transform 0.35s ease;
}

.carousel__slide {
  flex: 0 0 100%;
  padding: 0 0.25rem;
}

.carousel-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  min-height: 10rem;
  position: relative;
}

.carousel-card--gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #78350f;
}

.carousel-card--platinum {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  color: #312e81;
}

.carousel-card--black {
  background: linear-gradient(135deg, #1c1712, #2d2416);
  color: #f7f5f1;
}

.carousel-card__tier {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.carousel-card__name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
}

.carousel-card__desc {
  font-size: 0.82rem;
  opacity: 0.75;
  line-height: 1.4;
}

.carousel-card__price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: auto;
}

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel__btn {
  appearance: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}

.carousel__btn:hover {
  border-color: var(--accent);
}

.carousel__dots {
  display: flex;
  gap: 0.4rem;
}

.carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}

.carousel__dot--active {
  background: var(--accent);
}

/* Summary */
.summary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.summary__row:last-child {
  border-bottom: none;
}

.summary__row--total {
  background: var(--bg);
  font-weight: 600;
}

.summary__label {
  color: var(--muted);
}

/* Receipt */
.receipt {
  text-align: center;
}

.receipt__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.receipt .summary {
  text-align: left;
}

.receipt .home__actions {
  justify-content: center;
}

.receipt__icon--redeem {
  background: #4338ca;
}

/* Host dashboard */
.dashboard {
  display: grid;
  gap: 2rem;
}

.dashboard__section {
  display: grid;
  gap: 0.5rem;
}

.dashboard__title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.75rem;
  margin: 0;
}

.dashboard__lead {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.access-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  min-height: 10rem;
}

.access-card--gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #78350f;
}

.access-card--platinum {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  color: #312e81;
}

.access-card--black {
  background: linear-gradient(135deg, #1c1712, #2d2416);
  color: #f7f5f1;
}

.access-card__tier {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.access-card__name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
}

.access-card__desc {
  font-size: 0.82rem;
  opacity: 0.75;
  line-height: 1.4;
}

.access-card__price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: auto;
}

.gift-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  min-height: 9rem;
  background: var(--card);
  border: 1px solid var(--border);
}

.gift-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.gift-card__amount {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.8rem;
  color: var(--accent);
}

.gift-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: auto;
}

/* Empty state (partner) */
.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
}

.empty-state__text {
  color: var(--muted);
}


/*# sourceMappingURL=app.css.map*/