/* Explicit button states keep text readable with school-selected theme colours. */
body.public-school-page .public-school-header a.public-school-login {
  --bs-btn-color: #fff;
  --bs-btn-bg: #08665d;
  --bs-btn-border-color: #08665d;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #064d46;
  --bs-btn-hover-border-color: #064d46;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #043d37;
  --bs-btn-active-border-color: #043d37;
  color: #fff !important;
  background: #08665d !important;
  border-color: #08665d !important;
  opacity: 1;
}
body.public-school-page .public-school-header a.public-school-login:is(:hover, :focus-visible) {
  color: #fff !important;
  background: #064d46 !important;
  border-color: #064d46 !important;
}
body.public-school-page .public-school-header a.public-school-login:active {
  color: #fff !important;
  background: #043d37 !important;
}
body.public-school-page .public-school-header a.public-school-login:focus-visible,
.school-login-page .login-card button[type="submit"]:focus-visible,
.school-login-page .login-role-card:focus-visible {
  outline: 3px solid #e1a516 !important;
  outline-offset: 3px;
}
.school-login-page .login-card button[type="submit"]:not(:disabled) {
  color: #fff !important;
  opacity: 1;
}
.school-login-page .login-card button[type="submit"].btn-primary:not(:disabled) {
  background: #0069d9 !important;
  border-color: #0062cc !important;
}
.school-login-page .login-card button[type="submit"].btn-primary:not(:disabled):is(:hover, :focus-visible, :active) {
  background: #0056b3 !important;
  border-color: #0056b3 !important;
}
.school-login-page .login-card button[type="submit"].btn-success:not(:disabled) {
  background: #1e7e34 !important;
  border-color: #1e7e34 !important;
}
.school-login-page .login-card button[type="submit"].btn-success:not(:disabled):is(:hover, :focus-visible, :active) {
  background: #176329 !important;
  border-color: #176329 !important;
}
.school-login-page .login-card button[type="submit"].btn-info:not(:disabled) {
  background: #117a8b !important;
  border-color: #117a8b !important;
}
.school-login-page .login-card button[type="submit"].btn-info:not(:disabled):is(:hover, :focus-visible, :active) {
  background: #0d606e !important;
  border-color: #0d606e !important;
}
.school-login-page .login-card button[type="submit"].btn-warning:not(:disabled) {
  color: #172b3a !important;
  background: #ffc107 !important;
  border-color: #e0a800 !important;
}
.school-login-page .login-card button[type="submit"].btn-warning:not(:disabled):is(:hover, :focus-visible, :active) {
  color: #172b3a !important;
  background: #e0a800 !important;
  border-color: #d39e00 !important;
}
