/* AdNeed — Dashboard (/dashboard/*) layout styles.
   Tokens/buttons/inputs come from adneed.css; this file is dashboard
   layout + a few dashboard-only components (topbar, business card,
   WhatsApp template box, usage bars, toggle switches). Mobile-first —
   business owners run this from a phone far more than a desktop. */

body.dashboard-body { background: var(--bg); }
img { max-width: 100%; display: block; }

/* Safety net: nothing on a dashboard page is meant to be wider than the
   viewport (an over-long chip/link/word is meant to WRAP, not push the
   page sideways) — this catches any such case at the html/body level
   instead of relying on every single element getting its own wrapping
   rule exactly right. */
html, body.dashboard-body { overflow-x: hidden; }

.dash-container { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; }

/* ---------------------------------------------------------------- Topbar */
.dash-topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,250,250,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 16px; margin-bottom: 14px;
}
.dash-topbar-left { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dash-topbar-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy-900); min-width: 0; }
.dash-topbar-brand img { height: 28px; width: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.dash-topbar-brand span { font-family:'AdNeedRupee','Sora', sans-serif; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-topbar-actions { display: flex; align-items: center; gap: 10px; }
.dash-topbar-link { font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; background: none; border: none; cursor: pointer; font-family:'AdNeedRupee','Manrope', sans-serif; padding: 0; }
.dash-topbar-link:hover { color: var(--navy-900); }

/* AdCredits pill — a small gold coin icon + balance, shown in the header
   once someone's signed in so the balance is never more than a glance
   away. Links to /account/ (credits live there) same as the avatar next
   to it. Starts hidden (see dashboard/index.html) until auth state is known. */
.topbar-credits {
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
  background: #FDF3DF; border: 1px solid #F0DBA0; border-radius: 999px;
  padding: 5px 10px 5px 6px; flex-shrink: 0;
}
.topbar-coin { width: 16px; height: 16px; flex-shrink: 0; display: block; }
.topbar-credits span {
  font-family:'AdNeedRupee','Sora', sans-serif; font-weight: 800; font-size: 12.5px; color: #8A4B0A; white-space: nowrap;
}

/* Explicit "Dashboard" link for tool pages (QR Code Maker etc.) — the brand
   logo and credits pill already link back to /dashboard/, but neither
   says so; this makes the way back unambiguous. A small pill button (not
   plain text) so it reads as a tappable action next to the credits pill,
   not a stray word in the header. */
.topbar-dashboard-link {
  display: inline-flex; align-items: center; flex-shrink: 0; white-space: nowrap;
  font-family:'AdNeedRupee','Manrope', sans-serif; font-weight: 700; font-size: 12.5px; color: var(--navy-900);
  text-decoration: none; padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--navy-900); background: transparent;
  transition: background .15s ease, transform .15s ease;
}
.topbar-dashboard-link:hover { background: rgba(15,27,46,.06); transform: translateY(-1px); }

/* Avatar — the business logo if there is one, otherwise the business
   name's initials on a rounded-square tile (a la "Praja Saree" -> "PS"),
   falling back further to "?" until we know anything at all. */
.topbar-avatar {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 9px; overflow: hidden; text-decoration: none;
  background: var(--grad); color: #fff; font-family:'AdNeedRupee','Sora', sans-serif; font-weight: 800; font-size: 12.5px;
  letter-spacing: .3px;
}
.topbar-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Small round icon-only back button — a distinct element from the brand,
   so the AdNeed wordmark never gets swapped out / crowded by "← Back" text
   (that collision was the old .dash-topbar-back pattern's problem). */
.topbar-back-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%; color: var(--navy-900);
  text-decoration: none; transition: background .15s ease;
}
.topbar-back-btn:hover { background: rgba(15,27,46,.06); }
.topbar-back-btn svg { display: block; }

/* ------------------------------------------------------- Hamburger + drawer */
.topbar-menu-btn {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 4px; width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  padding: 0; border-radius: 8px; transition: background .15s ease; flex-shrink: 0;
}
.topbar-menu-btn:hover { background: rgba(15,27,46,.06); }
.topbar-menu-btn span {
  display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.topbar-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topbar-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topbar-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.topbar-drawer-backdrop {
  position: fixed; top:0; right:0; bottom:0; left:0; background: rgba(15,27,46,.45); opacity: 0; pointer-events: none;
  transition: opacity .2s ease; z-index: 200;
}
.topbar-drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.topbar-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 62%; min-width: 260px; max-width: 340px;
  background: var(--surface); box-shadow: -8px 0 24px rgba(15,27,46,.15);
  transform: translateX(100%); transition: transform .25s ease; z-index: 201;
  display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0);
}
.topbar-drawer.open { transform: translateX(0); }
.topbar-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.topbar-drawer-head span {
  font-family:'AdNeedRupee','Sora', sans-serif; font-weight: 800; font-size: 13px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .6px;
}
.topbar-drawer-close {
  background: none; border: none; cursor: pointer; font-size: 20px; line-height: 1;
  color: var(--text-muted); padding: 4px; border-radius: 6px;
}
.topbar-drawer-close:hover { background: var(--bg); color: var(--navy-900); }
.topbar-drawer-link {
  display: block; width: 100%; text-align: left; padding: 14px 20px; border: none; background: none;
  font-family:'AdNeedRupee','Manrope', sans-serif; font-weight: 600; font-size: 15px; color: var(--text);
  text-decoration: none; cursor: pointer; transition: background .15s ease;
}
.topbar-drawer-link:hover { background: var(--bg); }
.topbar-drawer-link.is-current { color: var(--orange-500); background: rgba(232,73,29,.06); }
.topbar-drawer-logout { color: var(--error); border-top: 1px solid var(--border); margin-top: auto; }

