/* ================================================================
   styles.css — Dark Glassmorphic Design System
   Premium finance dashboard theme with animated elements
   ================================================================ */

/* ── CSS Variables (Design Tokens) ────────────────────────── */
:root {
  --bg-body: #07070d;
  --bg-surface: #0e0e1a;
  --bg-card: rgba(16, 16, 30, 0.75);
  --bg-card-hover: rgba(24, 24, 44, 0.85);
  --bg-header: rgba(10, 10, 18, 0.85);
  --bg-input: rgba(255,255,255,0.04);

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --green: #10b981;
  --green-light: #34d399;
  --green-bg: rgba(16, 185, 129, 0.1);
  --green-glow: 0 0 20px rgba(16, 185, 129, 0.2);

  --red: #ef4444;
  --red-light: #f87171;
  --red-bg: rgba(239, 68, 68, 0.1);
  --red-glow: 0 0 20px rgba(239, 68, 68, 0.2);

  --blue: #6366f1;
  --blue-light: #818cf8;
  --blue-bg: rgba(99, 102, 241, 0.1);
  --blue-glow: 0 0 20px rgba(99, 102, 241, 0.2);

  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-bg: rgba(245, 158, 11, 0.1);
  --amber-glow: 0 0 20px rgba(245, 158, 11, 0.2);

  --purple: #a855f7;
  --purple-bg: rgba(168, 85, 247, 0.1);

  --cyan: #06b6d4;
  --cyan-bg: rgba(6, 182, 212, 0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.06);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle radial gradient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hidden { display: none !important; }

a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ───────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--bg-header);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-bg), var(--purple-bg));
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

header h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.month-selector {
  appearance: none;
  background: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 32px 8px 14px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%2394a3b8' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.month-selector:hover, .month-selector:focus {
  border-color: var(--blue);
  outline: none;
}

.month-selector option {
  background: #1a1a2e;
  color: #f1f5f9;
}

.btn-icon {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--blue-bg);
  border-color: var(--blue);
  color: var(--blue-light);
  transform: rotate(180deg);
}

/* ── Loading ──────────────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--bg-body);
}

.loading-overlay p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Main Container ───────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── KPI Strip ────────────────────────────────────────────── */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.kpi-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.kpi-income::before { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.kpi-income:hover { box-shadow: var(--green-glow); }

.kpi-expense::before { background: linear-gradient(90deg, var(--red), var(--red-light)); }
.kpi-expense:hover { box-shadow: var(--red-glow); }

.kpi-paid::before { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.kpi-paid:hover { box-shadow: var(--blue-glow); }

.kpi-balance::before { background: linear-gradient(90deg, var(--purple), #c084fc); }
.kpi-balance:hover { box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }

.kpi-loans::before { background: linear-gradient(90deg, var(--amber), var(--amber-light)); }
.kpi-loans:hover { box-shadow: var(--amber-glow); }

.kpi-emi::before { background: linear-gradient(90deg, var(--cyan), #22d3ee); }
.kpi-emi:hover { box-shadow: 0 0 20px rgba(6, 182, 212, 0.2); }

.kpi-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.kpi-income .kpi-value { color: var(--green); }
.kpi-expense .kpi-value { color: var(--red-light); }
.kpi-paid .kpi-value { color: var(--blue-light); }
.kpi-balance .kpi-value { color: var(--purple); }
.kpi-balance.positive .kpi-value { color: var(--green); }
.kpi-balance.negative .kpi-value { color: var(--red); }
.kpi-loans .kpi-value { color: var(--amber); }
.kpi-emi .kpi-value { color: var(--cyan); }

/* ── Card Component ───────────────────────────────────────── */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition);
}

.card:hover { border-color: var(--border-hover); }

.card h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h2 .count {
  font-size: 0.7rem;
  background: var(--bg-input);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Grid Layouts ─────────────────────────────────────────── */
.charts-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.chart-container {
  position: relative;
  width: 100%;
  max-height: 340px;
}

/* ── Tables ────────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table thead th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
}

.data-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.data-table td {
  padding: 10px 12px;
  color: var(--text-primary);
  vertical-align: middle;
}

.data-table td.amount {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
}

.data-table td.amount.positive { color: var(--green); }
.data-table td.amount.negative { color: var(--red); }
.data-table td.amount.neutral { color: var(--text-secondary); }

.data-table td.description {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-table .section-header td {
  padding: 14px 12px 6px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  border-bottom: none;
}

.data-table .total-row td {
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.table-scroll {
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.table-scroll::-webkit-scrollbar { width: 5px; }
.table-scroll::-webkit-scrollbar-track { background: transparent; }
.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-paid {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-pending {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ── Progress Bars (EMI Tracker) ──────────────────────────── */
.emi-item {
  margin-bottom: 18px;
}

.emi-item:last-child { margin-bottom: 0; }

.emi-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.emi-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.emi-stats {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.emi-stats strong {
  color: var(--text-secondary);
}

.progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-fill.high { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.progress-fill.medium { background: linear-gradient(90deg, var(--amber), var(--amber-light)); }
.progress-fill.low { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }

.emi-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ── Loan Cards ───────────────────────────────────────────── */
.loan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.loan-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition);
}

.loan-item:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}

.loan-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.loan-detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.loan-label { color: var(--text-muted); }
.loan-amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.loan-amount.paid-val { color: var(--green); }
.loan-amount.outstanding-val { color: var(--red-light); }

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
}

.empty-state .icon { font-size: 2rem; margin-bottom: 8px; }
.empty-state p { font-size: 0.85rem; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }
.animate-in:nth-child(6) { animation-delay: 0.3s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .charts-row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  header { padding: 10px 16px; }
  header h1 { font-size: 1rem; }
  main { padding: 16px; gap: 16px; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi-card { padding: 14px; }
  .kpi-value { font-size: 1.2rem; }
  .extra-grid { grid-template-columns: 1fr; }
  .loan-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .kpi-strip { grid-template-columns: 1fr; }
  .loan-grid { grid-template-columns: 1fr; }
  .month-selector { max-width: 140px; }
  .nav-tabs { width: 100%; justify-content: center; }
}

/* ── Navigation Tabs ──────────────────────────────────────── */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: transparent;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}

.nav-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

/* ── Action Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--blue), #4f46e5);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-pay {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pay:hover {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.btn-next-month {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-next-month:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.45);
}

/* ── Forms ────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-select option {
  background: #0e0e1a;
  color: #fff;
}

/* ── Pending Bills Checklist ──────────────────────────────── */
.bill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.bill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.bill-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-hover);
  transform: translateX(3px);
}

.bill-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bill-icon {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.bill-info {
  display: flex;
  flex-direction: column;
}

.bill-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.bill-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bill-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bill-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red-light);
  font-variant-numeric: tabular-nums;
}

/* ── Filter Pills ─────────────────────────────────────────── */
.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pill {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}

.pill.active {
  background: var(--blue-bg);
  border-color: var(--blue);
  color: var(--blue-light);
}

/* ── Toast Notifications ──────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(14, 14, 26, 0.95);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  pointer-events: auto;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid var(--red); }
.toast.info { border-left: 4px solid var(--blue); }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
