/* ── 14 Star Transport Directory – Professional Design System ─────────── */

/* ── CSS Custom Properties (Design Tokens) ───────────────────────────── */
:root {
  /* Default (Dark Blue) Theme */
  --logo-navy: #0b1e3a;
  --logo-gold: #c9a24a;
  --logo-cream: #f7f3ec;
  --gradient-primary: linear-gradient(135deg, #0a0f1e 0%, #111827 50%, #0a0f1e 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-hero: linear-gradient(135deg, #0a0f1e 0%, #1a2744 40%, #0a0f1e 100%);
  --glass-bg: rgba(17, 24, 39, 0.75);
  --glass-border: rgba(255, 255, 255, 0.07);
  --theme-glow: rgba(59, 130, 246, 0.15);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --card-hover-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --bg-color: #0a0f1e;
  --surface-color: rgba(15, 23, 42, 0.85);
  --accent-blue: #3b82f6;
  --accent-green: #22c55e;
  --accent-orange: #f59e0b;
  --accent-red: #ef4444;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
}

[data-theme="amber"] {
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --theme-glow: rgba(245, 158, 11, 0.12);
  --card-hover-shadow: 0 8px 32px rgba(245, 158, 11, 0.12);
  --accent-blue: #f59e0b;
}

[data-theme="green"] {
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --theme-glow: rgba(16, 185, 129, 0.12);
  --card-hover-shadow: 0 8px 32px rgba(16, 185, 129, 0.12);
  --accent-blue: #10b981;
}

/* ── Light Mode (logo cream / navy / gold) ───────────────────────────── */
[data-mode="light"] {
  --gradient-primary: linear-gradient(135deg, #f7f3ec 0%, #efe8dc 52%, #f7f3ec 100%);
  --gradient-hero: linear-gradient(135deg, #f4efe6 0%, #e8dfd0 42%, #f7f3ec 100%);
  --gradient-accent: linear-gradient(135deg, #0b1e3a 0%, #16325c 100%);
  --glass-bg: rgba(255, 252, 247, 0.88);
  --glass-border: rgba(11, 30, 58, 0.08);
  --theme-glow: rgba(201, 162, 74, 0.22);
  --card-shadow: 0 1px 3px rgba(11, 30, 58, 0.05), 0 8px 24px rgba(11, 30, 58, 0.06);
  --card-hover-shadow: 0 10px 28px rgba(201, 162, 74, 0.16);
  --text-primary: #0b1e3a;
  --text-muted: #5c6b80;
  --bg-color: #f7f3ec;
  --surface-color: rgba(255, 252, 247, 0.94);
  --accent-blue: #0b1e3a;
  --accent-orange: #c9a24a;
}

[data-mode="light"] .text-white { color: var(--text-primary) !important; }
[data-mode="light"] .text-gray-300, 
[data-mode="light"] .text-gray-400,
[data-mode="light"] .text-gray-500 { color: var(--text-muted) !important; }
[data-mode="light"] .bg-slate-800, 
[data-mode="light"] .bg-slate-800\/50 { background-color: #e8dfd0 !important; }
[data-mode="light"] .bg-slate-900, 
[data-mode="light"] .bg-slate-900\/50 { background-color: var(--glass-bg) !important; }
[data-mode="light"] .bg-slate-950 { background-color: #f7f3ec !important; }
[data-mode="light"] .border-slate-700, 
[data-mode="light"] .border-slate-700\/50,
[data-mode="light"] .border-slate-800 { border-color: var(--glass-border) !important; }
[data-mode="light"] .social-link { background-color: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: var(--text-primary); }
[data-mode="light"] .social-link:hover { color: var(--logo-navy); background: var(--theme-glow); border-color: transparent; }

[data-mode="light"] .card { 
  background: var(--glass-bg); 
  border-color: var(--glass-border);
  box-shadow: var(--card-shadow);
}
[data-mode="light"] .card:hover {
  box-shadow: var(--card-hover-shadow);
}
[data-mode="light"] .navbar,
[data-mode="light"] .app-header {
  background: rgba(247, 243, 236, 0.94);
  border-bottom-color: var(--glass-border);
}
[data-mode="light"] .navbar.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
[data-mode="light"] .bottom-nav {
  background: rgba(247, 243, 236, 0.96);
  border-top-color: var(--glass-border);
}
[data-mode="light"] .bottom-nav-link.active {
  background: transparent;
}
[data-mode="light"] .bottom-nav-link.active svg {
  background: transparent;
  color: var(--logo-gold);
  fill: currentColor;
}
[data-mode="light"] .text-gradient,
[data-mode="light"] .brand-text-main {
  background: linear-gradient(135deg, #0b1e3a 0%, #c9a24a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-mode="light"] .form-container:not(.is-grouped),
[data-mode="light"] .about-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}
[data-mode="light"] .form-input,
[data-mode="light"] .form-select,
[data-mode="light"] .form-textarea,
[data-mode="light"] .form-addon {
  background: rgba(232, 223, 208, 0.45);
  border-color: rgba(11, 30, 58, 0.1);
  color: var(--text-primary);
}
[data-mode="light"] .form-input::placeholder,
[data-mode="light"] .form-textarea::placeholder {
  color: #8a7d6a;
}
[data-mode="light"] .card-tag:not(.cat-chip):not(.filter-chip) {
  background: rgba(201, 162, 74, 0.12);
  border-color: rgba(201, 162, 74, 0.28);
  color: #0b1e3a;
}
[data-mode="light"] .cat-chip {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
}
[data-mode="light"] .cat-chip.active {
  color: #fff !important;
}
[data-mode="light"] .vehicle-checkbox {
  background: rgba(232, 223, 208, 0.45);
  border-color: rgba(11, 30, 58, 0.1);
  color: var(--text-muted);
}
[data-mode="light"] .vehicle-checkbox.checked {
  background: rgba(201, 162, 74, 0.16);
  border-color: rgba(201, 162, 74, 0.45);
  color: var(--logo-navy);
}
[data-mode="light"] .footer {
  background: rgba(247, 243, 236, 0.7);
  border-top-color: var(--glass-border);
}
[data-mode="light"] .text-slate-300,
[data-mode="light"] .text-slate-400,
[data-mode="light"] .text-slate-500 {
  color: var(--text-muted) !important;
}
[data-mode="light"] .text-yellow-400 { color: #b45309 !important; }
[data-mode="light"] .text-blue-400 { color: #0b1e3a !important; }
[data-mode="light"] .text-emerald-400 { color: #059669 !important; }
[data-mode="light"] .text-amber-400,
[data-mode="light"] .text-amber-500,
[data-mode="light"] .text-amber-400\/80 { color: #d97706 !important; }
[data-mode="light"] .listing-sheet-backdrop {
  background: rgba(15, 23, 42, 0.42);
}
[data-mode="light"] .profile-modal-content {
  background: #fffdf8;
  border-color: rgba(11, 30, 58, 0.08);
  box-shadow: 0 -12px 40px rgba(11, 30, 58, 0.12);
}
[data-mode="light"] .sheet-footer {
  background: #f4efe6;
  border-top-color: rgba(11, 30, 58, 0.08);
}
[data-mode="light"] .sheet-handle { background: #d4c9b4; }
[data-mode="light"] .listing-sheet .text-white { color: var(--text-primary) !important; }
[data-mode="light"] .filter-chip { color: var(--text-muted); }
[data-mode="light"] .filter-chip.active { color: #fff; }
[data-mode="light"] .ad-slot {
  background: #fffdf8;
  border-color: rgba(11, 30, 58, 0.08);
}
[data-mode="light"] .ad-badge {
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
}
[data-mode="light"] .profile-contact {
  background: rgba(247, 243, 236, 0.95);
}
[data-mode="light"] .profile-sticky-actions {
  background: linear-gradient(180deg, transparent, #f7f3ec 32%);
}

/* ── Dark Mode (navy + gold, matched to light quality) ───────────────── */
[data-mode="dark"] {
  --gradient-primary: linear-gradient(160deg, #070d18 0%, #101c33 46%, #0a1426 100%);
  --gradient-hero: linear-gradient(165deg, #08111c 0%, #162844 38%, #0c182c 100%);
  --glass-bg: rgba(16, 26, 46, 0.88);
  --glass-border: rgba(201, 162, 74, 0.14);
  --theme-glow: rgba(201, 162, 74, 0.2);
  --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
  --card-hover-shadow: 0 14px 36px rgba(201, 162, 74, 0.14);
  --text-primary: #f4efe6;
  --text-muted: #a8b4c4;
  --bg-color: #070d18;
  --surface-color: rgba(14, 22, 40, 0.94);
}

[data-mode="dark"] .card {
  background: linear-gradient(180deg, rgba(22, 34, 56, 0.96) 0%, rgba(13, 22, 40, 0.96) 100%);
  border-color: rgba(201, 162, 74, 0.13);
  box-shadow: var(--card-shadow);
}
[data-mode="dark"] .card:hover {
  border-color: rgba(201, 162, 74, 0.32);
  box-shadow: var(--card-hover-shadow);
}
[data-mode="dark"] .navbar,
[data-mode="dark"] .app-header {
  background: rgba(8, 14, 26, 0.94);
  border-bottom-color: rgba(201, 162, 74, 0.14);
}
[data-mode="dark"] .navbar.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
[data-mode="dark"] .bottom-nav {
  background: rgba(8, 14, 26, 0.97);
  border-top-color: rgba(201, 162, 74, 0.16);
}
[data-mode="dark"] .bottom-nav-link.active svg {
  color: var(--logo-gold);
}
[data-mode="dark"] .text-gradient,
[data-mode="dark"] .brand-text-main {
  background: linear-gradient(135deg, #f7f3ec 0%, #c9a24a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-mode="dark"] .form-container:not(.is-grouped),
[data-mode="dark"] .about-card,
[data-mode="dark"] .ios-group-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}
[data-mode="dark"] .form-input,
[data-mode="dark"] .form-select,
[data-mode="dark"] .form-textarea,
[data-mode="dark"] .form-addon {
  background: rgba(10, 18, 34, 0.92);
  border-color: rgba(201, 162, 74, 0.18);
  color: var(--text-primary);
}
[data-mode="dark"] .form-input:focus,
[data-mode="dark"] .form-select:focus,
[data-mode="dark"] .form-textarea:focus {
  border-color: rgba(201, 162, 74, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.12);
}
[data-mode="dark"] .form-input::placeholder,
[data-mode="dark"] .form-textarea::placeholder {
  color: #7d8aa0;
}
[data-mode="dark"] .card-tag:not(.cat-chip):not(.filter-chip) {
  background: rgba(201, 162, 74, 0.12);
  border-color: rgba(201, 162, 74, 0.24);
  color: #e8d5a3;
}
[data-mode="dark"] .vehicle-checkbox {
  background: rgba(12, 20, 36, 0.9);
  border-color: rgba(201, 162, 74, 0.16);
}
[data-mode="dark"] .vehicle-checkbox.checked {
  background: rgba(201, 162, 74, 0.16);
  border-color: rgba(201, 162, 74, 0.45);
  color: #f4efe6;
}
[data-mode="dark"] .footer {
  background: rgba(8, 14, 26, 0.82);
  border-top-color: rgba(201, 162, 74, 0.12);
}
[data-mode="dark"] .listing-sheet-backdrop {
  background: rgba(4, 8, 16, 0.72);
}
[data-mode="dark"] .profile-modal-content,
[data-mode="dark"] .profile-group,
[data-mode="dark"] .profile-screen {
  background: #10182a;
  border-color: rgba(201, 162, 74, 0.14);
}
[data-mode="dark"] .sheet-footer {
  background: #0c1424;
  border-top-color: rgba(201, 162, 74, 0.12);
}
[data-mode="dark"] .sheet-handle { background: #3a4a62; }
[data-mode="dark"] .ad-slot {
  background: #121c30;
  border-color: rgba(201, 162, 74, 0.14);
}
[data-mode="dark"] .profile-contact {
  background: rgba(16, 26, 46, 0.95);
  border-color: rgba(201, 162, 74, 0.12);
}
[data-mode="dark"] .profile-sticky-actions {
  background: linear-gradient(180deg, transparent, #070d18 32%);
}
[data-mode="dark"] .flex-contact-card {
  background: rgba(12, 20, 36, 0.85);
  border-color: rgba(201, 162, 74, 0.16);
}
[data-mode="dark"] .search-wrap input,
[data-mode="dark"] #search-input {
  background: rgba(10, 18, 34, 0.92);
  border-color: rgba(201, 162, 74, 0.16);
  color: var(--text-primary);
}
[data-mode="dark"] .cat-chip.active {
  box-shadow: 0 0 16px rgba(201, 162, 74, 0.25);
}
[data-mode="light"] .ios-group-card,
[data-mode="light"] .profile-group {
  background: #fffdf8;
  border-color: rgba(11, 30, 58, 0.08);
}
[data-mode="light"] .desktop-nav-link:hover,
[data-mode="light"] .desktop-nav-link.is-nav-active {
  background: rgba(11, 30, 58, 0.06);
}

[data-mode="light"] .skeleton {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.04) 25%,
    rgba(0, 0, 0, 0.07) 50%,
    rgba(0, 0, 0, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
[data-mode="light"] .toast.show,
[data-mode="light"] #toast.toast.show {
  background: rgba(255, 253, 248, 0.96);
  color: #0b1e3a;
  border-color: var(--glass-border);
}
[data-mode="light"] .btn-call {
  background: #0b1e3a;
  border-color: #0b1e3a;
  color: #fff;
}
[data-mode="light"] .btn-whatsapp {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
[data-mode="light"] .empty-state-icon {
  background: rgba(201, 162, 74, 0.14);
}
[data-mode="light"] .btn-outline {
  border-color: rgba(11, 30, 58, 0.22);
  color: var(--logo-navy);
}
[data-mode="light"] .card-contact-row {
  border-top-color: rgba(0,0,0,0.04) !important;
}
[data-mode="light"] ::-webkit-scrollbar-track { background: transparent; }
[data-mode="light"] ::-webkit-scrollbar-thumb { background: transparent; }
[data-mode="light"] ::-webkit-scrollbar-thumb:hover { background: transparent; }

/* ── Global Reset & Base ─────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg-color);
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gradient-primary);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Navbar ──────────────────────────────────────────────────────────── */
.navbar,
.app-header {
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
  padding-top: env(safe-area-inset-top);
}

.app-header.scrolled,
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.app-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.app-header-tools {
  padding-bottom: 0.4rem;
}

.home-listings {
  padding: 0.75rem 0 1.25rem;
}

.home-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-meta-verified {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0.35rem 0.6rem;
  min-height: 36px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  color: #93c5fd;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-meta-verified.is-on {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.55);
  color: #dbeafe;
}

.home-meta-verified:active {
  transform: scale(0.97);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 9999px;
  border: 1px solid var(--glass-border);
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:active {
  transform: scale(0.94);
}

[data-mode="light"] .theme-toggle {
  background: rgba(15, 23, 42, 0.06);
}

.navbar-brand {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  transition: opacity 0.2s ease;
}

.navbar-brand:hover {
  opacity: 0.85;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--logo-cream);
  box-shadow: 0 0 0 1px rgba(201, 162, 74, 0.45);
}

.brand-text-main {
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-text-sub,
.brand-kicker {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.brand-kicker {
  padding-left: 0.55rem;
  border-left: 1px solid rgba(148, 163, 184, 0.28);
  max-width: 7.25rem;
}

@media (min-width: 640px) {
  .brand-kicker {
    max-width: none;
    white-space: nowrap;
  }
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.desktop-nav-link {
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  white-space: nowrap;
}
.desktop-nav-link:hover,
.desktop-nav-link.is-nav-active {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.12);
}
.desktop-nav-links .btn-primary {
  margin-left: 0.4rem;
  min-height: 36px;
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px var(--theme-glow);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--theme-glow);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
}

.btn-outline:hover {
  background: var(--theme-glow);
  border-color: transparent;
  transform: translateY(-1px);
}

/* ── Hero Section ────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--theme-glow);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.text-gradient,
.hero h1 .text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* ── Search Bar ──────────────────────────────────────────────────────── */
.search-container {
  position: relative;
  max-width: none;
  margin: 0 0 0.45rem;
}

.search-input {
  width: 100%;
  background: #1c1c1e;
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 0.7rem 1.1rem 0.7rem 2.75rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  box-shadow: none;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

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

.search-input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.38);
  background: #1c1c1e;
}

[data-mode="light"] .search-input {
  background: #efe8dc;
  color: var(--logo-navy);
}
[data-mode="light"] .search-input:focus {
  background: #fffdf8;
  box-shadow: 0 0 0 2px rgba(201, 162, 74, 0.45);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ── Transporter Cards ───────────────────────────────────────────────── */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 0.9rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.35s ease-out both;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.card-compact .card-info-row,
.card-compact .card-specialty {
  margin: 0.5rem 0 0.1rem;
  align-items: center;
  flex: 0 0 auto;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--card-hover-shadow);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-2px);
  }
}

.card:active {
  transform: scale(0.985);
}

.card:hover::before {
  opacity: 1;
}

/* Category-specific top-accent gradient */
.card[data-category="Transporter"]::before   { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.card[data-category="Clearing Agency / CHA"]::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.card[data-category="CFS"]::before           { background: linear-gradient(90deg, #10b981, #34d399); }
.card[data-category="Forwarder"]::before     { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.card[data-category="Warehouses"]::before    { background: linear-gradient(90deg, #f97316, #fb923c); }
.card[data-category="Empty Parks"]::before   { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.card[data-category="Terminals"]::before     { background: linear-gradient(90deg, #ec4899, #f472b6); }
.card[data-category="Other Services"]::before { background: linear-gradient(90deg, #64748b, #94a3b8); }
.card[data-category="Our Business"]::before { background: linear-gradient(90deg, #c9a24a, #f5d78e); }

/* ── Pastel Avatar System ─────────────────────────────────────────────── */
.card-avatar {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
  letter-spacing: 0.03em;
  overflow: hidden;
}

/* Pastel palette — 8 rotating colors, dark text for contrast */
.card-avatar[data-color="0"] { background: #dbeafe; color: #1d4ed8; }
.card-avatar[data-color="1"] { background: #dcfce7; color: #15803d; }
.card-avatar[data-color="2"] { background: #fef9c3; color: #854d0e; }
.card-avatar[data-color="3"] { background: #fce7f3; color: #9d174d; }
.card-avatar[data-color="4"] { background: #ede9fe; color: #6d28d9; }
.card-avatar[data-color="5"] { background: #ffedd5; color: #c2410c; }
.card-avatar[data-color="6"] { background: #e0f2fe; color: #0369a1; }
.card-avatar[data-color="7"] { background: #d1fae5; color: #065f46; }

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  display: block;
  background: #fff;
}

.card.is-owned {
  border-color: rgba(201, 162, 74, 0.42);
}
.card-avatar.sponsored-avatar {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #713f12;
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.45);
}

.card.is-sponsored {
  border-color: rgba(250, 204, 21, 0.62) !important;
  background:
    linear-gradient(165deg, rgba(250, 204, 21, 0.16) 0%, rgba(15, 23, 42, 0.02) 46%),
    var(--glass-bg);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.22),
    0 10px 28px rgba(202, 138, 4, 0.24),
    0 0 32px rgba(250, 204, 21, 0.18);
  animation: sponsor-glow 2.8s ease-in-out infinite;
}
.card.is-sponsored .card-company {
  color: #facc15;
}
.card.is-verified:not(.is-sponsored) {
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.18),
    0 8px 22px rgba(37, 99, 235, 0.18);
}
.card.is-sponsored.is-verified {
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.28),
    0 10px 28px rgba(202, 138, 4, 0.24),
    0 0 28px rgba(59, 130, 246, 0.16);
}

@keyframes sponsor-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(250, 204, 21, 0.22),
      0 10px 28px rgba(202, 138, 4, 0.2),
      0 0 26px rgba(250, 204, 21, 0.14);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(250, 204, 21, 0.42),
      0 12px 32px rgba(202, 138, 4, 0.32),
      0 0 40px rgba(250, 204, 21, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card.is-sponsored {
    animation: none;
  }
}

[data-mode="light"] .card.is-sponsored {
  background:
    linear-gradient(165deg, rgba(250, 204, 21, 0.22) 0%, #fff 48%);
  box-shadow:
    0 0 0 1px rgba(202, 138, 4, 0.32),
    0 10px 26px rgba(202, 138, 4, 0.16);
}
[data-mode="light"] .card.is-verified:not(.is-sponsored) {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), #fff 42%);
}

/* ── Card Text ───────────────────────────────────────────────────────── */
.card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.card-head-text {
  min-width: 0;
  flex: 1;
  padding-top: 0.05rem;
}

.card-company {
  display: block;
  min-width: 0;
  margin: 0;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.card-company-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-marks {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  flex: 1 1 100%;
  min-width: 0;
}

.card-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  line-height: 1;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.card-mark-star {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.45);
}

.card-mark-star .card-mark-ico {
  font-size: 0.72rem;
}

.card-mark-check {
  color: #60a5fa;
}

.card-mark-check svg {
  width: 0.78rem;
  height: 0.78rem;
  flex-shrink: 0;
}

.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.5rem;
  margin: 0.22rem 0 0;
  min-width: 0;
}

.card-sub {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  min-width: 0;
  flex: 1 1 auto;
}

.card-sub-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  overflow: hidden;
}

.card-sub-cat,
.card-sub-city,
.card-sub-dot {
  white-space: nowrap;
}

.card-sub-cat {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-sub-dot {
  color: var(--text-muted);
  opacity: 0.7;
}

.card-sub-city {
  color: var(--text-primary);
  font-weight: 700;
  opacity: 0.82;
}

@media (min-width: 640px) {
  .card-marks {
    flex: 0 0 auto;
    width: auto;
  }
}

.card-category-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(99, 102, 241, 0.1);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.card-person {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Address Truncation (legacy) ────────────────────────────────────── */
.card-address-text {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-specialty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.32rem;
  min-height: 1.4rem;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  max-width: 8.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.22rem 0.52rem;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-primary);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.card-chip.is-more {
  max-width: none;
  background: transparent;
  border-color: transparent;
  color: var(--accent-blue);
  padding-left: 0.15rem;
  padding-right: 0.15rem;
  font-weight: 800;
}

.card-chip.is-fallback {
  max-width: 100%;
  font-weight: 650;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.12);
}

.card-specialty-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-mode="light"] .card-chip {
  background: rgba(11, 30, 58, 0.05);
  color: #0b1e3a;
  border-color: rgba(201, 162, 74, 0.38);
}

[data-mode="light"] .card-chip.is-more {
  background: transparent;
  border-color: transparent;
  color: #16325c;
}

[data-mode="light"] .card-chip.is-fallback {
  color: #5b6472;
  background: rgba(11, 30, 58, 0.04);
  border-color: rgba(11, 30, 58, 0.08);
}

[data-mode="light"] .card-sub-city {
  color: #0b1e3a;
  opacity: 0.9;
}

.card-details-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 36px;
  margin: 0;
  padding: 0;
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.card-details-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

.card-details-link:active {
  opacity: 0.7;
}

/* ── Filter chip tags ────────────────────────────────────────────────── */
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.cat-chip {
  padding: 0.55rem 1.05rem;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
}

.cat-chip:active,
.filter-chip:active {
  transform: scale(0.95);
}

.card-tag.active,
.cat-chip.active {
  background: var(--accent-blue) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* ── Address row ─────────────────────────────────────────────────────── */
.card-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  flex: 1;
}

.card-info-row svg {
  flex-shrink: 0;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Contact action row ─────────────────────────────────────────────── */
.card-contact-row {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.75rem;
  margin-top: auto;
}

/* ── Call & WhatsApp Buttons ─────────────────────────────────────────── */
/* Call = Blue (standard phone convention) */
.btn-call {
  background: #2563eb;
  border: none;
  color: #fff;
  font-weight: 800;
  padding: 0.65rem 0.875rem;
  min-height: 48px;
  border-radius: 0.85rem;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.btn-call:active { transform: scale(0.97); }
.btn-call:hover  { filter: brightness(1.06); }

.btn-whatsapp {
  background: #16a34a;
  border: none;
  color: #fff;
  font-weight: 800;
  padding: 0.65rem 0.875rem;
  min-height: 48px;
  border-radius: 0.85rem;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.28);
}

.btn-whatsapp:active { transform: scale(0.97); }
.btn-whatsapp:hover  { background: rgba(37, 211, 102, 0.18); }

.card .js-share-listing,
.btn-share-icon {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  min-width: 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: -0.15rem -0.2rem 0 0;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  font-size: 0;
  cursor: pointer;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.card .btn-share-icon.card-share-header,
.card-share-header {
  min-height: 36px;
  min-width: 36px;
  width: 36px;
  height: 36px;
}

.btn-share-icon svg {
  width: 17px;
  height: 17px;
}

.btn-share-icon:hover,
.btn-share-icon:focus-visible {
  color: var(--text-primary);
  background: rgba(148, 163, 184, 0.12);
  outline: none;
}

.btn-share-icon:active {
  transform: scale(0.94);
  background: rgba(148, 163, 184, 0.18);
}

[data-mode="light"] .btn-share-icon {
  color: #64748b;
  background: transparent;
}

.share-copy-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}
.share-copy-card {
  width: 100%;
  max-width: 28rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  margin-bottom: env(safe-area-inset-bottom);
}
.share-copy-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.share-copy-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--glass-border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-primary);
  padding: 0.75rem;
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}
.share-copy-actions {
  display: flex;
  gap: 0.5rem;
}
.share-copy-actions button {
  flex: 1;
  justify-content: center;
  min-height: 44px;
}

/* ── Empty State ─────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3.25rem 1.25rem 3.75rem;
  animation: fadeInUp 0.5s ease-out;
}

.empty-state-art {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 1.1rem;
  color: var(--accent-blue);
}
[data-mode="light"] .empty-state-art {
  color: var(--logo-gold);
}

.empty-state-art svg {
  width: 100%;
  height: 100%;
}

.empty-state-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--theme-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.empty-state h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  max-width: 280px;
  margin: 0 auto;
}

.empty-state .btn-outline {
  margin-top: 1rem;
  min-height: 44px;
}

/* ── Loading Skeleton ────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Form Styles ─────────────────────────────────────────────────────── */
.form-container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  animation: fadeInUp 0.5s ease-out;
}

.form-container.is-grouped {
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  box-shadow: none;
}

.ios-group {
  margin-bottom: 1.15rem;
}
.ios-group-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0.35rem 0.4rem;
}
.ios-group-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1rem 1.05rem 0.25rem;
}
.ios-group-card .form-group:last-child {
  margin-bottom: 0.85rem;
}
#ops-group.is-empty,
#dept-contacts-group.is-empty {
  display: none;
}

.dept-people {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.dept-person {
  padding: 0.7rem 0 0.35rem;
  border-top: 1px solid var(--glass-border);
}
.dept-person:first-child {
  padding-top: 0;
  border-top: none;
}
.dept-person-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
@media (min-width: 640px) {
  .dept-person-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.dept-person-remove {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  min-height: 32px;
}
.dept-person-remove:hover {
  color: #f87171;
}
.dept-add-contact {
  margin-top: 0.55rem;
  min-height: 40px;
  padding: 0 0.75rem;
  border-radius: 0.7rem;
  border: 1px dashed var(--glass-border);
  background: transparent;
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.dept-add-contact:hover,
.dept-add-contact:focus-visible {
  background: rgba(59, 130, 246, 0.1);
  outline: none;
}

.flex-contact-card {
  padding: 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--glass-border);
  background: rgba(15, 23, 42, 0.35);
}
[data-mode="light"] .flex-contact-card {
  background: rgba(255, 255, 255, 0.7);
}

[hidden] {
  display: none !important;
}

.form-input.is-invalid,
.form-select.is-invalid,
.category-picker-grid.is-invalid,
.vehicle-grid.is-invalid {
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}
.category-picker-grid.is-invalid,
.vehicle-grid.is-invalid {
  border-radius: 0.9rem;
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f87171;
}

.register-h1 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 0.4rem;
}
@media (min-width: 640px) {
  .register-h1 { font-size: 1.85rem; }
}

.register-success-card {
  text-align: center;
  padding: 1.75rem 1.2rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
}

.register-success-check {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

.register-success-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.45rem;
}

.register-success-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.register-success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.register-load-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 600;
}

[data-mode="light"] .register-h1 {
  color: #0f172a;
}

[data-mode="light"] .field-error {
  color: #b91c1c;
}

[data-mode="light"] .register-load-error {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea,
.form-addon {
  width: 100%;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--theme-glow), 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 5rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: rgba(10, 15, 30, 0.5);
  border-top: 1px solid var(--glass-border);
}

/* ── Scrollbar ───────────────────────────────────────────────────────── */
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* ── Notification Toast ──────────────────────────────────────────────── */
.toast,
#toast.toast {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 9999px;
  padding: 0;
  color: #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 500;
  z-index: 1001;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0.2s ease;
  max-width: 340px;
  box-shadow: none;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0;
  min-height: 0;
  width: 0;
  overflow: hidden;
}

.toast.show,
#toast.toast.show {
  transform: translateX(0);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 0.875rem 1.25rem;
  height: auto;
  width: auto;
  overflow: visible;
}

#toast:not(.show),
#toast.toast:not(.show) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

.toast.show.success {
  border-left: 3px solid #4ade80;
}

.toast.show.error {
  border-left: 3px solid #f87171;
}

/* ── Verified Badge ──────────────────────────────────────────────────── */
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  position: relative;
}

.verified-badge svg {
  width: 100%;
  height: 100%;
}

.verified-badge-lg {
  width: 1.375rem;
  height: 1.375rem;
}

.verified-badge-lg svg {
  width: 100%;
  height: 100%;
}

.verified-label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.32);
}

.badge-ico {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* ── Vehicle Type Checkboxes ─────────────────────────────────────────── */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.5rem;
}

.vehicle-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  min-height: 44px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8125rem;
  color: var(--text-muted);
  user-select: none;
}

.vehicle-checkbox:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.04);
}

.vehicle-checkbox input[type="checkbox"] {
  accent-color: #3b82f6;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.vehicle-checkbox.checked {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.06);
  color: var(--text-primary);
}

/* ── About Page ──────────────────────────────────────────────────────── */
.about-intro {
  padding: 0.25rem 0 1.75rem;
}
.about-logo-wrap {
  width: 8.75rem;
  height: 8.75rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 32px rgba(201, 162, 74, 0.2);
}
.about-logo {
  width: 8.75rem;
  height: 8.75rem;
  object-fit: cover;
  border-radius: 50%;
}
[data-mode="light"] .about-logo-wrap {
  box-shadow: 0 10px 28px rgba(11, 30, 58, 0.1);
}
.about-stats {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin: 1.15rem 0 0.35rem;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4.5rem;
}
.about-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.about-stat span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.about-hero-actions .btn-outline,
.about-hero-actions .btn-primary {
  min-height: 44px;
  justify-content: center;
}
.about-steps {
  margin-bottom: 1.75rem;
}
.about-steps .ios-group-title {
  margin-bottom: 0.85rem;
}
.about-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .about-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.about-step {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 1.05rem 1.1rem 1.15rem;
}
.about-step-num {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--theme-glow);
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}
[data-mode="light"] .about-step-num {
  color: var(--logo-navy);
  background: rgba(201, 162, 74, 0.18);
}
.about-step h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.about-step p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.about-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.25rem 1.4rem;
}
.about-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.about-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}
.about-cat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(148, 163, 184, 0.06);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}
.about-cat-chip:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
[data-mode="light"] .about-cat-chip:hover {
  border-color: var(--logo-gold);
  color: var(--logo-navy);
  background: rgba(201, 162, 74, 0.12);
}
.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-points li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.about-point-ico {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--theme-glow);
  color: var(--accent-blue);
  margin-top: 0.1rem;
}
[data-mode="light"] .about-point-ico {
  color: var(--logo-navy);
  background: rgba(201, 162, 74, 0.2);
}
.about-points strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.about-points p {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.about-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.about-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid var(--glass-border);
  background: rgba(148, 163, 184, 0.04);
  color: inherit;
  text-decoration: none;
}
a.about-contact-row:hover {
  border-color: var(--accent-blue);
}
.about-contact-row.is-static {
  cursor: default;
}
.about-contact-ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--theme-glow);
  color: var(--accent-blue);
}
.about-contact-ico svg {
  width: 1.05rem;
  height: 1.05rem;
}
[data-mode="light"] .about-contact-ico {
  color: var(--logo-navy);
  background: rgba(201, 162, 74, 0.16);
}
.about-contact-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about-contact-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-word;
}
.about-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.about-contact-actions .btn-primary,
.about-contact-actions .btn-outline {
  flex: 1 1 8rem;
  justify-content: center;
  min-height: 44px;
}

#social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
}
.social-links-section:not(:has(.social-link)) {
  display: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.social-link:hover {
  background: var(--theme-glow);
  border-color: transparent;
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ── Mobile Bottom Navigation ────────────────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: rgba(10, 15, 30, 0.96);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-nav-list {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0.2rem 0.125rem 0.15rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.bottom-nav-item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  transition: color 0.2s ease;
  letter-spacing: 0;
  padding: 0.2rem 0;
  min-height: 44px;
  width: 100%;
  min-width: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-link.active {
  color: #3b82f6;
  font-weight: 800;
  background: transparent;
}

.bottom-nav-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 0;
  transition: color 0.2s ease, fill 0.2s ease;
  fill: none;
}

.bottom-nav-link.active svg {
  color: #3b82f6;
  fill: currentColor;
  background: transparent;
  transform: none;
}

.bottom-nav-link.active svg.nav-ico-stroke {
  fill: none;
}

[data-theme="amber"] .bottom-nav-link.active {
  background: transparent;
}
[data-theme="amber"] .bottom-nav-link.active svg {
  color: #f59e0b;
  background: transparent;
  fill: currentColor;
}
[data-theme="green"] .bottom-nav-link.active {
  background: transparent;
}
[data-theme="green"] .bottom-nav-link.active svg {
  color: #10b981;
  background: transparent;
  fill: currentColor;
}

body.keyboard-open .bottom-nav {
  display: none !important;
}
body.keyboard-open {
  padding-bottom: 0 !important;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }
  .desktop-nav-links {
    display: none !important;
  }
  .footer {
    padding-bottom: 1rem;
  }
  .toast,
  #toast.toast {
    top: auto;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px) + 0.75rem);
    left: 50%;
    right: auto;
    transform: translate(-50%, 8px);
    width: 0;
    max-width: 22rem;
  }
  .toast.show,
  #toast.toast.show {
    transform: translate(-50%, 0);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: calc(100% - 3rem);
  }

  #profile-modal {
    padding-bottom: 0;
    align-items: flex-end;
  }
  #profile-modal .profile-modal-content {
    width: 100%;
    max-width: none;
    height: min(92dvh, 100dvh);
    max-height: min(92dvh, 100dvh);
    min-height: min(92dvh, 100dvh);
    border-radius: 1.35rem 1.35rem 0 0;
  }

  .form-input,
  .form-select,
  .form-textarea,
  .search-input,
  input.form-input,
  textarea.form-textarea,
  select.form-select {
    font-size: 16px !important;
  }

  .register-submit-bar {
    position: sticky;
    bottom: calc(4.75rem + env(safe-area-inset-bottom));
    z-index: 30;
    padding: 0.75rem 0 0.25rem;
    margin: 0 -0.25rem;
    background: linear-gradient(180deg, transparent, var(--bg-color) 28%);
  }

  body.keyboard-open .register-submit-bar {
    bottom: 0;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    gap: 1.25rem;
  }

  .card {
    padding: 0.85rem;
    border-radius: var(--radius-lg);
  }

  .brand-text-main {
    font-size: 1.15rem;
  }

  .brand-kicker {
    font-size: 0.5rem;
    letter-spacing: 0.14em;
    max-width: 6.6rem;
  }
  .brand-mark {
    width: 2.15rem;
    height: 2.15rem;
  }

  .form-container {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }
  
  .card-avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.85rem;
  }
  
  .card-company {
    font-size: 0.875rem;
  }
}

/* ── Category Chip Colors ────────────────────────────────────────────── */
.cat-chip[data-category="Transporter"].active {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #3b82f6 !important;
}
.cat-chip[data-category="Clearing Agency / CHA"].active {
  background: #d97706 !important;
  color: #fff !important;
  border-color: #f59e0b !important;
}
.cat-chip[data-category="CFS"].active {
  background: #059669 !important;
  color: #fff !important;
  border-color: #10b981 !important;
}
.cat-chip[data-category="Forwarder"].active {
  background: #7c3aed !important;
  color: #fff !important;
  border-color: #8b5cf6 !important;
}
.cat-chip[data-category="Terminals"].active {
  background: #0284c7 !important;
  color: #fff !important;
  border-color: #0ea5e9 !important;
}
.cat-chip[data-category="Other Services"].active {
  background: #475569 !important;
  color: #fff !important;
  border-color: #64748b !important;
}

/* ── Vehicle Type Tag Chips in Cards ─────────────────────────────────── */
.vehicle-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-muted);
  padding: 0.1875rem 0.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.06);
}

