:root {
  --jf-blue: #0080c8;
  --jf-light-grey: #d7d7d7;
  --jf-error: red;
  --jf-border-radius: 8px;
  --jf-font-family: "Quicksand", sans-serif;
  --jf-font-size-input: clamp(12px, 4vw, 18px);
  --jf-padding-input: clamp(14px, 4vw, 10px);
}

html,
body {
  background-color: var(--jf-blue);
  font-family: var(--jf-font-family);
  font-size: var(--jf-font-size-input);
  width: 100%;
  height: 100%;
}

body {
  display: grid;
  justify-items: center;
}

.logo {
  height: clamp(40px, 4vw, 80px);
  object-fit: contain;
}

.headline {
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 500;
  margin-top: 40px;
  text-align: center;
}

.container {
  justify-self: center;
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
  max-width: 500px;
  padding: 40px 0;
}

form,
.form {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: var(--jf-border-radius);
}

a {
  color: #fff;
}

form a {
  color: var(--jf-blue);
}

form .links a {
  margin-top: 16px;
}

.email_hint {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 5px;
  font-weight: 500;
}

.field {
  margin-bottom: 15px;
}

.field input {
  border: 1px solid var(--jf-light-grey);
  border-radius: var(--jf-border-radius);
  width: 100%;
  box-sizing: border-box;
  padding: var(--jf-padding-input);
  font-size: var(--jf-font-size-input);
}

.field .field_with_errors input {
  border-color: var(--jf-error);
  /*  color: var(--jf-error);*/
}

.alert {
  padding: 10px 14px;
  margin-bottom: 15px;
  border-radius: var(--jf-border-radius);
  color: #fff;
  border-left: 4px solid transparent;
  font-size: clamp(12px, 4vw, 14px);
  line-height: 16px;
}

.alert.alert-notice {
  background-color: #839faf;
  border-color: #5e7582;
}

.alert.alert-alert {
  background-color: #d34141;
  border-color: #a00000;
}

input:focus {
  border: 1px solid var(--jf-blue);
}

input::-webkit-input-placeholder {
  font-family: var(--jf-font-family);
}

input:-ms-input-placeholder {
  font-family: var(--jf-font-family);
}

input:-moz-placeholder {
  font-family: var(--jf-font-family);
}

input::-moz-placeholder {
  font-family: var(--jf-font-family);
}

.terms-and-conditions {
  padding: 8px 4px;
  margin-bottom: 12px;
  font-size: clamp(10px, 4vw, 12px);
  line-height: 18px;
  color: grey;
}

.remember-me {
  display: flex;
  flex-direction: row;
  margin-bottom: 15px;
}

.remember-me input {
  margin: 0 5px 0 0;
}

.remember-me label {
  font-family: var(--jf-font-family);
  font-size: 11px;
}

.btn {
  display: block;
  border-radius: var(--jf-border-radius);
  border: none;
  font-weight: 500;
  font-family: var(--jf-font-family);
  padding: var(--jf-padding-input);
  font-size: var(--jf-font-size-input);
}
.btn.btn-outline {
  background-color: transparent;
  color: var(--jf-blue);
  border: 1px solid var(--jf-blue);
  text-decoration: none;
  text-align: center;
}

.actions input {
  width: 100%;
  background-color: var(--jf-blue);
  color: #fff;
  border-radius: var(--jf-border-radius);
  border: none;
  font-weight: 500;
  font-family: var(--jf-font-family);
  padding: var(--jf-padding-input);
  font-size: var(--jf-font-size-input);
  cursor: pointer;
}

.forgot-password {
  text-align: center;
  padding: 15px 0 0;
}
.forgot-password a {
  text-decoration: none;
}

.register {
  text-align: center;
  padding-top: 15px;
  margin-top: 20px;
  border-top: 1px solid var(--jf-light-grey);
}
.register p {
  margin-bottom: 12px;
  font-size: 14px;
}
.register a {
  text-decoration: none;
}

.social-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  column-gap: 8px;
  row-gap: 8px;
  margin-top: 10px;
}

.social-login form {
  background: transparent;
  margin: 0;
  padding: 0;
}

.social-login button[type="submit"] {
  border: none;
  border-radius: 8px;
  background-color: white;
  font-size: 12px;
  padding: 9px 16px;
  width: 100%;
  cursor: pointer;
  color: inherit;
  font-family: var(--jf-font-family);
  color: var(--jf-blue);
  font-weight: 500;
  min-height: 100%;
}

.social-login button[type="submit"] div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.social-login button[type="submit"] img {
  max-width: 24px;
  aspect-ratio: 1;
  margin-right: 8px;
  object-fit: contain;
  /* margin-bottom: 8px; */
}

.social-login button[type="submit"]:hover,
.social-login button[type="submit"]:focus {
  box-shadow: whitesmoke 1px 1px 8px;
}

.document-download a {
  border: none;
  border-radius: 8px;
  background-color: white;
  font-size: 16px;
  padding: 9px 16px;
  width: 100%;
  cursor: pointer;
  color: inherit;
  font-family: var(--jf-font-family);
  color: var(--jf-blue);
  font-weight: 500;
}

.document-download a div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