body.drawer-open { overflow: hidden; }


/* ---------------------------------------------------------------- Cards */
.dash-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,27,46,.06), 0 8px 24px rgba(15,27,46,.04);
  padding: 16px; margin-bottom: 14px;
}
/* Secondary variant — used for AdCredits now that it's a bottom-of-page
   status card rather than the dashboard's lead content: flatter, no
   shadow, so it doesn't visually compete with the products grid above. */
.dash-card--secondary {
  box-shadow: none;
  background: var(--bg);
}
.dash-card .section-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.dash-welcome { margin: 10px 2px 16px; }
.dash-welcome h1 { font-family:'AdNeedRupee','Sora', sans-serif; font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.dash-welcome p { color: var(--text-muted); font-size: 13.5px; margin: 0; }

.summary-grid { display: flex; flex-direction: column; gap: 0; }
.summary-card__business { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.summary-card__avatar {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; overflow: hidden;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family:'AdNeedRupee','Sora', sans-serif; font-weight: 800; font-size: 18px;
}
.summary-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.summary-card__name { font-family:'AdNeedRupee','Sora', sans-serif; font-weight: 700; font-size: 15px; margin: 0; }
.summary-card__tagline { color: var(--text-muted); font-size: 12.5px; margin: 2px 0 0; }
.summary-card__empty { color: var(--text-muted); font-size: 13.5px; margin: 0 0 12px; }
.summary-card__action { width: 100%; justify-content: center; }

.credits-figure { font-family:'AdNeedRupee','Sora', sans-serif; font-size: 32px; font-weight: 800; margin: 4px 0 6px; }
.credits-figure--compact { font-size: 22px; }
.credits-figure span { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.credits-note { color: var(--text-muted); font-size: 12px; line-height: 1.5; margin: 0; }

/* ---------------------------------------------------------------- Stats / usage (reserved for future AdCredits history) */
.stats-row { display: flex; gap: 20px; flex-wrap: wrap; }
.stat { flex: 1; min-width: 72px; }
.stat b { font-family:'AdNeedRupee','Sora', sans-serif; font-size: 22px; display: block; }
.stat span { font-size: 11px; color: var(--text-muted); }
.usage-row { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.usage-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.usage-label span:last-child { color: var(--text-muted); font-weight: 500; }
.usage-bar { height: 8px; border-radius: 5px; background: var(--border); overflow: hidden; }
.usage-fill { height: 100%; background: var(--grad); border-radius: 5px; transition: width .3s ease; }

/* ---------------------------------------------------------------- Tools grid ("Your tools")
   Scoped under .dash-container so this file can't leak .tag/.tool-grid
   styling onto other pages (e.g. /tools/qr-maker) that also link this
   stylesheet but define their own .tag on a different (dark) theme. */
.dash-container .section-heading { font-family:'AdNeedRupee','Sora', sans-serif; font-size: 15px; font-weight: 800; margin: 22px 2px 4px; }
.dash-container .section-lead { color: var(--text-muted); font-size: 12.5px; margin: 0 2px 12px; }
.dash-container .tool-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; }
.dash-container .tool-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px;
  display: flex; flex-direction: column; gap: 2px; position: relative;
}
.dash-container .tool-card--soon { background: var(--bg); }
.dash-container .tool-icon {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  background: linear-gradient(135deg, rgba(245,166,35,.14), rgba(232,73,29,.14));
}
.dash-container .tool-card--soon .tool-icon { background: var(--surface-2, #F0F1F4); filter: grayscale(.4); opacity: .75; }
.dash-container .tool-card h3 { font-family:'AdNeedRupee','Sora', sans-serif; font-size: 14px; font-weight: 700; margin: 0; }
.dash-container .tool-card .tool-price { display: inline-block; font-family:'AdNeedRupee','Inter', sans-serif; font-weight: 600; font-size: 11px; color: var(--text-muted); background: var(--surface-2, #F3F4F6); border-radius: 999px; padding: 2px 8px; margin: 4px 0 0; }
.dash-container .tool-card p:not(.tool-price) { color: var(--text-muted); font-size: 12px; margin: 2px 0 0; line-height: 1.4; }
.dash-container .tool-card > .btn { margin-top: auto; }
.dash-container .tag { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  color: var(--text-muted); background: var(--bg); border-radius: 999px; padding: 3px 8px; }
.dash-container .tag--live { color: #fff; background: var(--success, #1a9e63); }

/* ---------------------------------------------------------------- Form section title (business profile) */
.form-section-title { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--orange-500); font-weight: 700; margin-bottom: 14px; }

/* ---------------------------------------------------------------- Business profile onboarding wizard (/business/ ?welcome=1)
   Only ever active during first-time onboarding — an ordinary "edit my
   profile" visit never gets these classes toggled on (see business/
   index.html), so the plain single-page form is completely unaffected. */
.wizard-progress { margin: 0 0 20px; }

.wizard-steps { display: flex; align-items: center; justify-content: center; }
.wizard-step-dot {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 2px solid var(--border); color: var(--text-muted);
  font-family:'AdNeedRupee','Sora', sans-serif; font-weight: 700; font-size: 13px;
  transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.wizard-step-dot.is-active {
  background: var(--grad); border-color: transparent; color: #fff;
  animation: wizardDotPulse 1.6s ease-in-out infinite;
}
.wizard-step-dot.is-done { background: var(--orange-500); border-color: transparent; color: #fff; }
@keyframes wizardDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,73,29,.15); }
  50% { box-shadow: 0 0 0 8px rgba(232,73,29,.04); }
}
/* Social step reads as optional: near-invisible until you're actually on
   it (or have passed it), rather than presented as a required 3rd step. */
.wizard-step-dot--optional { opacity: .05; }
.wizard-step-dot--optional.is-active, .wizard-step-dot--optional.is-done { opacity: 1; }

.wizard-step-line {
  flex: 1; max-width: 56px; height: 3px; margin: 0 6px; border-radius: 99px;
  background: var(--border); position: relative; overflow: hidden;
}
.wizard-step-line::after {
  content: ''; position: absolute; top:0; right:0; bottom:0; left:0; width: 0%; background: var(--grad);
  transition: width .4s ease;
}
.wizard-step-line.is-filled::after { width: 100%; }

.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: wizardStepIn .25s ease; }
@keyframes wizardStepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.location-btn { width: auto; margin: 0 0 8px; padding: 11px 18px; display: inline-flex; align-items: center; gap: 6px; }
.location-btn.is-success { background: #E9F7EF; border-color: var(--success); color: var(--success); }

/* ---------------------------------------------------------------- Compact
   wizard layout: the goal is the whole 3-step form fitting one screen
   with no scrolling, so padding/margins shrink specifically while the
   onboarding wizard is active (body.has-wizard-actionbar) — an ordinary
   "edit my profile" visit is untouched. */
body.has-wizard-actionbar .auth-card--wide { padding: 22px 26px 18px; }
body.has-wizard-actionbar .auth-card h1 {
  font-size: 19px; line-height: 1.25; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.has-wizard-actionbar .auth-card p.sub {
  font-size: 13px; margin-bottom: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.has-wizard-actionbar .form-section-title { margin-bottom: 10px; }
body.has-wizard-actionbar .field { margin-bottom: 10px; }
body.has-wizard-actionbar .field-hint { margin-top: 3px; }
body.has-wizard-actionbar textarea { min-height: 54px; }
body.has-wizard-actionbar .logo-upload-tile { width: 72px; height: 72px; }

/* Leaves room at the bottom of the page so the fixed action bar never
   covers the last field of whichever step is showing. */
body.has-wizard-actionbar { padding-bottom: 92px; }

.wizard-actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(15, 27, 46, .08);
}
.wizard-actionbar .btn { width: auto; margin: 0; padding: 12px 20px; }
.wizard-actionbar-spacer { flex: 1; }
@media (max-width: 480px) {
  .wizard-actionbar { justify-content: space-between; }
  .wizard-actionbar-spacer { display: none; }
  .wizard-actionbar .btn { flex: 1; padding: 12px 8px; font-size: 12.5px; }
}

/* ---------------------------------------------------------------- Shared floating/sticky action bar
   Generic version of the pattern above (originally built just for the
   onboarding wizard's Save Profile bar) — used to pin whatever a page's
   main Save / Edit / Download control is to the bottom of the viewport,
   so it's always reachable without hunting for it at the end of a long
   form or scrolling a preview column. Add the `floating-action-bar`
   class alongside a row's existing class (its own gap/flex rules still
   apply on top of this) and add `has-floating-action-bar` to <body> so
   page content leaves enough bottom padding to never sit under it. */
.floating-action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin: 0 !important;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(15, 27, 46, .08);
}
.floating-action-bar .btn { width: auto; }
.floating-action-bar.hidden { display: none; }
body.has-floating-action-bar { padding-bottom: 92px; }
/* For a floating bar that can hold several buttons stacked/grid-wrapped
   on mobile (Invoice Maker, Bill Maker — see billing.css's
   .billing-actions-row.floating-action-bar override) rather than the
   single-row bar the 92px default above assumes. Was previously missing
   from these pages' <body> entirely, meaning NO space was reserved for
   the fixed bar at all and it simply sat on top of whatever page content
   happened to be at the bottom of the viewport. */
body.has-floating-action-bar-tall { padding-bottom: 190px; }
@media (max-width: 600px) {
  .floating-action-bar .btn { flex: 1 1 auto; }
}
@media print {
  .floating-action-bar { display: none !important; }
}

/* ---------------------------------------------------------------- First-time dashboard welcome + confetti */
.dash-welcome.is-first-visit .dash-welcome-emoji { display: inline-block; animation: welcomeWave 1.4s ease 1; }
@keyframes welcomeWave { 0% { transform: rotate(0deg); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-8deg); } 45% { transform: rotate(14deg); } 60% { transform: rotate(-4deg); } 75% { transform: rotate(10deg); } 100% { transform: rotate(0deg); } }

#confettiLayer { position: fixed; top:0; right:0; bottom:0; left:0; pointer-events: none; z-index: 999; overflow: hidden; }
.confetti-piece {
  position: absolute; top: -24px; font-size: 20px; line-height: 1;
  animation-name: confettiFall; animation-timing-function: cubic-bezier(.25,.46,.45,.94); animation-fill-mode: forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ---------------------------------------------------------------- "Save before festival" popup (CP18, festival-popup.js) */
body.festival-popup-open { overflow: hidden; }
.festival-popup-backdrop {
  position: fixed; top:0; right:0; bottom:0; left:0; z-index: 1000; background: rgba(15,27,46,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.festival-popup {
  position: relative; width: 100%; max-width: 400px; background: var(--surface);
  border-radius: 18px; padding: 26px 22px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.festival-popup-close {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border); cursor: pointer; font-size: 13px;
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
}
.festival-popup-eyebrow {
  margin: 0 0 6px; font-family:'AdNeedRupee','Sora', sans-serif; font-weight: 700; font-size: 12.5px;
  color: var(--orange-500);
}
.festival-popup-title { margin: 0 0 8px; font-family:'AdNeedRupee','Sora', sans-serif; font-size: 19px; font-weight: 800; color: var(--text); padding-right: 20px; }
.festival-popup-lead { margin: 0 0 16px; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.festival-popup-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.festival-popup-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 12px;
}
.festival-popup-option-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.festival-popup .btn-sm { padding: 7px 12px; font-size: 12px; white-space: nowrap; }
.festival-popup-later { display: block; text-align: center; font-size: 12.5px; color: var(--text-muted); text-decoration: underline; }

/* ---------------------------------------------------------------- Super Admin announcement popup (CP18, admin-popup-display.js)
   Moved here from Site 2's dashboard — mirrors .festival-popup-* above
   for visual consistency (never shown at the same time as it — see
   dashboard/index.html's boot code). Renders adminPopups/{id} docs
   authored in /admin's Popup Maker tab. */
body.admin-popup-open { overflow: hidden; }
.admin-popup-backdrop {
  position: fixed; top:0; right:0; bottom:0; left:0; z-index: 1000; background: rgba(15,27,46,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.admin-popup-modal {
  position: relative; width: 100%; max-width: 400px; background: var(--surface);
  border-radius: 18px; padding: 26px 22px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.admin-popup-modal-close {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border); cursor: pointer; font-size: 13px;
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
}
.admin-popup-modal-img {
  display: block; width: 100%; max-height: 180px; object-fit: cover;
  border-radius: 12px; margin: 0 0 14px;
}
.admin-popup-modal-title { margin: 0 0 8px; font-family:'AdNeedRupee','Sora', sans-serif; font-size: 19px; font-weight: 800; color: var(--text); padding-right: 20px; }
.admin-popup-modal-message { margin: 0 0 16px; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; white-space: pre-wrap; }
.admin-popup-modal-cta { display: block; text-align: center; width: 100%; }

/* ---------------------------------------------------------------- Location nag popup (CP19, location-nag.js)
   Reuses the exact .admin-popup-backdrop/.admin-popup-modal chrome above
   for visual consistency, plus its own small set of classes for the
   button + status line. Unlike the announcement/festival popups, this one
   is NEVER permanently dismissed — closing it only hides it for this
   page load; it comes back on the next one until the business doc has a
   saved `geo` (see location-nag.js for the full eligibility check). */
.location-nag-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  margin: 0 0 14px;
}
.location-nag-btn { width: 100%; margin: 4px 0 10px; }
.location-nag-status { margin: 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; min-height: 16px; }
.location-nag-status.is-error { color: var(--error); }
.location-nag-status.is-success { color: var(--success); }
.location-nag-later { display: block; width: 100%; text-align: center; margin-top: 6px; background: none; border: none; color: var(--text-muted); font-size: 12.5px; cursor: pointer; text-decoration: underline; padding: 4px; }