/* ── Version badge ───────────────────────────────────────────────────── */
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.08);
  padding: 0.1875rem 0.5rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

/* -- Scrollbar Hide -------------------------------------------------------- */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* -- Additional Category Chip Colors ------------------------------------ */
.cat-chip[data-category="Warehouses"].active {
  background: #db2777 !important;
  color: #fff !important;
  border-color: #ec4899 !important;
}
.cat-chip[data-category="Empty Parks"].active {
  background: #0369a1 !important;
  color: #fff !important;
  border-color: #0ea5e9 !important;
}
.cat-chip[data-category="all"].active {
  background: var(--accent-blue) !important;
  color: #fff !important;
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 12px var(--theme-glow);
}

/* ── Light mode: Sticky chip bar ─────────────────────────────────────── */
[data-mode="light"] .bg-slate-950\/90 {
  background: rgba(248, 250, 252, 0.92) !important;
  border-bottom-color: var(--glass-border) !important;
}

/* ── Card tap feedback for mobile ────────────────────────────────────── */
.card {
  -webkit-tap-highlight-color: transparent;
}
.card:active {
  transform: scale(0.985);
  transition: transform 0.1s ease;
}

/* ── Active chip glow animation ──────────────────────────────────────── */
.cat-chip.active {
  box-shadow: 0 0 8px var(--theme-glow);
}
.form-addon { width: auto; padding: 0.75rem 1rem; }

