*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }

:root {
  --bg:          #080b0f;
  --card:        #0f1318;
  --surface:     #151a21;
  --border:      #1f2937;
  --green:       #00d97e;
  --green-dim:   #00d97e18;
  --green-mid:   #00d97e40;
  --amber:       #f59e0b;
  --amber-dim:   #f59e0b15;
  --amber-mid:   #f59e0b35;
  --red:         #ef4444;
  --red-dim:     #ef444415;
  --blue:        #3b82f6;
  --blue-dim:    #3b82f615;
  --white:       #f0f4f8;
  --muted:       #6b7a90;
  --sidebar-w:   240px;
  --radius:      11px;
  --overlay:     rgba(8, 11, 15, 0.8);
}

/* ── LIGHT MODE ───────────────────────── */
body[data-theme="light"] {
  --bg:          #f0f4f8;
  --card:        #ffffff;
  --surface:     #e8edf4;
  --border:      #d1dae6;
  --white:       #0d1117;
  --muted:       #5a6a82;
  --overlay:     rgba(30, 40, 60, 0.45);
  --green-dim:   #00d97e22;
  --green-mid:   #00d97e50;
  --amber-dim:   #f59e0b20;
  --amber-mid:   #f59e0b45;
  --red-dim:     #ef444420;
  --blue-dim:    #3b82f620;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  transition: background 0.2s ease, color 0.2s ease;
}

a { text-decoration: none; }

/* ── SIDEBAR ─────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 18px 18px;
  border-bottom: 1px solid var(--border);
}

.logo-icon {
  width: 30px; height: 30px;
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

.logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-beta {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  border-radius: 4px;
  padding: 2px 5px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
}

.nav-item:hover {
  background: var(--surface);
  color: var(--white);
}

.nav-item.active {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid var(--green-mid);
}

.nav-icon { font-size: 15px; width: 18px; text-align: center; }
.nav-label { flex: 1; }

.nav-count {
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 7px;
}

.nav-count.green { background: var(--green-dim); color: var(--green); }
.nav-count.amber { background: var(--amber-dim); color: var(--amber); }
.nav-count.red   { background: var(--red-dim);   color: var(--red);   }

/* Sidebar bottom */
.sidebar-bottom {
  padding: 14px 10px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bink-address {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 12px;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s;
}

.bink-address:hover { border-color: var(--green); }

.bink-address-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.bink-address-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 3px;
  word-break: break-all;
}

.bink-address-sub {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 0;
}

.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d97e, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.profile-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.profile-plan {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

/* ── MAIN ─────────────────────────────── */
.main-wrap {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 100;
}

.greeting {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 217, 126, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(0, 217, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 217, 126, 0); }
}

