/* =========================================================
   GoHereNow Professional Theme (clean SaaS + subtle motion)
   - More professional (light + colorful), less “touristy”
   - Keeps ALL existing selectors so nothing breaks
   - Keeps .btn-primary for admin/index.html compatibility
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

:root{
  /* Background (light + airy) */
  --bg-top: #f7fbff;   /* soft sky */
  --bg-mid: #eef6ff;   /* light azure */
  --bg-bot: #ffffff;   /* clean white */

  /* Typography */
  --ink: #0b1220;      /* crisp text */
  --muted: #55657a;    /* calmer slate */

  /* Surfaces + borders */
  --card-border: rgba(15, 23, 42, 0.10);

  /* Accent (still colorful, more “product” than “vacation”) */
  --accent:   #0ea5e9; /* ocean sky */
  --accent-2: #6366f1; /* indigo */
  --accent-3: #22c55e; /* success */
  --accent-4: #f97316; /* warm coral/orange */

  /* Shadows (lighter) */
  --shadow-soft: 0 10px 28px rgba(2, 6, 23, 0.10);
  --shadow-card: 0 6px 18px rgba(2, 6, 23, 0.08);

  /* Radius */
  --radius-xl: 22px;
  --radius-lg: 16px;

  /* Focus ring */
  --ring: 0 0 0 3px rgba(14, 165, 233, 0.22);
}

/* Subtle motions (kept, toned down) */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(6px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes softPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.0); }
  50%     { box-shadow: 0 0 0 6px rgba(14,165,233,0.12); }
}

html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(14,165,233,0.20) 0%, rgba(14,165,233,0.0) 60%),
    radial-gradient(760px 460px at 92% 0%, rgba(99,102,241,0.16) 0%, rgba(99,102,241,0.0) 60%),
    radial-gradient(520px 360px at 65% 105%, rgba(34,197,94,0.10) 0%, rgba(34,197,94,0.0) 58%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
}

/* Shell */
.app-shell{
  max-width: 540px;
  margin: 10px auto 12px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Header */
.app-header{
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  background:
    radial-gradient(700px 260px at 20% -60%, rgba(14,165,233,0.20) 0%, rgba(14,165,233,0.0) 62%),
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.56) 100%);
}

.brand-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-bottom: 6px;
}
.brand-left{ display:flex; align-items:center; gap:10px; }
.brand-icon{
  width:40px; height:40px; border-radius:12px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.14);
}
.brand-title{
  margin:0; font-size:18px; letter-spacing:0.04em; font-weight:800;
  color: var(--ink);
}
.brand-sub{ margin:2px 0 0; font-size:12px; color: rgba(11,18,32,0.64); }
.brand-actions{ display:flex; align-items:center; gap:8px; }

/* Small pill button (header) */
.ghost-pill{
  appearance:none;
  border:1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.78);
  padding:7px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  color: rgba(11,18,32,0.86);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:transform .08s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  box-shadow: 0 4px 12px rgba(2,6,23,0.10);
}
.ghost-pill:hover{
  transform:translateY(-1px);
  border-color: rgba(14,165,233,0.45);
  box-shadow: 0 10px 22px rgba(2,6,23,0.14);
  background: rgba(255,255,255,0.92);
}
.ghost-pill:focus{ outline:none; box-shadow: var(--ring), 0 10px 22px rgba(2,6,23,0.14); }

.pill-dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--accent-3);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.14);
}

