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;
}

/* ══════════════════════════════════════════════════════════════
   Environment banners — Development / Test
   ══════════════════════════════════════════════════════════════ */

.env-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.env-banner .env-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: env-pulse 2s ease-in-out infinite;
}

@keyframes env-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.env-banner.env-development {
  background: #78350f;
  color: #fef3c7;
  border-bottom: 1px solid #92400e;
}
.env-banner.env-development .env-dot { background: #fbbf24; }

.env-banner.env-test {
  background: #1e3a5f;
  color: #bfdbfe;
  border-bottom: 1px solid #1d4ed8;
}
.env-banner.env-test .env-dot { background: #60a5fa; }

.env-banner-bottom {
  width: 100%;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.env-banner-bottom.env-development {
  background: #78350f;
  color: #fef3c7;
  border-top: 1px solid #92400e;
}

.env-banner-bottom.env-test {
  background: #1e3a5f;
  color: #bfdbfe;
  border-top: 1px solid #1d4ed8;
}