/* Make inputs automatically look Capitalized to users */
#companyName, #address, #address_line, #city, #landmark, .contact-name, [data-title-case] { text-transform: none; }
#gstNumber { text-transform: uppercase; }
.email-input { text-transform: lowercase; }

/* ── Bottom Sheet / Profile Modal UI ─────────────────────────────────── */
.listing-sheet {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.listing-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--glass-border);
  border-bottom: none;
  border-radius: 1.35rem 1.35rem 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  animation: slideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sheet-chrome {
  position: relative;
  flex-shrink: 0;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-handle {
  width: 2.75rem;
  height: 0.3rem;
  border-radius: 999px;
  background: #64748b;
}

.sheet-close {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: #334155;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  -webkit-tap-highlight-color: transparent;
}

.sheet-close svg {
  width: 16px;
  height: 16px;
}

.sheet-close:active {
  transform: translateY(-50%) scale(0.94);
}

.sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 1.15rem 1.15rem;
}

.sheet-footer {
  flex-shrink: 0;
  display: flex;
  gap: 0.55rem;
  padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--glass-border);
  background: #0b1220;
}

.sheet-footer .btn-primary,
.sheet-footer .btn-outline {
  flex: 1;
  min-height: 48px;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: 0.9rem;
}

body.sheet-open .bottom-nav {
  transform: translateY(110%);
  pointer-events: none;
}

