/* ===== WASHA UG — CUSTOMER APP ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---- TOKENS ---- */
:root {
  --primary: #1E40AF;
  --primary-dark: #1E3A8A;
  --primary-light: #DBEAFE;
  --accent: #F59E0B;
  --green: #16A34A;
  --green-light: #DCFCE7;
  --red: #DC2626;
  --red-light: #FEE2E2;
  --dark: #0F172A;
  --mid: #475569;
  --grey: #94A3B8;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --card-shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --r: 16px;
  --r-sm: 10px;
  --r-xs: 6px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--dark);
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
input, textarea, select, button { font-family: inherit; }
a { color: var(--primary); text-decoration: none; }

/* ---- SCREENS ---- */
.screen {
  display: none !important;
  flex-direction: column;
  min-height: 100dvh;
  position: relative;
  background: var(--bg);
}
.screen.show { display: flex !important; animation: slideIn 0.22s ease; }
@keyframes slideIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* =========================================
   SPLASH
   ========================================= */
#s-splash {
  background: linear-gradient(145deg, #1a3fbe 0%, #0d1f6e 55%, #0a0e2e 100%);
  align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden;
}
.splash-waves {
  position: absolute; inset: 0; pointer-events: none;
}
.splash-waves svg { width: 100%; height: 100%; }

.splash-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.splash-logo-wrap { position: relative; margin-bottom: 6px; }
.splash-logo-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle, rgba(99,163,255,0.35) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}
.splash-logo-ring {
  width: 96px; height: 96px; border-radius: 26px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  animation: popIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes popIn {
  from { transform: scale(0.4) rotate(-10deg); opacity: 0; }
  to   { transform: scale(1)   rotate(0deg);   opacity: 1; }
}
.splash-name {
  font-size: 3.8rem; font-weight: 800; color: #fff;
  letter-spacing: -2.5px; line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeSlideUp 0.5s 0.35s ease both;
}
.splash-tag {
  font-size: 1rem; color: rgba(255,255,255,0.6); font-weight: 500;
  animation: fadeSlideUp 0.5s 0.5s ease both;
}
.splash-loader {
  width: 72px; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,0.15); overflow: hidden;
  margin-top: 24px;
  animation: fadeSlideUp 0.4s 0.6s ease both;
}
.loader-bar {
  height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), #fff);
  animation: load 2s 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes load { to { width: 100%; } }