.topbar-date {
  font-size: 13px;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover { border-color: var(--muted); color: var(--white); }

.btn-icon {
  padding: 8px 10px;
  font-size: 15px;
  line-height: 1;
}

.btn-green {
  background: var(--green);
  border: none;
  color: #020c06;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-green:hover { opacity: 0.88; }
.btn-green:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-amber {
  background: var(--amber-mid);
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.btn-amber:hover { background: rgba(245, 158, 11, 0.28); }

/* Priority banner */
.priority-banner {
  background: var(--amber-dim);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  border-top: 2px solid var(--amber);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.priority-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.priority-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.priority-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.priority-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.priority-sub {
  font-size: 12px;
  color: rgba(245, 158, 11, 0.75);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 28px 0;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.stat-card.green::before { background: var(--green); }
.stat-card.amber::before { background: var(--amber); }
.stat-card.red::before   { background: var(--red); }
.stat-card.blue::before  { background: var(--blue); }

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card.green .stat-value { color: var(--green); }
.stat-card.amber .stat-value { color: var(--amber); }
.stat-card.red   .stat-value { color: var(--red); }
.stat-card.blue  .stat-value { color: var(--blue); }

.stat-sub {
  font-size: 12px;
  color: var(--muted);
}

/* Content grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 14px;
  padding: 14px 28px 28px;
}

.col-left, .col-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border);
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-header h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.period-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 5px;
  padding: 2px 8px;
}

.red-badge {
  background: var(--red-dim);
  border-color: rgba(239,68,68,0.3);
  color: var(--red);
}

.link-green {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.link-green:hover { opacity: 0.75; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.footer-muted {
  font-size: 12px;
  color: var(--muted);
}

/* Activity list */
.activity-list { padding: 4px 0; }

.activity-loading {
  padding: 24px 18px;
  color: var(--muted);
  font-size: 13px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}

.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: var(--surface); }

.activity-emoji {
  font-size: 18px;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}

.activity-body { flex: 1; min-width: 0; }

.activity-provider {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-category {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.activity-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.activity-time {
  font-size: 11px;
  color: var(--muted);
}

.status-filed {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-dim);
  border-radius: 5px;
  padding: 2px 8px;
}

.status-gdpr {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-dim);
  border-radius: 5px;
  padding: 2px 8px;
}

.status-spam {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-dim);
  border-radius: 5px;
  padding: 2px 8px;
}

/* Needs Attention */
.attention-list { padding: 4px 0; }

.attention-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.attention-item:last-child { border-bottom: none; }

.attention-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.amber-dot { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.red-dot   { background: var(--red);   box-shadow: 0 0 6px var(--red); }

.attention-body { flex: 1; }

.attention-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.attention-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.nowrap { white-space: nowrap; }

/* Coming Up */
.coming-list { padding: 4px 0; }

.coming-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

.coming-item:last-child { border-bottom: none; }

.coming-icon {
  font-size: 18px;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.amber-icon { background: var(--amber-dim); }
.green-icon { background: var(--green-dim); }

.coming-body { flex: 1; }

.coming-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.coming-date {
  font-size: 11px;
  color: var(--muted);
}

.coming-days {
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 10px;
  flex-shrink: 0;
}

.amber-days { background: var(--amber-dim); color: var(--amber); }
.green-days { background: var(--green-dim); color: var(--green); }

/* ── SIMULATE MODAL ────────────────────── */
.sim-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sim-overlay.hidden { display: none; }

.sim-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sim-modal-header h2 {
  font-size: 15px;
  font-weight: 700;
}

.sim-close {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 28px; height: 28px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

.sim-modal label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.sim-modal input,
.sim-modal textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  padding: 10px 12px;
  width: 100%;
  resize: vertical;
}

.sim-modal input:focus,
.sim-modal textarea:focus {
  outline: none;
  border-color: var(--green);
}

.sim-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.sim-status {
  font-size: 13px;
  color: var(--muted);
  min-height: 16px;
}

/* Copy toast */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #020c06;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 20px;
  z-index: 999;
  transition: opacity 0.3s;
}

.copy-toast.hidden { display: none; }

/* ── VAULT SECTION ─────────────────────── */
.vault-section {
  padding: 0 28px 32px;
}

.vault-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.vault-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.vault-header-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

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

.vault-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.vault-count-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  color: var(--green);
  border-radius: 5px;
  padding: 2px 8px;
}

.vault-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.vault-cell {
  padding: 18px 20px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.12s;
}

.vault-cell:hover {
  background: var(--surface);
}

.vault-cell:nth-child(4n) {
  border-right: none;
}

.vault-cell:nth-child(n+5) {
  border-bottom: none;
}

.vault-cell-emoji {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}

.vault-cell-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.vault-cell-count {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.vault-bar {
  height: 3px;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.vault-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.vault-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
  padding: 3px 9px;
  align-self: flex-start;
  border: none;
  font-family: 'DM Sans', sans-serif;
  cursor: default;
}

.vault-badge-green {
  background: var(--green-dim);
  color: var(--green);
}

.vault-badge-amber {
  background: var(--amber-dim);
  border: 1px solid var(--amber-mid);
  color: var(--amber);
  cursor: pointer;
}

.vault-badge-amber:hover {
  background: rgba(245, 158, 11, 0.22);
}

.vault-badge-grey {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
}

.vault-badge-grey:hover {
  border-color: var(--muted);
  color: var(--white);
}

/* Modal body text */
.modal-body-text {
  font-size: 13px;
  color: var(--white);
  line-height: 1.6;
}

.modal-body-text--sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: -4px;
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 1100px) {
  .content-grid { grid-template-columns: 1fr; }
  .col-right { order: -1; }
  .vault-grid { grid-template-columns: repeat(2, 1fr); }
  .vault-cell:nth-child(4n)  { border-right: 1px solid var(--border); }
  .vault-cell:nth-child(2n)  { border-right: none; }
  .vault-cell:nth-child(n+5) { border-bottom: 1px solid var(--border); }
  .vault-cell:nth-child(n+7) { border-bottom: none; }
}

@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s;
  }
  .main-wrap { margin-left: 0; }
  .topbar { padding: 16px 18px; }
  .priority-banner { padding: 14px 18px; flex-direction: column; align-items: flex-start; }
  .stats-row { padding: 14px 18px 0; }
  .content-grid { padding: 12px 18px 24px; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .greeting { font-size: 16px; }
}

/* ── CHOOSE ADDRESS MODAL ──────────────── */
.addr-modal {
  max-width: 520px;
}

.addr-input-wrap {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s;
  margin: 8px 0 6px;
}

.addr-input-wrap:focus-within {
  border-color: var(--green);
}

.addr-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  padding: 11px 14px;
}

.addr-input::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.addr-suffix {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 0 14px 0 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.addr-status {
  font-size: 13px;
  font-weight: 500;
  min-height: 20px;
  padding: 2px 0;
  transition: color 0.15s;
}

.addr-status.available { color: var(--green); }
.addr-status.taken     { color: var(--red); }
.addr-status.checking  { color: var(--muted); }
.addr-status.invalid   { color: var(--amber); }

.addr-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 8px;
  min-height: 0;
}

.addr-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border-radius: 6px;
  padding: 4px 11px;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
}

