/* ═══════════════════════════════════════════════════
   RedirectedMaster Mini App — Design System
   Paleta: Preto · Branco · Azul · Dourado
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variáveis ───────────────────────────────────── */
:root {
  --bg-primary:    #08080b;
  --bg-card:       #111116;
  --bg-card-hover: #18181e;
  --bg-glass:      rgba(255, 255, 255, 0.04);
  --bg-input:      rgba(255, 255, 255, 0.06);

  --gold:          #C9A84C;
  --gold-light:    #E2C46E;
  --gold-dim:      rgba(201, 168, 76, 0.12);
  --gold-border:   rgba(201, 168, 76, 0.20);

  --blue:          #3B82F6;
  --blue-light:    #60A5FA;
  --blue-dim:      rgba(59, 130, 246, 0.12);

  --green:         #22C55E;
  --green-dim:     rgba(34, 197, 94, 0.12);
  --red:           #EF4444;
  --red-dim:       rgba(239, 68, 68, 0.12);

  --text-primary:  #F0F0F4;
  --text-secondary:#A0A0B0;
  --text-muted:    #5A5A70;

  --border:        rgba(255, 255, 255, 0.07);
  --border-gold:   rgba(201, 168, 76, 0.20);

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-gold:   0 0 24px rgba(201, 168, 76, 0.08);
  --shadow-card:   0 2px 20px rgba(0, 0, 0, 0.40);

  --nav-height:    68px;
  --header-height: 64px;
  --transition:    200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ─────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(8, 8, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
  z-index: 100;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #C9A84C 0%, #E2C46E 50%, #A07828 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #08080b;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gold-border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── Bottom Navigation ────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(8, 8, 11, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-gold);
  display: flex;
  align-items: stretch;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px 4px;
  position: relative;
  border: none;
  background: none;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-item .nav-icon {
  font-size: 20px;
  line-height: 1;
  transition: transform var(--transition);
}

.nav-item .nav-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color var(--transition);
}

.nav-item.active {
  color: var(--gold);
}

.nav-item.active .nav-icon {
  transform: translateY(-2px);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 0 0 4px 4px;
}

/* ── Content Area ────────────────────────────────── */
.content {
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: calc(var(--nav-height) + 20px);
  padding-left: 16px;
  padding-right: 16px;
  min-height: 100vh;
}

/* ── Pages ────────────────────────────────────────── */
.page {
  display: none;
  animation: fadeIn var(--transition) ease;
}

.page.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Cards ────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 12px;
  transition: border-color var(--transition);
}

.card-gold {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201,168,76,0.04) 100%);
  box-shadow: var(--shadow-gold);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.card-icon {
  font-size: 20px;
}

/* ── Plan Badge ───────────────────────────────────── */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 8px 0 4px;
  letter-spacing: -0.5px;
}

/* ── Progress Bar ─────────────────────────────────── */
.progress-wrap {
  margin-top: 14px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 600ms ease;
}

.progress-fill.blue {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

/* ── Stats Grid ───────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}

.stat-card:active { background: var(--bg-card-hover); }

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card.gold .stat-value { color: var(--gold); }
.stat-card.blue .stat-value  { color: var(--blue-light); }
.stat-card.green .stat-value { color: var(--green); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, #C9A84C, #E2C46E);
  color: #08080b;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.25);
}

.btn-gold:hover { box-shadow: 0 4px 24px rgba(201, 168, 76, 0.40); }

.btn-blue {
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.btn-ghost {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-danger {
  background: var(--red-dim);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--red);
}

.btn-full { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 12px; border-radius: var(--radius-sm); }

/* ── Site List ────────────────────────────────────── */
.site-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  transition: border-color var(--transition);
}

