/* =====================================================
   Hokoname — Main Stylesheet
   ===================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #ffffff;
  --bg-light:   #f8fafc;
  --bg-dark:    #0f172a;
  --bg-dark2:   #1e293b;
  --text:       #0f172a;
  --text-muted: #64748b;
  --text-light: rgba(255,255,255,0.75);
  --border:     #e2e8f0;
  --accent:     #2563eb;
  --accent-h:   #1d4ed8;
  --accent-light:#dbeafe;
  --green:      #10b981;
  --red:        #ef4444;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 25px rgba(0,0,0,.08), 0 20px 60px rgba(0,0,0,.12);
  --nav-h:      64px;
  --font-body:  'Inter', system-ui, -apple-system, sans-serif;
  --font-head:  'Space Grotesk', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

code {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.88em;
  font-family: 'Courier New', monospace;
}

/* --- Layout --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }
.text-center { text-align: center; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav.on-dark .nav-logo-text { color: white; }
.nav.on-dark.scrolled .nav-logo-text { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.1); text-decoration: none; }
.nav-link-active { color: white; font-weight: 700; background: rgba(255,255,255,0.12); }
.nav.scrolled .nav-link { color: var(--text-muted); }
.nav.scrolled .nav-link:hover { color: var(--text); background: var(--bg-light); }
.nav.scrolled .nav-link-active { color: var(--accent); font-weight: 700; background: var(--accent-light); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav.scrolled .nav-hamburger span { background: var(--text); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
  color: white;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
}
.btn-full { width: 100%; }
.btn-disabled {
  background: var(--bg-light);
  color: var(--text-muted);
  border-color: var(--border);
  cursor: default;
  opacity: 0.7;
}

/* --- Search Bar --- */
.search-bar {
  display: flex;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.2);
  overflow: hidden;
  max-width: 680px;
  width: 100%;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 16px;
  gap: 10px;
  min-width: 0;
}
.search-icon { color: var(--text-muted); flex-shrink: 0; }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  padding: 18px 0;
  min-width: 0;
}
.search-input::placeholder { color: #94a3b8; }
.btn-search {
  border-radius: 0 12px 12px 0;
  padding: 18px 28px;
  font-size: 1rem;
  border: none;
}
.search-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 4px;
}
.search-clear:hover { color: var(--text); }