@keyframes slideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (min-width: 640px) {
  .listing-sheet {
    align-items: center;
    padding: 1.5rem;
  }
  .profile-modal-content {
    max-height: 90vh;
    min-height: 0;
    height: auto;
    border-radius: 1.35rem;
    border-bottom: 1px solid var(--glass-border);
    animation: popCenter 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .sheet-body {
    padding: 0.5rem 1.5rem 1.25rem;
    max-height: min(70vh, 640px);
  }
  @keyframes popCenter {
    0% { transform: scale(0.95) translateY(10px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
  }
}

.pb-safe {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}

.sponsored-label {
  color: #facc15 !important;
  background: rgba(250, 204, 21, 0.16) !important;
  border: 1px solid rgba(250, 204, 21, 0.42) !important;
}

.profile-group.is-sponsored,
.profile-modal-content.is-sponsored {
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.18), 0 12px 32px rgba(202, 138, 4, 0.18);
}
.profile-group.is-verified:not(.is-sponsored),
.profile-modal-content.is-verified:not(.is-sponsored) {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.16), 0 10px 24px rgba(37, 99, 235, 0.14);
}
.is-sponsored-name {
  color: #facc15 !important;
}
#pm-avatar.sponsored-avatar {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  font-size: 1.15rem;
}

.ad-slot {
  width: 100%;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  padding: 0;
}
.ad-slot:empty,
.ad-slot:has(img:not([src])),
.ad-slot:has(img[src=""]) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.ad-dismiss {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 6;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: #334155;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ad-dismiss svg {
  width: 16px;
  height: 16px;
}

