@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-base: #07070f;
  --bg-elevated: #0e0e1a;
  --bg-card: #13131f;
  --bg-card-hover: #1a1a2e;
  --bg-glass: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);
  --primary: #818cf8;
  --primary-dark: #6366f1;
  --secondary: #a78bfa;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --info: #22d3ee;
  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #475569;
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-success: linear-gradient(135deg, #10b981, #059669);
  --gradient-warning: linear-gradient(135deg, #f59e0b, #d97706);
  --gradient-danger: linear-gradient(135deg, #ef4444, #dc2626);
  --sidebar-w: 240px;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1.5rem;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
}

#btn-close-sidebar { display: none; }

[data-theme="light"] {
  --bg-base: #f0f2f8;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9ff;
  --bg-glass: rgba(255,255,255,0.8);
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }

/* Layout */
.app-layout,
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  min-height: 70px;
}

.logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.logo-text { font-size: 1.1rem; font-weight: 700; }
.logo-text span { color: var(--primary); }

.sidebar-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 0.75rem 0.5rem 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.nav-link:hover { background: var(--bg-glass); color: var(--text-1); }

.nav-link.active {
  background: rgba(99,102,241,0.15);
  color: var(--primary);
}

.nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-user {
  padding: 1rem 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  background: var(--bg-elevated);
  margin-top: auto;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}

.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.user-info { flex: 1; min-width: 0; }
.user-name { font-size: 0.825rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: 0.7rem; color: var(--text-3); }

/* Main content */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-content {
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 90;
}

.mobile-menu-btn {
  display: none;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.card:hover { border-color: var(--border-strong); }

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.stat-card.primary::before { background: var(--gradient); }
.stat-card.success::before { background: var(--gradient-success); }
.stat-card.danger::before { background: var(--gradient-danger); }
.stat-card.warning::before { background: var(--gradient-warning); }
.stat-card.info::before { background: linear-gradient(135deg, var(--info), #0891b2); }

.stat-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }

.stat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.875rem;
  font-size: 1.1rem;
}

.stat-label { font-size: 0.75rem; color: var(--text-2); font-weight: 500; margin-bottom: 0.25rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.stat-sub { font-size: 0.75rem; color: var(--text-3); margin-top: 0.25rem; }

.stat-change {
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.25rem;
}

.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(99,102,241,0.5); filter: brightness(1.05); }

.btn-success { background: var(--gradient-success); color: white; }
.btn-danger { background: var(--gradient-danger); color: white; }
.btn-ghost { background: var(--bg-glass); color: var(--text-1); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-card-hover); }

.btn-icon {
  width: 36px; height: 36px;
  padding: 0;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 0.95rem; }
.btn-sm { padding: 0.4rem 0.875rem; font-size: 0.8rem; }

/* Forms */
.form-group { margin-bottom: 1.125rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-2); margin-bottom: 0.4rem; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  color: var(--text-1);
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.875rem center; padding-right: 2.5rem; }

.form-textarea { resize: vertical; min-height: 80px; }

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

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.2s;
}

.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-title { font-size: 1.05rem; font-weight: 700; }
.modal-body { padding: 1.25rem 1.5rem; }
.modal-footer {
  display: flex; gap: 0.75rem; justify-content: flex-end;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* Page header */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap; gap: 1rem;
}

.page-title { font-size: 1.5rem; font-weight: 700; }
.page-subtitle { font-size: 0.875rem; color: var(--text-2); margin-top: 0.2rem; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-success { background: rgba(52,211,153,0.15); color: var(--success); }
.badge-danger { background: rgba(248,113,113,0.15); color: var(--danger); }
.badge-warning { background: rgba(251,191,36,0.15); color: var(--warning); }
.badge-primary { background: rgba(129,140,248,0.15); color: var(--primary); }
.badge-info { background: rgba(34,211,238,0.15); color: var(--info); }

/* Progress bar */
.progress-wrap { background: var(--border); border-radius: 99px; overflow: hidden; }
.progress-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toast */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 500;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  pointer-events: all;
  animation: toastIn 0.3s ease;
  min-width: 280px;
  max-width: 380px;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.warning { border-left: 3px solid var(--warning); }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th { text-align: left; padding: 0.75rem 1rem; font-size: 0.7rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-glass); }

/* Account card (banking style) */
.account-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  aspect-ratio: 1.7 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.account-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }

.account-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.account-card::after {
  content: '';
  position: absolute;
  bottom: -40px; right: 20px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.account-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* Circular progress (goals) */
.circular-progress {
  position: relative;
  width: 72px; height: 72px;
  flex-shrink: 0;
}

.circular-progress svg { transform: rotate(-90deg); }
.circular-progress .track { fill: none; stroke: var(--border); stroke-width: 6; }
.circular-progress .fill { fill: none; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 0.6s cubic-bezier(0.4,0,0.2,1); }
.circular-progress .label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}

