/* ============================================================
   REAG PANEL — global styles
   Dark premium SaaS / Web3 aesthetic
   ============================================================ */

:root {
  --bg: #0a0b0f;
  --bg-soft: #0d0f15;
  --surface: #13151c;
  --surface-2: #171a22;
  --surface-3: #1c1f29;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e7e9ee;
  --text-dim: #9aa0ad;
  --text-faint: #626878;

  --primary: #6366f1;
  --primary-2: #8b5cf6;
  --accent: #22d3ee;
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(139,92,246,0.16));

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px rgba(99,102,241,0.35), 0 8px 30px -8px rgba(99,102,241,0.45);

  --sidebar-w: 260px;
  --header-h: 68px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

::selection { background: rgba(99,102,241,0.35); }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 20px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2a2e3a; }

/* ---------- Ambient background for auth pages ---------- */
.auth-bg {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 15% 0%, rgba(99,102,241,0.14), transparent 60%),
    radial-gradient(600px 500px at 100% 100%, rgba(139,92,246,0.12), transparent 55%),
    var(--bg);
}
.auth-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 75%);
  pointer-events: none;
}

/* ---------- Glass card ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- Auth panel ---------- */
.auth-panel {
  width: 100%;
  max-width: 420px;
  padding: 40px 34px;
  position: relative;
  z-index: 1;
}
.auth-panel.wide { max-width: 460px; }

.brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  font-weight: 800; color: white; font-size: 18px;
  box-shadow: 0 6px 20px -6px rgba(99,102,241,0.7);
}
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: 0.3px; }
.brand-name span { color: var(--text-dim); font-weight: 500; }

.auth-title { font-size: 24px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.auth-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 26px; }

/* ---------- Form controls ---------- */
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; color: var(--text-dim);
  margin-bottom: 7px; font-weight: 500;
}
.input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  outline: none;
}
.input::placeholder { color: var(--text-faint); }
.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
  background: var(--surface-2);
}
.input.mono { font-family: var(--mono); letter-spacing: 1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 14px; font-weight: 600;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s;
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border);
}
.btn:hover { background: var(--surface-3); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad); border: none; color: white;
  box-shadow: 0 8px 22px -8px rgba(99,102,241,0.7);
}
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(99,102,241,0.85); }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-danger { background: rgba(248,113,113,0.12); border-color: rgba(248,113,113,0.3); color: #fca5a5; }
.btn-danger:hover { background: rgba(248,113,113,0.2); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }

/* ---------- Alerts / messages ---------- */
.alert {
  border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 13.5px;
  margin-bottom: 16px; display: none;
  border: 1px solid transparent;
}
.alert.show { display: block; }
.alert-error { background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.3); color: #fca5a5; }
.alert-success { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.3); color: #6ee7b7; }

.auth-foot { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--text-dim); }
.auth-foot a { color: var(--text); font-weight: 600; }
.auth-foot a:hover { color: var(--primary-2); }

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

/* Small helper chip showing verified license */
.key-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-soft);
  border: 1px solid rgba(99,102,241,0.3);
  color: #c7d2fe;
  font-family: var(--mono); font-size: 13px;
  padding: 8px 12px; border-radius: 10px; margin-bottom: 20px;
  word-break: break-all;
}
.key-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); flex: none; }