.ad-dismiss:active {
  transform: scale(0.94);
}

.ad-banner {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: none;
  background: transparent;
  min-height: 0;
}

.ad-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 168px;
  object-fit: cover;
}

.ad-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  right: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.ad-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
  padding: 1rem 1rem calc(5.5rem + env(safe-area-inset-bottom));
}

.ad-popup-sheet {
  position: relative;
  width: 100%;
  max-width: 28rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.ad-popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 50;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #334155;
  color: #fff;
  border: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ad-popup-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.biz-card-featured {
  border-color: rgba(59, 130, 246, 0.35) !important;
}

.biz-card-kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 0.35rem;
}

.ee-flagship {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: 1 / -1;
  min-height: 23rem;
  padding: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  color: #fbfaf7;
  isolation: isolate;
  border: 1px solid rgba(198, 161, 91, 0.38);
  box-shadow: 0 22px 48px rgba(11, 18, 32, 0.32);
}

.ee-flagship-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
}

.ee-flagship-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ee-flagship-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.08) 0%, rgba(11, 18, 32, 0.2) 42%, rgba(11, 18, 32, 0.55) 64%, rgba(8, 12, 20, 0.92) 100%);
}

.ee-flagship-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem 1.05rem 1.05rem;
}

.page-after-nav {
  padding-top: 0.85rem;
}