.addr-chip:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Success step */
.addr-success-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 0 4px;
}

.addr-success-check {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.addr-success-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.addr-success-address {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  border-radius: 8px;
  padding: 10px 20px;
}

.addr-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.addr-qr {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  line-height: 0;
}

.addr-qr img,
.addr-qr canvas {
  display: block;
  border-radius: 4px;
}

.addr-qr-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── SIMULATE PDF TOGGLE ───────────────── */
.sim-pdf-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.sim-pdf-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}

.sim-pdf-label span { line-height: 1.4; }

/* ── ACTIVITY CARD EXTRAS ──────────────── */
.activity-item.clickable { cursor: pointer; }
.activity-item.clickable:hover .card-arrow { opacity: 1; }

.card-arrow {
  font-size: 14px;
  color: var(--muted);
  opacity: 0.45;
  flex-shrink: 0;
  transition: opacity 0.15s;
  padding-left: 4px;
}

.activity-inline-fields {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 3px;
}

.activity-inline-field {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.activity-inline-field strong {
  color: var(--white);
  font-weight: 600;
}

.activity-warn {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  font-size: 11px;
  color: var(--amber);
}

/* ── DOCUMENT DETAIL MODAL ─────────────── */
.doc-detail-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.doc-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-shrink: 0;
}

.doc-detail-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.doc-detail-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.doc-detail-emoji {
  font-size: 28px;
  width: 46px;
  height: 46px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-detail-provider {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-detail-type {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.dd-confidence-badge {
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 4px 10px;
  white-space: nowrap;
}

.dd-confidence-high   { background: var(--green-dim); color: var(--green); border: 1px solid var(--green-mid); }
.dd-confidence-medium { background: var(--amber-dim); color: var(--amber); border: 1px solid var(--amber-mid); }
.dd-confidence-low    { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(239,68,68,0.3); }

.doc-detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dd-warning-box {
  background: var(--amber-dim);
  border: 1px solid var(--amber-mid);
  border-radius: 8px;
  padding: 12px 14px;
}

.dd-warning-box.hidden { display: none; }

.dd-warning-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 4px;
}

.dd-warning-text {
  font-size: 12px;
  color: rgba(245, 158, 11, 0.8);
  line-height: 1.5;
}

.dd-section { display: flex; flex-direction: column; gap: 6px; }
.dd-section.hidden { display: none; }

.dd-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.dd-fields { display: flex; flex-direction: column; gap: 4px; }

.dd-field-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
}

.dd-field-label {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 140px;
}

.dd-field-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  word-break: break-word;
}

.dd-field-value.green { color: var(--green); }
.dd-field-value.amber { color: var(--amber); }

.dd-days-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  padding: 1px 7px;
  margin-left: 6px;
}

.dd-days-ok     { background: var(--green-dim); color: var(--green); }
.dd-days-soon   { background: var(--amber-dim); color: var(--amber); }
.dd-days-past   { background: var(--red-dim);   color: var(--red); }

