/* Global styles */
:root {
  --primary: #467338;
  --primary-dark: #36572c;
  --text: #1f2937;
  --muted: #6b7280;
  --background: #f5f7f8;
  --surface: #ffffff;
  --border: #e5e7eb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--background);
  color: var(--text);
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 52px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}
.brand h1 {
  margin: 0;
  font-size: 1.25rem;
}
.brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.support-line {
  display: grid;
  gap: 8px;
  text-align: right;
  color: var(--muted);
  font-size: 0.95rem;
}
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.navbar a {
  color: var(--text);
  margin-right: 16px;
  font-weight: 500;
}
.navbar .nav-right a.button {
  margin-right: 0;
  margin-left: 12px;
}
.page-content {
  flex: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 32px auto;
}
.page-hero {
  display: grid;
  gap: 20px;
  padding: 40px;
  background: linear-gradient(
    135deg,
    rgba(70, 115, 56, 0.08),
    rgba(70, 115, 56, 0.02)
  );
  border-radius: 24px;
}
.page-hero h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.25rem);
  color: var(--primary-dark);
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
}
.grid {
  display: grid;
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.05);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title h3 {
  margin: 0;
  font-size: 1.25rem;
}
.section-title p {
  margin: 0;
  color: var(--muted);
}
.button {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.button-primary {
  background: var(--primary);
  color: #fff;
}
.button-secondary {
  background: rgba(70, 115, 56, 0.1);
  color: var(--primary-dark);
}
.button-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.form-grid {
  display: grid;
  gap: 16px;
}
.input-group {
  display: grid;
  gap: 8px;
}
.input-group label {
  font-size: 0.95rem;
  color: var(--muted);
}
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 20px;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #a7f3d0;
}
.footer-links {
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-footer {
  padding: 24px;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.footer-logo {
  width: 40px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}
.dashboard-grid {
  display: grid;
  gap: 12px;
}
.dashboard-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.dashboard-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.dashboard-stat {
  background: linear-gradient(
    180deg,
    rgba(70, 115, 56, 0.08),
    rgba(70, 115, 56, 0.02)
  );
  border-radius: 18px;
  padding: 20px;
}
.dashboard-stat h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--muted);
}
.dashboard-stat strong {
  font-size: 1.5rem;
  display: block;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.table th {
  font-weight: 600;
  color: var(--muted);
}
.table tr:hover {
  background: #f8fafc;
}
.side-nav {
  display: grid;
  gap: 12px;
  height:100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
}
.side-nav a {
  display: block;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
.side-nav a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.page-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 280px minmax(0, 1fr);
}

/* --- Responsive Redesign Upgrades --- */

/* Responsive Grid system */
.grid-2col {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-2col {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
}
.table-responsive table {
  margin-bottom: 0;
  width: 100%;
  min-width: 600px;
}

/* Off-canvas sidebar drawer for mobile/tablet */
@media (max-width: 1023px) {
  .page-layout {
    grid-template-columns: 1fr !important;
  }
  .side-nav {
    position: sticky;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    padding: 24px 16px;
    overflow-y: auto;
  }
  .side-nav.active {
    left: 0;
  }
  
  /* Sidebar Overlay Mask */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
  }
  .side-nav.active + .sidebar-overlay,
  .side-nav.active ~ .sidebar-overlay {
    display: block;
  }
}

@media (min-width: 1024px) {
  .page-layout {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }
  .sidebar-overlay {
    display: none !important;
  }
}

/* Mobile-first Menu for Navbar */
.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.navbar-toggle-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.navbar-toggle-btn:hover {
  opacity: 0.8;
}
.navbar-brand {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.navbar-menu {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.navbar-menu.active {
  display: flex;
}
.navbar-menu .nav-left,
.navbar-menu .nav-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.navbar-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fafc;
  margin-right: 0 !important;
  margin-left: 0 !important;
  transition: background 0.2s;
}
.navbar-menu a:hover {
  background: #f1f5f9;
}
.navbar-menu a.button {
  text-align: center;
  justify-content: center;
  padding: 12px 20px;
}

@media (min-width: 768px) {
  .navbar-header {
    display: none;
  }
  .navbar-menu {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: auto;
    flex-grow: 1;
    margin-top: 0;
  }
  .navbar-menu .nav-left,
  .navbar-menu .nav-right {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .navbar-menu a {
    background: transparent;
    padding: 0;
    margin-right: 16px !important;
  }
  .navbar-menu a:hover {
    background: transparent;
    color: var(--primary);
  }
  .navbar-menu .nav-right a.button {
    margin-right: 0 !important;
    margin-left: 12px !important;
  }
}

/* Form Responsiveness & tap targets */
input, select, textarea, button {
  font-size: 16px !important; /* Prevents auto zoom in iOS Safari on focus */
}
.input-group input, .input-group select, .input-group textarea {
  min-height: 48px; /* Large touch target */
}
.button {
  min-height: 48px;
  padding: 12px 24px;
}

/* Global viewport padding constraints */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Responsive Header */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  .support-line {
    text-align: left;
    width: 100%;
    font-size: 0.85rem;
  }
  .brand {
    width: 100%;
    justify-content: space-between;
  }
  h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }
}

/* Hero responsive content */
.page-hero img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

.sidebar-toggle-btn {
  display: none !important;
  background: #467338;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.sidebar-toggle-btn .menu-icon {
  color: #fff;
  font-size: 20px;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .sidebar-toggle-btn {
    display: flex !important;
    margin-left: 12px;
  }
}

/* Content Expansion Utilities */
.section-heading {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin: 40px 0 20px;
  text-align: center;
  position: relative;
}
.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 8px auto 0;
  border-radius: 2px;
}
.testimonials-section {
  margin-top: 48px;
}
.testimonials-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(70, 115, 56, 0.08);
}
.testimonial-rating {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}
.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}
.testimonial-location {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.trust-stats {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 32px 0;
}
.stat-card {
  background: var(--surface);
  border-top: 4px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}
.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-section {
  margin-top: 48px;
}
.faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 24px;
}
.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.01);
}
.faq-question {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.faq-answer {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.features-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.6;
}
.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Redesigned Dropdown & Caret Styles */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.caret {
  display: inline-block;
  font-size: 0.65rem;
  margin-left: 6px;
  transition: transform 0.2s ease;
  vertical-align: middle;
}
.dropdown.open .caret {
  transform: rotate(180deg);
}
.dropdown-menu-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--surface);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 0;
  z-index: 9999;
  margin-top: 12px;
}
.dropdown-menu-list::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.dropdown:hover .dropdown-menu-list,
.dropdown.open .dropdown-menu-list {
  display: block;
}
.dropdown-menu-list a {
  display: block;
  padding: 10px 20px !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  transition: background-color 0.15s, color 0.15s;
  text-align: left;
}
.dropdown-menu-list a:hover {
  background-color: #f8fafc !important;
  color: var(--primary) !important;
}