.home-h1 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 0.35rem;
}

.seo-listing-index {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  font-size: 0.72rem;
  line-height: 1.4;
}

.seo-listing-index a {
  color: var(--text-muted);
  text-decoration: none;
}

.seo-listing-index a:hover {
  color: var(--accent-blue);
}

.ee-flagship-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ee-flagship-copy {
  min-width: 0;
}

.ee-flagship-name {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #c6a15b;
  text-shadow: 0 1px 0 rgba(11, 18, 32, 0.35);
}

.ee-flagship-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  flex-shrink: 0;
  padding: 0.1rem;
  border: 1px solid rgba(198, 161, 91, 0.4);
  border-radius: 0.35rem;
  background: #fff;
  overflow: hidden;
}

.ee-flagship-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.ee-flagship-tag {
  margin: 0.12rem 0 0;
  font-size: 0.8rem;
  color: rgba(246, 242, 234, 0.88);
}

.ee-flagship-gst {
  margin: 0.75rem 0 0;
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(198, 161, 91, 0.55);
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.72);
  color: #e8d5a3;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ee-flagship-line {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(246, 242, 234, 0.78);
}

.ee-flagship-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.85rem;
  background: #c6a15b;
  color: #1a1408;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  min-height: 44px;
}

.ee-flagship:active .ee-flagship-cta,
.ee-flagship-hit:active .ee-flagship-cta {
  transform: scale(0.98);
}

