/* FerroxX-merkkleuren, overgenomen van ferroxx.nl zodat het portaal bij dezelfde huisstijl
   aansluit in plaats van een eigen los kleurenschema te verzinnen (sectie 12). */
/* Rondleiding: donkere achtergrond met een "gat" op het element (box-shadow-truc), en een kaart ernaast. */
.fx-tour-backdrop { position: fixed; inset: 0; z-index: 1080; pointer-events: none; }
.fx-tour-spot { position: fixed; z-index: 1081; border-radius: 8px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55), 0 0 0 3px var(--fx-accent); pointer-events: none; transition: top .25s, left .25s, width .25s, height .25s; }
.fx-tour-spot[hidden] { display: none; }
.fx-tour-card { position: fixed; z-index: 1082; max-width: calc(100vw - 24px); }
#onboardingTour:has(.fx-tour-spot[hidden]) .fx-tour-backdrop { pointer-events: auto; background: rgba(0, 0, 0, 0.55); }

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