@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* =========================================================
   Base
   ========================================================= */
:root {
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  font-weight: 400;
  color: #f5f5f6;
  background: #07070a;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --yellow: #facc15;
  --yellow-hover: #fde047;
  --bg: #07070a;
  --surface: rgba(20, 20, 24, 0.78);
  --surface-2: rgba(28, 28, 32, 0.7);
  --surface-3: rgba(34, 34, 40, 0.78);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f5f6;
  --text-muted: #b5b5bd;
  --text-dim: #8b8b95;
  --text-soft: #dcdce0;
}

* { box-sizing: border-box; }

html, body, #root { margin: 0; min-width: 320px; min-height: 100%; }

body {
  min-height: 100vh;
  color: var(--text);
  background: #07070a;
  position: relative;
  overflow-x: hidden;
}

/* Site-wide ambient backdrop — fixed image behind every page,
   strongly dimmed so foreground content stays readable. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('/backdrop.jpg') center / cover no-repeat fixed;
  filter: brightness(0.32) saturate(0.85);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(7, 7, 10, 0.55) 0%, rgba(7, 7, 10, 0.85) 60%, rgba(7, 7, 10, 0.96) 100%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.35) 0%, rgba(7, 7, 10, 0.85) 100%);
  z-index: -1;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

button {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
}

::selection { background: rgba(250, 204, 21, 0.35); color: #0a0a0a; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 999px; border: 2px solid #0a0a0a; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 40px 0; }
.section-lg { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 56px 0; } .section-lg { padding: 80px 0; } }

.row { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.row-wrap { flex-wrap: wrap; }
.row-between { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.row-start { align-items: flex-start; }
.row-end { align-items: flex-end; }
.col { display: flex; flex-direction: column; }
.col-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.center { display: flex; align-items: center; justify-content: center; }
.grow { flex: 1; }
.shrink-0 { flex-shrink: 0; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { gap: 8px; }
.stack-md { gap: 12px; }
.stack-lg { gap: 24px; }
.stack-xl { gap: 32px; }

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1280px) {
  .split-3-2 { grid-template-columns: 1.6fr 1fr; }
  .split-1-1 { grid-template-columns: 1fr 1fr; }
  .split-map { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (min-width: 1024px) {
  .split-feature { grid-template-columns: 1fr 1fr 1.2fr; }
}

.full { width: 100%; }
.full-h { height: 100%; }

/* spacing helpers */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-10 { margin-bottom: 40px; } .mb-12 { margin-bottom: 48px; }
.pt-2 { padding-top: 8px; } .pt-4 { padding-top: 16px; }
.pb-2 { padding-bottom: 8px; }

/* =========================================================
   Typography
   ========================================================= */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.h1, .h2, .h3, .h4 { margin: 0; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; text-transform: none; }
.h1 { font-size: 40px; letter-spacing: -0.035em; line-height: 1.02; font-weight: 900; }
.h2 { font-size: 30px; font-weight: 800; }
.h3 { font-size: 22px; }
.h4 { font-size: 18px; }
@media (min-width: 768px) {
  .h1 { font-size: 64px; }
  .h2 { font-size: 38px; }
  .h3 { font-size: 26px; }
}
@media (min-width: 1024px) {
  .h1 { font-size: 84px; letter-spacing: -0.04em; }
}

.text { color: var(--text); }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.soft { color: var(--text-soft); }
.yellow { color: var(--yellow); }

.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-md { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }

.bold { font-weight: 700; }
.semi { font-weight: 600; }
.medium { font-weight: 500; }
.lh-tight { line-height: 1.3; }
.lh-relaxed { line-height: 1.7; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.center-text { text-align: center; }
.strike { text-decoration: line-through; }

.lead { color: var(--text-muted); font-size: 16px; line-height: 1.7; }
@media (min-width: 768px) { .lead { font-size: 18px; } }

.maxw-640 { max-width: 640px; }
.maxw-720 { max-width: 720px; }
.maxw-800 { max-width: 800px; }

.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   Card
   ========================================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card-pad-lg { padding: 28px; }
.card-pad-xl { padding: 36px; }
.card-tight { padding: 16px; border-radius: 12px; }
.card-flat { background: var(--surface-2); }

.card-hover {
  transition: all 0.2s ease;
}
.card-hover:hover {
  border-color: rgba(250, 204, 21, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.card-yellow {
  background: var(--yellow);
  color: #0a0a0a;
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.card-yellow .yellow-orb {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(40px);
  pointer-events: none;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  white-space: nowrap;
}
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }

.btn-yellow {
  background: var(--yellow);
  color: #0a0a0a;
  font-weight: 700;
}
.btn-yellow:hover:not(:disabled) { background: var(--yellow-hover); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-dark {
  background: #0a0a0a;
  color: var(--yellow);
}
.btn-dark:hover:not(:disabled) { background: #1a1a1a; }

.btn-link {
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--yellow);
  font-weight: 600;
}
.btn-link:hover:not(:disabled) { color: var(--yellow-hover); }

.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-xl { height: 48px; padding: 0 20px; }

.btn-glow {
  box-shadow: 0 0 32px rgba(250, 204, 21, 0.25);
}
.btn-glow:hover:not(:disabled) { transform: translateY(-1px); }

/* =========================================================
   Forms
   ========================================================= */
.input,
.select,
.textarea {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 8px;
  padding: 0 14px;
  height: 40px;
  outline: none;
  transition: border-color 0.15s ease;
  font-size: 14px;
}
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.14); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--yellow); }
.textarea { padding: 12px 14px; height: auto; min-height: 110px; resize: vertical; }
.select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #a3a3a3 50%), linear-gradient(135deg, #a3a3a3 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.input-group .input { padding-left: 38px; }
.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  display: inline-flex;
  font-size: 16px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 14px;
  user-select: none;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--yellow);
  cursor: pointer;
}
.checkbox.disabled { opacity: 0.5; cursor: not-allowed; }

.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: background 0.15s ease;
  cursor: pointer;
}
.switch-track::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #ededed;
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.switch input:checked + .switch-track { background: var(--yellow); }
.switch input:checked + .switch-track::before { transform: translateX(16px); background: #0a0a0a; }

/* =========================================================
   Badges
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.4;
}
.badge-yellow { background: rgba(250, 204, 21, 0.12); color: var(--yellow); border-color: rgba(250, 204, 21, 0.3); }
.badge-green { background: rgba(34, 197, 94, 0.12); color: #86efac; border-color: rgba(34, 197, 94, 0.3); }
.badge-red { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border-color: rgba(239, 68, 68, 0.3); }
.badge-orange { background: rgba(249, 115, 22, 0.12); color: #fdba74; border-color: rgba(249, 115, 22, 0.3); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.22);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
}

/* =========================================================
   Nav (PublicLayout)
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 7, 10, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--yellow);
  overflow: hidden;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.25);
}
.nav-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0);
}
.nav-brand-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.01em;
}
.nav-brand-sub {
  font-size: 12px;
  color: var(--text-dim);
}

.nav-links {
  display: none;
  gap: 4px;
}
@media (min-width: 768px) { .nav-links { display: inline-flex; } }
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.nav-link:hover { color: var(--yellow); background: rgba(255, 255, 255, 0.04); }
.nav-link.active { color: var(--yellow); background: rgba(250, 204, 21, 0.08); }

.nav-actions { display: inline-flex; align-items: center; gap: 12px; }
.nav-user { display: none; align-items: center; gap: 12px; }
@media (min-width: 768px) { .nav-user { display: inline-flex; } }
.nav-user-name { color: var(--text-soft); font-size: 14px; font-weight: 600; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
.menu-btn { display: inline-flex; }
@media (min-width: 768px) { .menu-btn { display: none; } }
.cta-desktop { display: none; }
@media (min-width: 768px) { .cta-desktop { display: inline-flex; } }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 16px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .nav-mobile { display: none; } }

/* footer */
.footer {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 7, 10, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
}
@media (min-width: 768px) { .footer-row { flex-direction: row; align-items: center; } }
.footer-links { display: inline-flex; gap: 24px; font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--yellow); }

/* =========================================================
   Hero / Homepage / decorative blobs
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  isolation: isolate;
  /* pull up under the transparent nav so the image reaches the top */
  margin-top: -64px;
  padding-top: 64px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/backdrop.jpg') center / cover no-repeat;
  filter: brightness(0.7) saturate(1.05);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.35) 0%, rgba(7, 7, 10, 0.55) 60%, rgba(7, 7, 10, 0.95) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(250, 204, 21, 0.10) 0%, transparent 55%);
  z-index: -1;
}

