:root {
  --login-main-color: #2f6cff;
  --login-text: #03203d;
  --login-muted: rgba(3, 32, 61, 0.65);
  --login-border: #d8dde1;
  --login-bg: #ffffff;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background-color: var(--login-bg);
}

.login-vue {
  min-height: 100vh;
  width: 100%;
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: cover;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.login-vue__logo {
  position: absolute;
  left: 32px;
  top: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.login-vue__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.login-vue__logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--login-text);
  line-height: 25px;
  letter-spacing: 1px;
}

.login-vue__main {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 80px;
  padding-left: 110px;
  padding-right: 180px;
}

.login-vue__bg-animate {
  width: 584px;
  height: 269px;
  flex-shrink: 0;
  background: url('../img/login_img/dada.png');
  background-size: cover;
  position: relative;
  margin-right: 117px;
  opacity: 1;
}

.login-vue__bg-top,
.login-vue__bg-center,
.login-vue__bg-bottom {
  position: absolute;
}

.login-vue__bg-top {
  left: 106px;
  top: -34px;
  width: 149px;
  height: 70px;
}

.login-vue__bg-top-main {
  width: 134px;
  height: 69px;
  position: relative;
  z-index: 2;
  animation: login-top 8s infinite ease alternate;
}

.login-vue__bg-top-fill {
  width: 149px;
  height: 70px;
  position: absolute;
  left: -3px;
  top: 35px;
  z-index: 1;
  animation: login-top-fill 8s infinite ease alternate;
}

.login-vue__bg-center {
  left: 227px;
  top: 5px;
  width: 189px;
  height: 99px;
}

.login-vue__bg-center-main {
  width: 184px;
  height: 91px;
  position: relative;
  z-index: 2;
  animation: login-center 8s infinite ease alternate;
}

.login-vue__bg-center-fill {
  width: 186px;
  height: 104px;
  position: absolute;
  left: -1px;
  top: 34px;
  z-index: 1;
  opacity: 0.85;
  animation: login-center-fill 8s infinite ease alternate;
  transform-origin: center center;
}

.login-vue__bg-bottom {
  left: 136px;
  top: 82px;
  width: 152px;
  height: 94px;
}

.login-vue__bg-bottom-main {
  width: 120px;
  height: 63px;
  position: relative;
  z-index: 2;
  animation: login-bottom 8s infinite ease alternate;
}

.login-vue__bg-bottom-fill {
  width: 152px;
  height: 94px;
  position: absolute;
  left: -9px;
  top: 13px;
  z-index: 1;
  animation: login-bottom-fill 8s infinite ease alternate;
}

.login-vue__box {
  width: 382px;
  min-height: 400px;
  height: auto;
  padding: 40px 32px;
  background: #ffffff;
  box-shadow: 0px 6px 30px 0px rgba(33, 36, 40, 0.1);
  border-radius: 8px;
  border: 1px solid var(--login-border);
  flex-shrink: 0;
  animation: login-box-in 0.45s ease both;
}

.login-vue__tabs {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
}

.login-vue__tab {
  height: 28px;
  line-height: 28px;
  font-size: 20px;
  font-weight: 600;
  color: var(--login-text);
  margin-right: 32px;
}

.login-vue__tab-line {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--login-main-color);
  border-radius: 2px;
}

.login-vue__form-item {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.login-vue__input {
  border-radius: 4px;
  border: 1px solid var(--login-border);
  height: 48px;
  width: 100%;
  line-height: 48px;
  padding: 5px 44px 5px 16px;
  outline: none;
  font-size: 16px;
  color: #6e7489;
  box-sizing: border-box;
}

.login-vue__input::placeholder {
  font-size: 14px;
  font-weight: 400;
  color: rgba(3, 32, 61, 0.35);
}

.login-vue__eye {
  position: absolute;
  right: 16px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 20px;
  height: 20px;
  border: 0 none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  pointer-events: auto;
}

.login-vue__eye::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2392A0B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.login-vue__eye.is-visible::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2392A0B3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a21.81 21.81 0 0 1 5.06-6.88'/%3E%3Cpath d='M1 1l22 22'/%3E%3Cpath d='M9.53 9.53A3.5 3.5 0 0 0 12 15.5 3.5 3.5 0 0 0 14.47 14.47'/%3E%3Cpath d='M21 12s-4-8-9-8a9.77 9.77 0 0 0-2.5.33'/%3E%3C/svg%3E");
}

.login-vue__form-item--options {
  margin-top: 5px;
}

.login-vue__remember {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.login-vue__remember-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.login-vue__remember-box {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--login-border);
  background: #ffffff;
  margin-right: 8px;
  box-sizing: border-box;
  position: relative;
}

.login-vue__remember-input:checked + .login-vue__remember-box {
  background: var(--login-main-color);
  border-color: var(--login-main-color);
}

.login-vue__remember-input:checked + .login-vue__remember-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.login-vue__remember-text {
  color: rgba(3, 32, 61, 0.85);
  font-size: 14px;
}

.login-vue__form-item--submit {
  margin-top: 88px;
  margin-bottom: 0;
}

.login-vue__submit {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--login-main-color);
  border-radius: 4px;
  cursor: pointer;
  color: #ffffff;
  user-select: none;
  font-size: 16px;
  border: 0 none;
}

.login-vue__submit:active {
  transform: scale(0.99);
}

.login-vue__footer {
  position: fixed;
  bottom: 16px;
  width: 100%;
  left: 0;
  z-index: 1;
}

.login-vue__footer-text {
  height: 48px;
  line-height: 48px;
  font-size: 12px;
  color: rgba(3, 32, 61, 0.35);
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 1200px) {
  .login-vue__main {
    padding-left: 40px;
    padding-right: 40px;
  }
  .login-vue__bg-animate {
    margin-right: 40px;
    transform: scale(0.9);
  }
}

@media (max-width: 960px) {
  .login-vue__main {
    padding: 80px 16px 120px;
    flex-direction: column;
    gap: 24px;
  }
  .login-vue__bg-animate {
    margin-right: 0;
  }
  .login-vue__box {
    width: min(448px, 92vw);
  }
}

@keyframes login-box-in {
  0% {
    opacity: 0;
    transform: translateY(-18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes login-top {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes login-top-fill {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(0.6);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.6);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes login-center {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes login-center-fill {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(0.6);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.6);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes login-bottom {
  0% {
    transform: translateY(-25px);
  }
  25% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
  75% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-25px);
  }
}

@keyframes login-bottom-fill {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(0.6);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.6);
  }
  100% {
    transform: scale(1);
  }
}
