/* ================================================================
   HQLikes Payment Portal — style.css
   Light theme. Minimal. Payment-focused.
================================================================ */

:root {
  --bg:       #f4f6f9;
  --surface:  #ffffff;
  --border:   #e2e8f0;
  --blue:     #2563eb;
  --blue-d:   #1d4ed8;
  --blue-bg:  #eff6ff;
  --blue-br:  #bfdbfe;
  --green:    #059669;
  --green-bg: #ecfdf5;
  --green-br: #a7f3d0;
  --amber:    #d97706;
  --amber-bg: #fffbeb;
  --amber-br: #fde68a;
  --red:      #dc2626;
  --red-bg:   #fef2f2;
  --red-br:   #fecaca;
  --text-1:   #0f172a;
  --text-2:   #334155;
  --text-3:   #64748b;
  --text-4:   #94a3b8;
  --r:        9px;
  --r-lg:     13px;
  --font:     -apple-system, BlinkMacSystemFont, 'Segoe UI', 'DM Sans', sans-serif;
  --topbar-h: 56px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
body.net-body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-2);
  margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
}
body.net-body.hq-auth { padding-top: var(--topbar-h); }
/* Extra buffer so first card is never hidden under fixed topbar */
.net-main { padding-top: 8px; }
a { color: var(--blue); }

/* ════════════════════════════════════════════════════════════
   TOPBAR — minimal, balance + icon actions
════════════════════════════════════════════════════════════ */
.net-topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 16px; gap: 10px;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

/* Balance pill — left, links back to add funds */
.net-balance-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-2); font-weight: 500;
  background: var(--green-bg); border: 1px solid var(--green-br);
  border-radius: 99px; padding: 6px 14px;
  text-decoration: none !important;
  margin-right: auto; flex-shrink: 0;
}
.net-balance-pill strong { color: var(--green); font-weight: 800; }
.net-balance-pill svg { color: var(--green); flex-shrink: 0; }

/* Icon actions — right side */
.net-topbar__actions { display: flex; align-items: center; gap: 2px; }

.net-icon-btn {
  width: 38px; height: 38px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3) !important; text-decoration: none !important;
  transition: all .13s; flex-shrink: 0;
  border: 1px solid transparent;
}
.net-icon-btn:hover {
  color: var(--text-1) !important;
  background: var(--bg);
  border-color: var(--border);
}
.net-icon-btn--support:hover { color: var(--blue) !important; background: var(--blue-bg); border-color: var(--blue-br); }
.net-icon-btn--logout:hover  { color: var(--red)  !important; background: var(--red-bg);  border-color: var(--red-br); }

/* Tooltip on hover — native title attr, no JS needed */
.net-icon-btn[title] { position: relative; }

/* ════════════════════════════════════════════════════════════
   MAIN + FOOTER
════════════════════════════════════════════════════════════ */
.net-main {
  max-width: 560px; margin: 0 auto;
  padding: 28px 16px 60px;
}
.net-footer {
  text-align: center; padding: 18px;
  font-size: 11.5px; color: var(--text-4);
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════════
   CARD
════════════════════════════════════════════════════════════ */
.net-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.net-card__body { padding: 22px; }
.net-card__head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.net-card__title { font-size: 16px; font-weight: 800; color: var(--text-1); letter-spacing: -.2px; }
.net-card__sub   { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }



/* ════════════════════════════════════════════════════════════
   TRUST STRIP
════════════════════════════════════════════════════════════ */
.net-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  padding: 10px 14px; margin-bottom: 20px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); font-size: 11.5px; color: var(--text-3); font-weight: 500;
}
.net-trust-item { display: flex; align-items: center; gap: 5px; }
.net-trust-item svg { color: var(--green); }

/* ════════════════════════════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════════════════════════════ */
.net-form-group { margin-bottom: 18px; }

.net-label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--text-2); margin-bottom: 6px;
}
.net-select {
  width: 100%; padding: 11px 32px 11px 12px;
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 1.5px solid var(--border); border-radius: var(--r);
  color: var(--text-1); font-size: 14px; font-weight: 600;
  font-family: var(--font); appearance: none; cursor: pointer;
  outline: none; transition: border-color .15s;
}
.net-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.net-amount-wrap { position: relative; }
.net-amount-symbol {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 18px; font-weight: 700; color: var(--text-4); pointer-events: none;
}
.net-amount-field {
  width: 100%; padding: 13px 12px 13px 30px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r); color: var(--text-1);
  font-size: 22px; font-weight: 700; outline: none;
  font-family: var(--font); transition: border-color .15s;
}
.net-amount-field:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.net-amount-field::placeholder { color: var(--text-4); font-weight: 400; font-size: 18px; }
.net-amount-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }

/* Plain amount input — matches base form-control but styled */
.net-amount-input {
  width: 100%;
  padding: 11px 12px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
  color: var(--text-1) !important;
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--r) !important;
  outline: none !important;
  transition: border-color .15s !important;
}
.net-amount-input:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1) !important;
}
/* Panel-injected fee/total fields after amount */
.net-card__body .form-group { margin-bottom: 18px; }
.net-card__body .form-group label,
.net-card__body .control-label {
  font-size: 12px !important; font-weight: 700 !important;
  color: var(--text-2) !important; margin-bottom: 6px !important;
  display: block !important; text-transform: uppercase !important;
  letter-spacing: .4px !important;
}
.net-card__body .form-control {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--r) !important;
  font-size: 14px !important;
  padding: 10px 12px !important;
  color: var(--text-1) !important;
  background: var(--surface) !important;
  height: auto !important;
  font-family: var(--font) !important;
  box-shadow: none !important;
}
.net-card__body .form-control:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1) !important;
  outline: none !important;
}
/* Read-only fee/total fields — tinted so users know they can't edit */
.net-card__body .form-control[readonly],
.net-card__body .form-control[disabled] {
  background: var(--bg) !important;
  color: var(--text-2) !important;
  font-weight: 600 !important;
}
/* Panel-injected instruction/description text box */
.net-card--instructions .well,
.net-card--instructions p,
.net-card--instructions div {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: var(--text-2) !important;
}
/* Instruction section label */
.net-card__body .form-group:has(.form-control[id="instruction"]) label,
.net-card__body label[for="instruction"] {
  color: var(--text-3) !important;
}

/* ════════════════════════════════════════════════════════════
   SUBMIT BUTTON
════════════════════════════════════════════════════════════ */
.net-submit {
  width: 100%; padding: 14px; border-radius: var(--r);
  background: var(--blue); color: #fff; border: none;
  font-size: 15px; font-weight: 700; font-family: var(--font);
  cursor: pointer; transition: background .15s, box-shadow .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 3px 12px rgba(37,99,235,.25); margin-top: 6px;
}
.net-submit:hover { background: var(--blue-d); }
.net-submit__spinner {
  display: none; width: 17px; height: 17px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  animation: netSpin .7s linear infinite;
}
.net-submit.is-loading .net-submit__spinner { display: block; }
.net-submit.is-loading .net-submit__label  { display: none; }
@keyframes netSpin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════
   ALERTS