.hero-inner {
  position: relative;
  padding: 96px 0 120px;
  min-height: 72vh;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner { padding: 120px 0 160px; min-height: 80vh; }
}
@media (min-width: 1024px) {
  .hero-inner { padding: 160px 0 200px; min-height: 88vh; }
}

/* legacy blob nodes — keep them no-op so existing markup doesn't crash visually */
.blob, .blob-yellow-tr, .blob-yellow-tc { display: none; }

.hero-centered { justify-content: center; }
.hero-stack { text-align: center; align-items: center; margin: 0 auto; }
.hero-stack .h1 { text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6); }
.hero-stack .lead { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.hero-cta { justify-content: center; }
.hero-meta { justify-content: center; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.1);
  color: var(--yellow);
  border: 1px solid rgba(250, 204, 21, 0.22);
  font-size: 20px;
}

.code-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: var(--yellow);
  font-size: 12px;
  border: 1px solid var(--border);
}

/* =========================================================
   Panel
   ========================================================= */
.panel-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.panel-tab {
  height: 40px;
  padding: 0 16px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  border: 0;
  background: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.panel-tab:hover { color: var(--text); }
.panel-tab.active { color: var(--yellow); border-bottom-color: var(--yellow); }

.stat {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 100px;
}
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}
.stat-value { color: var(--text); font-weight: 700; margin-top: 4px; }

/* =========================================================
   Table
   ========================================================= */
.table-wrap {
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow-x: auto;
}
.table { width: 100%; border-collapse: collapse; min-width: 980px; }
.table thead { background: var(--surface-2); }
.table th, .table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table th {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}
.table th.sortable { cursor: pointer; }
.table th.sortable:hover { color: var(--yellow); }
.table td { color: var(--text-soft); font-size: 14px; }
.table tbody tr:hover { background: var(--surface-2); }

.show-mobile { display: block; }
.show-desktop { display: none; }
@media (min-width: 1024px) {
  .show-mobile { display: none; }
  .show-desktop { display: block; }
}

/* =========================================================
   Alerts
   ========================================================= */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--surface);
  color: var(--text-soft);
}
.alert-error { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.alert-success { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.3); color: #86efac; }

/* =========================================================
   Spinner
   ========================================================= */
.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(250, 204, 21, 0.18);
  border-top-color: var(--yellow);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Properties / map
   ========================================================= */
.map-shell {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
  height: 68vh;
}
@media (min-width: 1280px) { .map-shell { height: 78vh; } }

.map-overlay-card {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(19, 19, 19, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  max-width: 280px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
.detail-row .label { color: var(--text-dim); }
.detail-row .value { color: var(--text); font-weight: 500; text-align: right; }

/* requirement / step */
.req-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.step-badge.ready {
  background: rgba(250, 204, 21, 0.15);
  color: var(--yellow);
  border-color: rgba(250, 204, 21, 0.3);
}
.step-card { padding: 24px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.step-card.ready { border-color: rgba(250, 204, 21, 0.3); }

.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* =========================================================
   Login
   ========================================================= */
.login-shell {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}
.login-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
@media (min-width: 768px) { .login-card { padding: 40px; } }
.login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.3);
}
.login-icon img { width: 28px; height: 28px; filter: brightness(0); }

/* =========================================================
   Reveal
   ========================================================= */
.reveal {
  opacity: 0.01;
  transform: translate3d(0, 20px, 0);
}
.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* misc */
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.fixed-cart {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  box-shadow: 0 12px 32px rgba(250, 204, 21, 0.3);
}
@media (min-width: 768px) {
  .fixed-cart { right: 32px; bottom: 32px; }
}

.dot-line {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  margin-top: 9px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--yellow);
}

.update-row { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.update-row:last-child { border-bottom: 0; padding-bottom: 0; }
.property-label-icon {
  background: transparent;
  border: 0;
}

.leaflet-container {
  background: #111111;
}

.leaflet-control-zoom {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden;
  border-radius: 10px !important;
}

.leaflet-control-zoom a {
  background: #161616 !important;
  color: #ededed !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.leaflet-control-zoom a:hover {
  background: #1f1f1f !important;
  color: #facc15 !important;
}

.leaflet-tooltip {
  background: #161616;
  color: #ededed;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  padding: 8px 10px;
  font-weight: 500;
}

.leaflet-tooltip-top:before {
  border-top-color: #161616;
}