[data-mode="light"] .ee-flagship {
  color: #fbfaf7;
}

@media (min-width: 640px) {
  .ee-flagship {
    min-height: 20rem;
    border-radius: 1.35rem;
  }
  .ee-flagship-shade {
    background:
      linear-gradient(180deg, rgba(11, 18, 32, 0.06) 0%, rgba(11, 18, 32, 0.18) 42%, rgba(8, 12, 20, 0.88) 100%),
      linear-gradient(90deg, rgba(8, 12, 20, 0.55) 0%, rgba(8, 12, 20, 0.12) 52%, transparent 72%);
  }
  .ee-flagship-body {
    padding: 1.3rem 1.25rem 1.2rem;
    max-width: 26rem;
  }
  .ee-flagship-name {
    font-size: 1.5rem;
  }
  .ee-flagship-cta {
    width: auto;
    display: inline-flex;
    padding: 0.7rem 1.15rem;
  }
}

.ad-popup-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #0b1220;
}

@media (min-width: 640px) {
  .ad-popup-overlay {
    align-items: center;
    padding: 1.5rem;
  }
  .ad-banner-img {
    max-height: 200px;
  }
}

.category-chip-bar {
  position: sticky;
  top: calc(3.35rem + env(safe-area-inset-top));
  z-index: 40;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.5rem 1rem 0.3rem;
  margin-bottom: 1rem;
}

