html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;   /* the footer is in the flow: no space kept under it */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.global-page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--tb-w72, rgba(255, 255, 255, 0.72));
  backdrop-filter: blur(1px);
}

.global-page-loader.is-active {
  display: flex;
}

.global-page-loader__panel {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--tb-ffffff, #ffffff);
  border: 1px solid var(--tl-e2e8f0, #e2e8f0);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
}

.global-page-loader__text {
  font-weight: 600;
  color: var(--tf-0f172a, #0f172a);
}

/* ── Global: darker overall font (app-wide) ── */
:root {
  --bs-body-color: #16202e;
  --bs-secondary-color: #3f4b5b;
  --bs-tertiary-color: #4b5563;
}
body { color: var(--tf-16202e, #16202e); }
.text-muted { color: var(--tf-475569, #475569) !important; }
.text-secondary { color: var(--tf-3f4b5b, #3f4b5b) !important; }
table, .table { color: var(--tf-16202e, #16202e); }
