/* Anbar branding for the KPI interface (KoboToolbox form server).
   Loaded on every page by nginx (sub_filter in the kobo-docker KPI server block).
   Colours: Anbar navy #2F415E / #1d2a3f, gold #F2CF43. Remove the link to undo. */

/* top header: navy with a thin gold line (inset shadow, so no layout shift) */
html body .mdl-layout__header,
html body .header-stretch-bg {
  background-color: #1d2a3f !important;
  box-shadow: inset 0 -3px 0 #F2CF43 !important;
}

/* logo: Anbar emblem on small screens */
html body .mdl-layout__header .header__logo {
  background-image: url('/media/__public/anbar-seal-40.png') !important;
}
/* emblem + KoboToolbox wordmark when the header has room */
@media (min-width: 960px) {
  html body .mdl-layout__header .header__logo {
    background-image: url('/media/__public/anbar-header-logo.svg') !important;
    width: 244px !important;
  }
}

/* main action buttons: navy instead of bright blue */
html body .kobo-button--blue {
  background-color: #2F415E !important;
}
html body .kobo-button--blue:hover,
html body .kobo-button--blue:focus-visible {
  background-color: #1d2a3f !important;
}

/* sign-in, sign-up and password pages (dark box): gold button for contrast */
html body .registration .kobo-button--blue {
  background-color: #F2CF43 !important;
  color: #1F2024 !important;
}
html body .registration .kobo-button--blue:hover,
html body .registration .kobo-button--blue:focus-visible {
  background-color: #E5BF2B !important;
}
