.main-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-left {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  height: 100%;
  position: relative;
}

.auth-left h1 {
  color: #fff;
  max-width: 480px;
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.12px;
  margin-top: 24px;
}

.auth-left .content {
  display: flex;
  justify-content: center;
  max-width: 600px;
  align-items: center;
  flex-direction: column;
}

#content {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  max-width: 480px;
  position: relative;
}

.container-auth {
  width: 50%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  min-width: 480px;
  padding: 50px;
  font-family: Inter;
  font-style: normal;

  box-shadow: 0px 4px 24px 0px #22292f1a;
}

.hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.input-group {
  margin-bottom: 25px;
}

.panel-body {
  padding-top: 30px;
}

#kc-logo-wrapper {
  background-image: none;
  background-repeat: no-repeat;
  visibility: hidden;
}

#kc-content {
  width: 100%;
}

#kc-content #kc-content-wrapper #kc-form {
  width: 100%;
  max-width: 480px;
}

#loginbox {
  margin-top: 100px;
}

.header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font: normal normal 600 24px/30px Inter, arial, serif;
  letter-spacing: -0.08px;
  color: #181818;
}
.header-subtitle {
  font: normal normal 400 16px/24px Inter, arial, serif;
  letter-spacing: 0;
  color: #535353;
}

.form-options-wrapper .checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

#copyright {
  color: #1a202c;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.login-header img {
  margin-bottom: 30px;
}

.main-body .form-group {
  position: relative;
  margin-bottom: 0px;
}

input.form-control {
  border: 1px solid #bbbbbb;
  border-radius: 6px;
  padding: 13px 16px;
  margin-top: 0;
  margin-bottom: 40px;
  font: normal normal 400 18px/22px Inter, arial, serif;
  color: #535353;
  height: 48px;
}

input.form-control::placeholder {
  color: #a0aec0;
}
input.form-control:focus {
  border-color: #8372c8;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(131, 114, 200, 0.6);
}

.checkbox label[for="rememberMe"] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #1a202c;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none;
}

.checkbox label[for="rememberMe"] input {
  margin: 0;
  border-radius: 2px;
  float: inherit;
  accent-color: #8372c8;
}

#video-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#video-image-fallback {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.container-auth a {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #8372c8;
  display: flex;
  justify-content: flex-end;
}

.form-options-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0px 40px 0px;
}

.kcform .kc-submit-section {
  margin-top: 40px;
}

.main-submit {
  height: 48px;
  font: normal normal 600 18px/28px Inter, arial, serif;
  background-color: #8372c9;
  border: none;
  width: 100%;
  border-radius: 6px;
  color: #ffffff;
}

.main-submit:hover {
  background-color: #7161ae;
}

.main-submit:disabled {
  background-color: #373737;
  color: #bbbbbb;
  opacity: 0.7;
}

.container-auth footer {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #c0bdca;

  width: 100%;
  position: absolute;
  bottom: 0;
}

footer .footer-content {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
}

footer p {
  margin: 0;
}

.container-auth footer a {
  margin: 0;
}

.container-auth header {
  margin-bottom: 42px;
}

.password-reveal {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  background: url("../images/eye-icon.svg");
  width: 20px;
  height: 20px;
  transform: scale(0.9);
}

.password-reveal.bi-eye-slash {
  background: url("../images/eye-close-icon.svg");
}

.form-control[aria-invalid="true"] {
  border: 2px solid red;
}

#kc-login {
  padding-left: 40px;
  position: absolute;
  top: -1px;
  left: 0px;
}

#sign-in-icon {
  position: absolute;
  cursor: pointer;
  left: 37px;
  top: 13px;
  z-index: 1;
}

.input-error {
  color: #e53e3e;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  display: block;
  position: absolute;
  top: 52px;
}

.main-body a:focus {
  outline: none;
  color: #7368f0;
}

#kc-page-title {
  text-align: center;
  font-size: 24px;
  line-height: 28px;
  color: #6e6b7b;
  margin-top: 0;
  margin-bottom: 0px;
}

#kc-content .form-horizontal .form-group {
  margin-left: 0;
  margin-right: 0;
}

#kc-reset-password-form #kc-form-buttons {
  margin-top: 30px;
  margin-bottom: 10px;
}

input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
  display: none;
  visibility: hidden;
}

.back-to-sign-in {
  margin-top: 10px;
  color: #c0bdca;
  text-decoration: none;
  display: flex;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}

.back-to-sign-in:hover {
  text-decoration: none;
  color: #8e8b95;
}

.alert-error,
.alert-warning.pf-m-warning {
  display: none;
}

@media (max-width: 541px) {
  #loginbox {
    margin-top: 20px;
  }

  .input-group {
    margin-bottom: 6px;
  }

  .panel-body {
    padding-top: 10px;
  }
}

@media (min-width: 542px) and (max-width: 1400px) {
  #loginbox {
    margin-top: 40px;
  }

  .input-group {
    margin-bottom: 15px;
  }
  .panel-body {
    padding-top: 20px;
  }
}
