:root {
  --surface: #ffffff;
  --line: #e6e8ee;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f4f6fb;
}

body {
  background: var(--bg);
  color: var(--text);
}

.auth-shell {
  align-items: center;
  background: linear-gradient(135deg, #eef6ff, #f8fafc 42%, #f3f8f2);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.auth-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.auth-card {
  max-width: 460px;
  padding: 32px;
  width: 100%;
}

.brand-mark {
  align-items: center;
  background: #0d6efd;
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 28px;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.panel {
  padding: 22px;
}

.metric-card {
  border-radius: 8px;
  color: #fff;
  min-height: 132px;
  padding: 24px;
}

.metric-card span {
  display: block;
  opacity: 0.86;
}

.metric-card strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 18px;
}

.metric-card.income {
  background: #147a43;
}

.metric-card.expense {
  background: #b42318;
}

.metric-card.net {
  background: #155e75;
}

.color-dot {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  margin-right: 8px;
  vertical-align: middle;
  width: 10px;
}

.category-tile,
.budget-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 14px;
}

.budget-row {
  align-items: stretch;
  display: block;
}

.category-icon {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.table > :not(caption) > * > * {
  padding: 0.9rem 0.75rem;
}

.progress {
  background: #edf0f5;
  height: 10px;
}

@media (max-width: 575.98px) {
  .auth-card,
  .panel {
    padding: 18px;
  }
}