/* Wallet */
.wallet-row{
  margin-top:6px;
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.wallet-pill{
  padding:7px 12px; border-radius:999px;
  background: rgba(14,165,233,0.12);
  border:1px solid rgba(14,165,233,0.28);
  font-weight:800; font-size:14px; color: rgba(11,18,32,0.88);
  animation: softPulse 3.2s ease-in-out infinite;
}
.wallet-status{ font-size:13px; color: rgba(11,18,32,0.62); }

/* Wallet action layout */
.wallet-line{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* Unified action pills (Add $10 + Sign In) */
.wallet-topup,
.wallet-signin {
  padding: 6px 10px;
  font-weight: 900;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(14,165,233,0.10));
  border: 1.5px solid rgba(14,165,233,0.55);
  color: rgba(11,18,32,0.92) !important;
  box-shadow: 0 6px 16px rgba(2,6,23,0.10);
  transition: transform .08s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.wallet-topup:hover,
.wallet-signin:hover{
  transform: translateY(-1px);
  border-color: rgba(14,165,233,0.80);
  box-shadow: 0 12px 26px rgba(2,6,23,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(14,165,233,0.14));
}
.wallet-topup:focus,
.wallet-signin:focus{ outline:none; box-shadow: var(--ring), 0 12px 26px rgba(2,6,23,0.14); }

.wallet-topup { flex-shrink: 0; }
.wallet-signin { width: 100%; }

/* User greeting section */
.user-greeting-section {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* User greeting */
.user-greeting {
  width: auto;
  min-width: 120px;
  padding: 6px 14px;
  font-weight: 900;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(34,197,94,0.10));
  border: 1.5px solid rgba(34,197,94,0.45);
  color: rgba(11,18,32,0.92) !important;
  box-shadow: 0 6px 16px rgba(2,6,23,0.10);
  font-size: 14px;
  transition: transform .08s ease, box-shadow .18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.user-greeting:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(2,6,23,0.14);
}
.user-greeting:focus{ outline:none; box-shadow: 0 0 0 3px rgba(34,197,94,0.18), 0 12px 26px rgba(2,6,23,0.14); }

/* Logout button */
.logout-btn {
  padding: 6px 12px;
  font-weight: 900;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,115,22,0.10));
  border: 1.5px solid rgba(249,115,22,0.45);
  color: rgba(11,18,32,0.92) !important;
  box-shadow: 0 6px 16px rgba(2,6,23,0.10);
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease;
  flex-shrink: 0;
  font-size: 13px;
}
.logout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(2,6,23,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(249,115,22,0.14));
}
.logout-btn:focus{ outline:none; box-shadow: 0 0 0 3px rgba(249,115,22,0.18), 0 12px 26px rgba(2,6,23,0.14); }

/* BIG tabs */
.tab-row.big-tabs{
  margin-top: 10px;
  display:flex; gap:10px;
}
.tab.big{
  flex: 1;
  appearance:none;
  border:1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.70);
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .02em;
  cursor:pointer;
  color: rgba(11,18,32,0.88);
  box-shadow: 0 6px 16px rgba(2,6,23,0.10);
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.tab.big:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(2,6,23,0.14);
  border-color: rgba(14,165,233,0.35);
  background: rgba(255,255,255,0.86);
}
.tab.big.active{
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(14,165,233,0.12));
  border-color: rgba(14,165,233,0.70);
  color: rgba(11,18,32,0.92);
}
.tab.big:focus{ outline:none; box-shadow: var(--ring), 0 12px 26px rgba(2,6,23,0.14); }

/* Main split view */
.app-main.split-view{
  padding: 10px 12px 12px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
}

/* List panel */
.list-panel{
  background: linear-gradient(
    180deg,
    rgba(14,165,233,0.10),
    rgba(99,102,241,0.08)
  );
  border: 1px solid rgba(14,165,233,0.26);
  border-radius: var(--radius-xl);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    var(--shadow-card);
  padding: 12px;

  display: flex;
  flex-direction: column;

  height: 420px;
  max-height: 420px;
  min-height: 0;
}

.panel-title{
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,0.62);
  margin: 2px 2px 8px;
}

/* Scrolling list */
.locations-scroll{
  flex: 1 1 auto;
  min-height: 0;

  overflow-y: auto;
  overflow-x: hidden;

  display:flex;
  flex-direction:column;
  gap: 10px;
  padding-right: 4px;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}

/* Cards (professional) */
.location-card{
  width: 100%;
  display: block;
  appearance:none;

  border: 1.5px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  border-radius: var(--radius-lg);

  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(2,6,23,0.08);
  transition: transform .08s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  min-height: 74px;
  animation: floatIn .25s ease both;
}

.location-card:hover{
  transform: translateY(-1px);
  border-color: rgba(14,165,233,0.35);
  box-shadow: 0 12px 22px rgba(2,6,23,0.12);
}
.location-card.selected{
  border-color: rgba(14,165,233,0.70);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.16), 0 12px 22px rgba(2,6,23,0.12);
}

/* Selected door accent bar */
.location-card.selected::before{
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(
    180deg,
    var(--accent),
    var(--accent-2)
  );
}

