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: 60px;
}

.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;
}

/* ── Branded login (per-site via --brand-primary, set in _Layout) ───────── */
:root {
  --brand-primary: #006072;
}

.brand-body {
  background-color: #f4f6f8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Direct child only, so the footer's own .container is unaffected. */
.brand-body > .container {
  flex: 1 0 auto;
  display: flex;
}

.brand-body > .container > main {
  flex: 1;
  display: flex;
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering */
}

.brand-card {
  width: 100%;
  max-width: 26rem;
  margin: 1.5rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.brand-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.brand-logo {
  max-height: 3rem;
  margin-bottom: 0.75rem;
}

.brand-wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.25rem;
}

.brand-card-title {
  color: #495057;
  margin: 0;
}

.btn-brand {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.btn-brand:hover, .btn-brand:focus, .btn-brand:active {
  background-color: color-mix(in srgb, var(--brand-primary) 85%, black);
  border-color: color-mix(in srgb, var(--brand-primary) 85%, black);
  color: #fff;
}

.brand-card a {
  color: var(--brand-primary);
}