════════════════════════════════════════════════════════════ */
.net-alert {
  padding: 11px 14px; border-radius: var(--r);
  font-size: 13.5px; margin-bottom: 14px;
  border-left: 3px solid; display: block;
}
.net-alert[style*="display: none"],
.net-alert[style*="display:none"] { display: none !important; }
.net-alert--success { background: var(--green-bg); border-color: var(--green); color: #065f46; }
.net-alert--danger  { background: var(--red-bg);   border-color: var(--red);   color: #991b1b; }
.net-alert--info    { background: var(--blue-bg);  border-color: var(--blue);  color: #1e40af; }

/* Panel bootstrap alerts */
.alert { display: block !important; border-radius: var(--r) !important; padding: 11px 14px !important; font-size: 13.5px !important; }
.alert-success { background: var(--green-bg) !important; border: 1px solid var(--green-br) !important; color: #065f46 !important; }
.alert-danger  { background: var(--red-bg)   !important; border: 1px solid var(--red-br)   !important; color: #991b1b !important; }
.alert[style*="display: none"],
.alert[style*="display:none"] { display: none !important; }

/* ════════════════════════════════════════════════════════════
   GATEWAY INSTRUCTIONS
   Wraps {{ addfunds }} — normalises old inline-style HTML
   to look correct on light background
════════════════════════════════════════════════════════════ */
.net-instructions { margin-bottom: 18px; }

/* Force light-theme colours on old dark inline HTML */
.net-instructions * { font-family: var(--font) !important; }
.net-instructions [style*="color: #94a3b8"],
.net-instructions [style*="color: #cbd5e1"],
.net-instructions [style*="color: #a7f3d0"] { color: var(--text-3) !important; }
.net-instructions [style*="color: #ffffff"],
.net-instructions [style*="color:white"]    { color: var(--text-1) !important; }
.net-instructions [style*="color: #10b981"] { color: var(--green)  !important; }
.net-instructions [style*="color: #fbbf24"] { color: var(--amber)  !important; }
.net-instructions [style*="color: #3b82f6"] { color: var(--blue)   !important; }
.net-instructions a                          { color: var(--blue)   !important; }
/* Old dark backgrounds → light equivalents */
.net-instructions [style*="background: rgba(16, 185, 129"] {
  background: var(--green-bg)  !important; border-color: var(--green-br) !important;
}
.net-instructions [style*="background: rgba(255, 255, 255, 0.03)"],
.net-instructions [style*="background: rgba(0,0,0"],
.net-instructions [style*="background: rgba(0, 0, 0"] {
  background: var(--bg) !important; border-color: var(--border) !important;
}
.net-instructions [style*="background: rgba(245, 158, 11"] {
  background: var(--amber-bg) !important;
}

/* New light-theme gateway HTML classes */
.gw-instant {
  background: var(--green-bg); border: 1.5px solid var(--green-br);
  border-radius: var(--r); padding: 13px 15px; margin-bottom: 12px;
  display: flex; gap: 12px; align-items: flex-start;
}
.gw-instant__icon  { font-size: 18px; flex-shrink: 0; }
.gw-instant__title { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 2px; }
.gw-instant__sub   { font-size: 12px; color: #047857; line-height: 1.5; }
.gw-fee {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); margin-bottom: 12px;
}
.gw-fee__label { font-size: 12.5px; color: var(--text-3); }
.gw-fee__value { font-size: 14px; font-weight: 800; color: var(--text-1); }
.gw-warning {
  background: var(--amber-bg); border-left: 3px solid var(--amber);
  border-radius: 6px; padding: 10px 13px; margin-bottom: 12px;
  font-size: 12.5px; color: #92400e; line-height: 1.55;
}
.gw-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px; margin-bottom: 12px;
}
.gw-step { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.gw-step:last-child { margin-bottom: 0; }
.gw-step__num {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; margin-top: 1px;
}
.gw-step__num--done   { background: var(--green); }
.gw-step__num--purple { background: #7c3aed; }
.gw-step__title { font-size: 13px; font-weight: 700; color: var(--text-1); margin-bottom: 2px; }
.gw-step__sub   { font-size: 12px; color: var(--text-3); line-height: 1.5; }
.gw-code {
  font-family: monospace !important; font-size: 11.5px; color: var(--text-2);
  background: var(--border); padding: 5px 9px; border-radius: 5px;
  margin-top: 6px; display: block;
}
.gw-support { padding-top: 10px; border-top: 1px solid var(--border); }
.gw-support summary {
  font-size: 12.5px; color: var(--blue); font-weight: 600;
  cursor: pointer; list-style: none; outline: none;
}
.gw-support__body {
  margin-top: 8px; font-size: 12px; color: var(--text-3); line-height: 1.7;
  padding: 10px 12px; background: var(--surface);
  border-radius: 7px; border: 1px solid var(--border);
}
.gw-support__body a { color: var(--blue); font-weight: 600; }
.gw-support__body b,
.gw-support__body strong { color: var(--text-2); }

/* ════════════════════════════════════════════════════════════
   TRANSACTION TABLE
════════════════════════════════════════════════════════════ */
.net-history-title {
  font-size: 14px; font-weight: 700; color: var(--text-1);
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.net-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.net-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.net-table th {
  padding: 8px 12px; text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; color: var(--text-3);
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.net-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
.net-table tr:last-child td { border-bottom: none; }
.net-table tr:hover td { background: var(--bg); }
.net-id-pill {
  font-family: monospace; font-size: 11.5px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 6px; color: var(--text-3);
}
.net-date { display: flex; flex-direction: column; gap: 1px; }
.net-date__day  { font-size: 12.5px; color: var(--text-2); }
.net-date__time { font-size: 11px;   color: var(--text-3); }

.net-pagination {
  display: flex; gap: 4px; justify-content: center;
  list-style: none; padding: 14px 0 0; flex-wrap: wrap; margin: 0;
}
.net-pagination li a {
  display: flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px; border-radius: 7px; padding: 0 8px;
  font-size: 13px; background: var(--bg); border: 1px solid var(--border);
  color: var(--text-2); text-decoration: none !important; transition: all .12s;
}
.net-pagination li a:hover { border-color: var(--blue); color: var(--blue); }
.net-pagination li.active a { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ════════════════════════════════════════════════════════════
   AUTH PAGES
════════════════════════════════════════════════════════════ */
.net-auth-page {
  min-height: 100vh; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.net-auth-box {
  width: 100%; max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 28px 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.net-auth-brand {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 22px;
}
.net-auth-brand__img  { height: 26px; width: auto; }
.net-auth-brand__name { font-size: 16px; font-weight: 800; color: var(--text-1); }
.net-auth-brand__tag  {
  font-size: 10px; font-weight: 600; color: var(--text-3);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 6px;
}
.net-auth-title {
  font-size: 20px; font-weight: 800; color: var(--text-1);
  letter-spacing: -.3px; margin: 0 0 4px; font-family: var(--font);
}
.net-auth-sub  { font-size: 13.5px; color: var(--text-3); margin: 0 0 18px; }
.net-auth-sub strong { color: var(--text-1); }

/* Notice boxes */
.net-auth-notice {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 11px 13px; border-radius: var(--r);
  font-size: 13px; line-height: 1.5; margin-bottom: 20px;
}
.net-auth-notice--blue {
  background: var(--blue-bg); border: 1px solid var(--blue-br); color: #1e40af;
}
.net-auth-notice--blue a { color: var(--text-1); font-weight: 700; text-decoration: underline; }
.net-auth-notice--amber {
  background: var(--amber-bg); border: 1px solid var(--amber-br); color: #92400e;
}
.net-auth-notice--amber svg { color: var(--amber); margin-top: 2px; }
.net-auth-notice--amber strong { color: #92400e; }
.net-auth-notice--amber br + span { color: #78350f; }

/* Error alert with sub-note */
.net-alert--danger { position: relative; }

/* Fields */
.net-field { margin-bottom: 16px; }
.net-input {
  width: 100%; padding: 10px 12px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r); color: var(--text-1); font-size: 14px;
  font-family: var(--font); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.net-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.net-input::placeholder { color: var(--text-4); }

.net-field-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.net-field-row .net-label { margin: 0; }
.net-forgot { font-size: 12px; color: var(--text-3); text-decoration: none; }
.net-forgot:hover { color: var(--blue); }
.net-field-hint {
  display: block; font-size: 12px; color: var(--text-3);
  margin-top: 6px; line-height: 1.5;
}

.net-pw-wrap { position: relative; }
.net-pw-wrap .net-input { padding-right: 42px; }
.net-pw-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--text-4); display: flex; transition: color .13s;
}
.net-pw-btn:hover { color: var(--blue); }
.net-pw-btn .eye-off { display: none; }
.net-pw-btn.showing .eye-on  { display: none; }
.net-pw-btn.showing .eye-off { display: block; }

.net-remember {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px; font-size: 13px; color: var(--text-3); cursor: pointer;
}
.net-remember input[type="checkbox"] { accent-color: var(--blue); flex-shrink: 0; }

.net-captcha { margin-bottom: 16px; }

/* Auth submit */
.net-btn-submit {
  width: 100%; padding: 13px; border-radius: var(--r);
  background: var(--blue); color: #fff; border: none;
  font-size: 15px; font-weight: 700; font-family: var(--font);
  cursor: pointer; transition: background .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 3px 10px rgba(37,99,235,.2); margin-bottom: 0;
}
.net-btn-submit:hover { background: var(--blue-d); }
.net-btn-submit__spinner {
  display: none; width: 17px; height: 17px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  animation: netSpin .7s linear infinite;
}
.net-btn-submit.is-loading .net-btn-submit__spinner { display: block; }
.net-btn-submit.is-loading .net-btn-submit__label  { display: none; }

.net-or {
  text-align: center; font-size: 12px; color: var(--text-4);
  margin: 14px 0; position: relative;
}
.net-or::before, .net-or::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 20px); height: 1px; background: var(--border);
}
.net-or::before { left: 0; } .net-or::after { right: 0; }

.net-auth-switch {
  text-align: center; font-size: 13px; color: var(--text-3);
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.net-auth-footer {
  text-align: center; font-size: 11px; color: var(--text-4);
  margin-top: 14px;
}

/* ════════════════════════════════════════════════════════════
   MOBILE
════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .net-main    { padding: 18px 12px 48px; }
  .net-card__body { padding: 16px; }
  .net-topbar  { padding: 0 12px; gap: 8px; }
  .net-brand__badge { display: none; }
  .net-auth-box { padding: 22px 18px 18px; border-radius: var(--r); }
  .net-trust   { gap: 8px; font-size: 11px; }
  .net-table th:nth-child(2),
  .net-table td:nth-child(2) { display: none; } /* Hide date on mobile */
}

/* Instructions card — slightly tinted to visually separate from form */
.net-card--instructions { background: #fafbfc; }

/* ── Topbar icon button size ── */
.net-icon-btn {
  width: 40px !important; height: 40px !important;
}
.net-icon-btn svg { width: 19px !important; height: 19px !important; }

/* ── Card body breathing room ── */
.net-card__body { padding: 24px !important; }
.net-card { margin-bottom: 20px !important; }

/* ── Net form group label matches panel style ── */
.net-form-group .net-label {
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ── Amount input larger ── */
.net-amount-input {
  font-size: 22px !important;
  font-weight: 800 !important;
  padding: 13px 12px !important;
  letter-spacing: -.3px !important;
}

/* ── Panel instruction box ── */
.net-card--instructions {
  border-left: 3px solid var(--blue) !important;
  background: var(--blue-bg) !important;
}
.net-card--instructions .net-card__body {
  font-size: 13.5px !important;
  color: var(--text-2) !important;
  line-height: 1.7 !important;
}
.net-card--instructions .net-card__body p { margin-bottom: 8px; }
.net-card--instructions .net-card__body p:last-child { margin-bottom: 0; }

/* ── Submit button — more prominent ── */
.net-submit {
  padding: 15px !important;
  font-size: 15.5px !important;
  letter-spacing: -.1px !important;
  box-shadow: 0 4px 14px rgba(37,99,235,.3) !important;
}
.net-submit:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(37,99,235,.35) !important;
}

/* ════════════════════════════════════════════════════════════
   MOBILE INPUT ZOOM PREVENTION — hqlikes.net
   iOS Safari auto-zooms when input font-size < 16px.
   ONLY applies at ≤767px — desktop unchanged.
════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .net-select,
  .net-input,
  .net-amount-input,
  input, select, textarea { font-size: 16px !important; }
}

/* ════════════════════════════════════════════════════════════
   2026-11-09 — look and wording match hqlikes.com
   (same font and colour tokens; brand in the topbar; help link; method note)
════════════════════════════════════════════════════════════ */
:root {
  --font:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg:     #f0f2f5;
  --border: #e5e7eb;
  --green:  #15803d;
  --text-1: #111827;
  --text-2: #374151;
  --text-3: #4b5563;
  --text-4: #636b78;
}
.net-brand {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  text-decoration: none !important; color: var(--text-1) !important;
  font-weight: 700; font-size: 16px; letter-spacing: -.3px;
}
.net-brand svg { color: var(--blue); flex-shrink: 0; }
.net-brand__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--text-3);
  background: var(--bg); border: 1px solid var(--border); border-radius: 99px; padding: 2px 8px;
}
.net-topbar .net-balance-pill { margin-left: 6px; }
.net-trust-item--link { color: inherit !important; text-decoration: none !important; }
.net-trust-item--link:hover { color: var(--blue) !important; }
.net-method-note { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
.net-method-note:empty { display: none; }
.net-footer a { color: inherit; text-decoration: underline; }
@media (max-width: 480px) {
  .net-topbar { gap: 6px; padding: 0 12px; }
  .net-brand__tag, .net-balance-pill__label { display: none; }
  .net-topbar .net-balance-pill { padding: 6px 10px; }
  .net-icon-btn { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .net-brand__name { display: none; }
}

/* ── Payment journey (2026-11-09): card help, way back, filled-in username ── */
.net-help { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.net-help summary { cursor: pointer; font-weight: 600; color: var(--blue); list-style: none; }
.net-help summary::-webkit-details-marker { display: none; }
.net-help summary::before { content: '▸'; display: inline-block; width: 14px; transition: transform .15s; }
.net-help[open] summary::before { transform: rotate(90deg); }
.net-help ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.55; }
.net-help li + li { margin-top: 4px; }
.net-back .net-card__body { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.net-back__text { flex: 1 1 260px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.net-back__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: var(--r); background: var(--surface);
  border: 1.5px solid var(--blue); color: var(--blue) !important;
  font-weight: 600; font-size: 14px; text-decoration: none !important;
}
.net-back__btn:hover { background: var(--blue-bg); }   /* secondary: Pay stays the main button */
.net-prefill strong { color: var(--text-1); }
.net-auth-footer a { color: inherit; text-decoration: underline; }
@media (max-width: 480px) { .net-back__btn { width: 100%; } }

/* Signed-in pages: start below the fixed topbar (the first card was hidden under it) */
.net-topbar ~ .net-main { padding-top: calc(var(--topbar-h) + 18px); }

/* ══ Sign in / Register redesign (2026-11-09): brand bar, one card with tabs, calm hints, 44px targets ══ */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { scroll-padding-top: 72px; }
.g-top { position: sticky; top: 0; z-index: 50; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.g-brand { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; font-weight: 700; font-size: 16px; letter-spacing: -.3px; color: var(--text-1) !important; text-decoration: none !important; }
.g-brand svg { color: var(--blue); flex-shrink: 0; }
.g-tag { font-size: 11px; font-weight: 600; letter-spacing: 0; color: #1d4ed8; background: var(--blue-bg); border-radius: 6px; padding: 2px 7px; }
.g-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; white-space: nowrap; color: var(--text-3) !important; text-decoration: none !important; }
.g-main { padding: 24px 16px 40px; }
.g-main .net-auth-page { display: block; min-height: 0; padding: 0; background: none; }
.g-main .net-auth-box { max-width: 420px; margin: 0 auto; padding: 20px; box-sizing: border-box; }
.g-purpose { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.g-why { margin: 2px 0 14px; font-size: 13.5px; color: var(--text-3); }
.g-why summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-weight: 600; color: #1d4ed8; list-style: none; }
.g-why summary::-webkit-details-marker { display: none; }
.g-why summary::before { content: '▸'; display: inline-block; transition: transform .15s; }
.g-why[open] summary::before { transform: rotate(90deg); }
.g-why p { margin: 0 0 4px; line-height: 1.55; }
.g-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; background: var(--bg); border-radius: 10px; }
.g-tabs a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: 14.5px; color: var(--text-3) !important; text-decoration: none !important; }
.g-tabs a.is-on { background: var(--surface); color: var(--text-1) !important; border-color: #6b7280; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.g-main .net-input { font-size: 16px; min-height: 48px; border-color: #8b929e; }
.g-main .net-pw-wrap .net-input { padding-right: 48px; }
.g-main .net-pw-btn { width: 44px; height: 44px; }
.g-amber { color: #92400e !important; }
.g-forgot { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; color: #1d4ed8 !important; }
.g-main .net-remember { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.g-main .net-remember input { width: 20px; height: 20px; }
.g-alert-more { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(220,38,38,.2); font-size: 13px; }
.g-alert-more a { color: inherit; font-weight: 700; text-decoration: underline; }
.g-cap-msg { margin: -4px 0 12px; font-size: 13px; font-weight: 600; color: #b91c1c; }
.g-help { max-width: 420px; margin: 16px auto 0; text-align: center; font-size: 13px; color: var(--text-3); }
.g-help a { color: inherit; text-decoration: underline; }
.g-foot { padding: 0 16px 24px; text-align: center; font-size: 12px; color: var(--text-3); }
.g-top a:focus-visible, .g-main a:focus-visible, .g-main button:focus-visible, .g-main input:focus-visible, .g-main summary:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
@media (max-width: 359px) {
  .g-main { padding: 16px 8px 32px; }
  .g-main .net-auth-box { padding: 12px; }
  .g-top { gap: 6px; padding: 0 10px; }
  .g-tag { display: none; }
  .g-main .net-captcha { height: 69px; overflow: hidden; }
  .g-main .net-captcha .g-recaptcha { transform: scale(.88); transform-origin: 0 0; }
}

/* Small phones: the method name fits on one line (Card 2 · Apple / Google Pay) */
@media (max-width: 360px) { .net-main .net-select { font-size: 15px !important; padding-right: 28px !important; } }

/* UPI: the two QR images from the payment-method text, smaller and side by side so the steps and the Transaction ID box come into view */
.net-main #fields img, .net-main form img[src*="postimg"] { display: inline-block; width: calc(50% - 6px) !important; max-width: 180px; height: auto; margin: 0 2px 10px; vertical-align: top; border-radius: 8px; }

/* ── Add funds (2026-11-09): exact total line, next-page line, return message ── */
.af-live { margin: 4px 0 10px; font-size: 15px; font-weight: 600; color: var(--text-1); }
.af-next { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.net-back { display: none !important; }
.af-return { position: relative; display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; padding: 14px 44px 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.af-return p { margin: 0; }
.af-return.is-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.af-return.is-open { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }
.af-return__btn { align-self: flex-start; font-weight: 600; color: #15803d !important; }
.af-return__x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; background: none; font-size: 20px; color: inherit; cursor: pointer; }
.net-main #amount { font-size: 16px; }

/* Telegram support line (2026-11-09) */
.af-help { margin: 10px 0 0; font-size: 13.5px; color: var(--text-3); }
.af-help a, .af-return__help a { font-weight: 600; color: #1d4ed8 !important; text-decoration: underline; }
.af-return .af-return__help { font-size: 13px; }

/* ── Telegram support buttons (2026-11-09) ── */
.tg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.tg-btn--outline { background: var(--surface); border: 1.5px solid #229ED9; color: #1a7fb0 !important; }
.tg-btn--outline:hover { background: #eef8fd; }
.tg-btn svg { flex-shrink: 0; }
.af-help { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 12px 0 0; font-size: 13.5px; color: var(--text-3); }
.af-return__tg { align-self: flex-start; }
.g-help { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tg-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 99px; background: #229ED9; color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none !important; box-shadow: 0 4px 14px rgba(34,158,217,.35); }
.tg-fab:hover { background: #1a8cc3; }
.tg-fab:focus-visible, .tg-btn:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
.net-main, .g-main { padding-bottom: 88px; }   /* keep the last button clear of the floating button */
@media (max-width: 400px) { .tg-fab span { display: none; } .tg-fab { width: 52px; height: 52px; padding: 0; justify-content: center; } .tg-fab svg { width: 24px; height: 24px; } }


/* ══ Review round (2026-11-09): fixes agreed by 3 independent auditors (designer, buyer, accessibility) ══ */
:root { --field: #8a919c; --ink: #111827; --muted: #4b5563; }

/* header: no balance pill; phone = "← hqlikes.com" + Account icon, desktop adds the words and Log out */
.net-topbar__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.net-top-link, .net-top-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: var(--r); font-size: 14px; font-weight: 600; color: #374151 !important; text-decoration: none !important; white-space: nowrap; }
.net-top-link:hover, .net-top-back:hover { background: var(--bg); }
.net-top-back { color: #2563eb !important; }
.net-topbar .net-brand__tag { display: inline-block; }
.net-top-link:focus-visible, .net-top-back:focus-visible, .net-brand:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
@media (max-width: 767px) {
  .net-top-link--logout { display: none; }
  .net-top-link--account { width: 44px; padding: 0; justify-content: center; }
  .net-top-link--account span { display: none; }
  .net-top-back { order: -1; padding: 0 8px; }
}
@media (max-width: 359px) { .net-topbar .net-brand__tag { display: none; } }

/* headings and labels: sentence case, same as the sign-in page */
h1.net-card__title, h2.net-card__title, h2.net-history-title { margin: 0 0 4px; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--ink); }
h2.net-history-title { margin-bottom: 12px; }
h1.net-card__title:focus { outline: none; }
.net-main .net-label, .net-main .control-label, .net-main .net-card__body .form-group label, .net-main .net-card__body .control-label { font-size: 14px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; }
.net-main .net-input, .net-main .form-control, .net-main .net-select { height: auto; min-height: 48px; border: 1px solid var(--field) !important; border-radius: 10px; }
.net-main .net-input:focus, .net-main .form-control:focus, .net-main .net-select:focus { border-color: #2563eb !important; outline: 2px solid #2563eb; outline-offset: 1px; box-shadow: none; }
.net-main [aria-invalid="true"] { border-color: #b42318 !important; }
.net-main .net-btn-submit { width: 100%; min-height: 48px; }
.af-user { color: var(--ink); overflow-wrap: anywhere; }

/* what was received / last moved */
.af-credit { margin: 14px 0 4px; padding: 12px 14px; border-radius: 10px; font-size: 15px; line-height: 1.45; }
.af-credit.is-in { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.af-credit.is-moved { background: #f3f4f6; border: 1px solid var(--border); color: var(--muted); }
.af-credit strong { color: inherit; }
.af-credit a { color: #2563eb !important; font-weight: 600; text-decoration: underline; white-space: nowrap; }

/* total, hints, errors, Pay */
.af-live { margin: 4px 0 8px; font-size: 15px; font-weight: 400; color: var(--muted); }
.af-total { display: block; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ink); font-variant-numeric: tabular-nums; }
.af-break { display: block; font-size: 15px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.af-hint { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.af-hint[hidden] { display: none; }
.af-error { margin: 6px 0 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: #b42318; }
.af-error::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; background: #b42318; color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.net-submit__label { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* return message close button: full-size target */
.af-return { padding-right: 52px; }
.af-return__x { top: 0; right: 0; width: 44px; height: 44px; }

/* payment history: "$" first, right-aligned; moves in grey; date under the method on phones */
.net-table th { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); }
.net-table th:last-child, .net-amount-cell { text-align: right; }
.net-amount-cell { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink) !important; }
.net-table tr.is-move td, .net-table tr.is-move .net-amount-cell { color: var(--muted) !important; font-weight: 400; }
.net-method-cell { overflow-wrap: anywhere; }
.net-row-date { display: none; margin-top: 2px; font-size: 13px; color: var(--muted); }
@media (max-width: 767px) {
  .net-row-date { display: block; }
  .net-table th:nth-child(1), .net-table td:nth-child(1), .net-table th:nth-child(2), .net-table td:nth-child(2) { display: none; }
}

/* account */
.acc-who { margin: 8px 0 2px; font-size: 15px; color: #374151; }
.acc-logout { width: 100%; justify-content: center; margin-top: 14px; }
.acc-pw-note { margin: 4px 0 14px; }
.acc-2fa { display: block; }
.acc-2fa__sum { display: list-item; min-height: 44px; padding: 16px 20px; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--ink); }
.acc-2fa__sum::marker { color: #2563eb; }
.acc-on { margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: #ecfdf3; color: #067647; font-size: 12px; font-weight: 600; }

/* tickets page (now a pointer to hqlikes.com) */
.tk-go { display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: #fff !important; text-decoration: none !important; }

/* sign-in / register heading */
.g-h1 { margin: 0 0 6px; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.g-purpose { font-size: 15px; color: var(--muted); }

/* Telegram: one blue (brand); floating button steps aside (custom.js) */
.tg-fab { background: #2563eb !important; box-shadow: 0 4px 12px rgba(17,24,39,.18); transition: opacity .15s, visibility .15s; }
.tg-fab:hover { background: #1d4ed8 !important; }
.tg-fab.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .tg-fab { transition: none; } }
.tg-btn--outline { border-color: #2563eb !important; color: #2563eb !important; }
.tg-btn--outline:hover { background: #eff6ff !important; }

/* one footer everywhere; room under it for the floating button */
.net-footer, .g-foot { font-size: 13px; line-height: 2; color: var(--muted) !important; }
.net-footer a, .g-foot a { color: #2563eb !important; text-decoration: underline; }
@media (max-width: 767px) {
  .net-footer, .g-foot { padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important; }
  html { scroll-padding-bottom: 96px; }
}


/* ── QA pass on the review round (2026-11-09) ── */
.net-topbar .net-brand__name { display: inline !important; }   /* the name stays on every phone; only the tag drops under 360 px */
@media (max-width: 359px) { .net-top-back { padding: 0 6px; font-size: 13px; } }
.g-main ~ .tg-fab, .g-main + .g-foot + .tg-fab { display: none; }   /* sign-in / register / reset already show the Telegram button under the form */
.g-main .net-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.g-tag { color: var(--text-3) !important; background: var(--bg) !important; border: 1px solid var(--border) !important; }
.g-back { color: #2563eb !important; font-weight: 600; }
.af-credit { margin-bottom: 16px; }
@media (max-width: 767px) { .net-footer, .g-foot { padding-bottom: 24px !important; } }

.net-history-note { margin: -4px 0 12px; }

/* header balance back (2026-11-09): room for it on phones */
.net-topbar .net-balance-pill { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 419px) { .net-topbar .net-brand__tag { display: none; } }
@media (max-width: 359px) { .net-top-back__t { display: none; } .net-topbar .net-balance-pill { padding: 6px 8px; margin-left: 4px; } }

/* ── Help under Pay (2026-11-09 redesign): one bordered panel, two full-width rows ── */
.af-support { margin-top: 16px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.af-row { display: block; box-shadow: 0 -1px 0 var(--border); }   /* hairline between rows; the panel clips it above the first visible row */
.af-row > summary, a.af-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink) !important; text-decoration: none !important; }
.af-row > summary::-webkit-details-marker { display: none; }
.af-row > summary:hover, a.af-row:hover { background: #f9fafb; }
.af-row > summary:focus-visible, a.af-row:focus-visible { outline: 2px solid #2563eb; outline-offset: -2px; }
.af-row__icon { flex: 0 0 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: #f3f4f6; color: #4b5563; }
.af-row__icon--tg { background: #eff6ff; color: #2563eb; }
.af-row__text { flex: 1; min-width: 0; }
.af-row__text small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.af-row__chev { flex: 0 0 18px; display: flex; color: #6b7280; transition: transform .15s ease-out; }
details.af-row[open] .af-row__chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .af-row__chev { transition: none; } }
.af-row__body { margin: 0; padding: 2px 16px 14px 60px; font-size: 14px !important; line-height: 1.5; color: #4b5563; }
.af-row__body li + li { margin-top: 6px; }
.af-row__body a { color: #2563eb !important; text-decoration: underline; }
.af-row[hidden] { display: none; }
@media (max-width: 399px) { .af-row > summary, a.af-row { gap: 10px; padding: 10px 12px; font-size: 14.5px; } .af-row__body { padding-left: 32px; } }
