@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

body {
  /* color: #818181; */
  /* font-size: 15px; */
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: #212529 !important;
    caret-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

[theme-color=dark] input:-webkit-autofill,
[theme-color=dark] input:-webkit-autofill:hover,
[theme-color=dark] input:-webkit-autofill:focus,
[theme-color=dark] input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #242644 inset !important;
    box-shadow: 0 0 0px 1000px #242644 inset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    caret-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}


a {
  -webkit-transition: .3s all ease;
  transition: .3s all ease;
  color: #7754F6;
  font-weight: 500;
  text-decoration: none;
}

a:hover {
  color: #643cf5;
}

.site-wrap {
  padding: 12px;
  overflow: hidden;
  height: 100vh;
}

.bg-img,
.form-wrap {
  /* height: 100vh; */
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  /* padding: 1rem; */
}

.bg-img {
  left: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  position: relative;
  height: 200px;
  min-height: 200px;
  z-index: 2;
  padding: 3rem;
  border-radius: 16px 16px 0 0;
}

.bg-img .text {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.bg-img .text:after {
  position: absolute;
  content: "";
  background: #020310;
  /* background: -webkit-gradient(linear, left top, right top, from(#100DD1), to(#083afb)); */
  /* background: -o-linear-gradient(left, #100DD1, #083afb); */
  /* background: linear-gradient(to right, #100DD1, #083afb); */
  opacity: 0.3;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  border-radius: 8px;
}

.bg-img .title {
  font-size: 24px;
  color: #FFFFFF;
}

.bg-img .sub-title {
  font-size: 20px;
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .site-wrap {
    padding: 32px;
  }

  .bg-img {
    /* position: fixed; */
    position: unset;
    width: 50%;
    /* height: 100vh; */
    height: 100%;
    border-radius: 0 16px 16px 0;
  }

  .bg-img .text {
    display: flex;
  }
}

@media (min-width: 992px) {
  .bg-img {
    /* position: absolute; */
    position: unset;
    width: 50%;
    /* height: 100vh; */
    height: 100%;

  }
}

@media (min-width: 1200px) {
  .bg-img {
    /* position: absolute; */
    position: unset;
    width: 60%;
    /* height: 100vh; */
    height: 100%;

  }
}

.form-wrap {
  right: 0;
  position: relative;
  z-index: 1;
  padding: 1rem;
  width: 100%;
  background: #fff;
  height: 100%;
  /* box-shadow: 0 15px 30px -7px rgba(119, 84, 246, 0.5); */
}

@media (min-width: 768px) {
  .form-wrap {
    /* position: absolute; */
    position: unset;
    width: 50%;
    border-radius: 16px 0 0 16px;
    padding: 1.5rem;
  }
}

@media (min-width: 992px) {
  .form-wrap {
    /* position: absolute; */
    position: unset;
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .form-wrap {
    /* position: absolute; */
    position: unset;
    width: 40%;
  }
}

.form-wrap .title {
  font-size: 24px;
  color: #000;
}

.form-wrap .form-floating {
  position: relative;
  margin-bottom: 15px;
  margin-top: 15px;
}

.form-wrap .form-floating .form-control {
  height: 48px !important;
  border-radius: 10px !important;
  font-size: 20px;
}

.form-wrap .form-floating .form-control:active,
.form-wrap .form-floating .form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #7754F6;
}

.form-floating>label {
  padding: .6rem .75rem;
}

.form-floating>.form-control-plaintext:focus,
.form-floating>.form-control-plaintext:not(:placeholder-shown),
.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
  padding-top: .75rem;
  padding-bottom: .625rem;
}

[theme-color=dark] .form-floating>.form-control-plaintext~label,
[theme-color=dark] .form-floating>.form-control:focus~label,
[theme-color=dark] .form-floating>.form-control:not(:placeholder-shown)~label,
[theme-color=dark] .form-floating>.form-select~label {
  background-color: #242644 !important;
}

.form-wrap .password-show-toggle {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 9;
}

.form-wrap .password-show-toggle span {
  font-size: 20px;
}

.form-wrap .password-show-toggle span:before {
  font-family: 'unicons-line';
  content: "\ebf8";
}

.form-wrap .password-show-toggle.active span:before {
  content: "\ebaf";
}

.form-wrap .form-check {
  margin-bottom: 30px;
}

.form-wrap .form-check .form-check-input {
  border-color: #d1d1d1 !important;
}

.form-wrap .form-check .form-check-input:checked {
  background-color: #7754F6;
  border-color: #7754F6 !important;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-wrap .form-check .form-check-input:focus,
.form-wrap .form-check .form-check-input:active {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-wrap .btn-primary {
  border-radius: 10px;
  background-color: #7754F6;
  border-color: #7754F6;
  height: 60px;
  font-weight: 500;
  -webkit-box-shadow: 0 15px 30px -7px rgba(119, 84, 246, 0.5);
  box-shadow: 0 15px 30px -7px rgba(119, 84, 246, 0.5);
  -webkit-transition: .3s all ease;
  transition: .3s all ease;
  font-size: 18px;
}

.form-wrap .btn-primary:hover {
  background-color: #643cf5;
  border-color: #643cf5;
}

.role-wrap {
  font-size: 14px;
}

.form-wrap .social-account-wrap {
  padding-top: 30px;
  padding-bottom: 50px;
}

.form-wrap .social-account-wrap h4 {
  text-align: center;
  font-size: 14px;
  font-weight: normal;
  position: relative;
}

.form-wrap .social-account-wrap h4 span {
  z-index: 1;
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  background: #fff;
}

.form-wrap .social-account-wrap h4:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  background-color: #d1d1d1;
  z-index: -1;
}

.form-wrap .social-account-wrap .social-account li {
  width: calc(25% - 0);
}

.form-wrap .social-account-wrap .social-account li a {
  display: inline-block;
  border: 1px solid #d1d1d1;
  padding: 10px;
  border-radius: 10%;
}

.form-wrap .social-account-wrap .social-account li a:hover {
  border-color: #bdbdbd;
}

.otp-input {
  font-size: 1.4rem;
  height: 60px;
  direction: ltr;
}

.otp-input::-webkit-inner-spin-button,
.otp-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.otp-input[type="number"] {
  -moz-appearance: textfield;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: -0.6rem;
  margin-left: -0.6rem;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.birthdate-wrapper .child-1n {
  flex: 1;
}

.birthdate-wrapper .child-2n {
  flex: 2;
}

.form-floating>.form-control-plaintext~label,
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
  opacity: 1;
  transform: scale(.85) translateY(-1rem) translateX(-1rem);
  background-color: #FFFFFF;
  padding: 4px 8px;
  height: auto;
}

[theme-color=dark] .form-control-wrapper {
  background-color: #242644;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}