@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Outlined");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.auth-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 100%;
  min-height: 100vh;
  background: #f7f9fb;
}

.auth-wrapper .auth-content:not(.container) {
  width: 818px;
}

.auth-wrapper .auth-content {
  position: relative;
  padding: 15px;
  z-index: 5;
}

.auth-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  border-radius: 16px;
}

.auth-logo {
  padding: 24px;
}

.auth-logo img {
  width: 125px;
  height: 33px;
}

.auth-container {
  display: flex;
}

.auth-left {
  width: 418px;
}

.auth-illustration {
  background-image: url("https://images.bareksa.com/illustrations/1/login_illustration_desktop.svg");
  width: 100%;
  height: 326px;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 38px;
  margin-bottom: 46px;
  position: relative;
  left: -1px;
}

.auth-form {
  padding-top: 84px;
  padding-bottom: 36px;
  width: 328px;
  margin: 0 auto;
}

.auth-form h1 {
  color: #000000;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 24px;
}

.auth-form .auth-form__input {
  margin-bottom: 0;
}

.auth-form .auth-form__btn {
}

.auth-form .auth-form__input,
.auth-form .auth-form__btn {
  width: 100%;
  margin-bottom: 16px;
  position: relative;
  margin-top: -16px;
}

.auth-form .auth-form__input > input {
  padding: 16px;
  color: rgba(0, 0, 0, 0.87);
  letter-spacing: 0.25px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  outline: none;
}

.auth-form .auth-form__input > label {
  top: 38px;
  left: 15px;
  position: relative;
  background-color: transparent;
  padding: 0px 5px 0px 5px;
  transition: 0.2s;
  pointer-events: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
}

.auth-form .auth-form__input > .material-icons-outlined,
.auth-form .auth-form__input > .material-icons {
  position: absolute;
  z-index: 2;
  top: 38px;
  right: 16px;
  cursor: pointer;
}

.auth-form .auth-form__input > .material-icons-outlined {
  color: rgba(0, 0, 0, 0.54);
}

.auth-form .auth-form__input > .material-icons {
  color: #b00020;
}

.auth-form__input.label-animate > label {
  top: 11px !important;
  left: 12px !important;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0.4px;
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  background-color: white;
}

.auth-form .auth-form__btn > button {
  background: #82c341;
  border-radius: 4px;
  padding: 9px 4px;
  text-align: center;
  color: rgba(0, 0, 0, 0.87);
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.25px;
  width: 100%;
  border: 1px solid transparent;
  user-select: none;
  vertical-align: middle;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  outline: none;
}

.auth-form .auth-form__btn > button:disabled {
  background: #e7e8e7;
  color: rgba(0, 0, 0, 0.38);
  cursor: inherit;
}

.auth_form__create_account {
  width: 100%;
  color: rgba(0, 0, 0, 0.6);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.25px;
}

.auth_form__forgot_password {
  margin-bottom: 48px;
  text-align: end;
  letter-spacing: 0.25px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
}

.auth_form__forgot_password > a {
  text-decoration: none !important;
  color: #266914;
}

.auth_form__create_account > a {
  color: #266914;
}

.auth_form__create_account {
  margin-bottom: 14px;
}

.auth-form .auth-form__error > input {
  border-color: #b00020;
  border-width: 2px;
}

.auth-form .auth-form__error > label {
  color: #b00020;
}

.auth-form .auth-form__error > .validation-email,
.auth-form .auth-form__error > .validation-password {
  display: inline-block;
  color: #b00020;
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  margin-left: 16px;
}

.auth-form__alert {
  padding: 15px;
  margin-bottom: 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.auth-form__alert p {
  margin: 0;
}

.auth-ojk {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}

.auth-ojk span {
  margin-right: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  letter-spacing: 0.25px;
  color: rgba(0, 0, 0, 0.6);
}

.auth-ojk img {
  width: 78.83px;
  height: 32px;
}

.auth-alert {
  background: #f5f5f5;
  padding: 12px;
  margin-bottom: 16px;
  display: none;
}

.auth-alert__caption {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.25px;
  color: rgba(0, 0, 0, 0.6);
  margin-left: 8px;
}

.snackbar {
  left: 50%;
  right: auto;
  bottom: 100px;
  transform: translateX(-50%);
  display: flex;
  z-index: 1400;
  position: fixed;
  justify-content: flex-start;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  color: #fff;
  display: flex;
  padding: 6px 16px;
  flex-grow: 1;
  flex-wrap: wrap;
  font-size: 0.875rem;
  align-items: center;
  font-weight: 400;
  line-height: 1.43;
  border-radius: 4px;
  letter-spacing: 0.01071em;
  background-color: rgb(50, 50, 50);
  font-family: "Open Sans", sans-serif;
  transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  opacity: 0;
  width: 420px;
}

.snackbar-icon {
  display: flex;
  opacity: 0.9;
  padding: 7px 0;
  font-size: 22px;
  margin-right: 12px;
}

.snackbar-icon svg {
  fill: currentColor;
  width: 1em;
  height: 1em;
  display: inline-block;
  font-size: inherit;
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  flex-shrink: 0;
  user-select: none;
}

.snackbar-content__message {
  padding: 8px 0;
}

.loader-login {
  height: 4px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #ddd;
  margin-bottom: 4px;
}

.loader-login:before {
  display: block;
  position: absolute;
  content: "";
  left: -200px;
  width: 200px;
  height: 4px;
  background-color: #82c341;
  animation: loading 2s linear infinite;
}

@keyframes loading {
  from {
    left: -200px;
    width: 30%;
  }

  50% {
    width: 30%;
  }

  70% {
    width: 70%;
  }

  80% {
    left: 50%;
  }

  95% {
    left: 120%;
  }

  to {
    left: 100%;
  }
}

/* css for tablet */
@media only screen and (max-width: 768px) {
  .auth-wrapper .auth-content:not(.container) {
    width: 672px;
  }

  .auth-left {
    width: 296px;
  }

  .auth-illustration {
    background-image: url("https://images.bareksa.com/illustrations/1/login_illustration_tablet.svg");
    background-size: contain;
    margin-top: 16px;
    height: 245px;
  }

  .auth-form {
    padding: 0 24px 24px 24px;
  }

  .auth-form h1 {
    margin-top: 24px;
  }

  .auth-ojk {
    margin-top: 24px;
  }
}

/* css for tablet */

/* css for mobile */
@media only screen and (max-width: 576px) {
  .auth-wrapper {
    background: #ffffff;
  }

  .auth-wrapper .auth-content:not(.container) {
    width: 100%;
    padding: 0;
  }

  .auth-card {
    border: none;
  }

  .auth-container {
    display: block;
  }

  .auth-left {
    width: 100%;
  }

  .auth-logo {
    text-align: center;
    padding: 0;
  }

  .auth-illustration {
    display: none;
  }

  .auth-form {
    padding: 0 32px;
    width: unset;
  }

  .auth-form h1 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 16px;
  }

  .auth-ojk {
    margin-top: 90px;
  }

  .auth_form__create_account {
    text-align: center;
  }

  .snackbar {
    width: 290px;
  }
}

/* css for mobile */