/* Bottom nav (mobile only) */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  z-index: 100;
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
}

.bottom-nav-items {
  display: flex;
  justify-content: space-around;
}

.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-3);
  font-size: 0.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
  border: none; background: none; font-family: inherit;
}

.bottom-nav-item svg { width: 22px; height: 22px; }
.bottom-nav-item.active { color: var(--primary); }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

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

/* Empty state */
.empty-state {
  text-align: center; padding: 3rem 1rem;
  color: var(--text-3);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { font-size: 1rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.875rem; }

/* Chip / tag */
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.625rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.chip:hover { background: var(--bg-card-hover); border-color: var(--border-strong); }
.chip.selected { background: rgba(99,102,241,0.15); border-color: var(--primary); color: var(--primary); }

/* Amount colors */
.amount-income { color: var(--success); }
.amount-expense { color: var(--danger); }
.amount-interest { color: var(--info); }
.amount-transfer { color: var(--warning); }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }

/* Section */
.section { margin-bottom: 2rem; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.section-title { font-size: 1rem; font-weight: 700; }

/* Utility */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.p-0 { padding: 0 !important; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-2); }
.text-center { text-align: center; }
.text-danger { color: var(--danger); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Color dot */
.color-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* App Loader */
.app-loader {
  position: fixed; inset: 0;
  background: var(--bg-base);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.app-loader.active {
  opacity: 1;
  pointer-events: all;
}
.loader-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* FAB (mobile add button) */
.fab {
  display: none;
  position: fixed;
  bottom: calc(70px + env(safe-area-inset-bottom));
  right: 1.25rem;
  width: 52px; height: 52px;
  background: var(--gradient);
  border-radius: 50%;
  border: none;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99,102,241,0.5);
  align-items: center; justify-content: center;
  z-index: 95;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(99,102,241,0.65); }
.fab svg { width: 22px; height: 22px; }

/* Utilities for Dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
}

/* Mobile */
@media (max-width: 1024px) {
  .dashboard-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); z-index: 300; }
  .sidebar.open { transform: translateX(0); }
  #btn-close-sidebar { display: flex !important; }
  .sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 299;
  }
  .sidebar-overlay.active { display: block; }
  .sidebar-overlay.open { display: block; }
  .main-content { margin-left: 0; }
  .mobile-menu-btn { display: flex; }
  .topbar { padding: 0.75rem 1rem; }
  .bottom-nav { display: block; }
  .fab { display: flex; }
  .page-content { padding: 1.25rem; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-card { padding: 1rem; }
  .stat-value { font-size: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .account-cards-grid { grid-template-columns: 1fr; }
  .modal {
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 95vh;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(100%);
  }
  .modal-overlay.open .modal {
    transform: translateY(0);
  }
  .modal-footer { flex-direction: column-reverse; }
  .modal-footer .btn { width: 100%; justify-content: center; }
  .page-title { font-size: 1.25rem; }
  .toast-container { bottom: calc(80px + env(safe-area-inset-bottom)); right: 1rem; left: 1rem; }
  /* Toast fix: toast is inside #toasts which is in topbar, reposition it */
  #toasts.toasts-container { position: fixed; bottom: calc(80px + env(safe-area-inset-bottom)); left: 1rem; right: 1rem; top: auto; }
  .toast { min-width: unset; width: 100%; }
  table { font-size: 0.8rem; }
  th, td { padding: 0.625rem 0.75rem; }
  /* Bottom nav avatar profile button */
  .bottom-nav-item:last-child { position: relative; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .stat-card { padding: 0.75rem; }
  .stat-card .stat-value { font-size: 1.05rem; }
  .stat-card .text-xs { font-size: 0.65rem; }
  .stat-card .icon-container { width: 32px; height: 32px; font-size: 0.9rem; margin-bottom: 0.5rem; }
  
  .account-cards-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .account-card { padding: 1rem; border-radius: var(--radius); aspect-ratio: auto; min-height: unset; }
  .acc-icon-wrap { width: 36px !important; height: 36px !important; font-size: 1.25rem !important; border-radius: 10px !important; }
  .acc-name-text { font-size: 0.95rem; }
  .acc-type-text { font-size: 0.7rem; }
  .acc-saldo-margin { margin-top: 1rem !important; }
  .acc-saldo-label { font-size: 0.75rem; }
  .acc-saldo-value { font-size: 1.5rem !important; }
  .account-card .progress-wrap { height: 4px !important; margin-top: 0.5rem !important; }
  
  .page-content { padding: 1rem; padding-bottom: 90px; }
}
