/* FerroxX-merkkleuren, overgenomen van ferroxx.nl zodat het portaal bij dezelfde huisstijl
   aansluit in plaats van een eigen los kleurenschema te verzinnen (sectie 12). */
:root {
  --fx-accent: #107e77;
  --fx-accent-hover: #0c655f;
  --fx-accent-light: #1aa89d;
  --fx-surface-dark: #17211f;
  --fx-ink: #0b0f0e;
  --fx-border-dark: #263330;
}

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;
}

.fx-navbar {
  background: var(--fx-surface-dark);
  border-bottom: 1px solid var(--fx-border-dark);
}

.fx-navbar .navbar-brand {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fx-navbar .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
}

.fx-navbar .nav-link:hover {
  color: #fff !important;
}

.fx-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.btn-primary {
  --bs-btn-bg: var(--fx-accent);
  --bs-btn-border-color: var(--fx-accent);
  --bs-btn-hover-bg: var(--fx-accent-hover);
  --bs-btn-hover-border-color: var(--fx-accent-hover);
  --bs-btn-active-bg: var(--fx-accent-hover);
  --bs-btn-active-border-color: var(--fx-accent-hover);
}

a {
  color: var(--fx-accent);
}

a:hover {
  color: var(--fx-accent-hover);
}
/* Helppaneel (sectie: help-module) - schuift van rechts in, boven al het andere. */
.fx-help-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1050;
}

.fx-help-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: var(--bs-body-bg);
  z-index: 1051;
  display: flex;
  flex-direction: column;
}
