/* ============================================
   GASYARD SOLVER NODE — Clean Light UI
   ============================================ */

:root {
  --bg-deep: #f5f6f8;
  --bg-base: #ffffff;
  --bg-surface: #f8f9fb;
  --bg-elevated: #eef0f4;
  --bg-hover: #e8eaef;

  --accent: #0d9668;
  --accent-dim: #0d966822;
  --accent-glow: #0d96680d;
  --accent-secondary: #0891b2;

  --text-primary: #1a1d26;
  --text-secondary: #5c6478;
  --text-muted: #9ca3b4;

  --border: #e2e5ec;
  --border-accent: #0d966825;

  --success: #0d9668;
  --warning: #d97706;
  --error: #dc2626;
  --info: #0891b2;

  --font-display: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --font-body: 'Outfit', -apple-system, sans-serif;

  --radius: 8px;
  --radius-lg: 12px;

  --transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { height: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.008) 2px,
    rgba(0, 0, 0, 0.008) 4px
  );
}

.hidden { display: none !important; }
.mono { font-family: var(--font-display); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #0b7d57; transform: translateY(-1px); }
.btn-primary:disabled { background: var(--bg-elevated); color: var(--text-muted); cursor: not-allowed; transform: none; }

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

.btn-sm { padding: 6px 14px; font-size: 12px; }

.btn-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-icon:hover { background: var(--bg-elevated); color: var(--accent); border-color: var(--accent-dim); }

/* ============================================
   AUTH PROMPT (inline password)
   ============================================ */

.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.auth-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

#auth-form .field-group {
  margin-bottom: 16px;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
}

.auth-error {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius);
  color: var(--error);
  font-size: 13px;
}

/* Form Fields */
.field-group { margin-bottom: 20px; }

.text-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--transition);
}
.text-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ============================================
   DASHBOARD
   ============================================ */

.dash-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  height: 56px;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dash-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.dash-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.dash-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.solver-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.solver-name-display {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}

.solver-addr {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
}

.dash-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
}

.sp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-pill.online {
  background: rgba(13, 150, 104, 0.08);
  border-color: rgba(13, 150, 104, 0.25);
  color: var(--success);
}
.status-pill.online .sp-dot {
  background: var(--success);
  box-shadow: 0 0 4px var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px var(--success); transform: scale(1); }
  50% { box-shadow: 0 0 8px var(--success), 0 0 16px rgba(13, 150, 104, 0.2); transform: scale(1.15); }
}

.status-pill.offline {
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.15);
  color: var(--error);
}
.status-pill.offline .sp-dot { background: var(--error); }

/* Dashboard Tabs */
.dash-tabs {
  display: flex;
  gap: 0;
  padding: 0 28px;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}
.tab-btn:hover { color: var(--text-secondary); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Dashboard Body */
.dash-body {
  padding: 24px 28px;
  max-width: 1360px;
  margin: 0 auto;
}

.tab-content { animation: fadeSlideUp 0.3s ease; }

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

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-color: var(--bg-hover);
}

.sc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.sc-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
}

.sc-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.sc-value.muted { color: var(--text-secondary); }

.sc-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

.earnings-card {
  border-color: var(--accent-dim);
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--accent-glow) 100%);
}
.earnings-card .sc-value { color: var(--accent); }

.claim-btn {
  padding: 5px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
}
.claim-btn:hover { background: var(--accent); color: #fff; }

/* ============================================
   SOLVER BAR (address + executor in one row)
   ============================================ */

.solver-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 14px;
  gap: 20px;
}

