.background-image {
  min-height: 100vh;
  padding: 0 !important;
  position: relative;
  background: radial-gradient(circle at 85% 17%, #e8ecfb 0 10%, transparent 30%),
    linear-gradient(140deg, #f8f9fd, #edf1fa) !important;
  overflow: hidden;
}
.background-image:before,
.background-image:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid #dfe5f3;
  opacity: 0.7;
}
.background-image:before {
  width: 900px;
  height: 900px;
  left: -560px;
  bottom: -630px;
}
.background-image:after {
  width: 900px;
  height: 900px;
  right: -620px;
  top: -520px;
}
.login-header {
  position: absolute;
  top: 25px;
  left: clamp(25px, 4vw, 65px);
  right: clamp(25px, 4vw, 65px);
  z-index: 2;
  height: 85px;
  display: flex;
  align-items: center;
  gap: 30px;
  color: #0a1c43;
  font-size: 14px;
}
.login-header img {
  width: 78px;
  height: 82px;
  object-fit: contain;
}
.login-header span {
  padding-left: 24px;
  border-left: 1px solid #d9dfed;
  font-weight: 700;
}
.login-header a {
  margin-left: auto;
  color: #354568;
  text-decoration: none;
  font-weight: 600;
}
.login-shell {
  width: min(1115px, calc(100vw - 40px));
  min-height: 600px;
  display: grid;
  grid-template-columns: 40% 60%;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 22px 55px #26365c26;
  z-index: 1;
}
.login-aside {
  padding: 48px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: radial-gradient(circle at 87% 0, #4658f0 0, transparent 28%),
    linear-gradient(145deg, #081f52, #06277e);
  position: relative;
  overflow: hidden;
}
.login-aside:after {
  content: "";
  position: absolute;
  inset: auto -70px -150px -120px;
  height: 390px;
  background: linear-gradient(30deg, transparent, #5571ee20);
  transform: rotate(-8deg);
}
.aside-badge {
  display: inline-block;
  padding: 13px 16px;
  border-radius: 10px;
  background: #ffffff18;
  font-weight: 700;
}
.login-aside h1 {
  margin: 35px 0 17px;
  font-size: 38px;
  line-height: 1.13;
  letter-spacing: -1.5px;
}
.login-aside > div > p {
  max-width: 310px;
  margin: 0;
  color: #e5eaff;
  font-size: 16px;
  line-height: 1.5;
}
.login-aside ul {
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1;
}
.login-aside li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}
.login-aside li i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #ffffff1c;
  font-size: 26px;
}
.login-aside li b,
.login-aside li small {
  display: block;
}
.login-aside li b {
  margin-bottom: 5px;
  font-size: 15px;
}
.login-aside li small {
  color: #d5ddff;
}
.card.border-0.rounded.shadow.login-card {
  width: auto !important;
  margin: 0;
  padding: 58px 67px !important;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none !important;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.login-card form {
  width: min(100%, 512px);
  margin: 0 auto;
}
.card .lock-icon-wrapper {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #eff0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 23px;
}
.card .lock-icon-wrapper i {
  color: #302de1;
  font-size: 2rem;
}
.card h3.login-title {
  font-weight: 800;
  font-size: 28px;
  text-align: center;
  color: #07183d;
  margin-bottom: 8px;
}
.card p.login-subtitle {
  text-align: center;
  color: #7885a3;
  font-size: 16px;
  margin-bottom: 38px;
}
.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #19284a;
  margin-bottom: 8px;
}
.input-with-icon {
  position: relative;
}
.input-with-icon i.icon-left {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #424bf2;
  font-size: 19px;
  z-index: 3;
}
.form-control.rounded,
.input-group .form-control {
  height: 55px;
  border: 1px solid #d5ddee;
  border-radius: 10px !important;
  padding: 0.65rem 1rem 0.65rem 3.15rem;
  font-size: 15px;
  background: #fff;
}
.form-control.rounded:focus,
.input-group .form-control:focus {
  border-color: #3c42ee;
  box-shadow: 0 0 0 3px #e8eaff;
}
.input-group-text.rounded-end {
  background: #fff;
  border: 1px solid #d5ddee;
  border-left: 0;
  border-radius: 0 10px 10px 0 !important;
}
.viewPass {
  color: #687492;
}
.form-check {
  margin-top: 28px;
}
.form-check-input {
  width: 1.15em;
  height: 1.15em;
  border-radius: 4px;
  border: 1px solid #bfc9e0;
  cursor: pointer;
}
.form-check-input:checked {
  background-color: #3441ed;
  border-color: #3441ed;
}
.form-check-label {
  font-size: 14px;
  color: #3f4e6d;
}
a.textColor {
  color: #263cf0 !important;
  text-decoration: none;
  font-weight: 600;
}
.btn.backColor,
button.btn-dark.backColor {
  height: 55px;
  background: linear-gradient(100deg, #081f52, #081f52) !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  font-weight: 700;
  font-size: 16px;
  margin-top: 28px !important;

  &:hover {
    box-shadow: 0 0 0 3px #e8eaff !important;
  }
}
.btn.backColor:hover {
  filter: brightness(2);
}
.login-footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  color: #71809e;
  font-size: 13px;
  z-index: 1;
}
.login-footer .version {
  font-weight: 700;
  color: #52627f;
  margin-bottom: 5px;
}
@media (max-width: 800px) {
  .login-header {
    top: 10px;
    left: 20px;
    right: 20px;
    height: 58px;
  }
  .login-header img {
    width: 48px;
    height: 54px;
  }
  .login-header span {
    display: none;
  }
  .login-header a {
    font-size: 12px;
  }
  .login-shell {
    grid-template-columns: 1fr;
    width: min(450px, calc(100vw - 28px));
    min-height: 0;
    margin-top: 30px;
  }
  .login-aside {
    display: none;
  }
  .card.border-0.rounded.shadow.login-card {
    padding: 40px 24px 32px !important;
    border-radius: 20px !important;
  }
  .card p.login-subtitle {
    margin-bottom: 26px;
  }
  .login-footer {
    position: static;
    padding: 20px 15px 13px;
  }
  .background-image > .d-flex {
    min-height: calc(100vh - 65px) !important;
    height: auto !important;
    padding-top: 85px;
    padding-bottom: 10px;
  }
  .form-check {
    margin-top: 22px;
  }
}
