:root {
  --debtrec-primary: #1f4f8b;
  --debtrec-primary-dark: #173a66;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

.page {
  min-width: 0;
}

body {
  background: #f6f8fb;
}

.navbar-vertical[data-bs-theme="dark"] {
  background: linear-gradient(180deg, var(--debtrec-primary-dark), #102844);
}

.navbar-brand {
  letter-spacing: .02em;
}

.debtrec-avatar {
  background: var(--debtrec-primary);
  color: #fff;
}

.page-pretitle {
  color: var(--debtrec-primary);
}

.card {
  box-shadow: 0 0.125rem 0.375rem rgba(15, 23, 42, 0.04);
}

.account-summary-fragment > :last-child {
  margin-bottom: 0;
}

.account-summary-fragment ul,
.account-summary-fragment ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.account-summary-fragment .badge {
  margin-right: .25rem;
}

.rtf-notes {
  overflow-wrap: anywhere;
  font-size: .875rem;
  line-height: 1.5;
}

.rtf-notes table {
  max-width: 100%;
  margin-bottom: 1rem;
}

.rtf-notes .note-plain {
  white-space: pre-wrap;
}

.rtf-notes td,
.rtf-notes th {
  padding: .25rem .5rem;
  border: 1px solid var(--tblr-border-color);
}

@media print {
  .navbar,
  .footer {
    display: none !important;
  }
}