.location-name{
  font-size:16px;
  font-weight:800;
  margin-bottom:3px;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.location-addr{
  font-size:13px;
  color: var(--muted);
  line-height:1.25;
  padding-right:80px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Distance pill */
.distance-pill{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  min-width:64px; text-align:center; padding:5px 9px;
  font-size:12px; font-weight:900; border-radius:999px;
  background: rgba(14,165,233,0.10);
  color: rgba(11,18,32,0.86);
  border:1px solid rgba(14,165,233,0.20);
  white-space:nowrap;
}
.distance-pill.subtle{
  background: rgba(15,23,42,0.05);
  color: rgba(11,18,32,0.78);
  border-color: rgba(15,23,42,0.10);
}

/* Map panel (kept for compatibility; map may be retired) */
.map-panel{ display:flex; flex-direction:column; gap:8px; min-height: 0; }

.map-container,
.map-canvas{
  width:100%;
  height:36vh;
  min-height:260px;
  border-radius: var(--radius-xl);
  overflow:hidden;
  border:1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow-card);
  background: rgba(255,255,255,0.70);
  animation: floatIn .25s ease both;
}

.map-overlay-hint{
  font-size:13px; color: rgba(11,18,32,0.62); text-align:center;
}

/* Empty state */
.empty-state{
  text-align:center;
  color: rgba(11,18,32,0.62);
  font-size:14px;
  padding:18px 10px;
}
.hidden{display:none;}

/* Footer */
.app-footer{
  padding:10px 12px 12px;
  border-top:1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.72);
}

/* Primary button */
.primary-btn{
  width:100%;
  appearance:none;
  border:none;
  padding:12px 14px;
  border-radius:14px;
  font-size:16px;
  font-weight:900;
  color:#ffffff;
  background: linear-gradient(90deg, rgba(14,165,233,1), rgba(99,102,241,1));
  box-shadow: 0 12px 26px rgba(2,6,23,0.14);
  cursor:pointer;
  transition: transform .08s ease, filter .18s ease, box-shadow .18s ease;
}
.primary-btn:disabled{
  opacity:0.55;
  cursor:not-allowed;
  filter:saturate(0.65);
  box-shadow: none;
}
.primary-btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 34px rgba(2,6,23,0.18); }
.primary-btn:focus{ outline:none; box-shadow: var(--ring), 0 16px 34px rgba(2,6,23,0.18); }

.footer-row{
  margin-top:8px;
  display:flex;
  justify-content:center;
  gap:8px;
  font-size:14px;
}
.footer-link{
  color: rgba(14,165,233,0.95);
  font-weight:800;
  text-decoration:none;
}
.footer-link:hover{ text-decoration:underline; }
.footer-divider{ color: rgba(11,18,32,0.40); }

/* =========================================================
   Partner Apply Form (kept selectors, professional style)
   ========================================================= */

.partner-apply .form-panel{
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 16px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: floatIn .25s ease both;
}

.partner-apply .form-title{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
  margin: 0;
  color: var(--ink);
}

.partner-apply .form-sub{
  margin: 0;
  font-size: 16px;
  color: rgba(11,18,32,0.64);
  line-height: 1.45;
}

.partner-apply .status-line{
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.78);
  color: rgba(11,18,32,0.86);
}

.partner-apply .status-line.ok{
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.10);
  color: rgba(11,18,32,0.92);
  font-weight: 800;
}

.partner-apply .status-line.err{
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.10);
  color: rgba(11,18,32,0.92);
  font-weight: 700;
}

.partner-apply .form-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.partner-apply .form-grid > div{ min-width: 0; }

.partner-apply .form-label{
  display:block;
  font-size: 14px;
  font-weight: 800;
  color: rgba(11,18,32,0.64);
  margin: 0 0 6px 2px;
}

.partner-apply .form-input,
.partner-apply .form-textarea{
  width: 100%;
  display: block;
  min-width: 0;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.96);
  color: #0b1220;
  padding: 12px 14px;
  font-size: 17px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
  box-shadow: 0 3px 10px rgba(2,6,23,0.08);
}

.partner-apply .form-input:focus,
.partner-apply .form-textarea:focus{
  border-color: rgba(14,165,233,0.55);
  box-shadow: var(--ring), 0 3px 10px rgba(2,6,23,0.08);
}

.partner-apply .form-textarea{
  resize: vertical;
  min-height: 100px;
}

.partner-apply .help{
  font-size: 13px;
  color: rgba(11,18,32,0.62);
  margin-top: 6px;
}

/* Partner button (kept selector, professional variant) */
.partner-btn{
  display:block;
  text-align:center;
  text-decoration:none;
  margin-top:10px;
  color: rgba(11,18,32,0.92);
  background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(99,102,241,0.10));
  border: 1px solid rgba(99,102,241,0.35);
  box-shadow: 0 10px 22px rgba(2,6,23,0.10);
}

/* Footer legal links on their own lines */
.footer-legal{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  font-size:14px;
}

