/*
  QmCredit custom overrides
  - Loaded after the main theme styles (see base.html)
  - Keep selectors scoped to minimize unintended side-effects
*/

:root {
  --qmcredit-bottom-nav-height: 68px; /* must match --nav-h in base.html */
}

/* Fix bottom overlap for pages with long content:
   Reserve enough space for the fixed bottom nav + safe-area inset. */
.app-main {
  padding-bottom: calc(20px + var(--qmcredit-bottom-nav-height) + env(safe-area-inset-bottom));
}

/* Safety hook if a page wants to add explicit spacer */
.bottom-nav-spacer {
  height: calc(var(--qmcredit-bottom-nav-height) + env(safe-area-inset-bottom));
}

/* Example override hooks */
.qm-override__card {
  border-radius: 18px;
}


