body {
  background-color: var(--sidebar);
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

@media (min-width: 600px) {
  .wrapper {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 960px) {
  .wrapper {
    justify-content: flex-start;
    align-items: stretch;
  }
}

.form-box {
  display: flex;
  padding: 2rem 1rem;
  width: 100%;
  flex-grow: 1;
  background-color: var(--body-bg);
}

.form-inner {
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 600px) {
  .form-box {
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    padding: 2.5rem;
    width: auto;
    flex-grow: 0;
  }

  .form-inner {
    margin-left: 0;
    margin-right: 0;
    width: 500px;
  }
}

@media (min-width: 960px) {
  .form-box {
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    padding: 0 4rem;
    width: 50%;
    align-items: center;
    justify-content: flex-end;
  }
}

.side-box {
  display: none;
  background-image: url(../img/bg_login.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  align-items: flex-end;
  padding: 4rem;
  width: 50%;
  min-height: 100vh;
  position: relative;
}

.side-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    to top right,
    rgba(var(--primary-rgb), 1),
    rgba(var(--primary-rgb), 0.75),
    rgba(var(--primary-rgb), 0.5),
    rgba(var(--primary-rgb), 0.25),
    rgba(var(--primary-rgb), 0)
  );
}

@media (min-width: 960px) {
  .side-box {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .side-box {
    padding: 4rem 7rem;
  }
}

.side-inner {
  max-width: 42rem;
  position: relative;
  padding: 1rem 6rem;
  background-color: rgb(255, 255, 255, 0.2);
  border-radius: 4rem;
}

.side-inner h1 {
  color: var(--primary-darker);
  text-shadow: 1px 1px 1px var(--primary-light);
}

.side-inner h5 {
  color: var(--primary-dark);
}

.side-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}

.form-control {
  border-radius: 6px;
  padding: 0 16px;
}

.form-group {
  margin-bottom: 0;
}

.login-password {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 2rem;
}

.login-password label {
  position: absolute;
  top: -2rem;
  width: 100%;
}

.form-divider {
  width: 100%;
  position: relative;
  line-height: 1rem;
}

.form-divider::before {
  content: "";
  display: inline-block;
  height: 16px;
}

.font-weight-500 {
  font-weight: 500;
}

.btn-login {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border-radius: 9999px;
}

.btn,
.form-control {
  height: 48px;
}

.form-title h2 {
  font-weight: 800;
  letter-spacing: -0.05rem;
}

.mobile-logo {
  display: none;
}

.mobile-logo .title {
  color: var(--primary);
  text-align: center;
  line-height: 1;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -4px;
}

.mobile-logo .sub-title {
  font-size: 0.825rem;
  text-align: center;
  line-height: 1;
  background-color: transparent;
  line-height: 0;
}

@media (min-height: 600px) {
  .mobile-logo {
    display: block;
    margin-bottom: 4rem;
  }
}

@media (min-width: 960px) {
  .mobile-logo {
    display: none;
  }
}