.splash-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 28px 24px 36px;
  background: linear-gradient(to top, rgba(10,14,46,0.8), transparent);
  animation: fadeSlideUp 0.5s 0.8s ease both;
}
.splash-trust-row {
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.splash-trust-item { font-size: 0.75rem; color: rgba(255,255,255,0.55); font-weight: 600; }
.splash-trust-dot { width: 3px; height: 3px; background: rgba(255,255,255,0.25); border-radius: 50%; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   ONBOARDING
   ========================================= */
#s-onboard {
  background: #fff;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.onboard-skip {
  position: absolute; top: 52px; right: 20px; z-index: 20;
  font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.75);
  cursor: pointer; padding: 7px 14px;
  background: rgba(0,0,0,0.18); border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.onboard-skip:hover { background: rgba(0,0,0,0.3); color: #fff; }

/* Slide container */
.onboard-slides-wrap {
  flex: 1; position: relative; overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transform: translateX(50px);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.4,0,0.2,1);
}
.slide.active-slide { opacity: 1; pointer-events: auto; transform: translateX(0); }
.slide.slide-exit   { opacity: 0; transform: translateX(-50px); }

/* ── Hero area (top coloured section) ── */
.slide-hero {
  flex: 0 0 56%; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 28px 28px;
}
.sh-blue   { background: linear-gradient(145deg, #1d4fd8 0%, #3b82f6 100%); }
.sh-purple { background: linear-gradient(145deg, #6d28d9 0%, #8b5cf6 100%); }
.sh-amber  { background: linear-gradient(145deg, #d97706 0%, #f59e0b 100%); }

/* Blobs */
.sh-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  opacity: 0.18;
}
.sh-blob-1 { width: 260px; height: 260px; background: #fff; top: -80px; right: -60px; }
.sh-blob-2 { width: 180px; height: 180px; background: #fff; bottom: -40px; left: -50px; }
.sh-blob-3 { width: 240px; height: 240px; background: #fff; top: -60px; left: -40px; }
.sh-blob-4 { width: 160px; height: 160px; background: #fff; bottom: -30px; right: -40px; }
.sh-blob-5 { width: 220px; height: 220px; background: #fff; top: -50px; right: -50px; }
.sh-blob-6 { width: 180px; height: 180px; background: #fff; bottom: -50px; left: -30px; }

/* Floating badges */
.float-badge {
  position: absolute; border-radius: 20px;
  font-size: 0.72rem; font-weight: 800; padding: 7px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
  z-index: 5;
  animation: badgeFloat 3s ease-in-out infinite;
}
.fb-top-right  { top: 56px; right: 20px; }
.fb-bottom-left { bottom: 24px; left: 20px; animation-delay: 0.8s; }
.fb-green  { background: rgba(22,163,74,0.92); color: #fff; }
.fb-blue   { background: rgba(59,130,246,0.9); color: #fff; }
.fb-amber  { background: rgba(255,255,255,0.92); color: #92400E; }
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── Slide 1: Mock order card ── */
.mock-card {
  background: #fff; border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
  position: relative; z-index: 4;
  animation: cardFloat 3.5s ease-in-out infinite;
}
@keyframes cardFloat {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-10px) rotate(0deg); }
}
.mc-order { padding: 18px 20px; width: 240px; }
.mc-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.mc-avatar {
  width: 42px; height: 42px; background: #EFF6FF;
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem;
}
.mc-info { flex: 1; }
.mc-title { font-size: 0.88rem; font-weight: 800; color: #0f172a; }
.mc-sub   { font-size: 0.72rem; color: #94a3b8; margin-top: 2px; }
.mc-status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
  animation: blink 1.8s infinite;
}

/* Progress steps */
.mc-progress { display: flex; align-items: center; }
.mcp-step { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mcp-label { font-size: 0.56rem; font-weight: 700; color: #94a3b8; white-space: nowrap; }
.mcp-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #e2e8f0; background: #fff;
}
.mcp-done .mcp-dot  { background: var(--primary); border-color: var(--primary); }
.mcp-done .mcp-dot::after { content: '✓'; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.6rem; font-weight: 900; width: 100%; height: 100%; }
.mcp-active .mcp-dot { border-color: var(--primary); }
.mcp-empty { background: #f1f5f9; }
.mcp-pulse {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(30,64,175,0.2);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 3px rgba(30,64,175,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(30,64,175,0.08); }
}
.mcp-line {
  flex: 1; height: 2px; background: #e2e8f0; margin: 0 3px; margin-top: -18px;
}
.mcp-done  { }
.mcp-line.mcp-done   { background: var(--primary); }
.mcp-line.mcp-active { background: linear-gradient(90deg, var(--primary), #93c5fd); }

/* ── Slide 2: Services showcase ── */
.services-showcase {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 4;
  animation: cardFloat 3.5s ease-in-out infinite;
}
.ss-row { display: flex; gap: 10px; justify-content: center; }
.ss-card {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 16px; padding: 14px 16px; width: 110px;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform 0.2s;
}
.ss-card.ss-active {
  background: rgba(255,255,255,0.95);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.ss-emoji { font-size: 1.6rem; margin-bottom: 5px; }
.ss-name  { font-size: 0.68rem; font-weight: 800; color: rgba(255,255,255,0.9); line-height: 1.3; }
.ss-price { font-size: 0.6rem; color: rgba(255,255,255,0.6); margin-top: 3px; font-weight: 600; }
.ss-card.ss-active .ss-name  { color: #0f172a; }
.ss-card.ss-active .ss-price { color: var(--primary); }
.ss-card.ss-more { background: rgba(255,255,255,0.08); }
.ss-card.ss-more .ss-emoji { font-size: 1.2rem; font-weight: 800; color: rgba(255,255,255,0.7); }
.ss-card.ss-more .ss-name   { color: rgba(255,255,255,0.5); }
.ss-row-single { justify-content: center; }

/* ── Slide 3: Payment mock card ── */
.mc-pay {
  padding: 20px 22px; width: 250px;
}
.mc-pay-label {
  font-size: 0.7rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px;
}
.pay-mock-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.pmg-item {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  cursor: pointer;
}
.pmg-logo {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 900; color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.mtn-bg    { background: linear-gradient(135deg, #f59e0b, #d97706); }
.airtel-bg { background: linear-gradient(135deg, #ef4444, #dc2626); }
.cash-bg   { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; }
.card-bg   { background: linear-gradient(135deg, #1e40af, #1d4ed8); }
.pmg-item.pmg-selected .pmg-logo {
  box-shadow: 0 0 0 3px rgba(245,158,11,0.35), 0 4px 12px rgba(0,0,0,0.15);
  transform: scale(1.08);
}
.pmg-name { font-size: 0.6rem; font-weight: 700; color: #64748b; }
.mc-pay-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid #f1f5f9; margin-bottom: 12px;
  font-size: 0.82rem;
}
.mc-pay-total span  { color: #94a3b8; font-weight: 600; }
.mc-pay-total strong { color: #0f172a; font-weight: 800; }
.mc-pay-btn {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff; border-radius: 10px; padding: 11px;
  text-align: center; font-size: 0.82rem; font-weight: 800;
  box-shadow: 0 4px 14px rgba(30,64,175,0.35);
}

/* ── Slide text (bottom white section) ── */
.slide-text {
  flex: 1; padding: 22px 28px 0;
  background: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.slide-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 800;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 10px;
  width: fit-content;
}
.chip-blue   { background: #EFF6FF; color: #1d4ed8; }
.chip-purple { background: #F5F3FF; color: #6d28d9; }
.chip-amber  { background: #FFFBEB; color: #92400E; }
.slide-text h2 {
  font-size: 2rem; font-weight: 800; color: #0f172a;
  line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 10px;
}
.slide-text p {
  font-size: 0.9rem; color: #64748b; line-height: 1.7;
}

/* ── Dots ── */
.onboard-dots {
  display: flex; gap: 7px; justify-content: center; padding: 14px 0 8px;
}
.dot {
  width: 7px; height: 7px; border-radius: 4px;
  background: #e2e8f0;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.dot.active { width: 26px; background: var(--primary); }

/* ── Footer ── */
.onboard-footer {
  padding: 10px 24px 42px;
  display: flex; flex-direction: column; gap: 10px;
}
.btn-arrow { font-size: 1.1rem; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes blink  { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* =========================================
   AUTH — Fully standalone page
   ========================================= */
#s-login {
  background: #fff;
  display: flex; flex-direction: column;
  min-height: 100dvh;
}

/* Top bar — plain, clean */
.auth-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 52px 20px 0;
  background: #fff;
}
.auth-topbar-back {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg); border: 1.5px solid var(--border);
  font-size: 1.1rem; cursor: pointer; color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.auth-topbar-back:active { background: var(--border); }
.auth-topbar-title {
  font-size: 1.1rem; font-weight: 800; color: var(--dark);
}

/* Scrollable content */
.auth-scroll {
  flex: 1; overflow-y: auto;
  padding: 32px 24px 48px;
  display: flex; flex-direction: column;
}

/* Heading */
.auth-heading { margin-bottom: 28px; }
.auth-heading h2 {
  font-size: 2rem; font-weight: 800; color: var(--dark);
  letter-spacing: -0.8px; margin-bottom: 6px;
  transition: all 0.2s;
}
.auth-heading p { font-size: 0.9rem; color: var(--mid); }

/* Tabs */
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1; padding: 12px 0; background: none; border: none;
  font-size: 0.95rem; font-weight: 700; color: var(--grey);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Forms */
.auth-form { display: flex; flex-direction: column; }

/* Forgot */
.forgot-link {
  text-align: right; font-size: 0.82rem; font-weight: 700;
  color: var(--primary); cursor: pointer; margin: -6px 0 22px;
}

/* Optional tag */
.optional-tag {
  font-size: 0.68rem; font-weight: 600; color: var(--grey);
  background: var(--bg); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 10px; margin-left: 6px;
  text-transform: none; letter-spacing: 0;
}

/* Terms */
.auth-terms {
  text-align: center; font-size: 0.72rem; color: var(--grey);
  margin-top: 24px; line-height: 1.8;
}
.auth-terms a { color: var(--primary); font-weight: 600; }

/* ---- FORM ELEMENTS ---- */
.field-group { margin-bottom: 18px; }
.field-group label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--mid); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.4px; }
.field-input { width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--r-sm); font-size: 0.95rem; color: var(--dark); background: var(--white); outline: none; transition: border-color 0.2s; }
.field-input:focus { border-color: var(--primary); }
.field-input::placeholder { color: #CBD5E1; }
.field-textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--r-sm); font-size: 0.9rem; color: var(--dark); background: var(--white); outline: none; resize: none; transition: border-color 0.2s; }
.field-textarea:focus { border-color: var(--primary); }
.field-hint { font-size: 0.75rem; color: var(--grey); margin-top: 6px; }
.phone-input { display: flex; border: 2px solid var(--border); border-radius: var(--r-sm); overflow: hidden; transition: border-color 0.2s; background: var(--white); }
.phone-input:focus-within { border-color: var(--primary); }
.flag { padding: 14px 12px; font-size: 0.85rem; font-weight: 700; color: var(--mid); background: var(--bg); border-right: 2px solid var(--border); white-space: nowrap; flex-shrink: 0; }
.phone-input input { flex: 1; border: none; padding: 14px; font-size: 0.95rem; font-family: inherit; color: var(--dark); background: transparent; outline: none; }
.pass-wrap { position: relative; }
.pass-wrap .field-input { padding-right: 48px; }
.show-pass { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1rem; opacity: 0.6; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: none; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: all 0.18s; white-space: nowrap; }
.btn-lg { padding: 16px 24px; font-size: 0.95rem; border-radius: var(--r-sm); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(30,64,175,0.3); }
.btn-primary:active { background: var(--primary-dark); transform: scale(0.98); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--dark); }
.btn-outline:active { background: var(--bg); }
.btn-ghost { background: var(--bg); color: var(--dark); border: 1px solid var(--border); }
.w-full { width: 100%; }

/* ---- HOME ---- */
.home-header { background: linear-gradient(160deg, var(--primary), #1E3A8A); padding: 52px 20px 20px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.header-greeting p { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.header-greeting h2 { font-size: 1.3rem; font-weight: 800; color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.notif-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; position: relative; }
.notif-dot { width: 8px; height: 8px; background: #F59E0B; border-radius: 50%; position: absolute; top: 6px; right: 6px; border: 2px solid var(--primary); }
.avatar-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 800; color: #fff; cursor: pointer; }
.search-bar { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.12); border-radius: var(--r-sm); padding: 12px 16px; cursor: pointer; border: 1px solid rgba(255,255,255,0.15); }
.search-icon { font-size: 0.95rem; }
.search-placeholder { font-size: 0.88rem; color: rgba(255,255,255,0.65); }

.home-body { flex: 1; overflow-y: auto; padding: 16px 20px; padding-bottom: 80px; }

/* Active order card */
.active-order-card { background: var(--primary); border-radius: var(--r); padding: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; cursor: pointer; position: relative; overflow: hidden; }
.aoc-pulse { position: absolute; top: 12px; left: 12px; width: 10px; height: 10px; background: #4ADE80; border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
.aoc-content { flex: 1; padding-left: 4px; }
.aoc-label { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-bottom: 3px; }
.aoc-content h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.aoc-sub { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.aoc-arrow { font-size: 1.5rem; color: rgba(255,255,255,0.6); }

/* Promo banner */
.promo-card { background: linear-gradient(135deg, #F59E0B, #EF4444); border-radius: var(--r); padding: 16px 20px; margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; }
.promo-badge { display: inline-block; background: rgba(255,255,255,0.25); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-bottom: 6px; }
.promo-card h3 { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.promo-card p { font-size: 0.82rem; color: rgba(255,255,255,0.85); }
.promo-close { background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 1rem; padding: 4px; }

/* Section */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title { font-size: 0.95rem; font-weight: 800; color: var(--dark); }
.see-all { font-size: 0.8rem; font-weight: 700; color: var(--primary); background: none; border: none; cursor: pointer; }

/* Services horizontal scroll */
.services-scroll { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-bottom: 12px; overflow-x: unset; }
.services-scroll::-webkit-scrollbar { display: none; }
.service-chip { background: var(--white); border-radius: var(--r); padding: 14px 16px; border: 2px solid var(--border); cursor: pointer; transition: all 0.18s; }
.service-chip:active, .service-chip.active-chip { border-color: var(--primary); background: var(--primary-light); }
.chip-emoji { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.chip-name { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 3px; }
.chip-price { display: block; font-size: 0.72rem; color: var(--grey); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.feature-card { border-radius: var(--r); padding: 16px; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.fc-blue { background: var(--primary-light); }
.fc-green { background: var(--green-light); }
.fc-emoji { font-size: 1.8rem; }
.fc-text h4 { font-size: 0.85rem; font-weight: 800; margin-bottom: 2px; }
.fc-text p { font-size: 0.72rem; color: var(--mid); }

/* Why section */
.why-section { background: var(--white); border-radius: var(--r); padding: 18px; margin-bottom: 20px; border: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.why-item { display: flex; align-items: center; gap: 10px; }
.why-item span { font-size: 1.3rem; }
.why-item p { font-size: 0.8rem; font-weight: 600; color: var(--mid); }

/* Order history items */
.order-hist-item { background: var(--white); border-radius: var(--r-sm); padding: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 14px; box-shadow: var(--card-shadow); cursor: pointer; }
.ohi-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.ohi-info { flex: 1; }
.ohi-info h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.ohi-info p { font-size: 0.75rem; color: var(--grey); }
.status-badge { font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.sb-pending { background: #FEF3C7; color: #92400E; }
.sb-washing { background: var(--primary-light); color: var(--primary); }
.sb-out_delivery { background: #FEF3C7; color: var(--accent); }
.sb-delivered { background: var(--green-light); color: var(--green); }
.sb-cancelled { background: var(--red-light); color: var(--red); }
.sb-confirmed { background: var(--primary-light); color: var(--primary); }

/* ---- SCREEN LAYOUT HELPERS ---- */
.screen-header { background: var(--white); padding: 56px 20px 16px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.screen-header h2 { flex: 1; font-size: 1.1rem; font-weight: 800; text-align: center; }
.back-btn { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; flex-shrink: 0; }
.screen-body { flex: 1; overflow-y: auto; padding: 20px; }
.screen-body.no-padding { padding: 0; }
.screen-footer { background: var(--white); padding: 12px 20px 28px; border-top: 1px solid var(--border); }
.spacer-bottom { height: 88px; }

/* ---- BOOKING ---- */
.book-section { margin-bottom: 24px; }
.book-section-label { font-size: 0.72rem; font-weight: 800; color: var(--grey); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 10px; }

/* Service select list */
.service-select-list { display: flex; flex-direction: column; gap: 8px; }
.svc-row { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--white); border-radius: var(--r-sm); border: 2px solid var(--border); cursor: pointer; transition: all 0.18s; }
.svc-row.selected { border-color: var(--primary); background: var(--primary-light); }
.svc-emoji { font-size: 1.4rem; width: 32px; flex-shrink: 0; }
.svc-info { flex: 1; }
.svc-info h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.svc-info p { font-size: 0.75rem; color: var(--grey); }
.svc-price-tag { font-size: 0.78rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.svc-price-tag span { font-weight: 400; color: var(--grey); }
.svc-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: transparent; transition: all 0.18s; flex-shrink: 0; }
.svc-row.selected .svc-check { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Quantity picker */
.qty-picker { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: var(--r-sm); padding: 16px; border: 1px solid var(--border); }
.qty-btn { width: 42px; height: 42px; border-radius: 10px; border: 2px solid var(--border); background: var(--white); font-size: 1.2rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.18s; color: var(--dark); }
.qty-btn:active { background: var(--primary); color: #fff; border-color: var(--primary); }
.qty-display { flex: 1; text-align: center; }
.qty-val { font-size: 2rem; font-weight: 800; display: block; }
.qty-unit { font-size: 0.8rem; color: var(--grey); }

/* Date / time slots */
.date-slots, .time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.date-slot, .time-slot { padding: 10px 6px; text-align: center; border-radius: var(--r-xs); background: var(--white); border: 2px solid var(--border); font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.18s; color: var(--dark); line-height: 1.4; }
.date-slot.selected, .time-slot.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.time-slot.unavail { opacity: 0.4; cursor: not-allowed; }

/* Address selector */
.address-selector { display: flex; align-items: flex-start; gap: 12px; background: var(--white); border-radius: var(--r-sm); padding: 14px; border: 2px solid var(--border); cursor: pointer; transition: border-color 0.2s; }
.address-selector:hover { border-color: var(--primary); }
.addr-pin { font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.addr-text { flex: 1; }
.addr-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.addr-text p { font-size: 0.78rem; color: var(--grey); }
.addr-change { font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-top: 2px; white-space: nowrap; }

/* Price card */
.price-card { background: var(--white); border-radius: var(--r-sm); padding: 16px; border: 1px solid var(--border); }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 0.88rem; color: var(--mid); }
.price-row strong { color: var(--dark); }
.price-total { font-weight: 800; font-size: 0.95rem; color: var(--dark); padding-top: 12px; }
.price-total span:last-child { color: var(--primary); font-size: 1rem; }
.price-divider { height: 1px; background: var(--border); margin: 6px 0; }
.price-note { font-size: 0.72rem; color: var(--grey); margin-top: 8px; }
.green-text { color: var(--green); font-weight: 700; }
.promo-row-input { display: flex; gap: 10px; align-items: center; }

/* ---- PAYMENT ---- */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--white); border-radius: var(--r-sm); border: 2px solid var(--border); cursor: pointer; transition: all 0.18s; }
.pay-option.selected { border-color: var(--primary); background: var(--primary-light); }
.pay-logo { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; }
.mtn-logo { background: #FBBF24; color: #000; }
.airtel-logo { background: #DC2626; color: #fff; }
.cash-logo { background: #DCFCE7; font-size: 1.4rem; }
.card-logo { background: #EFF6FF; font-size: 1.4rem; }
.pesapal-logo { background: #1a1a2e; color: #f97316; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.5px; }
.pay-info { flex: 1; }
.pay-info h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.pay-info p { font-size: 0.75rem; color: var(--grey); }
.pay-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; transition: all 0.2s; }
.pay-radio.active { background: var(--primary); border-color: var(--primary); box-shadow: inset 0 0 0 3px #fff; }

/* ---- TRACKING ---- */
.tracking-header { background: linear-gradient(160deg, var(--primary), #1E3A8A); padding: 52px 20px 24px; }
.tracking-header .back-btn.light { background: rgba(255,255,255,0.15); border-color: transparent; color: #fff; margin-bottom: 12px; }
.tracking-title p { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.tracking-title h2 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.track-order-num { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

/* ── Live Map ── */
.map-container { position: relative; width: 100%; height: 220px; background: #e8f0e8; }
#track-map { width: 100%; height: 100%; z-index: 1; }
.map-overlay-badge {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  background: rgba(15,23,42,0.85); color: #fff; backdrop-filter: blur(8px);
  padding: 6px 16px; border-radius: 20px; font-size: 0.78rem; font-weight: 700;
  z-index: 10; white-space: nowrap; pointer-events: none;
}
.map-no-driver {
  position: absolute; inset: 0; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; z-index: 5;
}
.map-no-driver span { font-size: 2.5rem; }
.map-no-driver p { font-size: 0.85rem; color: var(--grey); font-weight: 600; }

.driver-card { background: var(--white); margin: 16px; border-radius: var(--r); padding: 16px; box-shadow: var(--card-shadow); display: flex; align-items: center; gap: 14px; }
.driver-av { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.driver-details { flex: 1; }
.driver-details h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.driver-details p { font-size: 0.75rem; color: var(--grey); }
.driver-rating { font-size: 0.75rem; font-weight: 700; color: var(--accent); margin-top: 2px; }
.driver-btns { display: flex; gap: 8px; }
.driver-action-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--green-light); border: none; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; }

.timeline-card { margin: 0 16px 16px; background: var(--white); border-radius: var(--r); padding: 20px; box-shadow: var(--card-shadow); }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-step { display: flex; gap: 14px; padding-bottom: 20px; position: relative; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--border); }
.tl-step:last-child::before { display: none; }
.tl-step.done::before { background: var(--green); }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; z-index: 1; transition: all 0.3s; color: var(--grey); }
.tl-step.done .tl-dot { background: var(--green); border-color: var(--green); color: #fff; }
.tl-step.active .tl-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.tl-dot.pulse { animation: pulseDot 1.5s infinite; }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(30,64,175,0.4); } 50% { box-shadow: 0 0 0 8px rgba(30,64,175,0); } }
.tl-content { padding-top: 4px; }
.tl-content h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.tl-content p { font-size: 0.75rem; color: var(--grey); }

.summary-card { margin: 0 16px 16px; background: var(--white); border-radius: var(--r); padding: 16px; box-shadow: var(--card-shadow); }
.summary-title { font-size: 0.88rem; font-weight: 800; margin-bottom: 12px; }

/* ---- PROFILE ---- */
.profile-hero { background: linear-gradient(160deg, var(--primary), #1E3A8A); padding: 60px 24px 28px; text-align: center; color: #fff; }
.profile-av { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; margin: 0 auto 12px; color: #fff; }
.profile-hero h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.profile-hero p { font-size: 0.85rem; opacity: 0.75; margin-bottom: 20px; }
.profile-stats { display: flex; background: rgba(255,255,255,0.1); border-radius: var(--r-sm); padding: 14px; }
.ps-item { flex: 1; text-align: center; }
.ps-val { font-size: 0.95rem; font-weight: 800; margin-bottom: 2px; }
.ps-lbl { font-size: 0.7rem; opacity: 0.65; }
.ps-divider { width: 1px; background: rgba(255,255,255,0.2); margin: 0 8px; }

.profile-body { flex: 1; padding: 20px; padding-bottom: 100px; }
.menu-group { background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--card-shadow); margin-bottom: 14px; }
.menu-row { display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.menu-row:last-child { border-bottom: none; }
.menu-row:active { background: var(--bg); }
.mr-icon { font-size: 1.1rem; width: 24px; text-align: center; flex-shrink: 0; }
.mr-text { flex: 1; font-size: 0.88rem; font-weight: 600; }
.mr-arrow { color: var(--grey); font-size: 1rem; }
.menu-row.danger .mr-text { color: var(--red); }
.version-tag { text-align: center; font-size: 0.72rem; color: var(--grey); margin-top: 8px; }

/* ---- NOTIFICATIONS ---- */
.notif-item { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--border); background: var(--white); }
.notif-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.notif-content { flex: 1; }
.notif-content h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 3px; }
.notif-content p { font-size: 0.8rem; color: var(--mid); line-height: 1.5; margin-bottom: 4px; }
.notif-content span { font-size: 0.72rem; color: var(--grey); }

/* ---- FILTER PILLS ---- */
.filter-pills { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.pill { padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--border); background: var(--white); font-size: 0.8rem; font-weight: 700; cursor: pointer; color: var(--mid); white-space: nowrap; transition: all 0.18s; }
.pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---- BOTTOM NAV ---- */
.bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; background: var(--white); border-top: 1px solid var(--border); display: flex; padding: 8px 0 20px; z-index: 50; box-shadow: 0 -4px 20px rgba(0,0,0,0.06); }
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; color: var(--grey); transition: color 0.18s; }
.nav-item.active { color: var(--primary); }
.nav-icon { font-size: 1.3rem; }
.nav-lbl { font-size: 0.65rem; font-weight: 700; }
.nav-book-btn { width: 48px; height: 48px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 400; color: #fff; box-shadow: 0 4px 14px rgba(30,64,175,0.4); margin-top: -14px; line-height: 1; }

/* ---- BOTTOM SHEET ---- */
.bottom-sheet-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; align-items: flex-end; justify-content: center; }
.bottom-sheet-overlay.open { display: flex; }
.bottom-sheet { background: var(--white); border-radius: 24px 24px 0 0; padding: 28px 24px 40px; width: 100%; max-width: 430px; animation: sheetUp 0.3s ease; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: -10px auto 20px; }
.sheet-title { font-size: 1rem; font-weight: 800; margin-bottom: 20px; }

/* ---- TOAST ---- */
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-80px); background: var(--dark); color: #fff; padding: 12px 22px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; z-index: 999; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); white-space: nowrap; max-width: 85%; text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- SUCCESS OVERLAY ---- */
.success-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.success-card { background: var(--white); border-radius: 24px; padding: 40px 28px; text-align: center; width: 100%; max-width: 380px; animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes popIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-anim { font-size: 4rem; margin-bottom: 16px; display: block; animation: bounce 1s ease; }
@keyframes bounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.success-card h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.success-card p { color: var(--mid); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.success-order-num { font-size: 0.88rem; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 8px 20px; border-radius: 20px; display: inline-block; margin-bottom: 24px; }
