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

:root {
  --bg:        #080a0f;
  --bg2:       #0d1117;
  --bg3:       #111620;
  --surface:   #161d2e;
  --surface2:  #1a2236;
  --border:    #1e2a40;
  --green:     #00ff88;
  --green-dim: #00ff8822;
  --blue:      #4d9fff;
  --blue-dim:  #4d9fff22;
  --red:       #ff4444;
  --red-dim:   #ff444422;
  --orange:    #ffaa00;
  --orange-dim:#ffaa0022;
  --purple:    #a855f7;
  --purple-dim:#a855f722;
  --text:      #e8eaf0;
  --text2:     #8892a4;
  --text3:     #3d4a5c;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── LOGIN SCREEN ─────────────────────────────── */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbPulse 6s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,255,136,0.12) 0%, transparent 70%);
  top: -150px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(77,159,255,0.1) 0%, transparent 70%);
  bottom: -100px; right: -80px;
  animation-delay: 3s;
}
@keyframes orbPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.login-card {
  position: relative;
  z-index: 1;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 0 60px rgba(0,255,136,0.06), var(--shadow);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.shield-icon { width: 44px; height: 44px; filter: drop-shadow(0 0 12px rgba(0,255,136,0.4)); }
.login-brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
}
.login-tagline { font-size: 11px; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }

.login-divider { height: 1px; background: var(--border); margin-bottom: 20px; }

.login-desc { color: var(--text2); font-size: 13px; margin-bottom: 20px; }

.login-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 10px;
  min-height: 16px;
}
.login-success {
  color: var(--green);
  font-size: 12px;
  margin-top: 6px;
  min-height: 16px;
}

/* ─── AUTH TABS ────────────────────────────────── */
.auth-tabs {
  display: flex;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 22px;
}
.auth-tab {
  flex: 1;
  padding: 9px 0;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--text3);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'Inter', sans-serif;
}
.auth-tab.active {
  background: var(--surface2);
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.auth-tab:hover:not(.active) {
  color: var(--text2);
}
.auth-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.forgot-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  margin-top: 12px;
  transition: color 0.2s;
}
.forgot-link:hover {
  color: var(--green);
  text-decoration: none;
}

/* ─── OAUTH ───────────────────────────────────── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  font-size: 11px;
  color: var(--text3);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.oauth-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-oauth:hover {
  background: var(--surface2);
  border-color: #2a3a55;
  color: var(--text);
}

/* ─── PLAN INFO (sidebar) ─────────────────────── */
.plan-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 8px;
}
.plan-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(0,255,136,0.2);
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
}
.plan-usage {
  font-size: 11px;
  color: var(--text3);
  margin-bottom: 6px;
}
.upgrade-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.upgrade-link:hover {
  text-decoration: underline;
}

/* ─── UPGRADE MODAL ───────────────────────────── */
.upgrade-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.upgrade-option {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.upgrade-option.featured {
  border-color: rgba(0,255,136,0.3);
  box-shadow: 0 0 40px rgba(0,255,136,0.05);
}
.upgrade-option h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.upgrade-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 14px;
}
.upgrade-price span {
  font-size: 14px;
  color: var(--text3);
  font-weight: 400;
}
.upgrade-option ul {
  list-style: none;
  margin-bottom: 16px;
}
.upgrade-option li {
  font-size: 12px;
  color: var(--text2);
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.upgrade-option li:last-child {
  border-bottom: none;
}
.upgrade-option .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ─── INPUTS ───────────────────────────────────── */
.input-group { margin-bottom: 16px; }
.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.input-group input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-group input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.08);
}
.input-group input::placeholder { color: var(--text3); font-family: 'Inter', sans-serif; }
.input-hint { font-size: 11px; color: var(--text3); margin-top: 5px; display: block; }

