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

:root {
  --bg: #0b0f19;
  --bg-elevated: #121826;
  --bg-card: #161e2e;
  --bg-hover: #1c2639;
  --border: #243047;
  --text: #e8edf5;
  --text-muted: #8b9bb4;
  --text-dim: #5c6b82;
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, 0.15);
  --green: #34d399;
  --green-dim: rgba(52, 211, 153, 0.15);
  --red: #f87171;
  --red-dim: rgba(248, 113, 113, 0.15);
  --purple: #a78bfa;
  --orange: #fb923c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select {
  font-family: inherit;
  color: inherit;
}

.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, #132038 0%, var(--bg) 60%);
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #0b0f19;
}

.login-card h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.login-sub {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.login-hint {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.app {
  display: flex;
  min-height: 100vh;
}

.hidden { display: none !important; }

.sidebar {
  width: 240px;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  font-weight: 700;
  font-size: 1.15rem;
}

.sidebar-nav {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.925rem;
  font-weight: 500;
  transition: all 0.15s;
  text-align: left;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.nav-item.active {
  background: var(--accent-dim);
  color: var(--accent);
}

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

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

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}

.user-name { font-size: 0.85rem; font-weight: 600; }
.user-plan { font-size: 0.75rem; color: var(--text-dim); }

.btn-logout {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.btn-logout:hover { color: var(--red); background: var(--red-dim); }
.btn-logout svg { width: 18px; height: 18px; }

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-left h2 {
  font-size: 1.35rem;
  font-weight: 700;
}

.page-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  width: 220px;
}

.search-box svg { width: 16px; height: 16px; color: var(--text-dim); flex-shrink: 0; }
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.875rem;
  color: var(--text);
}
.search-box input::placeholder { color: var(--text-dim); }

.icon-btn {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}
.icon-btn:hover { color: var(--text); border-color: var(--text-dim); }
.icon-btn svg { width: 18px; height: 18px; }
.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.views { padding: 24px 32px 40px; flex: 1; }

.view { display: none; }
.view.active { display: block; animation: fadeIn 0.25s ease; }

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

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-card.accent {
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(14,165,233,0.06));
  border-color: rgba(34,211,238,0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-value.positive { color: var(--green); }
.stat-change {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 6px;
}
.stat-change.positive { color: var(--green); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

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

.card-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #0b0f19;
}
.btn-primary:hover { filter: brightness(1.1); }

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  background: var(--bg-hover);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-sm:hover { border-color: var(--text-dim); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover { color: var(--text); border-color: var(--text-dim); }

.btn-full { width: 100%; padding: 12px; }

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.amount-input {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding-left: 14px;
}
.amount-input span {
  color: var(--text-muted);
  font-weight: 600;
}
.amount-input input {
  border: none !important;
  background: transparent !important;
  padding-left: 6px;
}

.allocation-chart {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 8px 0;
}

.pie {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(
    #22d3ee 0% 48%,
    #a78bfa 48% 80%,
    #fb923c 80% 92%,
    #5c6b82 92% 100%
  );
  position: relative;
  flex-shrink: 0;
}
.pie::after {
  content: "";
  position: absolute;
  inset: 28px;
  background: var(--bg-card);
  border-radius: 50%;
}

.legend { display: flex; flex-direction: column; gap: 10px; }
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.legend-item strong { color: var(--text); margin-left: auto; min-width: 36px; text-align: right; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.stocks { background: #22d3ee; }
.dot.etfs { background: #a78bfa; }
.dot.crypto { background: #fb923c; }
.dot.cash { background: #5c6b82; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.action-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-dim);
}

.action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.action-icon.transfer { background: rgba(34,211,238,0.15); color: var(--accent); }
.action-icon.invest { background: var(--green-dim); color: var(--green); }
.action-icon.accounts { background: rgba(167,139,250,0.15); color: var(--purple); }
.action-icon.markets { background: rgba(251,146,60,0.15); color: var(--orange); }

.tx-list { display: flex; flex-direction: column; }

.tx-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.tx-item:last-child { border-bottom: none; }

.tx-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tx-icon.income { background: var(--green-dim); color: var(--green); }
.tx-icon.expense { background: var(--red-dim); color: var(--red); }
.tx-icon.transfer { background: var(--accent-dim); color: var(--accent); }
.tx-icon.trade { background: rgba(167,139,250,0.15); color: var(--purple); }

.tx-info { flex: 1; min-width: 0; }
.tx-title { font-weight: 600; font-size: 0.9rem; }
.tx-date { font-size: 0.75rem; color: var(--text-dim); margin-top: 2px; }

.tx-amount {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
}
.tx-amount.positive { color: var(--green); }
.tx-amount.negative { color: var(--text); }

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.account-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.account-card.checking::before { background: var(--accent); }
.account-card.savings::before { background: var(--green); }
.account-card.investment::before { background: var(--purple); }

.account-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.account-number {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.account-balance {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.account-apy {
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 16px;
}
.account-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-hover); }

.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status.active {
  background: var(--green-dim);
  color: var(--green);
}

.asset-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.asset-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: #fff;
}
.asset-name { font-weight: 600; }
.asset-symbol { font-size: 0.75rem; color: var(--text-dim); }

.gain.positive { color: var(--green); }
.gain.negative { color: var(--red); }

.performance-chart {
  padding: 8px 0;
}
.line-chart {
  width: 100%;
  height: 160px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 8px;
  padding: 0 4px;
}

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

.watch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  border-radius: 8px;
  cursor: pointer;
}
.watch-item:hover { background: var(--bg-hover); }

.watch-left { display: flex; align-items: center; gap: 10px; }
.watch-symbol { font-weight: 600; font-size: 0.9rem; }
.watch-name { font-size: 0.75rem; color: var(--text-dim); }
.watch-price { font-weight: 600; font-size: 0.9rem; text-align: right; }
.watch-change { font-size: 0.75rem; text-align: right; }
.watch-change.positive { color: var(--green); }
.watch-change.negative { color: var(--red); }

.market-indices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.index-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.index-name { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.index-value { font-size: 1.25rem; font-weight: 700; }
.index-change { font-size: 0.85rem; margin-top: 4px; font-weight: 600; }
.index-change.positive { color: var(--green); }
.index-change.negative { color: var(--red); }

.transfer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
}
.transfer-card h3,
.card h3 {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  box-shadow: var(--shadow);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: none; }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-header h3 { font-size: 1.15rem; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }

.trade-estimate {
  background: var(--bg);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trade-estimate strong { color: var(--text); }

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  z-index: 200;
  animation: toastIn 0.3s ease;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.filter-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.85rem;
  outline: none;
}

@media (max-width: 1100px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .accounts-grid { grid-template-columns: 1fr; }
  .market-indices { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .transfer-layout { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -240px;
    z-index: 50;
    transition: left 0.25s;
  }
  .sidebar.open { left: 0; }
  .topbar { padding: 16px 20px; }
  .views { padding: 16px 20px 32px; }
  .search-box { display: none; }
  .stats-row { grid-template-columns: 1fr; }
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-full {
  grid-column: 1 / -1;
}
.card-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
  font-weight: 400;
}

.wallet-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wallet-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wallet-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.wallet-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.wallet-icon.btc { background: #f7931a; }
.wallet-icon.eth { background: #627eea; }
.wallet-icon.usdt { background: #26a17b; }
.wallet-icon.sol { background: #9945ff; }
.wallet-icon.other { background: var(--text-dim); }

.live-chart-card {
  margin-bottom: 24px;
}
.chart-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green);
  background: var(--green-dim);
  padding: 3px 10px;
  border-radius: 20px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.chart-symbol-tabs {
  display: flex;
  gap: 6px;
}
.symbol-tab {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.symbol-tab:hover { color: var(--text); border-color: var(--text-dim); }
.symbol-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.live-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  padding: 0 4px;
}
.live-symbol {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.live-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.live-change-box { text-align: right; }
.live-change {
  font-size: 1rem;
  font-weight: 600;
}
.live-change.positive { color: var(--green); }
.live-change.negative { color: var(--red); }
.live-time {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.canvas-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
}
#live-chart {
  display: block;
  width: 100%;
  height: 280px;
}

.chart-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 12px;
  padding: 0 4px;
}

@media (max-width: 1100px) {
  .settings-grid { grid-template-columns: 1fr; }
  .live-price { font-size: 1.5rem; }
}

.deposit-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.deposit-tab {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
}
.deposit-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}
.deposit-panel.hidden { display: none; }
.deposit-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.45;
}
.deposit-details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: none; }
.detail-row span { color: var(--text-dim); }
.detail-row strong { color: var(--text); font-weight: 600; }

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.pending-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(251,146,60,0.15);
  color: #fb923c;
}
.approved-badge {
  background: var(--green-dim);
  color: var(--green);
}
.rejected-badge {
  background: var(--red-dim);
  color: var(--red);
}
.admin-actions { display: flex; gap: 6px; }
.btn-approve {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid transparent;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-approve:hover { border-color: var(--green); }
.btn-reject {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid transparent;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-reject:hover { border-color: var(--red); }

@media (max-width: 1100px) {
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
