/* ================================================================
   FITNESSBITE CLIENT — design-system.css
   Mobile-first PWA · Pixel-perfect Figma fidelity
   ================================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --green-dark:   #2D4A30;
  --green:        #4A7C59;
  --green-mid:    #5B9467;
  --green-light:  #E8F5EC;
  --green-50:     #F0FAF3;
  --orange:       #F4A524;
  --orange-dark:  #E09010;
  --orange-light: #FEF3DC;

  /* Neutrals */
  --white:        #FFFFFF;
  --bg:           #F8F8F8;
  --bg-card:      #FFFFFF;
  --border:       #EBEBEB;
  --border-input: #D9D9D9;

  /* Text */
  --text-primary:   #1A1A1A;
  --text-secondary: #555555;
  --text-muted:     #888888;
  --text-placeholder: #AAAAAA;

  /* Feedback */
  --red:          #E53935;
  --red-light:    #FFEBEE;
  --blue:         #1976D2;
  --blue-light:   #E3F2FD;
  --yellow:       #F4A524;

  /* Macros */
  --macro-prot:   #5B9467;
  --macro-carb:   #F4A524;
  --macro-fat:    #E57373;
  --macro-cal:    #FF7043;

  /* Layout */
  --navbar-h:     64px;
  --topbar-h:     56px;
  --safe-top:     env(safe-area-inset-top, 0px);
  --safe-bot:     env(safe-area-inset-bottom, 0px);

  /* Effects */
  --radius-xs:    6px;
  --radius-sm:    10px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  999px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.12);
  --shadow-card:  0 2px 8px rgba(0,0,0,.06);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100%;
  max-width: 430px;
  margin: 0 auto;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.t-h1  { font-size: 24px; font-weight: 800; line-height: 1.25; }
.t-h2  { font-size: 20px; font-weight: 800; line-height: 1.3; }
.t-h3  { font-size: 17px; font-weight: 700; line-height: 1.35; }
.t-h4  { font-size: 15px; font-weight: 700; line-height: 1.4; }
.t-body{ font-size: 14px; font-weight: 400; line-height: 1.55; }
.t-sm  { font-size: 13px; font-weight: 400; line-height: 1.5; }
.t-xs  { font-size: 12px; font-weight: 400; line-height: 1.45; }
.t-bold{ font-weight: 700; }
.t-semi{ font-weight: 600; }
.t-green { color: var(--green); }
.t-orange{ color: var(--orange); }
.t-muted { color: var(--text-muted); }
.t-secondary { color: var(--text-secondary); }
.t-center { text-align: center; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.app-screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.screen-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
.screen-content {
  padding: 0 20px;
}
.screen-content--lg { padding: 0 24px; }
.screen-content--sm { padding: 0 16px; }

/* ── TOP BAR ─────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
}
.topbar--transparent {
  background: transparent;
  border-bottom: none;
  position: absolute; left: 0; right: 0; top: 0;
}
.topbar--green {
  background: var(--green-dark);
  border-bottom: none;
}
.topbar-title {
  font-size: 17px; font-weight: 800;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.topbar-back {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  transition: background .15s;
}
.topbar-back:active { background: var(--bg); }
.topbar-action {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.2);
}
.topbar-action--white {
  background: var(--white);
}

/* ── BOTTOM NAV ──────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  height: calc(var(--navbar-h) + var(--safe-bot));
  padding-bottom: var(--safe-bot);
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.nav-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  padding: 8px 0;
  color: var(--text-muted);
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-item.active { color: var(--green); }
.nav-item svg { width: 22px; height: 22px; }
.nav-item span { font-size: 11px; font-weight: 600; line-height: 1; }
.nav-item.active span { font-weight: 700; }
.has-navbar { padding-bottom: calc(var(--navbar-h) + var(--safe-bot) + 8px); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 52px; width: 100%;
  border-radius: var(--radius-full);
  font-size: 16px; font-weight: 700;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 4px 16px rgba(244,165,36,.35); }
.btn--primary:active { background: var(--orange-dark); }
.btn--secondary { background: var(--green-dark); color: var(--white); }
.btn--outline { background: transparent; border: 2px solid var(--border); color: var(--text-primary); }
.btn--ghost { background: transparent; color: var(--green); font-size: 15px; height: 44px; }
.btn--ghost-dark { background: transparent; color: var(--text-secondary); font-size: 15px; height: 44px; }
.btn--social {
  height: 52px; border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--text-primary); font-size: 15px; font-weight: 600;
  gap: 10px;
}
.btn--sm { height: 38px; font-size: 14px; padding: 0 18px; width: auto; }
.btn--xs { height: 32px; font-size: 13px; padding: 0 14px; width: auto; }
.btn:disabled { opacity: .45; pointer-events: none; }

/* ── INPUTS ──────────────────────────────────────────────── */
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-label { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.input-field {
  height: 52px; width: 100%;
  padding: 0 16px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-md);
  font-size: 15px; font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.input-field:focus { border-color: var(--green); }
.input-field::placeholder { color: var(--text-placeholder); }
.input-field--search {
  background: var(--bg);
  border-color: transparent;
  padding-left: 44px;
  height: 46px;
  border-radius: var(--radius-full);
}
.input-field--search:focus { border-color: var(--green); background: var(--white); }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.input-wrap .input-eye { left: auto; right: 14px; cursor: pointer; pointer-events: all; }
.input-field--textarea {
  height: auto; min-height: 100px; padding: 14px 16px;
  resize: none; line-height: 1.5;
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.card--border { border: 1px solid var(--border); box-shadow: none; }
.card--flat { box-shadow: none; background: var(--bg); }

/* ── BADGE ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.badge--green  { background: var(--green-light); color: var(--green); }
.badge--orange { background: var(--orange-light); color: var(--orange-dark); }
.badge--red    { background: var(--red-light); color: var(--red); }
.badge--blue   { background: var(--blue-light); color: var(--blue); }

/* ── MACROS ROW ──────────────────────────────────────────── */
.macros-row { display: flex; gap: 16px; }
.macro-item { flex: 1; text-align: center; }
.macro-val { font-size: 15px; font-weight: 800; }
.macro-lbl { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
.macro-bar {
  height: 4px; border-radius: 2px; background: var(--border);
  margin-top: 6px; overflow: hidden;
}
.macro-fill { height: 100%; border-radius: 2px; transition: width .4s ease; }
.macro-fill--prot { background: var(--macro-prot); }
.macro-fill--carb { background: var(--macro-carb); }
.macro-fill--fat  { background: var(--macro-fat); }

/* ── GAUGE (semicircle calorie meter) ────────────────────── */
.gauge-wrap {
  position: relative; width: 200px; height: 110px;
  margin: 0 auto;
}
.gauge-svg { width: 100%; height: 100%; }
.gauge-center {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  text-align: center; padding-bottom: 4px;
}
.gauge-value { font-size: 28px; font-weight: 900; line-height: 1; }
.gauge-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* ── FOOD CARD ───────────────────────────────────────────── */
.food-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.food-card-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--border);
}
.food-card-img--sq { aspect-ratio: 1; }
.food-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 100%);
  color: var(--white);
}
.food-card-bookmark {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
}

