@import url("./cookieconsent.css");

@font-face {
  font-family: "font-conservice";
  font-style: normal;
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
}

.login-pf {
  background: #fff;
}

body {
  font-family: font-conservice !important;
}

.login-pf body {
  background: white none;
}

#kc-header {
  background-image: url("../img/header.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 58px;
  margin-top: 40px;
}

/* Hide the realm name */
#kc-header-wrapper {
  display: none;
}

#kc-page-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
}

#kc-content {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

#kc-content-wrapper {
  width: 400px;
}

.card-pf {
  box-shadow: 0 0 0;
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

label[for="username"],
label[for="password"],
label[for="password-confirm"],
label[for="email"],
label[for="firstName"],
label[for="lastName"] {
  color: rgb(9, 27, 41);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  margin-bottom: 6px;
}

#username,
#email,
#password,
#password-confirm,
#firstName,
#lastName {
  border: 1px solid #cbcccd;
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 1rem;
}

#username:focus,
#username:focus-visible,
#password:focus,
#password:focus-visible,
#email:focus,
#email:focus-visible,
#password:focus,
#password:focus-visible,
#password-confirm:focus,
#password-confirm:focus-visible,
#firstName:focus,
#firstName:focus-visible,
#lastName:focus,
#lastName:focus-visible {
  outline: 2px solid #4789f0;
}

.pf-c-form-control[aria-invalid="true"] {
  border: 1px solid #cbcccd;
}

#input-error {
  color: rgb(185, 28, 28);
  font-size: 1rem;
  line-height: 1.5rem;
}

button[data-password-toggle] {
  display: none;
}

#kc-login,
#kc-form-buttons > input {
  border-radius: 6px;
  background: #4789f0;
  box-shadow:
    0px 1px 3px 0px rgba(0, 0, 0, 0.1),
    0px 1px 2px 0px rgba(0, 0, 0, 0.06);
  font-size: 1rem;
  height: 38px;
}

#kc-login:hover,
#kc-form-buttons > input:hover {
  background-color: rgb(34, 108, 224);
}

#kc-login:focus,
#kc-form-buttons > input:focus {
  outline: 2px solid #4789f0;
  outline-offset: 2px;
}

#kc-login:disabled,
#kc-form-buttons > input:disabled {
  color: #fff;
  background-color: rgb(174, 179, 183);
}

#kc-social-providers > h2,
#kc-social-providers > h4 {
  color: rgb(9, 27, 41);
  font-size: 1rem !important;
  font-weight: 500;
  line-height: 1.5rem;
}

#kc-social-providers li {
  width: 100%;
  border-radius: 6px;
  box-shadow:
    0px 1px 3px 0px rgba(0, 0, 0, 0.1),
    0px 1px 2px 0px rgba(0, 0, 0, 0.06);
  font-size: 1rem;
  height: 38px;
}

#social-google {
  background-color: rgb(245, 251, 255);
  border-radius: 6px;
  height: 100%;
  text-decoration: none;
}

#social-google::after {
  border: none;
}

#social-google:focus {
  border-radius: 6px;
  outline: 2px solid #4789f0;
  outline-offset: 2px;
  text-decoration: none;
}

#social-google > i,
#social-google > span {
  color: rgb(34, 108, 224);
}

#termsAccepted {
  display: none;
}

.form-group:has(#cookie-consent-accepted) {
  display: none;
}

.kc-feedback-text {
  color: #b91c1c;
  font-size: 1rem;
}

.kc-footer {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.kc-footer-item {
  padding: 1em 1.5em;
  border-right: 1px solid #cbcccd;
}

.kc-footer-item:last-of-type {
  border: none;
}

.checkbox {
  font-size: 1rem;
  margin-top: 0;
}

.checkbox input[type="checkbox"] {
  position: static;
  margin: 0;
  width: 18px;
  height: 18px;
}

.checkbox label {
  padding: 0;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kc-help-section {
  text-align: center;
  margin-top: 32px;
}

.kc-help-section p {
  color: rgb(9, 27, 41);
  font-size: 1rem;
  margin-bottom: 12px;
}

.kc-help-button {
  display: block;
  width: 100%;
  height: 38px;
  line-height: 38px;
  padding: 0;
  background-color: #77bc1f;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0px 1px 3px 0px rgba(0, 0, 0, 0.1),
    0px 1px 2px 0px rgba(0, 0, 0, 0.06);
}

.kc-help-button:hover {
  background-color: #4f9400;
  color: #fff;
  text-decoration: none;
}

.kc-help-button:focus {
  outline: 2px solid #4f9400;
  outline-offset: 2px;
  color: #fff;
  text-decoration: none;
}
