/* BarManPro floor app — Zion Tech Africa Group. */

:root {
  --accent: #00c9b1;
  --accent-dark: #089e8c;
  --navy: #0b1d36;
  --navy-deep: #050b14;
  --gold: #d4af37;
  --ink: #3c2f2f;
  --muted: #6a6a6a;
  --line: #f3f4f6;
  --wash: #f5f5f5;
  --white: #ffffff;
  --danger: #c2413b;
  --card-shadow: 0 16px 30px rgba(60, 47, 47, 0.08);
  --radius-card: 20px;
  --radius-pill: 20px;
  --pad: 22px;
  --nav: 88px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Poppins", "Nunito", system-ui, sans-serif;
  background: #ececec;
  color: var(--ink);
}

.phone {
  max-width: 414px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.screen {
  padding: 18px var(--pad) calc(var(--nav) + 24px);
  min-height: 100vh;
  background: var(--white);
}

.screen--flush {
  padding: 0;
  min-height: 100vh;
}

h1, h2, h3 { margin: 0; color: var(--navy); }
p { margin: 0; }

.muted { color: var(--muted); }
.muted.tight { margin: 0 0 16px; font-size: 14px; line-height: 1.45; }
.center { text-align: center; }

.wordmark {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand-byline {
  margin-top: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 201, 177, 0.28);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.btn-ghost-block {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 28px;
  background: var(--wash);
  color: var(--navy);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.splash {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy);
  gap: 16px;
  padding: 24px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.splash-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 201, 177, 0.22), transparent 70%);
  top: 18%;
}
.splash-logo {
  width: min(240px, 72vw);
  height: auto;
  display: block;
  position: relative;
}
.splash .wordmark { position: relative; font-size: 22px; }
.splash .brand-byline { position: relative; text-transform: none; }
.splash p {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  position: relative;
}

.onboard-hero {
  height: 46vh;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 201, 177, 0.35) 0, transparent 42%),
    radial-gradient(circle at 78% 20%, rgba(212, 175, 55, 0.22) 0, transparent 34%),
    linear-gradient(180deg, #fff 0%, #f6fffd 70%, #ffffff 100%);
  display: grid;
  place-items: center;
  padding: 24px;
}
.onboard-hero img {
  width: min(220px, 64vw);
  height: auto;
}
.onboard-copy { padding: 8px var(--pad) 40px; }
.onboard-copy h1 { font-size: 28px; line-height: 1.25; margin: 8px 0 12px; }
.onboard-copy p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 28px; }

.auth { padding: 48px var(--pad) 32px; }
.auth h1 { font-size: 26px; margin: 8px 0; }
.auth .lead { color: var(--muted); margin-bottom: 28px; font-size: 14px; line-height: 1.5; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input {
  width: 100%;
  border: 0;
  background: var(--wash);
  border-radius: 16px;
  padding: 16px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.field input:focus { box-shadow: 0 0 0 2px rgba(0, 201, 177, 0.35); }
.auth-error {
  background: #fdecea;
  color: var(--danger);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.home-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.home-top h1 {
  font-size: 22px;
  line-height: 1.25;
  margin-top: 8px;
  max-width: 15ch;
}
.venue-line {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.avatar-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}

.search-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  background: var(--wash);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--muted);
  flex: 1;
}
.search input {
  border: 0;
  background: transparent;
  flex: 1;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.filter-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0, 201, 177, 0.28);
}

.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
  margin-bottom: 8px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 18px;
  border-radius: 20px;
  background: var(--wash);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.chip.is-on {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 201, 177, 0.25);
}

.food-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 14px;
  padding-top: 28px;
}

.pcard {
  position: relative;
  border-radius: var(--radius-card);
  padding: 52px 12px 14px;
  background: #fff;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  min-height: 188px;
}
.pcard-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard-art {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 44px;
  box-shadow: 0 8px 16px rgba(60, 47, 47, 0.12);
}
.pcard h3 { font-size: 14px; line-height: 1.25; margin-bottom: 4px; }
.pcard .unit { color: var(--muted); font-size: 12px; margin-bottom: auto; }
.pcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.pcard-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.pcard-heart button {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
}
.price { font-size: 16px; font-weight: 800; color: var(--navy); }
.add {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
}
.page-head h1 { font-size: 24px; }
.section-title { font-size: 16px; margin-bottom: 6px; }

.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(60, 47, 47, 0.1);
  cursor: pointer;
}
.icon-btn.ghost { box-shadow: none; background: var(--wash); }

.detail { min-height: 100vh; background: #fff; padding-bottom: calc(var(--nav) + 16px); }
.detail-hero {
  height: 320px;
  border-radius: 0 0 36px 36px;
  display: grid;
  place-items: center;
  position: relative;
}
.detail-emoji { font-size: 140px; line-height: 1; }
.detail-hero .back { position: absolute; top: 18px; left: 18px; }
.detail-hero .heart { position: absolute; top: 18px; right: 18px; }
.detail-body { padding: 22px var(--pad) 0; }
.detail-body h1 { font-size: 26px; margin-bottom: 10px; }
.meta-row {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 18px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stepper.pill {
  background: var(--wash);
  border-radius: 20px;
  padding: 4px 8px;
}
.stepper button {
  width: 32px;
  height: 32px;
  border: 0;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60, 47, 47, 0.08);
}
.stepper input,
.stepper span {
  min-width: 1.4rem;
  text-align: center;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
}
.cart-item .thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: var(--card-shadow);
}
.checkout-bar {
  position: sticky;
  bottom: calc(var(--nav) + 8px);
  margin-top: 16px;
}
.checkout-form { margin-top: 20px; }

.profile-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--card-shadow);
  margin-bottom: 18px;
}
.profile-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--navy-deep);
}
.row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}
.order-line { padding: 8px 4px; font-size: 13px; }
.signout { margin-top: 28px; }

.accepted {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  gap: 16px;
}
.accepted-check {
  width: 110px;
  height: 110px;
  border-radius: 55px;
  background: #e6faf7;
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 52px;
  box-shadow: 0 12px 24px rgba(0, 201, 177, 0.18);
}

.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: calc(100% - 28px);
  max-width: 386px;
  height: 68px;
  background: var(--navy);
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 6px;
  z-index: 20;
  box-shadow: 0 12px 28px rgba(11, 29, 54, 0.28);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 600;
  position: relative;
}
.tab.active { color: #fff; }
.tab.active svg { color: var(--accent); }
.badge {
  position: absolute;
  top: 0;
  right: 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.empty { color: var(--muted); text-align: center; padding: 48px 12px; }

.flash-stack {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px var(--pad) 0;
}
.flash {
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}
.flash-success { background: #e6faf7; color: var(--accent-dark); }
.flash-error { background: #fdecea; color: var(--danger); }

.ticket-card {
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: var(--card-shadow);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.ticket-items {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}
.ticket-items li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ticket-items li:last-child { border-bottom: 0; }
.reject-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.reject-row input {
  width: 7rem;
  border: 0;
  background: var(--wash);
  border-radius: 10px;
  font-size: 13px;
  padding: 6px 8px;
  font-family: inherit;
}
.ticket-actions { margin-top: 12px; }
.ticket-actions .btn-primary { height: 52px; font-size: 15px; }

@media (min-width: 480px) {
  .phone {
    min-height: 100vh;
    box-shadow: 0 12px 40px rgba(24, 23, 37, 0.12);
  }
}
