.login {
  min-height: 100%;
  background: #111315 url("../../img/login-motorcycle-bg.png") center center / cover no-repeat fixed !important;
  color: #20242a;
}

.login:before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 15, .84) 0%, rgba(8, 12, 15, .72) 42%, rgba(8, 12, 15, .38) 72%, rgba(8, 12, 15, .18) 100%);
  pointer-events: none;
}

.login .mainView {
  position: relative;
  z-index: 1;
}

.login-panel {
  width: 420px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
}

.login .logo {
  margin: 0 auto 22px;
  padding: 0;
  text-align: center;
}

.motu-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
}

.motu-logo img {
  display: block;
  max-width: 328px;
  max-height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .28));
}

.system-name {
  margin-top: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  letter-spacing: 0;
}

.login .content {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 32px 34px 28px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
}

.login .content h3,
.login .content h4 {
  color: #20242a;
}

.login .content label,
.login .content p {
  color: #4e5967;
}

.login .content .login-form,
.login .content .forget-form {
  padding: 0;
  margin: 0;
}

.login .content .forget-form,
.login .content .register-form {
  display: none;
}

.login .content .form-title {
  margin: 0 0 24px;
  color: #111827;
  font-size: 20px;
  font-weight: 600;
}

.login .content .form-group {
  margin-bottom: 18px;
}

.login .content .margin-bottom-4em {
  margin-bottom: 0 !important;
}

.login .content .input-icon {
  position: relative;
}

.login .content .input-icon > i {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 2;
  margin: 0;
  color: #8c96a5;
  font-size: 15px;
  transform: translateY(-50%);
}

.login .content .form-control {
  height: 44px;
  background-color: #fff;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  color: #1f2937;
  box-shadow: none;
}

.login .content .input-icon .form-control {
  padding-left: 38px;
}

.login .content .form-control:focus {
  border-color: #1eb45d;
  box-shadow: 0 0 0 3px rgba(30, 180, 93, .14);
}

.login .content .has-error .form-control {
  border-color: #d84c4c;
}

.login .content .has-error .input-icon > i {
  color: #d84c4c;
}

.login .content .form-actions {
  display: flex;
  gap: 12px;
  clear: both;
  margin: 0 0 18px;
  padding: 0;
  background-color: transparent;
  border: 0;
}

.login .content .form-actions .input-icon {
  flex: 1 1 auto;
  float: none;
  width: auto !important;
}

.login .content .form-actions .col-xs-4 {
  flex: 0 0 116px;
  float: none;
  width: 116px !important;
  padding: 0 !important;
}

.login .content .forget-form .form-actions,
.login .content .register-form .form-actions {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.remember-box {
  display: flex;
  justify-content: flex-end;
}

.login .checkbox {
  margin: 0 !important;
  font-size: 13px;
}

.login .content .form-actions .checkbox {
  margin-left: 0;
  padding-left: 0;
}

.login .content .forget-password {
  margin-top: 25px;
}

.login .content .create-account {
  border-top: 1px dotted #eee;
  padding-top: 10px;
  margin-top: 15px;
}

.login .content .create-account a {
  display: inline-block;
  margin-top: 5px;
}

.login .content .select2-container i {
  display: inline-block;
  position: relative;
  z-index: 1;
  top: 1px;
  width: 16px;
  height: 16px;
  margin: 4px 4px 0 3px;
  color: #8c96a5;
  font-size: 16px;
  text-align: center;
}

.login .content .has-error .select2-container i {
  color: #d84c4c;
}

.login .content .select2-container a span {
  font-size: 13px;
}

.login .content .select2-container a span img {
  margin-left: 4px;
}

.login .copyright {
  text-align: center;
  margin: 0 auto;
  padding: 10px;
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
}

.loginBtn {
  height: 46px;
  padding: 0 !important;
  color: #fff;
  font-weight: 600;
  background-color: #1eb45d !important;
  border: 0;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.loginBtn:hover,
.loginBtn:focus {
  color: #fff;
  background-color: #16984d !important;
  box-shadow: 0 10px 22px rgba(30, 180, 93, .26);
}

.loginBtn:active {
  transform: translateY(1px);
}

.eleRadius {
  border-radius: 6px;
}

.codeImg {
  height: 44px;
  border-radius: 6px;
  background-image: url('/images/refresh.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

@media (max-width: 480px) {
  .login {
    background-attachment: scroll !important;
    background-position: 62% center !important;
  }

  .login-panel {
    width: 100%;
    max-width: 360px;
  }

  .login .content {
    padding: 28px 22px 24px;
  }

  .login .content .form-title {
    font-size: 18px;
  }

  .login .content .form-actions .col-xs-4 {
    flex-basis: 104px;
    width: 104px !important;
  }
}