.search-bar-sm .search-input { padding: 14px 0; }
.search-bar-sm .btn-search { padding: 14px 22px; }
.search-bar-page {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  background: var(--bg-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3b82f6, #1e40af);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #818cf8, #6366f1);
  bottom: -80px; left: -60px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(59,130,246,0.35);
  color: #93c5fd;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-badge svg { opacity: 0.8; color: #60a5fa; }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
}
.hero-tld-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.tld-pill {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.tld-pill:hover { background: rgba(255,255,255,0.14); color: white; text-decoration: none; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  justify-content: center;
  margin-top: 8px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item svg { color: rgba(255,255,255,0.4); flex-shrink: 0; }

/* =====================================================
   SECTIONS
   ===================================================== */
.section-light { padding: 80px 0; background: var(--bg); }
.section-dark  { padding: 80px 0; background: var(--bg-dark); }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label.light { color: #60a5fa; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-title.light { color: white; }
.section-sub { color: var(--text-muted); max-width: 560px; margin-bottom: 48px; }
.section-sub.light { color: rgba(255,255,255,0.6); }
.section-cta { margin-top: 40px; text-align: center; }

/* How section */
.section-how { text-align: center; }
.steps-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 820px;
  margin: 48px auto 0;
}
.step-card {
  flex: 1;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
}
.step-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-card p { font-size: 0.9rem; color: var(--text-muted); }
.step-arrow {
  padding: 0 8px;
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.4;
  display: flex;
  align-items: center;
}

/* TLD grid */
.section-tlds { text-align: center; }
.tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.section-dark .tld-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: left;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.section-dark .tld-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  text-decoration: none;
}
.tld-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.tld-desc { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.tld-price { display: flex; align-items: baseline; gap: 2px; }
.price-amount {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
}
.price-period { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-left: 2px; }
.tld-yearly { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.tld-cta { font-size: 0.82rem; color: #60a5fa; margin-top: 16px; font-weight: 500; }
.tld-cta-tld { font-weight: 700; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-blue   { background: #dbeafe; color: #2563eb; }
.icon-green  { background: #d1fae5; color: #059669; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-amber  { background: #fef3c7; color: #d97706; }
.icon-red    { background: #fee2e2; color: #dc2626; }
.icon-teal   { background: #ccfbf1; color: #0d9488; }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* Payments section */
.section-payments {
  padding: 48px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.payments-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.payments-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.pay-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 90px;
  transition: box-shadow 0.2s;
}
.pay-item:hover { box-shadow: var(--shadow); }
.pay-logo { height: 24px; width: auto; }

/* CTA Banner */
.section-cta-banner { padding: 64px 0; }
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 100%);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-content h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-banner-content p { color: rgba(255,255,255,0.6); }
.cta-banner .search-bar { box-shadow: none; border: 1px solid rgba(255,255,255,0.15); }

/* =====================================================
   PAGE HERO
   ===================================================== */
.page-hero {
  background: var(--bg-dark);
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero-sm { padding: 110px 0 56px; }
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-hero-sub { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* =====================================================
   SEARCH PAGE
   ===================================================== */
.search-page-hero {
  background: var(--bg-dark);
  padding: 90px 0 32px;
}
.search-results-container { padding-top: 32px; padding-bottom: 80px; }
.search-empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}
.search-empty-state svg { margin: 0 auto 24px; }
.search-empty-state h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--text); }
.results-loading {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}
.results-loading p { margin-top: 16px; }
.results-error {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.results-summary { margin-bottom: 8px; }
.results-heading { font-size: 1.4rem; font-family: var(--font-head); font-weight: 700; margin-bottom: 6px; }
.results-count { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.count-avail { color: var(--green); font-weight: 600; }
.count-taken { color: var(--text-muted); }
.results-section { margin-bottom: 32px; }
.results-section-title { margin-bottom: 12px; font-size: 0.85rem; }
.badge-avail {
  background: #d1fae5; color: #065f46;
  border-radius: 100px; padding: 3px 12px;
  font-size: 0.78rem; font-weight: 600;
}
.badge-taken {
  background: var(--bg-light); color: var(--text-muted);
  border-radius: 100px; padding: 3px 12px;
  font-size: 0.78rem; font-weight: 600;
}
.results-list { display: flex; flex-direction: column; gap: 10px; }
.results-list-taken { opacity: 0.65; }
.results-show-more { text-align: center; padding: 28px 0 12px; }
.btn-show-more { min-width: 200px; font-size: 0.95rem; padding: 12px 28px; border-radius: 10px; gap: 8px; display: inline-flex; align-items: center; justify-content: center; }
.count-checked { color: var(--muted); font-size: 0.88em; }
.result-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: box-shadow 0.15s;
}
.result-available { border-left: 3px solid var(--green); }
.result-taken { border-left: 3px solid var(--border); }
.result-available:hover { box-shadow: var(--shadow); }
.result-domain { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.result-name { color: var(--text); }
.result-tld { color: var(--accent); }
.result-domain-taken .result-domain-text { color: var(--text-muted); font-family: var(--font-head); font-size: 1.05rem; }
.result-status { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-available { background: var(--green); box-shadow: 0 0 0 3px #d1fae5; }
.status-taken { background: #cbd5e1; }
.status-premium { background: #f59e0b; box-shadow: 0 0 0 3px #fef3c7; }
.status-label { color: var(--text-muted); }
.result-pricing { text-align: right; min-width: 100px; }
.result-price { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.result-price-per { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.result-price-yr { display: block; font-size: 0.75rem; color: var(--text-muted); }
.result-price-yr em { color: var(--green); font-style: normal; font-weight: 600; }
.result-pricing-na { color: var(--text-muted); }
.result-actions { flex-shrink: 0; }

/* Premium domain result */
.result-premium { border-left: 3px solid #f59e0b; }
.result-premium:hover { box-shadow: 0 2px 12px rgba(245,158,11,0.15); }
.badge-premium {
  display: inline-block;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.premium-price { color: #b45309; font-size: 0.95rem; }
.premium-note {
  display: block;
  font-size: 0.72rem;
  color: #b45309;
  margin-top: 2px;
}

/* =====================================================
   PRICING TABLE
   ===================================================== */
.pricing-toggle-wrap {
  display: flex;
  gap: 4px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 40px;
}
.pricing-toggle {
  background: none;
  border: none;
  padding: 8px 20px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
}
.pricing-toggle.active { background: white; color: var(--text); box-shadow: var(--shadow); }
.save-badge {
  background: #d1fae5; color: #065f46;
  border-radius: 100px; padding: 2px 8px;
  font-size: 0.72rem; font-weight: 700;
}
.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.pricing-table th {
  background: var(--bg-light);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: #f8fafc; }
.row-popular td { background: #fefce8; }
.row-popular:hover td { background: #fef9c3; }
.tld-cell {
  white-space: nowrap;
}
.tld-cell .tld-badge,
.tld-cell .popular-tag,
.tld-cell .restricted-tag {
  display: inline-block;
  vertical-align: middle;
}
.tld-badge {
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 6px;
  padding: 3px 10px;
  font-weight: 700;
  font-family: var(--font-head);
}
.popular-tag {
  background: #fef3c7; color: #b45309;
  border-radius: 100px; padding: 2px 8px;
  font-size: 0.7rem; font-weight: 700;
  margin-left: 6px;
}
.restricted-tag {
  background: #ede9fe; color: #6d28d9;
  border-radius: 100px; padding: 2px 8px;
  font-size: 0.7rem; font-weight: 700;
  margin-left: 6px;
}
.desc-cell { color: var(--text-muted); }
.pricing-table th.col-price { text-align: right; }
.price-cell { text-align: right; }
.price-cell strong { font-size: 1rem; font-family: var(--font-head); }
.per-period { color: var(--text-muted); font-size: 0.82rem; margin-left: 2px; }
.save-chip {
  background: #d1fae5; color: #065f46;
  border-radius: 100px; padding: 2px 7px;
  font-size: 0.72rem; font-weight: 700;
  margin-left: 6px;
}
.yearly-col { display: none; }
.pricing-table.show-yearly .yearly-col { display: table-cell; }
.pricing-table.show-yearly .monthly-col { display: none; }
.action-cell { text-align: right; }
.price-na { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.note-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.note-card h4 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; }
.note-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.note-card li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.note-card li::before { content: '—'; position: absolute; left: 0; color: var(--border); }
.note-card-highlight {
  background: #f5f3ff;
  border-color: #ddd6fe;
}
.note-card-highlight h4 { color: #6d28d9; }
.note-card-sub {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0;
}
.note-card-sub strong { color: var(--text); }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.hiw-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.hiw-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step-num {
  width: 48px; height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.hiw-step-content h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hiw-step-content p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; font-size: 0.95rem; }
.hiw-step-content a.btn { margin-top: 8px; display: inline-flex; }
.hiw-payments {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.hiw-pay-group h4 { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.hiw-pay-group ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.hiw-pay-group li { font-size: 0.9rem; color: var(--text); }
.hiw-note {
  background: var(--accent-light);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 8px;
}
.info-box {
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.87rem;
  color: #78350f;
  margin-top: 12px;
}
.hiw-dns-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.hiw-dns-list li {
  padding: 8px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hiw-dns-list li strong { color: var(--text); font-family: monospace; }

.section-faq-cta { text-align: center; }
.section-faq-cta h2 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: 12px; }
.section-faq-cta p { color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   FAQ
   ===================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body);
  line-height: 1.4;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow { flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--accent); }
.faq-item.open .faq-a { display: block; }

/* =====================================================
   LEASE / CHECKOUT
   ===================================================== */
.lease-unavailable {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.lease-unavailable svg { margin: 0 auto 20px; }
.lease-unavailable h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--text); }
.lease-unavailable p { margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.broker-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Broker page */
.broker-page { max-width: 540px; margin: 0 auto; }
.broker-intro { margin-bottom: 32px; }
.broker-steps { display: flex; flex-direction: column; gap: 16px; }
.broker-step { display: flex; align-items: flex-start; gap: 16px; }
.broker-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: white; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.broker-step-text { display: flex; flex-direction: column; gap: 2px; }
.broker-step-text strong { font-size: 0.95rem; }
.broker-step-text span { font-size: 0.85rem; color: var(--text-muted); }
.broker-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; }
.form-hint { font-weight: 400; color: var(--text-muted); }
.form-input { padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: inherit; background: white; }
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.form-textarea { resize: vertical; min-height: 80px; }
.broker-notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--bg-light); border-radius: 10px; font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.broker-notice svg { flex-shrink: 0; margin-top: 1px; }
.broker-msg { padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; }
.broker-msg-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.broker-success { text-align: center; padding: 40px 20px; }
.broker-success svg { margin: 0 auto 16px; }
.broker-success h3 { margin-bottom: 8px; }
.broker-success p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.broker-hint { font-size: 0.78rem; color: var(--text-muted); }
.broker-subtitle { font-size: 0.82rem; font-weight: 400; color: var(--text-muted); }
.broker-fee-box { background: var(--accent-light); border: 1px solid var(--accent); border-radius: 10px; padding: 20px; text-align: center; }
.broker-fee-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.broker-fee-amount { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.broker-fee-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
.broker-admin-settings { display: flex; flex-direction: column; gap: 12px; }
.broker-fee-setting { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.broker-fee-setting label { font-weight: 600; font-size: 0.9rem; }
.broker-requests-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.broker-tab { padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); font-size: 0.82rem; cursor: pointer; transition: all 0.15s; }
.broker-tab:hover { background: var(--bg-light); }
.broker-tab.active { background: var(--accent); color: white; border-color: var(--accent); }
.broker-requests-list { display: flex; flex-direction: column; gap: 8px; }
.broker-request-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px; background: var(--bg-light); border-radius: 10px; border: 1px solid var(--border); transition: opacity 0.2s; }
.broker-request-info { flex: 1; min-width: 0; }
.broker-request-meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.broker-request-message { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; padding: 8px 12px; background: var(--bg); border-radius: 6px; border: 1px solid var(--border); }
.broker-request-actions { flex-shrink: 0; }
.broker-status-select { font-size: 0.82rem; padding: 6px 10px; }
.tld-search-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 16px; }
.tld-search-bar svg { flex-shrink: 0; color: var(--text-muted); }
.tld-search-bar .tld-input { border: none; background: transparent; flex: 1; font-size: 0.9rem; outline: none; }
.tld-search-count { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.tld-promote-btn { font-size: 0.72rem !important; padding: 3px 8px !important; margin-left: auto; white-space: nowrap; }
.tld-grid-footer { text-align: center; padding: 16px; }
.tld-hidden-count { font-size: 0.85rem; color: var(--text-muted); }
.admin-user-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.admin-user-row:last-child { border-bottom: none; }
.admin-user-email { font-weight: 600; font-size: 0.9rem; }
.admin-user-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.admin-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-modal { background: var(--bg); border-radius: 16px; width: 100%; max-width: 520px; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.admin-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 12px; border-bottom: 1px solid var(--border); }
.admin-modal-header h3 { font-size: 1.1rem; margin: 0; }
.admin-modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); padding: 0 4px; line-height: 1; }
.admin-modal-close:hover { color: var(--text); }
.admin-modal-body { padding: 20px 24px 24px; }
.admin-modal-body .form-group { margin-bottom: 8px; }
.admin-modal-body label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.user-pw-reveal { font-size: 0.82rem; background: var(--bg-light); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border); }
.lease-form { display: flex; flex-direction: column; gap: 28px; }
.lease-domain-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.lease-domain-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
}
.badge-avail-inline {
  background: #d1fae5; color: #065f46;
  border-radius: 100px; padding: 3px 12px;
  font-size: 0.78rem; font-weight: 600;
}
.lease-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lease-option { cursor: pointer; }
.lease-option input { display: none; }
.lease-option-inner {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lease-option:has(input:checked) .lease-option-inner {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.lease-option-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.lease-option-price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.lease-option-price span { font-size: 0.9rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.lease-option-note { font-size: 0.8rem; color: var(--text-muted); }

.payment-section { display: flex; flex-direction: column; gap: 12px; }
.payment-section-title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.payment-methods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pay-method-card { cursor: pointer; }
.pay-method-card input { display: none; }
.pay-method-inner {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pay-method-card:has(input:checked) .pay-method-inner {
  border-color: var(--accent);
  background: var(--accent-light);
}
.pay-method-icons { height: 24px; display: flex; align-items: center; gap: 4px; }
.pay-method-name { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }

.order-summary {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.order-summary h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.order-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.order-total {
  border-bottom: none;
  margin-top: 4px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
/* --- USDT Payment Info --- */
.usdt-payment-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.usdt-amount-hero {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(135deg, #0d9373 0%, #26a17b 50%, #1a8a6a 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.usdt-amount-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}
.usdt-amount-value {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.usdt-amount-value span {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.8;
  vertical-align: middle;
  margin-left: 4px;
}
.usdt-amount-gbp {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.usdt-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.usdt-field-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.usdt-field-header svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.usdt-copyable {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}
.usdt-copyable:hover {
  border-color: #cbd5e1;
}
.usdt-copyable code {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  word-break: break-all;
  background: none;
  border: none;
  line-height: 1.4;
}
.usdt-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.usdt-copy-btn:hover {
  background: var(--accent-light);
}
.usdt-copy-btn svg { flex-shrink: 0; }

.usdt-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 0;
}
.usdt-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.usdt-step strong { color: var(--text); }
.usdt-step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.usdt-verify-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.usdt-verify-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.usdt-optional-tag {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.usdt-verify-form .form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  letter-spacing: 0.01em;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--bg);
}
.usdt-verify-form .form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.usdt-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.usdt-amount-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #92400e;
  line-height: 1.5;
}
.usdt-amount-warning svg {
  flex-shrink: 0;
  color: #d97706;
  margin-top: 1px;
}
.usdt-amount-warning strong {
  color: #78350f;
}
.usdt-alt-payment {
  margin-top: 12px;
}
.usdt-alt-payment .btn {
  gap: 6px;
}
.usdt-reservation-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.usdt-reservation-note svg {
  flex-shrink: 0;
  color: var(--text-muted);
}
.usdt-reservation-note strong {
  color: var(--text);
}
.usdt-reservation-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #1e40af;
}
.usdt-reservation-timer svg {
  flex-shrink: 0;
  color: #2563eb;
}
.usdt-reservation-timer strong {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.usdt-timer-urgent {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}
.usdt-timer-urgent svg {
  color: #d97706;
}
.usdt-timer-expired {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}
.usdt-timer-expired svg {
  color: #dc2626;
}
.usdt-timer-expired a {
  color: #991b1b;
  text-decoration: underline;
}
.usdt-auto-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  line-height: 1.5;
}
.usdt-auto-note svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

.lease-privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 14px;
}
.lease-privacy-note svg { color: var(--green); flex-shrink: 0; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-dark);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo .nav-logo-text { color: white; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin: 14px 0 20px; line-height: 1.6; }
.footer-payments { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}
.payment-badge.crypto { background: rgba(38,161,123,0.15); border-color: rgba(38,161,123,0.3); color: #34d399; }

.footer-col h4 {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer-bottom { padding-top: 28px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.footer-note { font-size: 0.76rem !important; max-width: 600px; }

/* =====================================================
   NAV AUTH BUTTONS
   ===================================================== */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.nav.scrolled .nav-auth { border-left-color: var(--border); }
.btn-nav-signup {
  padding: 7px 16px;
  font-size: 0.88rem;
  border-radius: 8px;
}
/* On dark nav, signin looks like a ghost link */
.nav-link-signin { }
/* On scrolled white nav, signup button needs proper contrast */
.nav.scrolled .btn-nav-signup { box-shadow: none; }

/* =====================================================
   AUTH PAGES (login / signup)
   ===================================================== */
.auth-page {
  min-height: 100vh;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}
.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  width: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.auth-card {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 32px;
}
.auth-logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.auth-title {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.auth-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.auth-error svg { flex-shrink: 0; }
.auth-form { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label-row { display: flex; align-items: center; justify-content: space-between; }
.form-label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-label-link { font-size: 0.82rem; color: var(--accent); text-decoration: none; }
.form-label-link:hover { text-decoration: underline; }
.form-input-wrap { position: relative; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input-wrap .form-input { padding-right: 44px; }
.form-input::placeholder { color: #94a3b8; }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 4px;
}
.toggle-pw:hover { color: var(--text); }
.pw-strength { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.pw-strength-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.pw-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 0.3s, background 0.3s;
}
.pw-strength-label { font-size: 0.75rem; font-weight: 600; min-width: 64px; }
.btn-auth { margin-top: 4px; padding: 13px; font-size: 1rem; }
.auth-terms { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.auth-terms a { color: var(--accent); }
.auth-switch { text-align: center; font-size: 0.88rem; color: var(--text-muted); margin-top: 20px; }
.auth-switch a { color: var(--accent); font-weight: 600; }

/* Auth aside panel */
.auth-aside {
  background: linear-gradient(145deg, var(--bg-dark) 0%, #1e3a5f 100%);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.auth-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  border-left: 3px solid #3b82f6;
  padding-left: 16px;
}
.auth-quote strong { color: white; font-style: normal; }
.auth-aside-features { display: flex; flex-direction: column; gap: 12px; }
.auth-aside-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.auth-aside-item svg { color: var(--green); flex-shrink: 0; }

/* Single-column auth variant (verify pages) */
.auth-container-single {
  grid-template-columns: 1fr;
  max-width: 480px;
}
.auth-card-centered { align-items: center; text-align: center; }
.auth-logo-center { margin-bottom: 24px; }
.auth-title-center { text-align: center; }
.auth-sub-center { text-align: center; }

/* Verify state icons */
.verify-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.verify-icon-pending { background: #dbeafe; color: #2563eb; }
.verify-icon-success { background: #d1fae5; color: #059669; }
.verify-icon-error   { background: #fee2e2; color: #dc2626; }

/* Verify steps list */
.verify-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
  text-align: left;
  width: 100%;
}
.verify-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.verify-step strong { color: var(--text); }
.verify-step-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.verify-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fefce8;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: left;
  width: 100%;
}
.verify-notice svg { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 700px) {
  .auth-container { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-card { padding: 32px 24px; }
}

/* =====================================================
   DEV TOOLBAR (devbar)
   ===================================================== */
.devbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #1e1b4b;
  border-top: 2px solid #7c3aed;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  transition: transform 0.2s;
}
.devbar-collapsed { transform: translateY(calc(100% - 28px)); }
.devbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  min-height: 36px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.devbar-logo { text-decoration: none; }
.devbar-badge {
  background: #7c3aed;
  color: white;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.devbar-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.devbar-spacer { flex: 1; }
.devbar-label { color: rgba(255,255,255,0.4); white-space: nowrap; }
.devbar-role {
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.devbar-path {
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.devbar-btn {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.devbar-btn:hover { background: rgba(255,255,255,0.16); color: white; text-decoration: none; }
.devbar-btn-on { background: #7c3aed; border-color: #7c3aed; color: white; }
.devbar-btn-clear { border-color: rgba(239,68,68,0.4); color: #fca5a5; }
.devbar-btn-clear:hover { background: rgba(239,68,68,0.15); color: #fca5a5; }
.devbar-btn-panel { border-color: rgba(124,58,237,0.5); color: #c4b5fd; }
.devbar-btn-panel:hover { background: rgba(124,58,237,0.2); color: #c4b5fd; }
.devbar-collapse {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0 4px;
  flex-shrink: 0;
}
.devbar-collapse:hover { color: white; }

/* Role pills (shared between devbar and dev page) */
.pill-admin { background: #fef3c7; color: #92400e; }
.pill-user  { background: #dbeafe; color: #1e40af; }
.pill-none  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

/* Dev page */
.dev-page { padding: calc(var(--nav-h) + 40px) 0 120px; }
.dev-header { margin-bottom: 40px; }
.dev-badge-large {
  display: inline-block;
  background: #7c3aed;
  color: white;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-family: 'Courier New', monospace;
  margin-bottom: 12px;
}
.dev-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.dev-sub { color: var(--text-muted); font-size: 0.95rem; }
.dev-section { margin-bottom: 40px; }
.dev-section-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.dev-role-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.dev-role-current { display: flex; align-items: center; gap: 8px; }
.dev-role-pill {
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
}
.pill-none.dev-role-pill { background: var(--bg-light); color: var(--text-muted); border: 1px solid var(--border); }
.dev-role-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dev-btn {
  display: inline-block;
  padding: 7px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.dev-btn:hover { background: var(--border); text-decoration: none; }
.dev-btn-active { background: #7c3aed; border-color: #7c3aed; color: white; }
.dev-btn-active:hover { background: #6d28d9; }
.dev-btn-ghost { color: var(--red); border-color: #fecaca; background: #fef2f2; }
.dev-btn-ghost:hover { background: #fee2e2; }
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.dev-group {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dev-group h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.dev-link {
  font-size: 0.85rem;
  color: #7c3aed;
  font-family: 'Courier New', monospace;
  padding: 2px 0;
}
.dev-link:hover { color: #6d28d9; }
.dev-env-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 600px;
  font-size: 0.88rem;
}
.dev-env-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.dev-env-table tr:last-child td { border-bottom: none; }
.dev-env-table td:first-child {
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  width: 140px;
}

/* Nudge body up so devbar doesn't cover content */
body:has(.devbar) { padding-bottom: 40px; }

/* =====================================================
   DASHBOARDS (user + admin)
   ===================================================== */
.dashboard-page {
  padding: calc(var(--nav-h) + 40px) 0 80px;
  min-height: 100vh;
  background: var(--bg-light);
}
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.admin-badge {
  display: inline-block;
  background: #7c3aed;
  color: white;
  border-radius: 5px;
  padding: 2px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dash-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.dash-sub { color: var(--text-muted); font-size: 0.9rem; }

/* Stats */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.dash-stats-4 { grid-template-columns: repeat(4, 1fr); }
.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-val {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Sections */
.dash-section { margin-bottom: 28px; }
.dash-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; flex-wrap: wrap; gap: 8px;
}
.dash-section-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
}
.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Lease table */
.lease-table-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.lease-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.lease-table th {
  background: var(--bg-light);
  padding: 11px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.lease-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.lease-table tr:last-child td { border-bottom: none; }
.lease-table tr:hover td { background: #fafafa; }
.lease-domain-cell { font-family: var(--font-head); }
.lease-domain-name { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.lease-domain-tld  { color: var(--accent); }
.lease-date { color: var(--text-muted); font-size: 0.85rem; white-space: nowrap; }
.lease-actions { display: flex; gap: 6px; white-space: nowrap; }
.plan-badge {
  border-radius: 6px; padding: 3px 9px;
  font-size: 0.75rem; font-weight: 600;
}
.plan-monthly { background: var(--accent-light); color: var(--accent); }
.plan-annual  { background: #ede9fe; color: #7c3aed; }
.status-badge {
  border-radius: 100px; padding: 3px 10px;
  font-size: 0.75rem; font-weight: 600;
  white-space: nowrap;
}
.status-active    { background: #d1fae5; color: #065f46; }
.status-expired   { background: #fee2e2; color: #991b1b; }
.status-pending   { background: #fef3c7; color: #92400e; }
.status-cancelled { background: #f1f5f9; color: #64748b; }
.status-blackout  { background: #1e293b; color: #f8fafc; }
.dns-target {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.renew-soon {
  display: inline-block;
  background: #fef3c7; color: #92400e;
  border-radius: 4px; padding: 1px 6px;
  font-size: 0.7rem; font-weight: 700;
  margin-left: 4px;
}
.btn-ghost-danger {
  background: transparent;
  color: var(--red);
  border: 1px solid #fecaca;
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background 0.15s;
}
.btn-ghost-danger:hover { background: #fef2f2; }

/* Account card */
.account-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.account-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.account-row:last-child { border-bottom: none; }
.account-label { font-size: 0.82rem; color: var(--text-muted); width: 90px; flex-shrink: 0; }
.account-val   { font-size: 0.9rem; flex: 1; }
.account-action { font-size: 0.8rem; color: var(--accent); white-space: nowrap; }

/* Billing list */
.billing-list {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.billing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.billing-row:last-child { border-bottom: none; }
.billing-desc { font-size: 0.88rem; font-weight: 500; }
.billing-date { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.billing-amount { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.admin-warn { color: #d97706; }

/* Admin-specific */
.admin-filter { display: flex; gap: 8px; }
.admin-select {
  padding: 6px 10px; border: 1px solid var(--border);
  border-radius: 7px; font-size: 0.82rem;
  background: white; color: var(--text);
  font-family: var(--font-body);
}
.admin-user-cell { font-size: 0.82rem; color: var(--text-muted); font-family: monospace; }
.admin-user-list {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}
.admin-user-row:last-child { border-bottom: none; }
.admin-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.admin-user-info { flex: 1; min-width: 0; }
.admin-user-email { font-size: 0.88rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-meta  { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* Admin pricing table */
/* TLD Pricing - Add Card */
.tld-add-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed var(--border);
  border-radius: 16px;
  margin-bottom: 24px;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.tld-add-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: white;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--primary);
}
.tld-add-body { padding: 20px; }
.tld-add-row {
  display: grid;
  grid-template-columns: 100px 120px 120px 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.tld-field { display: flex; flex-direction: column; gap: 6px; }
.tld-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tld-field-wide { grid-column: span 1; }
.tld-input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.15s;
  background: white;
}
.tld-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.tld-input:disabled {
  background: var(--bg-light);
  color: var(--text-muted);
  cursor: not-allowed;
}
.tld-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.tld-input-prefix {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-weight: 500;
  pointer-events: none;
}
.tld-input-group .tld-input { padding-left: 26px; width: 100%; }
.tld-add-options {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.tld-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.tld-toggle input { display: none; }
.tld-toggle-slider {
  width: 40px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 100px;
  position: relative;
  transition: all 0.2s;
}
.tld-toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.tld-toggle input:checked + .tld-toggle-slider {
  background: #22c55e;
}
.tld-toggle input:checked + .tld-toggle-slider::after {
  left: 20px;
}
.tld-toggle-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.tld-toggle-sm .tld-toggle-slider { width: 34px; height: 18px; }
.tld-toggle-sm .tld-toggle-slider::after { width: 14px; height: 14px; }
.tld-toggle-sm input:checked + .tld-toggle-slider::after { left: 18px; }
.tld-toggle-sm .tld-toggle-label { font-size: 0.78rem; }
.tld-add-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px;
  background: white;
  border-top: 1px solid var(--border);
}
.tld-add-footer .btn { display: flex; align-items: center; gap: 6px; }
.tld-error {
  margin-right: auto;
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 500;
}

/* TLD Cards Grid */
.tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.tld-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: 16px;
  text-align: center;
}
.tld-empty p {
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 1rem;
}
.tld-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.tld-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.tld-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
}
.tld-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
}
.tld-card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.tld-badge-popular {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tld-badge-restricted {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tld-badge-yearly {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #4338ca;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tld-card-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 18px;
}
.tld-price-item { display: flex; flex-direction: column; gap: 6px; }
.tld-price-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tld-card-desc { padding: 0 18px 16px; }
.tld-card-desc .tld-input { width: 100%; }
.tld-card-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 0 18px 16px;
}
.tld-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px;
  background: #fafafa;
  border-top: 1px solid var(--border);
}
.tld-card-msg {
  margin-right: auto;
  font-size: 0.82rem;
  font-weight: 600;
}
.tld-btn-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.tld-btn-delete:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Reorder buttons */
.tld-reorder-btns {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: 10px;
}
.tld-reorder-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 18px;
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.tld-reorder-btn:hover:not(:disabled) {
  background: var(--accent);
  color: white;
}
.tld-reorder-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.tld-card-footer .btn {
  display: flex;
  align-items: center;
  gap: 6px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin { animation: spin 0.8s linear infinite; }

@media (max-width: 768px) {
  .tld-add-row { grid-template-columns: 1fr 1fr; }
  .tld-field-wide { grid-column: span 2; }
  .tld-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .dash-stats-4 { grid-template-columns: repeat(2, 1fr); }
  .dash-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .dash-stats   { grid-template-columns: 1fr; }
  .dash-stats-4 { grid-template-columns: 1fr; }
  .lease-table-wrap { overflow-x: auto; }
  .admin-filter { flex-direction: column; }
}

/* =====================================================
   DOMAIN PUSH
   ===================================================== */

/* Nameserver tags in table */
.ns-tag {
  display: inline-block;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 2px 2px 0 0;
  white-space: nowrap;
}
.ns-not-set {
  font-size: 0.8rem;
  color: #f59e0b;
  font-style: italic;
}
.ns-btn-unset { border-color: #fde68a; color: #b45309; background: #fffbeb; }
.ns-btn-unset:hover { background: #fef3c7; }

/* Modal sub-title */
.modal-domain-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  margin-top: 2px;
}

/* NS info box */
.ns-info-box {
  display: flex;
  gap: 10px;
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.83rem;
  color: #1e40af;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* NS field rows */
.ns-fields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ns-field-row {
  display: grid;
  grid-template-columns: 40px 1fr 32px;
  align-items: center;
  gap: 8px;
}
.ns-field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  text-align: right;
}
.ns-input { font-family: 'Courier New', monospace; font-size: 0.88rem; }
.ns-remove-btn {
  width: 30px; height: 30px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ns-remove-btn:hover { background: #fee2e2; color: var(--red); border-color: #fecaca; }

.ns-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  font-family: var(--font-body);
}
.ns-add-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* Push button */
.btn-push {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s, border-color 0.15s;
}
.btn-push:hover { background: #ede9fe; border-color: #c4b5fd; }

/* Receive push card */
.receive-push-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.receive-push-icon {
  width: 40px; height: 40px;
  background: #f5f3ff;
  color: #7c3aed;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.receive-push-body { flex: 1; min-width: 0; }
.receive-push-label { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }
.receive-push-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Code input */
.push-code-input {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  outline: none;
  width: 220px;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.push-code-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px #ede9fe;
}
.push-code-input::placeholder { color: #cbd5e1; font-weight: 400; letter-spacing: 0.05em; }

/* Inline error */
.push-inline-error {
  margin-top: 10px;
  color: var(--red);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Preview card */
.push-preview-card {
  background: white;
  border: 1.5px solid #7c3aed;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 0 0 4px #ede9fe;
}
.push-preview-domain {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.push-preview-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.push-preview-sep { opacity: 0.4; }
.push-preview-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.push-preview-warning svg { flex-shrink: 0; margin-top: 2px; }
.push-preview-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Success card */
.push-success-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.push-success-icon {
  width: 48px; height: 48px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.push-success-title { font-weight: 700; font-size: 1rem; color: #065f46; margin-bottom: 4px; }
.push-success-sub   { font-size: 0.85rem; color: #047857; }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: translateY(12px);
  transition: transform 0.2s;
  overflow: hidden;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}
.modal-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
}
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
}
.modal-close:hover { background: var(--bg-light); color: var(--text); }
.modal-body { padding: 16px 24px 0; }
.modal-footer {
  padding: 20px 24px;
  display: flex;
  gap: 10px;
  flex-direction: row-reverse;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.modal-loading {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.modal-loading .spinner { margin: 0 auto 16px; }

/* Push domain badge in modal */
.push-domain-badge {
  display: inline-block;
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.modal-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }

/* Push info checklist */
.push-info-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.push-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.push-info-item svg { color: var(--green); flex-shrink: 0; }

/* Generated code display */
.push-code-display {
  display: flex;
  align-items: center;
  gap: 0;
  background: #0f172a;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.push-code-value {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a78bfa;
  user-select: all;
}
.push-copy-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 7px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  transition: background 0.15s, color 0.15s;
}
.push-copy-btn:hover { background: rgba(255,255,255,0.16); color: white; }

/* Push steps list */
.push-code-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.push-code-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.push-code-step strong { color: var(--text); }
.push-code-step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.push-expiry-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-light);
  border-radius: 7px;
  padding: 8px 12px;
}
.push-expiry-note svg { flex-shrink: 0; }

/* Error pages */
.error-page { padding: 120px 0; }
.error-code {
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h1 { font-size: 1.8rem; margin-bottom: 12px; }
.error-page p { color: var(--text-muted); margin-bottom: 28px; }

/* =====================================================
   DOMAIN MANAGE PAGE
   ===================================================== */
.dm-breadcrumb {
  margin-bottom: 24px;
}
.dm-breadcrumb a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.dm-breadcrumb a:hover { color: var(--text); text-decoration: none; }

.dm-not-found {
  padding: 64px 0;
  text-align: center;
}
.dm-not-found h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  margin-bottom: 12px;
}
.dm-not-found p { color: var(--text-muted); margin-bottom: 24px; }

.dm-header {
  margin-bottom: 28px;
}
.dm-domain-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.dm-domain {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.dm-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.dm-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dm-meta-item svg { opacity: 0.6; }
.dm-meta-sep { color: var(--border); }

.dm-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 64px;
}

.dm-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.dm-card-danger {
  border-color: #fecaca;
  background: #fff8f8;
}

.dm-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}
.dm-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.dm-danger-title { color: var(--red); }
.dm-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 480px;
}

.dm-card-footer {
  padding: 0 24px 20px;
}

/* NS current display */
.dm-ns-current {
  padding: 0 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dm-ns-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.dm-ns-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 32px;
  flex-shrink: 0;
}
.dm-ns-value {
  font-size: 0.875rem;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Courier New', monospace;
  color: var(--text);
}

/* NS editor */
.dm-ns-editor {
  padding: 0 24px 24px;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.dm-ns-editor .ns-fields { margin-top: 14px; }
.dm-ns-editor .ns-add-btn { margin-top: 10px; }

/* NS edit form */
.dm-ns-edit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 20px;
}
.dm-ns-field {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dm-ns-field .dm-ns-label {
  width: 40px;
}
.dm-ns-field .form-input {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
}
.ns-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}
.ns-remove-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.ns-msg {
  padding: 10px 24px;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 4px;
  margin: 0 24px 12px;
}
.ns-msg.success {
  background: #dcfce7;
  color: #166534;
}
.ns-msg.error {
  background: #fee2e2;
  color: #991b1b;
}

/* Admin Payment Method Badges */
.payment-method-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.method-stripe {
  background: #ede9fe;
  color: #6d28d9;
}
.method-usdt {
  background: #d1fae5;
  color: #065f46;
}
.payment-desc-cell {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Admin Domains Page */
.admin-domains-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-domains-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 200px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.admin-domains-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.admin-domains-search svg {
  color: var(--text-muted);
  flex-shrink: 0;
}
.admin-domains-search input {
  border: none;
  outline: none;
  padding: 10px 0;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  width: 100%;
}
.admin-domains-search input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.admin-domains-selects {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-domains-selects select {
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text);
  background: white url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.admin-domains-selects select:focus {
  border-color: var(--accent);
}
.admin-domains-summary {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.admin-domains-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.admin-domains-pagination .btn {
  min-width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pagination-dots {
  color: var(--text-muted);
  padding: 0 4px;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .admin-domains-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-domains-selects {
    flex-direction: column;
  }
}

/* NS Change Requests in Admin */
.ns-requests-section {
  margin-bottom: 24px;
}
.ns-requests-section .dash-section-title {
  display: flex;
  align-items: center;
}
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  margin-left: 10px;
}
.ns-requests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ns-request-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.2s;
}
.ns-request-info {
  flex: 0 0 200px;
}
.ns-request-domain {
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.ns-request-user {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.ns-request-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.ns-request-ns {
  flex: 1;
  font-size: 0.85rem;
}
.ns-request-label {
  color: var(--text-muted);
  margin-right: 8px;
}
.ns-request-ns code {
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  margin-right: 6px;
}
.ns-request-actions {
  display: flex;
  gap: 8px;
}

/* Pending NS notice for clients */
.dm-ns-pending-notice {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  background: #fef3c7;
  border-left: 3px solid #f59e0b;
  margin: 0 24px 16px;
  border-radius: 4px;
}
.dm-ns-pending-notice svg {
  flex-shrink: 0;
  color: #d97706;
  margin-top: 2px;
}
.dm-ns-pending-notice strong {
  display: block;
  font-size: 0.9rem;
  color: #92400e;
  margin-bottom: 4px;
}
.dm-ns-pending-notice p {
  font-size: 0.82rem;
  color: #a16207;
  margin: 0;
}

.dm-editor-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

/* Push states */
.dm-push-state {}

.dm-push-code-wrap {
  padding: 0 24px 16px;
}
.push-code-display {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.push-code-value {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a5f3fc;
}
.push-copy-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.push-copy-btn:hover {
  background: rgba(255,255,255,0.16);
  color: white;
}

.dm-push-steps {
  padding: 0 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.push-code-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.push-code-step strong { color: var(--text); }
.push-code-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text);
}

.dm-spinner-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.spinner-sm {
  width: 15px;
  height: 15px;
  border-width: 2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Billing rows */
.dm-billing-rows {
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dm-billing-rows .account-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.dm-billing-rows .account-row:last-child { border-bottom: none; }

/* Toggle switch (auto-renew) */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  cursor: pointer;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 22px;
  transition: background 0.2s;
}
.toggle-track::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-track {
  background: var(--green);
}
.toggle-switch input:checked + .toggle-track::after {
  transform: translateX(18px);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-dark);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { color: rgba(255,255,255,0.75); padding: 12px 16px; }
  .nav-links .nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
  .nav-hamburger { display: flex; }
  .nav-auth {
    flex-direction: column;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-left: 0;
    padding-left: 0;
    padding-top: 12px;
    margin-top: 4px;
    gap: 8px;
  }
  .btn-nav-signup { width: 100%; justify-content: center; }

  .hero { padding: 100px 0 60px; }
  .search-bar { flex-direction: column; border-radius: 14px; }
  .search-input-wrap { padding: 14px 16px; }
  .search-input { padding: 0; font-size: 1rem; }
  .btn-search { border-radius: 0 0 12px 12px; width: 100%; }

  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }

  .tld-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; padding: 32px 24px; }
  .cta-banner .search-bar { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .result-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 12px 16px;
  }
  .result-domain { font-size: 0.9rem; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .result-status { flex: 0 0 auto; }
  .result-pricing { flex: 0 0 auto; margin-left: auto; text-align: right; min-width: unset; }
  .result-actions { flex: 0 0 100%; padding-top: 6px; }
  .result-actions .btn { width: 100%; text-align: center; }

  .lease-options { grid-template-columns: 1fr; }
  .hiw-step { grid-template-columns: 40px 1fr; gap: 20px; }
  .hiw-step-num { width: 40px; height: 40px; font-size: 0.9rem; }

  .dm-card-header { flex-direction: column; gap: 12px; }
  .dm-card-header > svg { display: none; }
  .dm-domain { font-size: 1.4rem; }
  .dm-editor-actions { flex-wrap: wrap; }
  .ns-field-row { flex-wrap: nowrap; }

  .badge-premium { font-size: 0.6rem; padding: 1px 6px; margin-left: 4px; }
  .premium-note { font-size: 0.65rem; }

  /* Pricing table mobile */
  .pricing-table-wrap { overflow-x: visible; }
  .pricing-table th,
  .pricing-table td { padding: 10px 12px; font-size: 0.85rem; }
  .desc-cell,
  .pricing-table th:nth-child(2) { display: none; }
  .popular-tag, .restricted-tag { display: none; }
  .action-cell .btn { padding: 6px 10px; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .payments-row { gap: 8px; }
  .pay-item { min-width: 70px; padding: 10px 12px; }
  .payment-methods-grid { grid-template-columns: 1fr 1fr; }
  .result-row { padding: 12px 14px; }
  .result-domain { font-size: 0.95rem; }
  .result-price { font-size: 1rem; }
  .pricing-table th,
  .pricing-table td { padding: 8px 8px; font-size: 0.8rem; }
  .price-cell strong { font-size: 0.9rem; }
  .action-cell .btn { padding: 5px 8px; font-size: 0.75rem; }
}

/* =====================================================
   ADMIN PUSH ACCEPT
   ===================================================== */
.push-accept-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.push-accept-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.push-accept-form {
  display: flex;
  gap: 12px;
  align-items: center;
}
.push-code-input {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  max-width: 200px;
}
.push-preview {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-lighter);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.push-preview-info {
  margin-bottom: 16px;
}
.push-preview-domain {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.push-preview-from,
.push-preview-status,
.push-preview-expires {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.push-preview-status .status-badge {
  font-size: 0.75rem;
}
.push-preview-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.push-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: var(--red);
  font-size: 0.9rem;
}
.push-success {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  color: var(--green);
  font-size: 0.9rem;
}
.push-success a {
  color: var(--green);
  text-decoration: underline;
}

/* ── USDT Wallet Pool ── */
.wallet-pool-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.wallet-stat-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  text-align: center;
}
.wallet-stat-value {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.wallet-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.wallet-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.wallet-empty-state {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: 12px;
}
.wallet-empty-state p {
  font-weight: 600;
  color: var(--text);
  margin: 12px 0 4px;
  font-size: 0.95rem;
}
.wallet-empty-state span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.wallet-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.15s;
}
.wallet-card:hover {
  box-shadow: var(--shadow);
}

.wallet-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 12px;
}
.wallet-card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #26a17b 0%, #1a7a5b 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.wallet-card-meta {
  flex: 1;
  min-width: 0;
}
.wallet-card-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}
.wallet-label-text {
  cursor: pointer;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.15s;
}
.wallet-label-text:hover {
  border-bottom-color: var(--text-muted);
}
.wallet-edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}
.wallet-card-header:hover .wallet-edit-btn {
  opacity: 1;
}
.wallet-edit-btn:hover {
  color: var(--accent);
}
.wallet-label-edit {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.wallet-label-input {
  padding: 3px 8px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  width: 160px;
  min-width: 0;
}
.wallet-label-save,
.wallet-label-cancel {
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.wallet-label-save {
  color: var(--green);
}
.wallet-label-save:hover {
  background: #d1fae5;
  border-color: var(--green);
}
.wallet-label-cancel {
  color: var(--text-muted);
}
.wallet-label-cancel:hover {
  background: #fee2e2;
  border-color: var(--red);
  color: var(--red);
}
.wallet-card-addr {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.wallet-card-addr code {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 1px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.wallet-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.wallet-copy-btn:hover {
  color: var(--accent);
}

.wallet-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.wallet-status-available {
  background: #d1fae5;
  color: #065f46;
}
.wallet-status-held {
  background: #fef3c7;
  color: #92400e;
}

.wallet-card-balances {
  display: flex;
  align-items: center;
  margin: 0 18px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  gap: 0;
}
.wallet-balance-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.wallet-balance-item:first-child {
  padding-left: 0;
}
.wallet-balance-item:last-child {
  padding-right: 0;
}
.wallet-balance-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}
.wallet-balance-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wallet-balance-value {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.wallet-balance-trx {
  color: var(--text-muted);
}
.wallet-balance-amount {
  display: inline-block;
}
.wallet-balance-error {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.wallet-balance-loading {
  display: inline-block;
  width: 48px;
  height: 14px;
  background: linear-gradient(90deg, var(--bg-light) 25%, var(--border) 50%, var(--bg-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.wallet-trx-usd {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.wallet-trx-low {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.wallet-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.wallet-tronscan-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.wallet-tronscan-link:hover {
  color: var(--accent);
  text-decoration: none;
}
.wallet-card-actions {
  display: flex;
  gap: 6px;
}

.wallet-add-section {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.wallet-add-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}
.wallet-add-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
}
.wallet-add-fields {
  display: flex;
  gap: 8px;
  flex: 1;
}
.wallet-add-input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wallet-add-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.wallet-add-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.wallet-add-label {
  max-width: 180px;
}
.wallet-add-section .push-error,
.wallet-add-section .push-success {
  margin: 0 18px 14px;
}

@media (max-width: 768px) {
  .wallet-pool-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .wallet-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 12px 16px;
  }
  .wallet-stat-label {
    margin-top: 0;
  }
  .wallet-add-form {
    flex-direction: column;
    align-items: stretch;
  }
  .wallet-add-fields {
    flex-direction: column;
  }
  .wallet-add-label {
    max-width: none;
  }
  .wallet-card-balances {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .wallet-balance-item {
    padding: 0;
  }
  .wallet-balance-divider {
    width: 100%;
    height: 1px;
  }
  .wallet-card-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* TLD input suffix */
.tld-input-suffix {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 6px;
  white-space: nowrap;
}

/* Fee tooltip */
.fee-label-with-tooltip {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fee-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--border);
  color: var(--text-muted);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  cursor: help;
  position: relative;
}
.fee-tooltip:hover {
  background: var(--accent);
  color: white;
}
.fee-tooltip:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  white-space: normal;
  width: 220px;
  text-align: center;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.fee-tooltip:hover::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--bg-dark);
  z-index: 100;
}

/* Hide number input spinners */
.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.no-spinners {
  -moz-appearance: textfield;
}

/* Legal pages (Terms, Privacy) */
.legal-content {
  color: var(--text);
  line-height: 1.8;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem 0;
  color: var(--text);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--text);
}
.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.legal-content ul {
  margin: 0 0 1rem 1.5rem;
  color: var(--text-muted);
}
.legal-content ul li {
  margin-bottom: 0.5rem;
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}
.legal-content a:hover {
  color: var(--accent-h);
}
.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Admin Tab Navigation --- */
.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
  overflow-x: auto;
}
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.admin-tab:hover {
  color: var(--text);
  text-decoration: none;
}
.admin-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.admin-tab svg {
  opacity: 0.6;
}
.admin-tab.active svg {
  opacity: 1;
}
