.form-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 20px;
}

.main-form {
  padding: 4rem;
  border-radius: 22px;
  position: relative;
  background: var(--light-bg);
  -webkit-box-shadow: var(--base-shadow);
  box-shadow: var(--base-shadow);
  width: 100%;
  max-width: 550px;
}

.form-header h1 {
  font-size: 28px;
  margin-bottom: 2px;
}

.form-header {
  margin-bottom: 20px;
}

.form-container input[type=checkbox]:checked {
  background-color: #000;
  opacity: 1;
}

.form-container input[type=checkbox] {
  position: relative;
  border: 1px solid #8d8d8d;
  border-radius: 2px;
  background: none;
  cursor: pointer;
  line-height: 0;
  margin: 0 .6em 0 0;
  outline: 0;
  padding: 0 !important;
  vertical-align: text-top;
  height: 20px;
  width: 20px;
  -webkit-appearance: none;
  opacity: .5;
}

.form-container input[type=checkbox]:before {
  content: '';
  position: absolute;
  right: 50%;
  top: 50%;
  width: 5px;
  height: 10px;
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  margin: -1px -1px 0 -1px;
  transform: rotate(45deg) translate(-50%, -50%);
  z-index: 2;
}

.form-container .form-check {
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}

.check-forgot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}

.check-forgot .small,
.form-check-label {
  opacity: .6;
  font-size: 14px;
  cursor: pointer;
}

.form-container a:hover {
  text-decoration: underline !important;
  color: inherit;
}

.action-modal {
  margin-top: 20px;
}

.login-page form .row .col-lg-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.login-page form .form-control,
.action-modal button {
  height: 50px;
  max-height: 50px;
}

.input-group .eyebtn {
  width: 50px;
  justify-content: center;
  cursor: pointer;
}

.input-group .eyebtn span {
  font-size: 20px;
}

.action-modal button {
  width: 100%;
  border: none;
}

.action-modal .primary-btn {
  align-items: center;
}

.or {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 14px;
  opacity: .5;
}

.or:before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #d7d7d7;
  z-index: 0;
}

.or span {
  background: var(--light-bg);
  position: relative;
  z-index: 1;
  padding: 0 30px;
}

.dont-account,
.back-home,
.back-home span {
  color: #ababab;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
}

.dont-account span a {
  text-decoration: underline !important;
  margin-left: 5px;
}

.dont-account span a {
  text-decoration: underline !important;
}

.dont-account .back-home:hover {
  text-decoration: none !important;
}

.register-page .main-form {
  max-width: 800px;
  height: calc(100vh - 7rem);
  overflow: auto;
}

.register-page .main-form .row .col-lg-12 {
  grid-column: 1/4;
}

.register-page form .row .col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.form-container .form-check a {
  text-decoration: underline !important;
  margin: 0 5px;
}

/* Style the select element */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  box-sizing: border-box;
  background-image: url(/static/images/down-arrow.png);
  background-size: 12px;
  background-position: 97% center;
  background-repeat: no-repeat;
}

.main-form::-webkit-scrollbar {
  width: 0;
  height: 0;
}


@media only screen and (max-width: 768px) {
  .main-form {
    padding: 2rem 1rem;
    box-shadow: none;
  }

  .register-page .main-form {
    height: 100%;
  }

  .register-page form .row .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .register-page .form-container {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 500px) {
  .dont-account {
    flex-direction: column;
  }

  .form-header h1 {
    font-size: 22px;
  }
}