@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow: hidden;
}

.loginWraper {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(12, 12, 29, 0.7) 0%, rgba(26, 26, 62, 0.65) 50%, rgba(12, 12, 29, 0.7) 100%),
    url(../images/login-bg.jpg) no-repeat center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loginWraper .bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.loginWraper .bg-blob:nth-child(1) {
  width: 500px;
  height: 500px;
  background: rgba(102, 126, 234, 0.2);
  top: -150px;
  right: -100px;
  animation: floatBlob1 12s ease-in-out infinite;
}

.loginWraper .bg-blob:nth-child(2) {
  width: 400px;
  height: 400px;
  background: rgba(118, 75, 162, 0.18);
  bottom: -120px;
  left: -80px;
  animation: floatBlob2 10s ease-in-out infinite reverse;
}

.loginWraper .bg-blob:nth-child(3) {
  width: 300px;
  height: 300px;
  background: rgba(236, 110, 173, 0.12);
  top: 40%;
  left: 60%;
  animation: floatBlob3 14s ease-in-out infinite;
}

.loginWraper .bg-blob:nth-child(4) {
  width: 250px;
  height: 250px;
  background: rgba(72, 202, 228, 0.1);
  top: 15%;
  left: 15%;
  animation: floatBlob4 9s ease-in-out infinite reverse;
}

@keyframes floatBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.08); }
  50% { transform: translate(-20px, 20px) scale(0.92); }
  75% { transform: translate(30px, 40px) scale(1.04); }
}

@keyframes floatBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-30px, 40px) scale(0.95); }
  50% { transform: translate(35px, -20px) scale(1.06); }
  75% { transform: translate(-25px, -35px) scale(0.98); }
}

@keyframes floatBlob3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 25px) scale(1.1); }
  66% { transform: translate(-30px, -40px) scale(0.9); }
}

@keyframes floatBlob4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -25px) scale(0.93); }
  66% { transform: translate(25px, 35px) scale(1.07); }
}

.loginBox {
  position: relative;
  width: 420px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  padding: 48px 40px 40px;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 10;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  text-align: center;
  margin-bottom: 36px;
}

.login-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.login-avatar .Hui-iconfont {
  font-size: 28px;
  color: #fff;
}

.login-header h2 {
  font-size: 22px;
  color: #1a1a2e;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.login-header p {
  font-size: 14px;
  color: #999;
  font-weight: 400;
}

.input-group {
  position: relative;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  background: #f5f6fa;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  background: #fff;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-group:hover:not(:focus-within) {
  background: #f0f1f7;
}

.input-icon {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-icon .Hui-iconfont {
  font-size: 18px;
  color: #b0b7c8;
  transition: color 0.3s ease;
}

.input-group:focus-within .input-icon .Hui-iconfont {
  color: #667eea;
}

.input-group input {
  flex: 1;
  height: 48px;
  padding: 0 16px 0 0;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  outline: none;
}

.input-group input::placeholder {
  color: #b0b7c8;
  font-size: 14px;
}

.verify-group {
  padding-right: 4px;
}

.verify-box {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-right: 6px;
}

.verify-box img {
  height: 40px;
  width:118px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #e8e8f0;
  transition: border-color 0.3s ease;
}

.verify-box img:hover {
  border-color: #667eea;
}

.verify-box a {
  font-size: 12px;
  color: #667eea;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.verify-box a:hover {
  color: #5a6fd6;
  text-decoration: underline;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-left: 28px;
}

.remember-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0e0;
  border-radius: 4px;
  background: #fff;
  transition: all 0.25s ease;
}

.remember-label:hover .checkmark {
  border-color: #667eea;
}

.remember-label input:checked ~ .checkmark {
  background: #667eea;
  border-color: #667eea;
}

.checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.remember-label input:checked ~ .checkmark::after {
  display: block;
}

.login-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
  letter-spacing: 6px;
  position: relative;
  overflow: hidden;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.login-btn:hover::before {
  left: 100%;
}

.header {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 99;
  height: auto;
  background: none;
}

.header img {
  height: 36px;
}

.footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  z-index: 99;
  background: none;
  height: auto;
  line-height: normal;
}

#span_msg {
  font-size: 14px;
  color: #e74c3c;
  line-height: 40px;
  height: 40px;
  margin-left: 10px;
  width: 160px;
  float: left;
}

#ie6-warning {
  background: #fff url(/jscss/demoimg/201006/warning.gif) no-repeat 3px center;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  color: #333;
  width: 97%;
  padding: 2px 15px 2px 23px;
  text-align: left;
}

#ie6-warning a { text-decoration: none; }

@media (max-width: 480px) {
  .loginBox {
    width: 92%;
    padding: 36px 24px 32px;
    margin: 0;
  }

  .header {
    top: 20px;
    left: 20px;
  }

  .header img {
    height: 28px;
  }
}