.solver-bar-addresses {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.solver-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solver-bar-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.solver-bar-address {
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.solver-pool-label {
  color: var(--accent-secondary);
}

.copy-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.copy-btn:hover {
  background: var(--bg-elevated);
  color: var(--accent);
  border-color: var(--accent-dim);
}
.copy-btn.copied {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}
.copy-btn.copied svg { display: none; }
.copy-btn.copied::after {
  content: '✓';
  font-size: 12px;
  font-weight: 700;
}

.solver-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.executor-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s ease;
}
.executor-indicator.online {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: pulse-executor 2s ease-in-out infinite;
}

@keyframes pulse-executor {
  0%, 100% { box-shadow: 0 0 6px var(--success); }
  50% { box-shadow: 0 0 10px var(--success), 0 0 20px rgba(13, 150, 104, 0.15); }
}

.executor-btn {
  padding: 8px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}
.executor-btn:hover { background: var(--accent-dim); }
.executor-btn.running {
  border-color: rgba(220, 38, 38, 0.3);
  color: var(--error);
}
.executor-btn.running:hover { background: rgba(220, 38, 38, 0.08); }

/* ============================================
   PANELS
   ============================================ */

.panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.panel {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.full-panel { margin-bottom: 14px; }

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

.panel-head h3 { font-size: 14px; font-weight: 600; }

.panel-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-badge {
  font-family: var(--font-display);
  font-size: 12px;
  padding: 3px 10px;
  background: var(--bg-elevated);
  border-radius: 4px;
  color: var(--text-secondary);
}
.panel-badge.green { color: var(--accent); background: var(--accent-glow); }

.mode-badge {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.panel-body {
  padding: 12px 20px;
  max-height: 340px;
  overflow-y: auto;
}
.panel-body::-webkit-scrollbar { width: 3px; }
.panel-body::-webkit-scrollbar-track { background: transparent; }
.panel-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.panel-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.panel-loading {
  display: flex;
  justify-content: center;
  padding: 40px;
}

.loader {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   SKELETON LOADERS
   ============================================ */

.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-hover) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
  width: 100%;
}
.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 65%; }

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

.skeleton-circle {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.skeleton-block {
  height: 32px;
  border-radius: 6px;
  width: 80px;
}

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

/* ============================================
   STAGGERED ENTRANCE ANIMATIONS
   ============================================ */

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

.stat-card {
  animation: fadeInUp 0.4s ease both;
}
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

.solver-bar {
  animation: fadeInUp 0.4s ease both;
  animation-delay: 0.25s;
}

.panel {
  animation: fadeInUp 0.4s ease both;
}
.panels-grid .panel:nth-child(1) { animation-delay: 0.3s; }
.panels-grid .panel:nth-child(2) { animation-delay: 0.35s; }
.bottom-row .panel { animation-delay: 0.4s; }

.liquidity-item {
  animation: fadeInUp 0.3s ease both;
}
.liquidity-item:nth-child(1) { animation-delay: 0.05s; }
.liquidity-item:nth-child(2) { animation-delay: 0.1s; }
.liquidity-item:nth-child(3) { animation-delay: 0.15s; }
.liquidity-item:nth-child(4) { animation-delay: 0.2s; }
.liquidity-item:nth-child(5) { animation-delay: 0.25s; }

.order-item {
  animation: fadeInUp 0.3s ease both;
}
.order-item:nth-child(1) { animation-delay: 0.03s; }
.order-item:nth-child(2) { animation-delay: 0.06s; }
.order-item:nth-child(3) { animation-delay: 0.09s; }
.order-item:nth-child(4) { animation-delay: 0.12s; }
.order-item:nth-child(5) { animation-delay: 0.15s; }

.route-tag {
  animation: fadeInUp 0.3s ease both;
}
.route-tag:nth-child(1) { animation-delay: 0.05s; }
.route-tag:nth-child(2) { animation-delay: 0.1s; }
.route-tag:nth-child(3) { animation-delay: 0.15s; }
.route-tag:nth-child(4) { animation-delay: 0.2s; }
.route-tag:nth-child(5) { animation-delay: 0.25s; }

/* Liquidity Toggle */
.liq-toggle {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.liq-toggle-btn {
  padding: 4px 12px;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.liq-toggle-btn:hover { color: var(--text-secondary); }
.liq-toggle-btn.active {
  background: var(--accent);
  color: #fff;
}

/* Liquidity Item */
.liquidity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  margin: 0 -4px;
  border-bottom: 1px solid var(--border);
  border-radius: 4px;
  transition: background var(--transition);
}
.liquidity-item:last-child { border-bottom: none; }
.liquidity-item:hover { background: var(--bg-surface); }

.liquidity-chain {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.chain-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.liquidity-amount {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
}

.liquidity-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.liq-tokens-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.liq-token {
  font-size: 11px;
  font-family: var(--font-display);
  color: var(--text-secondary);
}

/* Order Item (overview panel) */
.order-item {
  padding: 12px 4px;
  margin: 0 -4px;
  border-bottom: 1px solid var(--border);
  border-radius: 4px;
  transition: background var(--transition);
}
.order-item:last-child { border-bottom: none; }
.order-item:hover { background: var(--bg-surface); }

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

.order-id {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-muted);
}

.order-status {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}
.order-status.completed, .order-status.success, .order-status.attested { background: rgba(13,150,104,0.1); color: var(--success); }
.order-status.executing, .order-status.pending, .order-status.deposited, .order-status.in_progress { background: rgba(217,119,6,0.1); color: var(--warning); }
.order-status.failed, .order-status.refunded { background: rgba(220,38,38,0.1); color: var(--error); }

.order-route {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Orders Table (orders tab) */
.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  padding: 10px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.orders-table td {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.orders-table tr:hover td { background: var(--bg-surface); }

.orders-table .mono { font-size: 12px; }

.empty-cell {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px !important;
}

/* Bottom Row */
.bottom-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.routes-panel .panel-body { min-height: 100px; }

.routes-display {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.route-tag:hover {
  transform: translateY(-1px);
  background: var(--bg-elevated);
  border-color: var(--bg-hover);
}

.route-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* Earnings Tab */
.earnings-top-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.earnings-card-lg {
  border-color: var(--accent-dim);
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--accent-glow) 100%);
  display: flex;
  flex-direction: column;
}
.earnings-card-lg .sc-value {
  color: var(--accent);
  font-size: 36px;
  margin-bottom: 12px;
}

.claim-btn-lg {
  padding: 10px 20px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: auto;
  width: fit-content;
}
.claim-btn-lg:hover { background: #0b7d57; transform: translateY(-1px); }

/* Credit History Item */
.credit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  margin: 0 -4px;
  border-bottom: 1px solid var(--border);
  border-radius: 4px;
  transition: background var(--transition);
}
.credit-item:last-child { border-bottom: none; }
.credit-item:hover { background: var(--bg-surface); }

.credit-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credit-reason {
  font-size: 13px;
  font-weight: 500;
  text-transform: capitalize;
}

.credit-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.credit-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.credit-amount.positive { color: var(--success); }
.credit-amount.negative { color: var(--error); }

/* Empty & Loading States */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Notification Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  z-index: 1000;
  animation: slideIn 0.3s ease;
  max-width: 380px;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--error); }
.toast.info { border-left: 3px solid var(--info); }

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

}
.toast.hiding {
  animation: slideOut 0.3s ease forwards;
}
@keyframes slideOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(12px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .earnings-top-row { grid-template-columns: 1fr; }
  .panels-grid { grid-template-columns: 1fr; }
  .bottom-row { grid-template-columns: 1fr; }
  .solver-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .solver-bar-row { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: 1fr; }
  .dash-nav { padding: 0 16px; }
  .dash-tabs { padding: 0 16px; }
  .dash-body { padding: 16px; }
  .solver-info { display: none; }
  .solver-bar-address { font-size: 11px; }
}
