body {
  --bs-body-bg: #f5f5f5;
  --bs-link-color-rgb: 23, 84, 31; /* #17541f */
  --bs-link-hover-color-rgb: 15, 56, 20;
}

.form-control {
  --bs-body-bg: #fff;
}

.btn {
  --bs-btn-bg: #17541f;
  --bs-btn-border-color: #17541f;
  --bs-btn-hover-bg: #0f3614;
  --bs-btn-hover-border-color: #0c2c10;
  --bs-btn-active-bg: #0c2c10;
  --bs-btn-active-border-color: #09220d;
}

.form-signin {
  max-width: 330px;
}

#inputUsername {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#inputPassword {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

@media (prefers-color-scheme: dark) {
  /* From theme_dark.scss */
  body {
    --bs-body-bg: #161618;
    --bs-body-color: #abb2bf;
    --bs-body-color-rgb: 171, 178, 191;
    --bs-border-color: #47494f;
  }

  .form-control, .form-floating {
    --bs-body-bg: #1c1c1f;
  }

  svg.logo .text {
    fill: #abb2bf !important;
  }
}