/* Redesigned Navigation Layouts (Public Website Only) */
.navbar-header-mobile {
  display: none;
}
.navbar-mobile-dropdown {
  display: none;
}
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-desktop-container {
  width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-desktop {
  width: 44px;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}
.brand-text-desktop {
  display: flex;
  flex-direction: column;
}
.brand-name-desktop {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}
.brand-slogan-desktop {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.navbar-desktop-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-desktop-menu > a,
.navbar-desktop-menu .dropdown-toggle {
  color: var(--text);
  font-weight: 600;
  padding: 10px 16px;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: color 0.15s, background-color 0.15s;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.navbar-desktop-menu > a:hover,
.navbar-desktop-menu .dropdown-toggle:hover {
  color: var(--primary);
  background-color: rgba(70, 115, 56, 0.05);
}
.nav-right-desktop {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Compact Mobile Header & Navigation */
@media (max-width: 1023px) {
  .site-header {
    display: none !important; /* Hide bulky site header on mobile/tablet */
  }
  .navbar-desktop-container {
    display: none !important;
  }
  .navbar {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    min-height: auto;
    position: relative;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  }
  .navbar-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 64px;
  }
  .brand-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .brand-logo-mobile {
    width: 36px;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
  }
  .brand-name-mobile {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
  }
  .navbar-menu-toggle-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-menu-toggle-btn:hover {
    background: var(--primary-dark);
  }
  
  /* Mobile dropdown styles */
  .navbar-mobile-dropdown {
    width: 100%;
    display: none;
    padding: 8px 0 24px;
    border-top: 1px solid var(--border);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .navbar-mobile-dropdown.active {
    display: block !important;
  }
  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-menu-links a {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: background-color 0.15s, color 0.15s;
  }
  .mobile-menu-links a:hover {
    background-color: rgba(70, 115, 56, 0.05);
    color: var(--primary);
  }
  .mobile-menu-links a.sublink {
    padding-left: 28px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
  }
  .mobile-menu-links a.sublink:hover {
    color: var(--primary);
  }
  .mobile-menu-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 16px 4px;
  }
  .mobile-menu-auth {
    margin-top: 16px;
    padding: 16px 8px 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-menu-auth .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* --- Redesigned User Dashboard Mockup Theme --- */
.dashboard-theme-body {
  background: url('../images/dashboard_bg.png') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}
.dashboard-glass-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 16px 100px; /* offset bottom nav on mobile */
}
.dashboard-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding: 4px 0;
}
.dashboard-app-title-section {
  margin-bottom: 12px;
}
.dashboard-app-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
}
.dashboard-app-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
.dashboard-app-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dashboard-app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.dashboard-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.5px;
}
.dashboard-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-checking { background-color: #f59e0b; }
.dot-savings { background-color: #0ea5e9; }
.dot-money-market { background-color: #84cc16; }
.dot-credit-card { background-color: #a16207; }

.dashboard-card-balance-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}
.dashboard-card-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
}
.dashboard-card-amount-negative {
  color: #b91c1c !important;
}
.dashboard-card-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.dashboard-card-subtext {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.dashboard-link-external-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  display: block;
  margin-top: 24px;
  transition: background 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.dashboard-link-external-btn:hover {
  background: #f9fafb;
}

/* Bottom Nav bar fixed on mobile */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  padding: 4px 0;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  flex: 1;
  transition: color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  gap: 3px;
  padding: 0;
  margin: 0;
  position: relative;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--primary);
}
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: 99px;
}
.bottom-nav-icon {
  font-size: 1.35rem;
}

/* Hide bottom nav by default on desktop screen sizes */
@media (min-width: 1000px) {
  .bottom-nav {
    display: none !important;
  }
  .dashboard-theme-body {
    background-attachment: scroll; /* simpler rendering on desktop */
  }
}
h1, h2, h3 {
  margin-top: 0;
}

p {
  margin-bottom: 6px;
}
quick-actions {
  margin-bottom: 8px !important;
}

.recent-transactions {
  margin-top: 8px !important;
}