/* ── RESTAURANT CHIP ─────────────────────────────────────── */
.restaurant-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
}
.restaurant-chip img {
  width: 20px; height: 20px; border-radius: 50%; object-fit: cover;
}

/* ── LIST ITEM ───────────────────────────────────────────── */
.list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.list-item:last-child { border-bottom: none; }
.list-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.list-item-body { flex: 1; min-width: 0; }
.list-item-title { font-size: 15px; font-weight: 600; }
.list-item-sub   { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.list-item-arrow { color: var(--text-muted); flex-shrink: 0; }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }
.divider-text {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
}
.divider-text::before, .divider-text::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.section-header h2 { font-size: 18px; font-weight: 800; }
.section-link { font-size: 13px; font-weight: 700; color: var(--green); }

/* ── TABS HORIZONTAL ─────────────────────────────────────── */
.tabs-scroll {
  display: flex; gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-scroll::-webkit-scrollbar { display: none; }
.tab-item {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2.5px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.tab-item.active { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }

/* ── CATEGORY CHIP ───────────────────────────────────────── */
.category-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.category-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  min-width: 80px;
  font-size: 12px; font-weight: 600;
  transition: all .15s;
}
.cat-chip.active { border-color: var(--green); background: var(--green-50); color: var(--green); }
.cat-chip .cat-emoji { font-size: 28px; }

/* ── FILTER CHIPS ────────────────────────────────────────── */
.filter-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  transition: all .15s;
}
.filter-chip.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ── TOGGLE SWITCH ───────────────────────────────────────── */
.toggle {
  position: relative; display: inline-block;
  width: 46px; height: 26px; flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--border);
  border-radius: 26px;
  transition: .25s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: .25s;
  box-shadow: var(--shadow-sm);
}
.toggle input:checked + .toggle-slider { background: var(--green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── RADIO OPTION ────────────────────────────────────────── */
.radio-option {
  display: flex; align-items: center;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  gap: 12px;
  cursor: pointer;
  transition: all .15s;
}
.radio-option.selected { border-color: var(--green); background: var(--green-50); }
.radio-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border-input);
  flex-shrink: 0; margin-left: auto;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.radio-option.selected .radio-dot {
  border-color: var(--green); background: var(--green);
}
.radio-option.selected .radio-dot::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--white);
  display: block;
}