.app-header .chip-scroll-wrap,
.category-chip-bar .chip-scroll-wrap {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2.25rem), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2.25rem), transparent 100%);
}

.app-header .chip-scroll,
.category-chip-bar .chip-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0.15rem 2.5rem 0.35rem 0;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.app-header .cat-chip {
  min-height: 36px;
  padding: 0.4rem 0.9rem;
  scroll-snap-align: start;
}

.app-header .chip-scroll::-webkit-scrollbar,
.category-chip-bar .chip-scroll::-webkit-scrollbar {
  display: none;
}

[data-mode="light"] .category-chip-bar {
  background: rgba(248, 250, 252, 0.94);
}

.btn-outline {
  min-height: 40px;
}

.theme-toggle {
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 768px) {
  .btn-outline {
    min-height: 44px;
  }
}

@media (display-mode: standalone) {
  .navbar {
    padding-top: max(0.25rem, env(safe-area-inset-top));
  }
}

/* 🔥 FIX: Force Profile Bottom-Sheet to stay ON TOP of Bottom Nav Bar */
#profile-modal, 
.profile-modal-wrapper,
div[id*="profile-modal"] {
  z-index: 2000 !important; /* Bottom nav 1000 par hai, toh ise 2000 pe rakha hai */
}

.category-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (min-width: 480px) {
  .category-picker-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.category-picker-grid > .category-pick:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.category-pick {
  min-height: 52px;
  padding: 0.75rem 0.6rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.8125rem;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.category-pick.is-selected {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 6px 16px var(--theme-glow);
}
.category-selected-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
}
.category-change-btn {
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
}

[data-mode="light"] .profile-modal-content,
[data-mode="light"] .sheet-footer {
  background: #fffdf8;
}

[data-mode="light"] .sheet-close {
  background: #e8dfd0;
  color: #0b1e3a;
}

.region-table {
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid var(--glass-border);
  background: rgba(148, 163, 184, 0.05);
}

.region-table-head,
.region-table-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.8rem;
}

.region-table-head {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--glass-border);
}

.region-table-row {
  color: var(--text-primary);
  border-top: 1px solid var(--glass-border);
  line-height: 1.45;
}

.region-table-row:first-of-type {
  border-top: none;
}

.region-table-row span:last-child,
.region-table-head span:last-child {
  color: var(--text-muted);
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 44px;
  margin-left: -0.35rem;
  padding: 0 0.35rem;
  color: var(--accent-blue);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.profile-back svg {
  width: 22px;
  height: 22px;
}

.sheet-icon-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
}

.sheet-icon-btn svg {
  width: 18px;
  height: 18px;
}

.sheet-icon-btn.is-call {
  background: #2563eb;
  color: #fff;
}

.sheet-icon-btn.is-wa {
  background: #16a34a;
  color: #fff;
}

.sheet-icon-btn.is-mail {
  background: #d97706;
  color: #fff;
}

.profile-page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 5.5rem 1rem 7rem;
}
.profile-group {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}
.profile-group .profile-section {
  margin-bottom: 0.9rem;
  padding-bottom: 0.85rem;
}
.profile-group .profile-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.profile-group .profile-contact {
  margin-bottom: 0.55rem;
}
.profile-group .profile-contact:last-child {
  margin-bottom: 0;
}
.profile-screen {
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.profile-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.profile-section {
  margin-bottom: 1.15rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--glass-border);
}

.profile-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--glass-border);
  background: rgba(148, 163, 184, 0.05);
}

.profile-contact.is-primary {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
}

.profile-contact-actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.profile-contact-actions a {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.profile-contact-actions a[href^="tel"] {
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.1);
}

.profile-contact-actions a[href*="wa.me"] {
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.1);
}

.profile-contact-actions a[href^="mailto"] {
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.1);
}

.profile-sticky-actions {
  position: sticky;
  bottom: calc(4.75rem + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem -0.25rem 0;
  padding: 0.75rem 0.25rem 0.2rem;
  background: linear-gradient(180deg, transparent, var(--bg-color) 32%);
}

@media (min-width: 641px) {
  .profile-sticky-actions {
    bottom: 0;
  }
}

[data-mode="light"] .ad-dismiss,
[data-mode="light"] .sheet-close {
  background: rgba(255, 253, 248, 0.94);
  color: #0b1e3a;
  border-color: rgba(11, 30, 58, 0.12);
}

[data-mode="light"] .region-table-head,
[data-mode="light"] .region-table-row span:last-child {
  color: var(--text-muted);
}

[data-mode="light"] .cat-chip[data-category="Transporter"].active {
  background: #0b1e3a !important;
  border-color: #c9a24a !important;
}

.owned-card-share {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 5;
}

.owned-biz-card a {
  color: inherit;
  text-decoration: none;
}

.ee-flagship-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0.2rem;
}

.home-own-desks {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem 0.75rem;
  border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.18));
  border-radius: 1.1rem;
  background: var(--glass-bg, rgba(15, 23, 42, 0.35));
}

.home-own-desks-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a24a;
  margin: 0 0 0.2rem;
}

.home-own-desks-head h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--text-primary);
}

.home-own-desks-head p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.7rem;
  line-height: 1.45;
  max-width: 42rem;
}

.home-own-desks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-own-desk {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 0.85rem;
  border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.18));
  background: rgba(15, 23, 42, 0.45);
  text-decoration: none;
  color: var(--text-primary);
  min-height: 3rem;
}

.home-own-desk img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 0.45rem;
  background: #fff;
}

.home-own-desk strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.home-own-desk em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.home-own-desk-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.home-own-desk-tag.is-verified {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.35);
}

[data-mode="light"] .home-own-desks,
[data-mode="light"] .home-own-desk {
  background: #fff;
}

.about-install-card {
  margin: 0 0 1.5rem;
  text-align: left;
}

.about-install-hint {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.45;
}

.pwa-home-banner {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: var(--glass-bg, #0f172a);
  border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.25));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  color: var(--text-primary, #fff);
}

.pwa-home-banner p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  flex: 1 1 10rem;
}

.pwa-home-banner-actions {
  display: flex;
  gap: 0.45rem;
}

.pwa-ios-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 6, 23, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.pwa-ios-card {
  width: min(28rem, 100%);
  background: var(--glass-bg, #0f172a);
  color: var(--text-primary, #fff);
  border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.25));
  border-radius: 1.25rem;
  padding: 1.25rem 1.2rem 1.1rem;
}

.pwa-ios-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.pwa-ios-card ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--text-muted, #94a3b8);
  font-size: 0.88rem;
  line-height: 1.55;
}

.pwa-ios-card .btn-primary {
  width: 100%;
}