/* ============================================================
   APP LAYOUT (dashboard / admin)
   ============================================================ */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: none;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 50;
  transition: transform .25s ease;
}
.sidebar-head {
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
}
.nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.nav-label {
  font-size: 11px; color: var(--text-faint); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 12px 8px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  transition: background .16s, color .16s;
  margin-bottom: 2px;
}
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item.active { background: var(--grad-soft); color: #fff; border: 1px solid rgba(99,102,241,0.25); }
.nav-item svg { width: 18px; height: 18px; flex: none; }

.sidebar-foot { padding: 14px; border-top: 1px solid var(--border); }
.user-mini { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: var(--grad); display: grid; place-items: center;
  font-weight: 700; color: white; font-size: 15px;
}
.user-mini .meta { min-width: 0; }
.user-mini .name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-mini .role { font-size: 12px; color: var(--text-faint); }

.main {
  flex: 1; min-width: 0;
  margin-left: var(--sidebar-w);
  display: flex; flex-direction: column;
}
.header {
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,11,15,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header h1 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  align-items: center; justify-content: center;
}
.hamburger svg { width: 20px; height: 20px; }

.content { padding: 26px 24px 48px; max-width: 1200px; width: 100%; }

/* ---------- Stat cards ---------- */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.stat {
  padding: 20px;
  position: relative; overflow: hidden;
}
.stat .stat-label { font-size: 13px; color: var(--text-dim); margin-bottom: 10px; }
.stat .stat-value { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.stat .stat-icon {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-soft); border: 1px solid rgba(99,102,241,0.22);
  display: grid; place-items: center;
}
.stat .stat-icon svg { width: 18px; height: 18px; color: #c7d2fe; }

/* ---------- Panel / section ---------- */
.panel { padding: 22px; margin-bottom: 20px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 12px; flex-wrap: wrap;
}
.panel-head h2 { font-size: 16px; font-weight: 700; }
.panel-head p { font-size: 13px; color: var(--text-dim); margin-top: 2px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th {
  text-align: left; font-weight: 600; color: var(--text-dim);
  padding: 12px 14px; background: var(--surface);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
tbody td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .14s; }
tbody tr:hover { background: rgba(255,255,255,0.02); }
td .mono, .mono-cell { font-family: var(--mono); font-size: 12.5px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
  border: 1px solid transparent;
}
.badge .bdot { width: 6px; height: 6px; border-radius: 50%; }
.badge-active { background: rgba(52,211,153,0.12); color: #6ee7b7; border-color: rgba(52,211,153,0.25); }
.badge-active .bdot { background: #34d399; }
.badge-disabled { background: rgba(148,163,184,0.12); color: #cbd5e1; border-color: rgba(148,163,184,0.25); }
.badge-disabled .bdot { background: #94a3b8; }
.badge-banned { background: rgba(248,113,113,0.12); color: #fca5a5; border-color: rgba(248,113,113,0.25); }
.badge-banned .bdot { background: #f87171; }
.badge-used { background: rgba(99,102,241,0.14); color: #c7d2fe; border-color: rgba(99,102,241,0.28); }
.badge-used .bdot { background: #818cf8; }
.badge-role { background: var(--grad-soft); color: #ddd6fe; border-color: rgba(139,92,246,0.3); }

/* ---------- Empty state ---------- */
.empty {
  text-align: center; padding: 44px 20px; color: var(--text-dim);
}
.empty .empty-icon {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center;
}
.empty .empty-icon svg { width: 24px; height: 24px; color: var(--text-faint); }
.empty h3 { font-size: 15px; color: var(--text); margin-bottom: 6px; }
.empty p { font-size: 13.5px; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4,5,8,0.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
  width: 100%; max-width: 440px; padding: 26px;
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.modal p.modal-sub { font-size: 13.5px; color: var(--text-dim); margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 240px; max-width: 340px;
  padding: 13px 16px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  box-shadow: var(--shadow); font-size: 13.5px;
  animation: toastIn .22s ease; display: flex; align-items: center; gap: 10px;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.toast.ok { border-color: rgba(52,211,153,0.4); }
.toast.err { border-color: rgba(248,113,113,0.4); }
.toast .tdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.toast.ok .tdot { background: var(--success); }
.toast.err .tdot { background: var(--danger); }

/* ---------- Mobile drawer overlay ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(4,5,8,0.6); z-index: 45;
  display: none; backdrop-filter: blur(2px);
}
.drawer-backdrop.show { display: block; }

/* Copy button */
.copy-btn {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 5px 9px; font-size: 12px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 5px; transition: all .14s;
}
.copy-btn:hover { color: var(--text); border-color: var(--border-strong); }
.copy-btn svg { width: 13px; height: 13px; }

.row-actions { display: flex; gap: 8px; justify-content: flex-end; }

.section-note {
  font-size: 13px; color: var(--text-dim);
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--grad-soft); border: 1px solid rgba(99,102,241,0.2);
  display: flex; gap: 10px; align-items: flex-start;
}
.section-note svg { width: 18px; height: 18px; flex: none; color: #a5b4fc; margin-top: 1px; }

/* Coming-soon placeholder tiles for dashboard skeleton */
.skeleton-tile {
  padding: 22px; border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015), rgba(255,255,255,0.015) 10px, transparent 10px, transparent 20px);
  color: var(--text-faint); font-size: 13.5px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 120px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .content { padding: 18px 16px 40px; }
  .header { padding: 0 16px; }
  .auth-panel { padding: 32px 22px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .modal { padding: 20px; }
  .toast-wrap { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   Hosts (Reag Host / My Host)
   ============================================================ */
.host-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .18s ease, transform .18s ease;
}
.host-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.host-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.host-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  min-width: 0;
}
.host-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host-title svg { width: 18px; height: 18px; flex: none; color: #a5b4fc; }
.host-meta { display: flex; flex-direction: column; gap: 8px; }
.host-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.host-row:last-child { border-bottom: none; padding-bottom: 0; }
.host-row > span:last-child { color: var(--text); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.host-actions { display: flex; justify-content: flex-end; }
.host-del { color: var(--danger) !important; }
.host-del:hover { border-color: rgba(248,113,113,.4) !important; }

.host-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 48px 20px;
  color: var(--text-faint);
}
.host-empty svg { width: 40px; height: 40px; color: var(--text-faint); opacity: .55; margin-bottom: 4px; }
.host-empty .he-title { font-size: 15px; font-weight: 600; color: var(--text-dim); }
.host-empty .he-sub { font-size: 13px; color: var(--text-faint); }

/* ============================================================
   Reag Host — domains: categories, statuses, NS
   ============================================================ */
.badge-cat {
  background: rgba(99,102,241,0.14);
  color: #c7cbff;
  border: 1px solid rgba(99,102,241,0.35);
  font-weight: 600;
  letter-spacing: .3px;
}
.badge-pending .bdot { background: var(--warn); }
.badge-pending { color: #f6d38a; }
.badge-nsready .bdot { background: var(--accent); }
.badge-nsready { color: #9be9f5; }
.badge-verifying .bdot { background: #a78bfa; }
.badge-verifying { color: #cbb8fb; }

/* category chooser */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 4px; }
.cat-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
  color: var(--text);
  text-align: left;
}
.cat-option:hover { border-color: var(--primary); transform: translateY(-2px); background: var(--surface-3); }
.cat-name { font-weight: 700; font-size: 15px; letter-spacing: .4px; }
.cat-hint { font-size: 12px; color: var(--text-faint); }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

/* domain detail */
.dd-lead { font-size: 13.5px; color: var(--text-dim); margin-bottom: 12px; }
.dd-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
}
.dd-note svg { width: 18px; height: 18px; flex: none; color: #a5b4fc; margin-top: 1px; }
.dd-note.dd-ok svg { color: var(--success); }
.dd-note.dd-bad svg { color: var(--danger); }

.ns-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.ns-label { font-size: 12px; font-weight: 600; color: var(--text-faint); width: 34px; flex: none; }
.ns-val { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ns-copy { padding: 4px 8px; flex: none; }

/* LAND description block */
.ld-desc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}
input[type="file"].input { padding: 9px 12px; cursor: pointer; }

/* Filter chips + inline label (admin licenses) */
.filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; }
.filter-count { margin-left: auto; font-size: 12.5px; color: var(--text-faint); }
.inline-label {
  padding: 7px 10px;
  font-size: 13px;
  min-width: 140px;
  max-width: 220px;
}
.inline-label::placeholder { color: var(--text-faint); }

/* Payment wallet cards */
.badge-muted { color: var(--text-faint); }
.wallet-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.wallet-hint { font-size: 12.5px; color: var(--text-faint); margin-top: -2px; }
.wallet-input { width: 100%; }
.chain-tag {
  font-weight: 700; font-size: 14px; letter-spacing: .4px;
  padding: 2px 10px; border-radius: 8px; border: 1px solid var(--border);
}
.chain-tron   { color: #ff5b5b; background: rgba(255,91,91,0.10); border-color: rgba(255,91,91,0.30); }
.chain-solana { color: #29e0b5; background: rgba(41,224,181,0.10); border-color: rgba(41,224,181,0.30); }
.chain-eth    { color: #8aa2ff; background: rgba(138,162,255,0.10); border-color: rgba(138,162,255,0.30); }
.wallet-pending {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: #f6d38a;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.wallet-pending svg { width: 15px; height: 15px; flex: none; }
.wallet-pending .mono { color: var(--text); word-break: break-all; }

/* Admin payment: profile modal sections */
.pf-section { margin-top: 16px; }
.pf-section h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-faint); margin-bottom: 8px; }
.pf-wallet-row, .pf-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 6px; font-size: 13px;
}
.pf-item .mono, .pf-wallet-row .mono { color: var(--text); word-break: break-all; }
.pf-req {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 8px;
}
.pf-req .rq-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pf-req .rq-addr { font-size: 12.5px; color: var(--text-dim); word-break: break-all; }
.pf-req .rq-addr .mono { color: var(--text); }
.pf-req .rq-actions { display: flex; gap: 8px; }

/* Language selector */
.lang-select {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  outline: none;
}
.lang-select:hover { border-color: var(--border-strong); }
.lang-select:focus { border-color: var(--primary); }
