/* 简洁专业登录样式 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #1677ff 0%, #69b1ff 100%);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-wrapper {
  width: 100%;
  max-width: 360px;
  padding: 20px;
}

.login-card {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow:
    0 8px 30px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

.logo-area {
  text-align: center;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  color: #1677ff;
  margin-bottom: 25px;
  letter-spacing: 2px;
}


.input-group {
  margin-bottom: 24px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s;
}

.input-group input:focus {
  outline: none;
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.input-group input::placeholder {
  color: #999;
}
.submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg,#1677ff,#4096ff);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22,119,255,.3);
}

.submit-btn:active {
  background: #096dd9;
}

.error-box {
  background: #fff2f0;
  border: 1px solid #ffccc7;
  color: #ff4d4f;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 13px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  color: #999;
  font-size: 12px;
}

/* 移动端适配 */
@media (max-width: 480px) {
  .login-card {
    padding: 30px 24px;
    box-shadow: none;
    border: 1px solid #e8e8e8;
  }

  .logo {
    font-size: 22px;
  }

  .input-group input {
    padding: 11px;
  }

  .submit-btn {
    padding: 11px;
  }
}
.login-tabs{
  display:flex;
  background:#f5f7fa;
  border-radius:6px;
  padding:4px;
  margin-bottom:25px;
}

.tab-btn{
  flex:1;
  border:none;
  background:none;
  padding:10px;
  font-size:14px;
  color:#666;
  border-radius:4px;
  cursor:pointer;
}

.tab-btn.active{
  background:white;
  color:#1677ff;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #1890ff;
}

.tab-btn:hover {
  color: #40a9ff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* 二维码容器 - 完全居中 */
.qrcode-container {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#wechat-qrcode {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  display: block;
}

#wechat-qrcode img {
  width: 100%;
  height: 100%;
  display: block;
}

.qrcode-tip {
  color: #888;
  font-size: 13px;
  text-align: center;
  margin-top: 15px;
  width: 100%;
}
/* 微信登录二维码内部的样式覆盖 */
.impowerBox .title {
  display: none;
}

.impowerBox .info {
  display: none;
}

.impowerBox .qrcode {
  width: 180px;
  margin: 0 auto;
}

.impowerBox .status {
  text-align: center;
}


.success-icon {
  width: 70px;
  height: 70px;
  margin: 30px auto 15px;
  border: 2px solid #1890ff;  /* 细蓝色边框 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);  /* 轻微投影 */
}

.success-icon::after {
  content: '✓';
  font-size: 42px;
  color: #1890ff;
  line-height: 1;
  font-weight: 400;  /* 正常粗细 */
  transform: translateY(-2px);  /* 微调位置 */
}

.success-container .success-text {
  margin-top: 12px;
  font-size: 16px;
  color: #333;
  text-align: center;
  font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 480px) {
  .tab-btn {
    padding: 10px;
    font-size: 14px;
  }

  #wechat-qrcode {
    width: 160px;
    height: 160px;
  }
}
.logo-sub{
  font-size:13px;
  color:#999;
  margin-top:-10px;
  margin-bottom:20px;
}
/* 背景水印 */

.bg-watermark {
  position: fixed;
  bottom: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 0;
}

.bg-watermark img{
  width:100%;
  height:100%;
  opacity:0;
  border-radius:50%;
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn{
  to{
    opacity:0.08;
  }
}