body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  gap: 1rem;
  @media (min-width: 768px) {
    gap: 1.5rem;
  }
  @media (min-width: 992px) {
    gap: 2.5rem;
  }
  justify-content: space-between;

  .registration-box {
    flex: 1;
    display: flex;
  }
}

.header {
  margin: 0 !important;
}

.footer {
  .imprint {
    padding-top: 1.5rem !important;
    margin-top: 1.5rem;
  }

  margin: 0 !important;
}
.main-container{
display:flex;
flex:1;
 @media (max-width:768px){
                        padding-top: 4.625rem;
                    }
}
#login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
  background-image: url('../img/loginBG.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2rem;
  border-radius: 3.125rem;
}

.login-buttons {
  display: flex;
  flex-direction: column;
 gap: 1rem;
    @media (min-width: 768px) {
flex-direction: row;
       justify-content: space-between;
        align-items: center;
    }
}

#form-box {
  opacity: 0.94;
  padding: 2rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 1.5rem;
}

.form-container {
  display: flex;
  flex-direction: column;

  .form-input-group {
    width: 100%;
    margin-bottom: 1rem;
  }

  label {
    font-weight: 400;
    margin-bottom: 0.5rem;
  }

  input[type='text'],
  input[type='password'] {
    height: 2.25rem;
    width: 100%;
    margin-bottom: 0.25rem;
    border-radius: 0.625rem;
    background: #cfd0d0;
    border: 0;
    padding-left: 1rem;

    &:hover,
    &:focus {
      border: 2px solid #009ee3;
    }
  }

  #input-error {
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #a30000;
  }

  a {
    font-weight: 600;
    color: #00234c;
  }

  .login-reset-container {
    display: flex;
    flex-direction: row;

    #reset-login {
      width: 250px;
      margin-left: 1rem;
      margin-right: 0.25rem;
      margin-bottom: 0.25rem;
    }
  }

  .password-container {
    width: 100%;
    position: relative;

    #togglePassword, #togglePasswordConfirm {
      padding: 0;
      position: absolute;
      right: 0.5rem;
      top: 0.5rem;
      height: 1.5rem;
      width: 1.5rem;
      background-image: url('../img/icons/showPW.svg');
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      background-color: inherit;

      i:before {
        content: '';
      }
    }

    #togglePassword:after, #togglePasswordConfirm:after {
      position: static;
      border: 0;
    }
  }

  #kc-login {
    width: fit-content !important;
    background: #009ee3 !important;
    color: #00234c !important;
  }
}

@media (max-width: 992px) {
  #login-container {
    border-radius: 1.5rem;
    align-items: initial;
  }

  #form-box {
    flex: 1;
  }
}

.form-buttons {
  margin-top: 2rem;
}

/* Password reset */
.password-reset-container {
  background-image: url('../img/resetPwBG.jpg') !important;
}

.password-reset-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;

  a {
    font-weight: 600;
    color: #00234c;
    text-decoration: none;
  }
}

/* Password Update */
.password-reset-container {
  background-image: url('../img/updatePwBG.jpg') !important;
}

.update-password-notice {
  padding-top: 0.5rem;
  display: Flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #f39100;
  border-top: 1px solid #f39100;

  p {
    margin-bottom: 0;
  }

  ul {
    list-style-type: disc;
  }
}

.box-image {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 1rem;
  background-image: url('../img/icons/info.svg');
  background-repeat: no-repeat;
  background-color: #f39100;
  background-position: center;
  background-size: 3px;
}

.checkbox {
  margin: 1rem 0 0 0;

  display: flex;
  align-items: center;
  gap: 0.5rem;

  input {
    width: 1.5rem;
    height: 1.5rem;
    position: static !important;
    margin: 0 !important;
    accent-color: #99d8f4;
  }

  label {
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
  }
}