/* =========================================================
   Added: .btn-primary for admin/index.html and generic use
   ========================================================= */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(14,165,233,0.45);
  background: linear-gradient(90deg, rgba(14,165,233,1), rgba(99,102,241,1));
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(2,6,23,0.14);
  transition: transform .08s ease, box-shadow .18s ease, filter .18s ease;
  text-decoration:none;
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(2,6,23,0.18);
}
.btn-primary:focus{
  outline:none;
  box-shadow: var(--ring), 0 16px 34px rgba(2,6,23,0.18);
}

/* =========================================================
   Admin UI (shared across admin pages)
   - No inline CSS needed in admin pages
   - Responsive filter grid
   - Table zebra rows
   - Sticky header + sticky first column
   ========================================================= */

.admin-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

.admin-wrap h1{
  margin: 6px 0 10px;
  font-size: 24px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.admin-wrap h2{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.admin-card{
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
  box-shadow: var(--shadow-card);
  animation: floatIn .20s ease both;
}

/* Utilities used by admin pages (also safe for main site) */
.muted{ color: var(--muted); }
.nowrap{ white-space: nowrap; }

.status{ margin-top: 8px; opacity: 0.95; }

/* Admin filter grid */
.admin-row{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: end;
}
@media (max-width: 900px){
  .admin-row{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .admin-row{ grid-template-columns: 1fr; }
}

/* Admin form controls (high-contrast, larger text) */
.admin-wrap label{
  display: inline-block;
  margin: 0 0 6px 2px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.admin-wrap input,
.admin-wrap select{
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.18);
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(15,23,42,0.06);
  appearance: none;
  -webkit-appearance: none;
}

.admin-wrap select{ cursor: pointer; }

.admin-wrap input:focus,
.admin-wrap select:focus{
  outline: none;
  border-color: rgba(14,165,233,0.70);
  box-shadow: var(--ring), 0 2px 6px rgba(15,23,42,0.06);
}

/* Admin relative time presentation */
.timecell{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rel-time{
  font-size: 12px;
  opacity: 0.78;
  font-style: italic;
}

/* Admin table container for sticky header/column */
.table-scroll{
  max-height: 70vh;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.92);
}

/* Admin table base */
.table-scroll table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table-scroll th,
.table-scroll td{
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

/* Zebra striping */
.table-scroll tbody tr:nth-child(odd){ background-color: #f8fafc; }
.table-scroll tbody tr:nth-child(even){ background-color: #f1f5f9; }
.table-scroll tbody tr:hover{ background-color: #e5edff; }

/* Sticky header */
.table-scroll thead th{
  position: sticky;
  top: 0;
  z-index: 3;
  background: #ffffff;
  color: var(--ink);
  border-bottom: 1px solid rgba(15,23,42,0.15);
}

/* Sticky first column (Time) */
.table-scroll thead th:first-child{
  left: 0;
  z-index: 4;
}
.table-scroll tbody td:first-child{
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid rgba(15,23,42,0.10);
}

/* Keep sticky first column matching zebra colors */
.table-scroll tbody tr:nth-child(odd) td:first-child{ background: #f8fafc; }
.table-scroll tbody tr:nth-child(even) td:first-child{ background: #f1f5f9; }
.table-scroll tbody tr:hover td:first-child{ background: #e5edff; }

/* Cell separators */
.table-scroll tbody td{
  border-bottom: 1px solid rgba(15,23,42,0.08);
  color: var(--ink);
}

/* Admin result pill (scoped safely via table container) */
.table-scroll .pill{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.18);
  display: inline-block;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

/* Admin details/metadata */
.table-scroll details{ max-width: 520px; }
.table-scroll details summary{
  cursor: pointer;
  user-select: none;
}
.table-scroll details pre{
  white-space: pre-wrap;
  word-break: break-word;
  margin: 8px 0 0;
}

/* Responsive */
@media (max-width: 560px){
  .app-shell{ margin:0; border-radius:0; }
  .brand-title{ font-size:16px; }
  .list-panel{
    height: 360px;
    max-height: 360px;
  }
  .locations-scroll{
    flex: 1 1 auto;
    min-height: 0;
  }

  /* Support multiple class naming styles */
  .partner-apply .form-grid.two,
  .partner-apply .form-grid.two-col,
  .partner-apply .form-grid.twoCol{
    grid-template-columns: 1fr 1fr;
  }

  .location-addr{ padding-right:72px; }
  .distance-pill{ min-width:58px; font-size:11px; }
  .app-shell { padding-bottom: 40px; }

  /* Admin padding a touch tighter on phones */
  .admin-wrap{ padding: 12px; }
}