/* ============================================
   JBNB Care — Premium Mobile PWA Design System
   ============================================ */

:root {
  --primary: #0E7083;
  --primary-light: #3B9CAD;
  --primary-dark: #0A5564;
  --primary-deep: #052B44;
  --accent: #4DD0E1;
  --accent-soft: #E1F1F6;
  --accent-warm: #FF9F43;
  --success: #22C55E;
  --success-light: #86EFAC;
  --danger: #EF4444;
  --warning: #F59E0B;
  --bg: #F0F7FA;
  --bg-soft: #E6F0F5;
  --card: #FFFFFF;
  --text: #052B44;
  --text-secondary: #5A7A88;
  --text-muted: #8FAAB5;
  --border: #D8E8EE;
  --radius: 28px;
  --radius-sm: 20px;
  --radius-xs: 14px;
  --shadow: 0 8px 32px rgba(5, 43, 68, 0.06);
  --shadow-lg: 0 16px 48px rgba(5, 43, 68, 0.12);
  --shadow-card: 0 4px 20px rgba(14, 112, 131, 0.08);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.55);
  --nav-height: 84px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --app-max: 100%;
  --hero-h: 200px;
}

[data-theme="dark"] {
  --bg: #0A1929;
  --bg-soft: #0F2438;
  --card: #132F45;
  --text: #E8F4F8;
  --text-secondary: #8FAAB5;
  --text-muted: #5A7A88;
  --border: #1E4560;
  --glass: rgba(19, 47, 69, 0.88);
  --glass-border: rgba(59, 156, 173, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --accent-soft: rgba(14, 112, 131, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #B8D4DE 0%, #8FAAB5 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

.app {
  background: var(--bg);
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}

.app::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  height: 320px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(77, 208, 225, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(14, 112, 131, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hidden { display: none !important; }

/* Desktop: centered phone frame */
.app, #splash {
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
}

/* ========== SPLASH ========== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(165deg, #E6F0F5 0%, #B8E0E8 50%, #0E7083 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  padding: 32px;
  animation: splashIn 0.8s ease;
}

.splash-logo {
  width: min(220px, 72vw);
  height: auto;
  margin-bottom: 20px;
  animation: pulse 2s ease infinite;
  filter: drop-shadow(0 12px 32px rgba(33, 150, 243, 0.2));
}

.splash-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(5, 43, 68, 0.2);
}

.splash-tagline {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.splash-loader {
  width: 160px;
  height: 4px;
  background: rgba(33, 150, 243, 0.15);
  border-radius: 4px;
  margin: 0 auto;
  overflow: hidden;
}

.splash-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  animation: loadBar 2s ease forwards;
}

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

@keyframes loadBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========== INSTALL BANNER ========== */
.install-banner {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: 100%;
  max-width: var(--app-max);
  z-index: 9000;
  padding: calc(8px + var(--safe-top)) 12px 8px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
}

.install-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.install-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.install-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.install-banner-text {
  flex: 1;
  min-width: 0;
}

.install-banner-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.install-banner-text span {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.install-banner-action {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.install-banner-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

/* ========== APP SHELL ========== */
.screens {
  position: relative;
  min-height: 100dvh;
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 16px);
  z-index: 1;
}

.screen {
  display: none;
  padding: 0 16px 16px;
  padding-top: calc(var(--safe-top));
  animation: screenIn 0.35s ease;
}

.screen.active {
  display: block;
}

.screen.slide-out-left {
  animation: slideOutLeft 0.3s ease forwards;
}

.screen.slide-in-right {
  animation: slideInRight 0.3s ease forwards;
}

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

@keyframes slideOutLeft {
  to { opacity: 0; transform: translateX(-30px); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.screen-spacer {
  height: 80px;
}

/* ========== PREMIUM HERO HEADER ========== */
.hero-header {
  position: relative;
  margin: 0 -16px 20px;
  padding: calc(16px + var(--safe-top)) 20px 48px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 55%, var(--primary-deep) 100%);
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.hero-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.hero-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 32px;
  background: var(--bg);
  border-radius: 32px 32px 0 0;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
}

.hero-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-avatar {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 16px;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-greeting {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2px;
}

.hero-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.8);
  margin-top: 3px;
}

.hero-location .svg-icon svg {
  width: 12px;
  height: 12px;
  color: rgba(255,255,255,0.9);
}

.hero-actions-top {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-btn-glass {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.icon-btn-glass .svg-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.hero-subtitle {
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  font-weight: 500;
}

.search-bar-premium {
  position: relative;
  z-index: 3;
  margin-top: -24px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.search-bar-premium .svg-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.search-bar-premium input {
  flex: 1;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
}

.search-bar-premium input::placeholder {
  color: var(--text-muted);
}

/* ========== HEADERS (inner screens) ========== */
.screen-hero {
  position: relative;
  margin: 0 -16px 20px;
  padding: calc(20px + var(--safe-top)) 20px 36px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 0 0 36px 36px;
}

.screen-hero h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.screen-hero p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}

/* ========== HEADERS ========== */
.home-header {
  margin-bottom: 0;
}

.home-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.greeting {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--card);
}

.location-badge {
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: var(--card);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.screen-header {
  margin-bottom: 20px;
}

.screen-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.screen-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ========== SEARCH ========== */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.search-bar.compact {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.search-icon {
  font-size: 1rem;
  opacity: 0.5;
}

.search-bar input {
  flex: 1;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.voice-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.6;
}

/* ========== ACTION CHIPS ========== */
.home-actions-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.home-actions-row::-webkit-scrollbar { display: none; }

.action-chip {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 20px;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s;
}

.action-chip:active { transform: scale(0.96); }

.btn-primary {
  background: linear-gradient(145deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: 0 6px 24px rgba(14, 112, 131, 0.35);
}

.action-chip.book-chip {
  background: linear-gradient(145deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(14, 112, 131, 0.3);
}

.emergency-chip { background: #FEE2E2; color: #DC2626; }
.whatsapp-chip { background: #DCFCE7; color: #16A34A; }
.call-chip { background: var(--accent-soft); color: var(--primary); }

/* ========== ACTIVE BOOKING ========== */
.active-booking {
  margin-bottom: 24px;
}

.active-booking-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 18px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.active-booking-card::before {
  content: none;
}

.active-booking-label {
  font-size: 0.72rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin-bottom: 12px;
}

.active-booking-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary-deep);
}

.active-booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 12px 0 16px;
}

.active-booking-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.active-booking-status {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.btn-white {
  background: var(--accent-soft);
  color: var(--primary);
  border: none;
}

.btn-outline-white {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

/* ========== SECTION HEADERS ========== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.see-all {
  background: none;
  border: none;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

/* ========== SPECIALTY PILLS ========== */
.specialty-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 22px;
  scrollbar-width: none;
}

.specialty-scroll::-webkit-scrollbar { display: none; }

.specialty-pill {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  min-width: 72px;
}

.specialty-pill.active {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 112, 131, 0.35);
}

.specialty-pill .sp-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.specialty-pill.active .sp-icon {
  background: rgba(255,255,255,0.2);
}

.specialty-pill .sp-icon .svg-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.specialty-pill.active .sp-icon .svg-icon svg { color: #fff; }

.specialty-pill span {
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

/* ========== DATE STRIP (BOOKING) ========== */
.date-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 12px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.date-strip::-webkit-scrollbar { display: none; }

.date-pill {
  flex-shrink: 0;
  min-width: 56px;
  padding: 12px 10px;
  text-align: center;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.date-pill .dp-day {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.date-pill .dp-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.date-pill.active {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(14, 112, 131, 0.35);
}

.date-pill.active .dp-day,
.date-pill.active .dp-label { color: #fff; }

.time-slots-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.time-pill {
  padding: 10px 16px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.time-pill.active {
  background: var(--accent-soft);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.verified-label, .rating-badge {
  font-size: 0.72rem;
  color: var(--success);
  font-weight: 600;
  background: #DCFCE7;
  padding: 4px 10px;
  border-radius: 20px;
}

[data-theme="dark"] .verified-label,
[data-theme="dark"] .rating-badge {
  background: rgba(34, 197, 94, 0.15);
}

/* ========== QUICK SERVICES ========== */
.quick-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.quick-service-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.quick-service-card.featured {
  background: linear-gradient(145deg, var(--primary-deep) 0%, var(--primary) 100%);
  border-color: transparent;
  color: #fff;
}

.quick-service-card.featured h4,
.quick-service-card.featured p { color: #fff; }

.quick-service-card.featured .icon-box {
  background: rgba(255,255,255,0.15);
}

.quick-service-card.featured .icon-box .svg-icon svg { color: #fff; }

.quick-service-card.featured .qs-book { color: var(--accent); }

.quick-service-card .card-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-service-card.featured .card-arrow {
  background: rgba(255,255,255,0.2);
}

.quick-service-card.featured .card-arrow .svg-icon svg { color: #fff; }

.quick-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(37,99,235,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.quick-service-card:active {
  transform: scale(0.97);
}

.quick-service-card:hover::after { opacity: 1; }

.qs-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.quick-service-card h4 {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.quick-service-card p {
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.qs-book {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

/* ========== STATS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.stat-card {
  background: transparent;
  border-radius: 0;
  padding: 8px 4px;
  text-align: center;
  box-shadow: none;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

.stat-icon-wrap {
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrap .svg-icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.stat-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.stat-suffix {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.58rem;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.2;
}

/* ========== STAFF ========== */
.staff-scroll {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.staff-card {
  flex-shrink: 0;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.staff-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px 0 0 4px;
}

.staff-photo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid var(--accent-soft);
  flex-shrink: 0;
}

.staff-card-body {
  flex: 1;
  min-width: 0;
}

.staff-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.staff-fav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.staff-fav .svg-icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.staff-card h4 {
  font-size: 0.82rem;
  font-weight: 600;
}

.staff-role {
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin: 2px 0;
}

.staff-exp {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.staff-rating {
  font-size: 0.72rem;
  color: var(--warning);
  font-weight: 600;
  margin: 6px 0;
}

.staff-verified {
  display: inline-block;
  font-size: 0.6rem;
  color: var(--success);
  background: #DCFCE7;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}

[data-theme="dark"] .staff-verified {
  background: rgba(34, 197, 94, 0.15);
}

.staff-book {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(14, 112, 131, 0.3);
}

/* ========== REVIEWS ========== */
.review-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.review-slider::-webkit-scrollbar { display: none; }

.review-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--warning);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  font-style: italic;
}

.review-author {
  font-size: 0.78rem;
  font-weight: 600;
}

.review-role {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ========== FAQ ========== */
.faq-list {
  margin-bottom: 24px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 16px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 16px 14px;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(180deg);
}

/* ========== SUPPORT CARD ========== */
.support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 16px;
}

[data-theme="dark"] .support-card {
  background: linear-gradient(135deg, #1E3A5F, #1E293B);
}

.support-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.support-card-icon .svg-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.staff-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.support-card-text {
  flex: 1;
}

.support-card-text strong {
  font-size: 0.9rem;
  display: block;
}

.support-card-text p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ========== SERVICES LIST ========== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.service-card {
  display: flex;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow);
  align-items: center;
  transition: transform 0.2s;
}

.service-card:active { transform: scale(0.98); }

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

[data-theme="dark"] .service-icon {
  background: linear-gradient(135deg, #1E3A5F, #334155);
}

.service-info {
  flex: 1;
  min-width: 0;
}

.service-info h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.service-book-btn {
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badge {
  font-size: 0.72rem;
  background: var(--card);
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  font-weight: 500;
}

/* ========== BOOKING FLOW ========== */
.booking-progress {
  margin-bottom: 24px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.progress-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  transition: var(--transition);
}

.progress-step-dot.active {
  background: var(--primary);
  color: #fff;
}

.progress-step-dot.done {
  background: var(--success);
  color: #fff;
}

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 20%;
}

.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
  animation: screenIn 0.3s ease;
}

.booking-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--card);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-option {
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--card);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.service-option.selected {
  border-color: var(--primary);
  background: #EFF6FF;
}

[data-theme="dark"] .service-option.selected {
  background: rgba(37, 99, 235, 0.15);
}

.service-option .so-icon .svg-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-option .so-name {
  font-size: 0.75rem;
  font-weight: 600;
}

.confirmation-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.confirm-row:last-child { border-bottom: none; }

.confirm-row span:first-child {
  color: var(--text-secondary);
}

.confirm-row span:last-child {
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

.booking-success {
  text-align: center;
  padding: 32px 16px;
}

.success-animation {
  font-size: 4rem;
  animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.booking-success h3 {
  font-size: 1.2rem;
  margin: 16px 0 8px;
  color: var(--success);
}

.success-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.booking-nav {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  position: sticky;
  bottom: calc(var(--nav-height) + var(--safe-bottom));
  background: var(--bg);
  z-index: 10;
}

.booking-nav .btn { flex: 1; }

/* ========== BOOKINGS LIST ========== */
.bookings-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-select {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 0.78rem;
  background: var(--card);
  color: var(--text);
  outline: none;
}

.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s;
}

.booking-item:active { transform: scale(0.98); }

.booking-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.booking-id {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.booking-status {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.status-Pending { background: #FEF3C7; color: #D97706; }
.status-Confirmed { background: #DBEAFE; color: var(--primary); }
.status-Nurse-Assigned { background: #E0E7FF; color: #4F46E5; }
.status-Completed { background: #DCFCE7; color: #16A34A; }
.status-Cancelled { background: #FEE2E2; color: #DC2626; }

.booking-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.booking-item-meta {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ========== PROFILE ========== */
.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.profile-avatar {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(33,150,243,0.15);
}

.profile-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.profile-info {
  flex: 1;
}

.profile-info h2 {
  font-size: 1rem;
  font-weight: 600;
}

.profile-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.profile-menu {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: var(--bg); }
.menu-item.danger { color: var(--danger); }

.menu-icon { font-size: 1.1rem; }
.menu-arrow { margin-left: auto; color: var(--text-muted); font-size: 1.2rem; }

.settings-panel {
  padding: 0 18px 12px;
  border-bottom: 1px solid var(--border);
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.85rem;
}

.toggle {
  position: relative;
  width: 48px;
  height: 28px;
  cursor: pointer;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 28px;
  transition: 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.toggle input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.about-section {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.about-section h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.about-section p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 0.78rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.contact-info a {
  color: var(--primary);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.team-member {
  background: var(--bg);
  padding: 12px;
  border-radius: var(--radius-xs);
  text-align: center;
}

.team-member strong {
  display: block;
  font-size: 0.78rem;
}

.team-member span {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.35);
}

.btn-ghost {
  background: var(--card);
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

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

.active-booking-actions {
  display: flex;
  gap: 10px;
}

.active-booking-actions .btn {
  flex: 1;
  font-size: 0.78rem;
  padding: 11px;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.78rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
  margin-bottom: 10px;
}

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ========== SVG ICONS ========== */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.svg-icon svg {
  width: 1.25em;
  height: 1.25em;
}

.svg-icon.icon-sm svg { width: 18px; height: 18px; }
.svg-icon.icon-md svg { width: 22px; height: 22px; }
.svg-icon.icon-lg svg { width: 28px; height: 28px; }
.svg-icon.icon-xl svg { width: 36px; height: 36px; }

/* ========== BRAND HEADER LOGO ========== */
.brand-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.brand-logo-img {
  width: 52px;
  height: auto;
  object-fit: contain;
}

/* ========== SOCIAL CONNECT ========== */
.social-connect-section {
  margin-bottom: 24px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.social-card:active { transform: scale(0.98); }

.social-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.social-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-card-icon .svg-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.social-card.whatsapp .social-card-icon { background: linear-gradient(135deg, #25D366, #128C7E); }
.social-card.facebook .social-card-icon { background: linear-gradient(135deg, #1877F2, #0d65d9); }
.social-card.instagram .social-card-icon { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45); }
.social-card.call .social-card-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); }

.social-card-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
}

.social-card-text span {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.social-card-wide {
  grid-column: 1 / -1;
  justify-content: center;
  background: linear-gradient(135deg, rgba(33,150,243,0.08), rgba(77,208,225,0.12));
  border-color: rgba(33,150,243,0.2);
}

/* ========== WHATSAPP CHAT CARD ========== */
.whatsapp-card {
  background: linear-gradient(135deg, #E8F5E9, #E0F7FA);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(37, 211, 102, 0.2);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .whatsapp-card {
  background: linear-gradient(135deg, rgba(37,211,102,0.12), rgba(77,208,225,0.08));
}

.whatsapp-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.whatsapp-card-icon {
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-card-icon .svg-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.whatsapp-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.whatsapp-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.whatsapp-actions {
  display: flex;
  gap: 10px;
}

.whatsapp-actions .btn { flex: 1; }

/* ========== MAP SECTION ========== */
.map-section {
  margin-bottom: 24px;
}

.map-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-card-header {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.map-card-header .svg-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.map-card-header h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.map-card-header p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.map-embed {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

.map-actions {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
}

.map-actions .btn { flex: 1; font-size: 0.78rem; padding: 12px; }

/* ========== APP FOOTER / DEVELOPER ========== */
.app-footer {
  margin-top: 8px;
  padding: 20px 0 8px;
  border-top: 1px solid var(--border);
}

.developer-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(33,150,243,0.04));
  border-radius: var(--radius-sm);
  text-align: center;
}

.developer-footer span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.developer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.developer-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.developer-brand strong {
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ADEF, #FFC107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.footer-jbnb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-jbnb img {
  height: 32px;
  width: auto;
}

.footer-jbnb span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ========== PREMIUM ACTION CHIPS ========== */
.action-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-chip .svg-icon svg {
  width: 16px;
  height: 16px;
}

/* ========== SERVICE ICON BOX ========== */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(33,150,243,0.12), rgba(77,208,225,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.icon-box .svg-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.service-icon .svg-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

/* ========== BOTTOM NAV ========== */
.bottom-nav {
  position: fixed;
  bottom: calc(14px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 10px;
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 12px 48px rgba(5, 43, 68, 0.15);
  z-index: 200;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-muted);
  min-width: 54px;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active .nav-icon {
  background: #fff;
  box-shadow: 0 4px 16px rgba(5, 43, 68, 0.12);
  border-radius: 50%;
  width: 44px;
  height: 44px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: var(--transition);
}

.nav-icon .svg-icon svg {
  width: 22px;
  height: 22px;
}

.nav-label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-book .nav-icon {
  background: linear-gradient(145deg, var(--primary-deep), var(--primary));
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-top: -24px;
  box-shadow: 0 8px 28px rgba(14, 112, 131, 0.45);
}

.nav-book .nav-icon .svg-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
  stroke: #fff;
}

.nav-book.active .nav-icon {
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
}

.nav-book .nav-label {
  margin-top: -4px;
  color: var(--primary);
  font-weight: 700;
}

/* ========== MODALS ========== */
.modal, .sos-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.sos-overlay {
  align-items: center;
  padding: 24px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content, .sos-modal {
  background: var(--card);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: var(--app-max);
  max-height: 80vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  animation: slideUp 0.35s ease;
}

.sos-modal {
  border-radius: var(--radius);
  text-align: center;
  max-height: none;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.sos-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.sos-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.sos-modal p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  top: calc(16px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--text);
  color: #fff;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 8000;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: calc(var(--app-max) - 32px);
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 431px) {
  body {
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #8FAAB5 0%, #5A7A88 100%);
    padding: 20px 0;
  }

  .app {
    min-height: calc(100dvh - 40px);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  }

  #splash {
    border-radius: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
