/* =========================================================
   MEHERAB — green theme for the public website + customer panel
   (loaded after core.css — admin panel does not use this file)
   ========================================================= */
:root {
  --bg: #eefbf3;
  --surface: #ffffff;
  --surface-2: #f5fdf8;
  --surface-3: #e6f8ee;
  --border: #d3efdf;
  --border-strong: #b4e2c8;
  --text: #0b2a1e;
  --text-2: #24503f;
  --muted: #5d8070;
  --primary: #10b981;
  --primary-2: #0d9488;
  --primary-soft: rgba(16, 185, 129, .12);
  --primary-text: #047857;
  --green-line: #22c55e;
  --grad: linear-gradient(120deg, #16a34a 0%, #10b981 55%, #0d9488 100%);
  --grad-2: linear-gradient(120deg, #22c55e, #84cc16);
  --grad-3: linear-gradient(120deg, #059669, #0d9488);
  --grad-4: linear-gradient(120deg, #65a30d, #16a34a);
  --grad-btn: linear-gradient(100deg, #16a34a 0%, #10b981 45%, #0ea5e9 100%);
  --grad-soft: linear-gradient(120deg, rgba(34, 197, 94, .12), rgba(13, 148, 136, .07));
  --grad-top: linear-gradient(100deg, #dcfce7 0%, #bbf7d0 45%, #a7f3d0 100%);
  --shadow: 0 1px 2px rgba(6, 78, 59, .05), 0 8px 24px -14px rgba(6, 78, 59, .22);
  --shadow-lg: 0 30px 70px -24px rgba(6, 78, 59, .35);
}
[data-theme="dark"] {
  --bg: #04110b;
  --surface: #0a1d15;
  --surface-2: #0e271c;
  --surface-3: #133224;
  --border: #19402e;
  --border-strong: #22563e;
  --text: #e6fbf0;
  --text-2: #b9e3cf;
  --muted: #7aa490;
  --primary-soft: rgba(52, 211, 153, .15);
  --primary-text: #34d399;
  --grad-top: linear-gradient(100deg, #052e1c 0%, #064e3b 60%, #065f46 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .7);
}

/* Soft mint background behind every page */
body.site::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40rem 30rem at 0% 0%, rgba(134, 239, 172, .35), transparent 60%),
    radial-gradient(36rem 28rem at 100% 0%, rgba(110, 231, 183, .28), transparent 60%),
    radial-gradient(40rem 30rem at 50% 100%, rgba(167, 243, 208, .25), transparent 60%),
    var(--bg);
}
[data-theme="dark"] body.site::before {
  background:
    radial-gradient(40rem 30rem at 0% 0%, rgba(16, 185, 129, .16), transparent 60%),
    radial-gradient(36rem 28rem at 100% 0%, rgba(34, 197, 94, .10), transparent 60%),
    var(--bg);
}
body.site { background: transparent; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: -.02em; min-width: 0; }
.logo img { height: 38px; width: auto; max-width: 190px; object-fit: contain; }
.logo .logo-dark { display: none; }
[data-theme="dark"] .logo.has-dark .logo-light { display: none; }
[data-theme="dark"] .logo.has-dark .logo-dark { display: block; }
.logo .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Cards ---------- */
body.site .card { border-color: var(--border); border-radius: 18px; }
.card-accent { position: relative; overflow: hidden; }
.card-accent::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }

/* Stat cards (other pages) — clean white tiles with a colored icon */
body.site .stat { border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
body.site .stat .stat-icon { background: var(--primary-soft); color: var(--primary-text); }
body.site .stat.g2 .stat-icon { background: rgba(132, 204, 22, .14); color: #4d7c0f; }
body.site .stat.g3 .stat-icon { background: rgba(14, 165, 233, .12); color: #0369a1; }
body.site .stat.g4 .stat-icon { background: rgba(245, 158, 11, .14); color: #b45309; }

/* ---------- User sidebar ---------- */
body.site .sidebar { background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
body.site .sidebar .brand { padding: 16px 20px; border-bottom: 1px solid var(--border); }
body.site .nav-link { font-size: 13.5px; padding: 9px 10px; }
body.site .nav-link.active { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(16, 185, 129, .8); }
body.site .nav-link.active i { color: #fff; }
.nav-link .nl-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-3); font-size: 16px; flex: none; }
.nav-link.active .nl-ico { background: rgba(255, 255, 255, .22); }
.c1 { color: #16a34a !important; } .c2 { color: #0d9488 !important; } .c3 { color: #0284c7 !important; } .c4 { color: #059669 !important; }
.c5 { color: #d97706 !important; } .c6 { color: #e11d48 !important; } .c7 { color: #4f46e5 !important; } .c8 { color: #65a30d !important; }
.nav-link.active .nl-ico i { color: #fff !important; }

/* ---------- Topbar ---------- */
body.site .topbar { background: var(--grad-top); border-bottom: 1px solid var(--border-strong); height: 64px; }
.topbar-logo { display: none; min-width: 0; }
.topbar-logo .logo img { height: 32px; max-width: 150px; }
.pref-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font: 700 13px var(--font); cursor: pointer; white-space: nowrap; }
.pref-btn:hover { border-color: var(--primary); color: var(--primary-text); }
.dropdown-menu .active { color: var(--primary-text); background: var(--primary-soft); }
body.site .icon-btn { border-color: var(--border-strong); }
body.site .top-balance { background: var(--surface); color: var(--primary-text); border: 1px solid var(--border-strong); }
body.site .balance-card { background: var(--grad); }
body.site .avatar { border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px #fff; }
[data-theme="dark"] body.site .avatar { box-shadow: 0 0 0 3px var(--surface-3); }
.install-btn { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--grad); color: #fff; font: 700 13px var(--font); cursor: pointer; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(16, 185, 129, .9); }
.install-btn.show { display: inline-flex; }
.install-btn i { font-size: 17px; }
.impersonate-bar { background: #f59e0b; color: #1c1300; font-weight: 700; font-size: 13px; padding: 8px 16px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.impersonate-bar a { color: #1c1300; text-decoration: underline; }

/* =========================================================
   Dashboard (new order page)
   ========================================================= */
.dash { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.welcome { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.welcome::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.welcome h2 { font-size: 17px; margin: 0 0 2px; font-weight: 700; }
.welcome h2 b { color: var(--primary-text); font-weight: 800; }
.welcome h2 .ri-verified-badge-fill { color: #0ea5e9; font-size: 18px; vertical-align: -3px; }
.welcome .date { color: var(--muted); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.welcome .w-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-text); display: grid; place-items: center; font-size: 23px; flex: none; }

.mini-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mstat { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); min-width: 0; color: var(--text); }
.mstat:hover { opacity: 1; border-color: var(--border-strong); }
.mstat .ms-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; flex: none; }
.mstat .ms-lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mstat .ms-val { font-size: 17px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mstat > div { min-width: 0; }
.ms-green { background: rgba(34, 197, 94, .14); color: #15803d; }
.ms-blue { background: rgba(14, 165, 233, .13); color: #0369a1; }
.ms-amber { background: rgba(245, 158, 11, .15); color: #b45309; }
.ms-teal { background: rgba(20, 184, 166, .14); color: #0f766e; }
[data-theme="dark"] .ms-green { color: #4ade80; } [data-theme="dark"] .ms-blue { color: #38bdf8; }
[data-theme="dark"] .ms-amber { color: #fbbf24; } [data-theme="dark"] .ms-teal { color: #2dd4bf; }

/* Small social-media buttons */
.socials { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.soc { height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--green-line); background: var(--surface); cursor: pointer; padding: 0; transition: background .15s, transform .15s, box-shadow .15s; }
.soc:hover { transform: translateY(-1px); background: var(--surface-2); }
.soc.active { background: var(--primary-soft); box-shadow: 0 0 0 3px var(--primary-soft); border-color: var(--primary); }
.soc i { font-size: 21px; line-height: 1; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.soc img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.soc .soc-all { font-size: 21px; color: var(--primary-text); -webkit-text-fill-color: currentColor; background: none; }

/* Notice ticker */
.ticker { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 0 0 12px; border-radius: 12px; background: #0b2a1e; color: #eafff4; overflow: hidden; }
[data-theme="dark"] .ticker { background: #021009; border: 1px solid var(--border); }
.ticker .tk-ico { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #22c55e; color: #04230f; font-size: 15px; }
.ticker .tk-view { flex: 1; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .tk-track { display: inline-block; padding-left: 100%; animation: ticker 28s linear infinite; font-weight: 600; font-size: 13.5px; }
.ticker .tk-track b { color: #86efac; }
.ticker .tk-track span + span::before { content: '•'; margin: 0 18px; color: #4ade80; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker .tk-track { animation: none; padding-left: 0; } }

.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa-btn { height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; color: #fff !important; font-weight: 700; font-size: 15px; background: var(--grad-btn); box-shadow: 0 10px 22px -12px rgba(16, 185, 129, .9); border: 0; cursor: pointer; font-family: var(--font); }
.qa-btn:hover { opacity: .95; transform: translateY(-1px); }
.qa-btn i { font-size: 19px; }

/* ---------- Platform tiles (old style, kept for other pages) ---------- */
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-bottom: 18px; }
.platform { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-radius: 16px; border: 2px solid var(--border); background: var(--surface-2); cursor: pointer; font: 700 12px var(--font); color: var(--text-2); transition: all .15s; text-align: center; }
.platform:hover { transform: translateY(-2px); border-color: var(--primary); }
.platform.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-text); box-shadow: 0 0 0 4px var(--primary-soft); }
.p-ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 21px; flex: none; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .4); overflow: hidden; }
.p-ico img { width: 100%; height: 100%; object-fit: cover; }
.platform .p-name { line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }

.svc-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.svc-meta .si-box { text-align: center; }

/* ---------- Order cards (mobile list) ---------- */
.order-cards { display: none; }
.ocard { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.ocard:last-child { border-bottom: 0; }
.ocard .oc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.ocard .oc-name { font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.ocard .oc-link { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; margin-bottom: 10px; }
.ocard .oc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 12px; }
.ocard .oc-grid div span { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
.ocard .oc-grid div b { font-size: 13px; }
.ocard .oc-actions { display: flex; gap: 6px; margin-top: 10px; }

/* ---------- Mobile bottom navigation ---------- */
.bottom-nav { display: none; }

/* ---------- Public header / landing extras ---------- */
body.site .site-header { background: color-mix(in srgb, var(--bg) 70%, transparent); }
.lang-cur { display: flex; gap: 8px; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row i { color: var(--success); font-size: 18px; }
.platform-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.platform-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; transition: transform .2s, box-shadow .2s; text-align: center; color: var(--text); }
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); opacity: 1; }
.platform-card .p-ico { width: 54px; height: 54px; border-radius: 17px; font-size: 27px; }
.platform-card small { color: var(--muted); font-weight: 600; font-size: 12px; }
.feature .f-icon.v2 { background: var(--grad); color: #fff; }
.feature:nth-child(6n+2) .f-icon.v2 { background: var(--grad-2); }
.feature:nth-child(6n+3) .f-icon.v2 { background: var(--grad-3); }
.feature:nth-child(6n+4) .f-icon.v2 { background: var(--grad-4); }
.feature:nth-child(6n+5) .f-icon.v2 { background: linear-gradient(120deg, #0ea5e9, #10b981); }
.feature:nth-child(6n+6) .f-icon.v2 { background: linear-gradient(120deg, #84cc16, #22c55e); }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-band .sb { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); text-align: center; }
.stats-band .sb b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-band .sb span { color: var(--muted); font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i { width: 28px; height: 28px; border-radius: 9px; background: var(--success-soft); color: var(--success); display: grid; place-items: center; flex: none; font-size: 16px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.review .stars { color: #f59e0b; margin-bottom: 10px; }
.review p { color: var(--text-2); }
.review .who { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pay-logos { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pay-logo { height: 52px; min-width: 110px; padding: 0 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; }
.pay-logo img { max-height: 30px; max-width: 110px; object-fit: contain; }
.credit { font-size: 13px; color: var(--muted); }
.credit a { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { font-size: 14px; margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--muted); font-weight: 600; padding: 4px 0; font-size: 14px; }
.footer-grid a:hover { color: var(--primary-text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 30px; padding-top: 20px; }
.agency-card { display: flex; gap: 20px; align-items: center; padding: 28px; border-radius: 24px; background: var(--grad); color: #fff; flex-wrap: wrap; }
.agency-card h3 { color: #fff; margin: 0 0 4px; }
.agency-card p { color: rgba(255, 255, 255, .88); margin: 0; }
.agency-card .ag-ico { width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 30px; flex: none; }
.prose { white-space: pre-line; line-height: 1.85; color: var(--text-2); font-size: 15.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
  .split, .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body.site.has-bottom-nav { padding-bottom: 76px; }
  body.site.has-bottom-nav .app-footer { display: none; }
  .topbar-logo { display: flex; flex: 1; }
  body.site .topbar .page-title { display: none; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font: 700 10.5px var(--font); color: var(--muted); background: none; border: 0; cursor: pointer; }
  .bottom-nav i { font-size: 22px; }
  .bottom-nav .active { color: var(--primary-text); }
  .bottom-nav .bn-main i { width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -8px rgba(16, 185, 129, .8); border: 4px solid var(--bg); }
  .lang-cur .pref-btn .lbl { display: none; }
  .install-btn .lbl { display: none; }
  .install-btn { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 640px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .platform-card { padding: 16px 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-band .sb { padding: 18px; }
  .stats-band .sb b { font-size: 26px; }
  .platforms { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .platform { padding: 10px 4px; font-size: 11px; border-radius: 14px; }
  .p-ico { width: 34px; height: 34px; font-size: 18px; border-radius: 11px; }
  .svc-meta { grid-template-columns: repeat(2, 1fr); }
  .table-desktop { display: none; }
  .order-cards { display: block; }
  .logo img { height: 32px; max-width: 140px; }
  .pref-btn { height: 36px; padding: 0 9px; }
  .topbar .icon-btn, .install-btn { width: 36px; height: 36px; }
  body.site .avatar { width: 36px; height: 36px; }
  .topbar { gap: 6px; }
  .agency-card { padding: 22px; }
  .socials { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .soc { height: 40px; }
  .soc i { font-size: 19px; }
  .mstat { padding: 11px; gap: 10px; border-radius: 14px; }
  .mstat .ms-ico { width: 36px; height: 36px; font-size: 18px; border-radius: 11px; }
  .mstat .ms-val { font-size: 15px; }
  .mstat .ms-lbl { font-size: 11.5px; }
  .mini-stats { gap: 10px; }
  .welcome { padding: 14px; }
  .welcome h2 { font-size: 15.5px; }
  .welcome .w-ico { display: none; }
  .qa-btn { height: 44px; font-size: 14px; }
  .dash { gap: 12px; }
}
@media (max-width: 380px) {
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .ocard .oc-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-logo .logo img { max-width: 112px; }
}

/* ---------- Small helpers ---------- */
.topbar .page-title { min-width: 0; flex: 1; }
.topbar .spacer { display: none; }
.nav-links .show-mobile-only { display: none; }
.auth-mobile-logo { display: none; margin-bottom: 26px; }
.auth-theme { position: absolute; top: 18px; right: 18px; }
body.site .auth-side { background: var(--grad); }
body.site .auth-side .logo, body.site .auth-side .logo .name { color: #fff; }
body.site .auth-side .brand-mark { background: rgba(255,255,255,.2); box-shadow: none; }
.order-summary { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.order-summary div { display: flex; justify-content: space-between; gap: 10px; }
.pay-box { border-radius: 16px; padding: 16px; background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 16px; }
.pay-box .big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ref-box { border-radius: 18px; padding: 20px; background: var(--grad); color: #fff; }
.ref-box .form-control { background: rgba(255,255,255,.95); color: #0b2a1e; border: 0; }
@media (max-width: 1024px) {
  .auth-mobile-logo { display: inline-flex; }
  .auth-main { padding-top: 80px; }
}
@media (max-width: 900px) {
  .nav-links.open .show-mobile-only { display: block; }
}
@media (max-width: 640px) {
  .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .method .m-box { padding: 14px 8px; }
  .pay-number { font-size: 17px; flex-wrap: wrap; }
}

/* ---------- Floating WhatsApp support button ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 65;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 31px;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .65), 0 4px 10px rgba(0, 0, 0, .15);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; opacity: 1; box-shadow: 0 14px 30px -6px rgba(37, 211, 102, .8); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: -1; animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 900px) {
  .wa-float { right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 52px; height: 52px; font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }

/* ---------- PWA: running as installed app ---------- */
@media (display-mode: standalone) {
  .install-btn { display: none !important; }
}