/* ── BOTTOM SHEET ────────────────────────────────────────── */
.sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 300;
  display: flex; align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.sheet-overlay.open { opacity: 1; pointer-events: all; }
.sheet {
  width: 100%; max-width: 430px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 0 0 calc(20px + var(--safe-bot));
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  max-height: 92svh;
  overflow-y: auto;
}
.sheet-overlay.open .sheet { transform: translateY(0); }
.sheet-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 12px auto 8px;
}

/* ── STARS ───────────────────────────────────────────────── */
.stars { display: flex; gap: 4px; }
.star-btn { font-size: 28px; transition: transform .1s; color: var(--border); }
.star-btn.filled { color: var(--orange); }
.star-btn:active { transform: scale(1.2); }

/* ── PROGRESS BAR ────────────────────────────────────────── */
.progress-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; transition: width .4s ease; }
.progress-fill--green  { background: var(--green); }
.progress-fill--orange { background: var(--orange); }
.progress-fill--red    { background: var(--red); }

/* ── STEP INDICATOR ──────────────────────────────────────── */
.step-bar { height: 3px; border-radius: 2px; background: var(--border); }
.step-bar.done { background: var(--green); }
.step-count {
  padding: 4px 10px;
  background: var(--green-light);
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700;
  color: var(--green);
}

/* ── OTP INPUT ───────────────────────────────────────────── */
.otp-wrap { display: flex; gap: 8px; align-items: center; justify-content: center; }
.otp-box {
  width: 46px; height: 56px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 20px; font-weight: 700;
  outline: none;
  transition: border-color .2s;
}
.otp-box:focus { border-color: var(--orange); }
.otp-box.filled { border-color: var(--orange); }
.otp-dash { font-size: 18px; color: var(--text-muted); padding: 0 4px; }

/* ── PROMO BANNER ────────────────────────────────────────── */
.promo-banner {
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
}
.promo-banner--green { background: var(--green-dark); }

/* ── AVATAR ──────────────────────────────────────────────── */
.avatar {
  border-radius: 50%; object-fit: cover;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--green);
}
.avatar-sm { width: 36px; height: 36px; font-size: 14px; }
.avatar-md { width: 48px; height: 48px; font-size: 18px; }
.avatar-lg { width: 72px; height: 72px; font-size: 26px; }
.avatar-xl { width: 90px; height: 90px; font-size: 32px; }

/* ── CHATBOT ─────────────────────────────────────────────── */
.chat-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  max-width: 78%;
  font-size: 14px; line-height: 1.5;
}
.chat-bubble--bot  { background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px; box-shadow: var(--shadow-sm); }
.chat-bubble--user { background: var(--green-dark); color: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 4px var(--radius-lg); align-self: flex-end; }
.chat-input-bar {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1; height: 44px;
  background: var(--bg);
  border: none; border-radius: var(--radius-full);
  padding: 0 16px;
  font-size: 14px; outline: none; font-family: inherit;
}
.chat-send-btn {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── TOAST ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: calc(var(--navbar-h) + 20px); left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text-primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── LOADING SKELETON ────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, #f0f0f0 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── UTILS ───────────────────────────────────────────────── */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4  { gap: 4px; }
.gap-6  { gap: 6px; }
.gap-8  { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-4  { margin-top: 4px; }
.mt-6  { margin-top: 6px; }
.mt-8  { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.p-16  { padding: 16px; }
.p-20  { padding: 20px; }
.px-20 { padding-left: 20px; padding-right: 20px; }
.py-8  { padding-top: 8px; padding-bottom: 8px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.rounded-full { border-radius: var(--radius-full); }
.hidden { display: none !important; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeIn    { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp   { from { transform:translateY(20px); opacity:0; } to { transform:translateY(0); opacity:1; } }
@keyframes scaleIn   { from { transform:scale(.92); opacity:0; } to { transform:scale(1); opacity:1; } }
@keyframes spin      { to { transform: rotate(360deg); } }
.animate-fadeIn  { animation: fadeIn .3s ease forwards; }
.animate-slideUp { animation: slideUp .35s ease forwards; }
.animate-scaleIn { animation: scaleIn .25s ease forwards; }
.spinner { animation: spin 1s linear infinite; }

/* ── MAP SCREEN ──────────────────────────────────────────── */
.map-container { width: 100%; height: 320px; background: #E8EDF2; position: relative; overflow: hidden; }

/* ── DELIVERY STATUS BAR ─────────────────────────────────── */
.status-bar {
  background: var(--green-dark); color: var(--white);
  padding: 12px 20px;
  text-align: center;
  font-size: 14px; font-weight: 600;
}

/* ── SCROLLBAR HIDE ──────────────────────────────────────── */
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