.dd-summary-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  padding: 6px 0;
}

.dd-expand-link {
  font-size: 11px;
  color: var(--green);
  cursor: pointer;
  margin-top: 2px;
  display: inline-block;
}

.dd-source-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dd-source-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dd-source-row.hidden { display: none; }

.dd-pdf-download-btn {
  background: none;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.dd-pdf-download-btn:hover:not(:disabled) {
  background: var(--green);
  color: #000;
}
.dd-pdf-download-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dd-source-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  min-width: 70px;
}

.dd-source-value {
  font-size: 12px;
  color: var(--white);
  font-weight: 500;
}

.dd-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dd-action-btn {
  font-size: 12px;
  padding: 6px 13px;
}

.dd-action-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.dd-email-panel {
  margin-top: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dd-email-panel-header {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.dd-email-content {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  max-height: 300px;
  overflow-y: auto;
  font-family: inherit;
  margin: 0;
}

.doc-detail-footer {
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
}

.doc-detail-footer span {
  font-size: 11px;
  color: var(--muted);
}

/* Highlight Choose Address nav item */
.nav-item--address {
  color: var(--green) !important;
  border: 1px solid transparent;
}

.nav-item--address:hover {
  background: var(--green-dim) !important;
  border-color: var(--green-mid) !important;
  color: var(--green) !important;
}

.activity-warn .attention-dot {
  margin-top: 0;
  flex-shrink: 0;
}

.vault-doc-section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

.vault-doc-section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.vault-doc-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.vault-doc-section-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.vault-doc-item {
  border-top: 1px solid var(--border);
}

.vault-doc-item:first-child {
  border-top: none;
}

/* ── Privacy Hub ─────────────────────────── */
.page-header { padding: 32px 0 24px; }
.page-title  { font-size: 24px; font-weight: 700; color: var(--white); }
.page-subtitle { font-size: 14px; color: var(--muted); margin-top: 4px; }

.privacy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.privacy-card-title {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin-bottom: 18px;
}

.ph-consent-row {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.ph-consent-row:last-child { border-bottom: none; }
.ph-consent-icon { font-size: 16px; width: 22px; flex-shrink: 0; margin-top: 2px; }
.ph-icon-ok  { color: var(--green); }
.ph-icon-off { color: var(--muted); }
.ph-consent-body { flex: 1; }
.ph-consent-label { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.ph-consent-line  { font-size: 12px; color: var(--muted); line-height: 1.6; }
.ph-toggle-btn {
  margin-top: 8px; font-size: 12px; padding: 4px 12px;
  border: 1px solid var(--border); border-radius: 6px;
  background: transparent; color: var(--white); cursor: pointer;
  transition: border-color .15s, color .15s;
}
.ph-toggle-btn:hover { border-color: var(--green); color: var(--green); }

.ph-data-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.ph-data-stat  { background: var(--surface); border-radius: 8px; padding: 14px 16px; }
.ph-data-value { font-size: 26px; font-weight: 700; color: var(--white); }
.ph-data-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

.ph-data-lists { display: flex; gap: 32px; flex-wrap: wrap; }
.ph-data-col   { flex: 1; min-width: 200px; }
.ph-list-heading {
  font-size: 12px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px;
}
.ph-list       { list-style: none; }
.ph-list li    { font-size: 13px; color: var(--white); padding: 4px 0;
  display: flex; align-items: center; gap: 8px; }
.ph-list--hold li::before { content: '→'; color: var(--green); font-size: 12px; }
.ph-list--nope li::before { content: '✕'; color: var(--muted); font-size: 11px; }
.ph-note { font-size: 11px; color: var(--muted); }

.ph-rights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px;
}
.ph-right-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px;
  display: flex; flex-direction: column; align-items: flex-start;
  cursor: pointer; text-align: left; transition: border-color .15s;
}
.ph-right-btn:not(:disabled):hover { border-color: var(--green); }
.ph-right-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ph-right-icon  { font-size: 22px; margin-bottom: 10px; }
.ph-right-label { font-size: 13px; font-weight: 600; color: var(--white); }
.ph-right-note  { font-size: 11px; color: var(--muted); margin-top: 4px; }

.ph-meta { font-size: 12px; color: var(--muted); padding: 8px 0 24px; }

/* ── Cookie banner ───────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: var(--sidebar-w); right: 0; z-index: 900;
  background: var(--card); border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; gap: 16px;
}
.cookie-banner-text { font-size: 13px; color: var(--muted); line-height: 1.5; }
.cookie-link { color: var(--green); text-decoration: none; }
.cookie-link:hover { text-decoration: underline; }
.cookie-btn { font-size: 13px; padding: 7px 20px; white-space: nowrap; flex-shrink: 0; }

/* ── Dashboard footer ────────────────────── */
.dashboard-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.footer-copy  { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 8px; }
.footer-link  { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-link:hover { color: var(--white); }
.footer-sep   { font-size: 12px; color: var(--border); }

/* ── Delete account modal ────────────── */
.delete-modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.delete-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.delete-modal-icon {
  font-size: 24px;
}

.delete-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.delete-modal-warning {
  font-size: 14px;
  color: #c0ccd8;
  line-height: 1.6;
}

.delete-modal-final {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}

.delete-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.delete-modal-list li {
  font-size: 14px;
  color: #c0ccd8;
  padding-left: 18px;
  position: relative;
}

.delete-modal-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.delete-confirm-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delete-confirm-label {
  font-size: 13px;
  color: var(--muted);
}

.delete-confirm-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.delete-confirm-input:focus {
  border-color: var(--red);
}

.delete-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}

.btn-danger {
  background: var(--red);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  transition: opacity 0.15s;
}

.btn-danger:hover:not(:disabled) { opacity: 0.85; }
.btn-danger:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover { border-color: var(--muted); color: var(--white); }

/* ── Held Items view ──────────────────────────────── */
.held-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.held-card-header {
  margin-bottom: 10px;
}

.held-reason-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
}

.held-reason-badge--amber {
  background: var(--amber-dim);
  color: var(--amber);
}

.held-reason-badge--red {
  background: var(--red-dim);
  color: var(--red);
}

.held-subject {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.held-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.held-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.held-confirm-state {
  background: var(--red-dim);
  border: 1px solid var(--red);
  border-radius: 8px;
  padding: 14px 16px;
}

.held-confirm-text {
  font-size: 13px;
  color: var(--white);
  margin-bottom: 12px;
}

.held-confirm-btns {
  display: flex;
  gap: 10px;
}

.held-empty {
  text-align: center;
  padding: 72px 20px;
  color: var(--muted);
}

.held-empty-icon {
  font-size: 42px;
  margin-bottom: 14px;
}

.held-empty-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.held-empty-sub {
  font-size: 14px;
  color: var(--muted);
}

/* ── Opt-ins modal toggles ─────────────────────────── */
.optins-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.optins-row:last-child { border-bottom: none; }

.optins-row-text { flex: 1; }

.optins-row-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 4px;
}

.optins-row-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.toggle-btn {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--border);
  border: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
  padding: 0;
  margin-top: 2px;
}