/* ─── BUTTONS ──────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  background: var(--green);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(0,255,136,0.2);
}
.btn-primary:hover { background: #00e67a; box-shadow: 0 0 28px rgba(0,255,136,0.35); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.small { padding: 8px 14px; font-size: 12px; }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  background: var(--surface);
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--surface2); color: var(--text); }

.btn-text {
  background: none;
  border: none;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.btn-text:hover { opacity: 0.8; }

.btn-danger {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: rgba(255,68,68,0.1);
  color: var(--red);
  border: 1px solid rgba(255,68,68,0.3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-danger:hover { background: rgba(255,68,68,0.2); }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text2);
  transition: background 0.15s, color 0.15s;
}
.btn-icon:hover { background: var(--surface2); color: var(--text); }

/* ─── DASHBOARD LAYOUT ─────────────────────────── */
.dashboard {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ─── SIDEBAR ──────────────────────────────────── */
.sidebar {
  width: 220px;
  min-width: 220px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  gap: 0;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  margin-bottom: 32px;
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-item:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.nav-item.active { background: var(--green-dim); color: var(--green); }

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.api-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text3);
  padding: 0 4px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.btn-logout {
  background: none;
  border: 1px solid var(--border);
  color: var(--text3);
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-logout:hover { border-color: var(--red); color: var(--red); }

/* ─── MAIN CONTENT ─────────────────────────────── */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

/* ─── TOPBAR ───────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.page-title { font-size: 20px; font-weight: 700; color: var(--text); }
.page-subtitle { font-size: 12px; color: var(--text3); margin-top: 2px; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }

.btn-scan-all {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-scan-all:hover { background: var(--surface2); color: var(--text); }

.btn-add-domain {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--green);
  border: none;
  border-radius: var(--radius-sm);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-add-domain:hover { background: #00e67a; }

/* ─── VIEWS ────────────────────────────────────── */
.view { display: none; padding: 28px; overflow-y: auto; flex: 1; }
.view.active { display: block; }

/* ─── STATS GRID ───────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.stat-card:hover { border-color: #2a3a55; transform: translateY(-1px); }

.stat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon-blue  { background: var(--blue-dim); color: var(--blue); }
.stat-icon-green { background: var(--green-dim); color: var(--green); }
.stat-icon-red   { background: var(--red-dim); color: var(--red); }
.stat-icon-purple{ background: var(--purple-dim); color: var(--purple); }

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 11px; color: var(--text3); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ─── SECTION HEADER ───────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-header h3 { font-size: 15px; font-weight: 700; color: var(--text); }

/* ─── DOMAIN GRID (overview cards) ─────────────── */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.domain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.domain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-color, var(--green));
  opacity: 0.6;
}
.domain-card:hover {
  border-color: #2a3a55;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.domain-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.domain-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}
.domain-card-time {
  font-size: 10px;
  color: var(--text3);
  margin-top: 3px;
}

.score-badge {
  min-width: 44px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.domain-card-stats {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text3);
}
.domain-card-stats span { display: flex; align-items: center; gap: 4px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-actions {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ─── DOMAIN TABLE ─────────────────────────────── */
.domain-table {
  width: 100%;
  border-collapse: collapse;
}
.domain-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.domain-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.domain-table tr:hover td { background: var(--surface); }
.domain-table tr:last-child td { border-bottom: none; }
.domain-name-cell { font-weight: 600; color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.domain-actions { display: flex; gap: 6px; }

/* ─── HISTORY LIST ─────────────────────────────── */
.history-count { font-size: 12px; color: var(--text3); }

.history-list { display: flex; flex-direction: column; gap: 8px; }

.history-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--item-color, var(--green));
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.15s;
}
.history-item:hover { background: var(--surface2); }
.history-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text2);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-meta { font-size: 11px; color: var(--text3); }
.history-score {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: right;
}

/* ─── SETTINGS ─────────────────────────────────── */
.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  max-width: 540px;
}
.settings-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--text); }

/* ─── EMPTY STATE ──────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
  grid-column: 1 / -1;
}
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; margin-bottom: 16px; }

/* ─── MODAL ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  animation: slideUp 0.2s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.result-modal-card { max-width: 480px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  color: var(--text3);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--text); }

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

/* ─── RESULT MODAL CONTENT ─────────────────────── */
.result-meter-wrap { text-align: center; padding: 20px 0 10px; }
.result-score-num { font-size: 64px; font-weight: 800; line-height: 1; }
.result-score-sub { font-size: 11px; color: var(--text3); letter-spacing: 1px; margin-top: 4px; }
.result-badge {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 12px auto 0;
}
.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 16px;
}
.result-stat {
  background: var(--surface);
  padding: 14px;
  text-align: center;
}
.result-stat-num { font-size: 22px; font-weight: 800; color: var(--text); }
.result-stat-label { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; }

.result-url {
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text3);
  word-break: break-all;
}

/* ─── SCANNING ANIMATION ───────────────────────── */
.scanning-anim {
  text-align: center;
  padding: 30px 0;
}
.scan-ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scanning-anim p { color: var(--text3); font-size: 13px; }

/* ─── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2a3a55; }

/* ─── TOAST ────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 9999;
  animation: slideUp 0.2s ease;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }

/* ─── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sidebar { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