.site-item:hover { border-color: var(--gold-border); }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online  { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.offline { background: var(--red); }
.status-dot.loading { background: var(--text-muted); animation: pulse 1.2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.site-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-actions {
  display: flex;
  gap: 8px;
}

/* ── Token Card ───────────────────────────────────── */
.token-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 12px;
}

.token-display {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 12px 0;
}

.token-text {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--gold-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
}

.token-copy {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  transition: color var(--transition);
  border: none;
  background: none;
  padding: 4px;
  display: flex;
}

.token-copy:hover { color: var(--gold); }
.token-copy.copied { color: var(--green); }

/* ── Tunnel Item ──────────────────────────────────── */
.tunnel-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tunnel-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.tunnel-info { flex: 1; overflow: hidden; }
.tunnel-porta {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-light);
}
.tunnel-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Email Item ───────────────────────────────────── */
.email-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.email-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.email-info { flex: 1; overflow: hidden; }
.email-addr {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.email-since { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── Plan Cards ───────────────────────────────────── */
.plan-cards { display: flex; flex-direction: column; gap: 10px; }

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: border-color var(--transition), transform var(--transition);
}

.plan-card.current {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, var(--bg-card), rgba(201,168,76,0.04));
}

.plan-card:not(.current):active { transform: scale(0.99); }

.plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.plan-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.plan-card-period { font-size: 12px; color: var(--text-muted); font-weight: 400; }

.plan-features { list-style: none; margin-top: 12px; }
.plan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; }

.current-tag {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── FAB ──────────────────────────────────────────── */
.fab {
  position: fixed;
  bottom: calc(var(--nav-height) + 20px);
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A84C, #E2C46E);
  border: none;
  color: #08080b;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 90;
}

.fab:active { transform: scale(0.93); }
.fab.hidden { display: none; }

/* ── Modal Sheet ──────────────────────────────────── */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.sheet-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #13131a;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-top: 1px solid var(--gold-border);
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0));
  z-index: 201;
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.sheet.open { transform: translateY(0); }

.sheet-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  margin: 0 auto 20px;
}

.sheet-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

/* ── Form ─────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-input, .form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus, .form-select:focus { border-color: var(--gold-border); }
.form-input::placeholder { color: var(--text-muted); }

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-label { font-size: 14px; color: var(--text-secondary); }

.toggle {
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
  outline: none;
}

.toggle.on { background: var(--gold); }

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--transition);
}

.toggle.on::after { transform: translateX(20px); }

/* ── Segmented Control ────────────────────────────── */
.segmented-control {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 4px;
  margin-bottom: 14px;
}
.segmented-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.segmented-btn.active {
  background: var(--gold);
  color: #08080b;
}

/* ── Section Headers ──────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  margin-top: 8px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.section-count {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Empty State ──────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-text { font-size: 14px; line-height: 1.5; }

/* ── Loading Skeleton ─────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Toast ────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(var(--nav-height) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e1e28;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  z-index: 300;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Accordion ────────────────────────────────────── */
.accordion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  user-select: none;
}

.accordion-header .chevron {
  transition: transform var(--transition);
  font-size: 12px;
  color: var(--text-muted);
}

.accordion.open .chevron { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.accordion.open .accordion-body { max-height: 400px; }

.accordion-content {
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.code-block {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--gold-light);
  margin: 8px 0;
  overflow-x: auto;
  white-space: pre;
}

/* ── Utilities ────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.mt-4 { margin-top: 4px; }
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue-light); }
.text-green { color: var(--green); }
.fw-600 { font-weight: 600; }
.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* ── SVG Icon System ──────────────────────────────── */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-item .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}
.nav-item .nav-icon svg {
  width: 22px;
  height: 22px;
  transition: transform var(--transition);
}
.nav-item.active .nav-icon svg {
  transform: translateY(-2px);
  color: var(--gold);
}
.card-icon svg {
  display: block;
}
.accordion-header .acc-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.toast .icon-svg {
  margin-right: 6px;
}

/* ── DNS Tutorial Card ────────────────────────────── */
.dns-tutorial-box {
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

.dns-record-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 10px 0;
  font-size: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.dns-record-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.dns-record-table td {
  padding: 8px 10px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dns-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
  flex-shrink: 0;
}