.toggle-btn[data-on="true"] { background: var(--green); }

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  display: block;
}

.toggle-btn[data-on="true"] .toggle-knob { transform: translateX(20px); }

/* ── Clerk auth overlay ──────────────────────────────── */
.clerk-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg, #080b0f);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.clerk-overlay.hidden { display: none; }

.clerk-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.clerk-sign-out {
  margin-left: 8px;
  flex-shrink: 0;
  font-size: 1rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.clerk-sign-out:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════
   ONBOARDING WIZARD
══════════════════════════════════════════════════════ */

#wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 11, 15, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#wizard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: min(720px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

/* Progress header */
#wizard-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 24px 14px;
  flex-shrink: 0;
}

#wizard-progress-track {
  height: 4px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

#wizard-progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 20%;
}

#wizard-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#wizard-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Body (scrollable) */
#wizard-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* Step wrapper */
.wizard-step {
  padding: 32px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wizard-step--providers {
  padding-bottom: 0;
  gap: 12px;
}

/* Hero icon */
.wizard-hero-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 4px;
}

/* Typography */
.wizard-heading {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
}

.wizard-subheading {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  margin-top: -8px;
}

.wizard-body-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

.wizard-empty {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  padding: 16px 0;
}

.wizard-back-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 0 12px 0;
  display: block;
  text-align: left;
  transition: color 0.15s;
}
.wizard-back-link:hover { color: var(--white); }

