#loadingScreen {
  position: fixed;
  inset: 0;
  background: var(--pink-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#app { display: none; }
#app.ready { display: block; }

/* ── Header ── */
.club-header {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dk) 100%);
  color: white;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.club-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 0.4rem;
  color: white;
}

.club-header p {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 300;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.78rem;
  margin-top: 1rem;
}

.logout-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.2s;
}
.logout-btn:hover { background: rgba(255,255,255,0.25); }

.back-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  margin-top: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.back-btn:hover { background: rgba(255,255,255,0.25); }

/* ── Body layout ── */
.admin-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--pink-mid);
  padding-bottom: 0;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--pink); }
.tab-btn.active { color: var(--pink); border-bottom-color: var(--pink); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Grid ── */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.full { grid-column: 1 / -1; }

/* ── Order form ── */
.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .admin-grid  { grid-template-columns: 1fr; }
  .order-form  { grid-template-columns: 1fr; }
  .stats-row   { grid-template-columns: repeat(3, 1fr); }
}
