@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700&display=swap");

.login-pf body {
  background: #3a60e4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-pf-page {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
}

#kc-header-wrapper {
  font-size: 5rem;
  color: #fcf3ee;
  font-weight: 100;
  font-family: "Inter", sans-serif;
}

.card-pf {
  border-radius: 8px;
}

.form-group:not(:last-of-type) {
  margin-bottom: 2.5rem;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: none;
}

.header .title {
  font-weight: 500;
}

.subheader {
  line-height: 1;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

#kc-form-buttons .pf-c-button {
  font-size: 1rem;
  padding: 1rem;
  border-radius: 4.5px;
}

#kc-form-buttons .pf-c-button:hover {
  background: #273199;
  transition: background 0.25s ease-in-out;
}

.pf-c-form__label{
  font-weight: bold;
}

#kc-passwd-update-form {
  margin-top: 1rem;
}

#kc-page-title {
  font-weight: 500;
}

.pf-c-form__label {
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.pf-c-form-control{
  border-radius: 4.5px;
  border: 1px solid rgb(240, 240, 240);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.pf-c-input-group .pf-c-button:after {
  border: 1px solid rgb(240, 240, 240);
  border-left: none;
  border-radius: 4.5px;
}

.terms-wrap {
  margin-bottom: 20px;
  max-height: 50vh;
  overflow-y: scroll;
  padding: 1rem;
}

.term-sub-list {
  list-style-type: lower-alpha;
  margin-left: 1rem;
}

.term-sub-list-sub-list {
  list-style-type: lower-roman;
  margin-left: 1rem;
}


body[data-page-id="login-terms"] .login-pf-page {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: unset;
}

body[data-page-id="login-terms"] #kc-header-wrapper {
  margin: 0;
  padding: 0;
  height: auto;
}

body[data-page-id="login-terms"] #kc-header {
  margin: unset;
  margin-bottom: 1rem;
}

body[data-page-id="login-terms"] .card-pf {
  max-width: 95%;
}