/* Address pill */
.wizard-address-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dim);
  border: 1px solid var(--green-mid);
  border-radius: 10px;
  padding: 12px 16px;
  align-self: flex-start;
}

.wizard-address-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  font-family: 'DM Mono', 'Courier New', monospace;
  letter-spacing: -0.01em;
}

.wizard-copy-btn {
  background: var(--green-mid);
  border: none;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  transition: opacity 0.15s;
  letter-spacing: 0.03em;
}

.wizard-copy-btn:hover { opacity: 0.75; }

/* CTA rows */
.wizard-ctas {
  display: flex;
  justify-content: flex-start;
  padding-top: 8px;
}

.wizard-ctas--dual {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 36px;
  border-top: 1px solid var(--border);
  background: var(--card);
  position: sticky;
  bottom: 0;
}

/* Category tabs */
.wizard-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 36px;
}

.wizard-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.wizard-tab:hover {
  border-color: var(--green);
  color: var(--white);
}

.wizard-tab.active {
  background: var(--green-dim);
  border-color: var(--green-mid);
  color: var(--green);
}

.wizard-tab-badge {
  background: var(--green);
  color: #020c06;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 6px;
  line-height: 1.4;
}

/* Provider grid */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
  padding: 12px 36px 0;
  overflow-y: auto;
  max-height: 340px;
}

.provider-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 14px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
  user-select: none;
}

.provider-card:hover {
  border-color: var(--green-mid);
  background: var(--card);
}

.provider-card.selected {
  background: var(--green-dim);
  border-color: var(--green);
}

.provider-tick {
  position: absolute;
  top: 8px; right: 8px;
  width: 18px; height: 18px;
  background: var(--green);
  color: #020c06;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.provider-logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.provider-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}

.provider-initial {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  word-break: break-word;
}

.provider-cat-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
}

/* Checklist (step 3) */
.wizard-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wizard-checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: opacity 0.2s;
}

.wizard-checklist-item.done {
  opacity: 0.55;
}

.wizard-checklist-item.done .wizard-checklist-name {
  text-decoration: line-through;
  text-decoration-color: var(--green);
}

.wizard-checklist-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.wizard-checklist-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.wizard-checklist-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.wizard-done-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border-radius: 7px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
}

.wizard-done-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.wizard-done-btn.done {
  border-color: var(--green-mid);
  color: var(--green);
  background: var(--green-dim);
}

/* Mock doc card (step 4) */
.wizard-mock-doc {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 14px 16px;
}

.wizard-mock-doc-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.wizard-mock-doc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.wizard-mock-doc-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

/* Bullet list (step 4) */
.wizard-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.wizard-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 8px;
}

.wizard-bullets li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.wizard-bullets strong {
  color: var(--white);
}

/* Stat cards (step 5) */
.wizard-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wizard-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}

.wizard-stat-card--link {
  cursor: pointer;
  border-color: var(--amber);
  background: var(--amber-dim);
  transition: background 0.15s;
}

.wizard-stat-card--link:hover {
  background: rgba(245,158,11,0.12);
}

.wizard-stat-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.wizard-stat-card--link .wizard-stat-value { color: var(--amber); }

.wizard-stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.wizard-stat-hint {
  font-size: 11px;
  color: var(--amber);
  font-weight: 600;
  margin-top: 4px;
}

/* ── Verification banners ─────────────────────────────────────────────────── */

#verification-banners {
  margin-bottom: 0;
}

.verification-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #1a0e00 0%, #1f1200 100%);
  border: 1px solid #e67e00;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: #e67e00; }
  50%       { border-color: #ff9f1c; }
}

.verification-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.verification-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.verification-body {
  min-width: 0;
}

.verification-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #e67e00;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.verification-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.verification-sub {
  font-size: 13px;
  color: #aaa;
}

.verification-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-verify {
  display: inline-block;
  background: #e67e00;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-verify:hover {
  background: #ff9f1c;
}

.btn-dismiss-verification {
  background: transparent;
  border: 1px solid #444;
  color: #888;
  font-size: 13px;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.btn-dismiss-verification:hover {
  border-color: #666;
  color: #ccc;
}

.verification-no-url {
  font-size: 13px;
  color: #888;
  font-style: italic;
}
