.auth-popup {
  width: 800px;
  border-radius: 8px;
  overflow: hidden;
}

.auth-container {
  display: flex;
  width: 100%;
}

.auth-left {
  width: 50%;
  padding: 40px 30px;
  background: #fff;
}

.auth-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f5f0ff;
  padding: 40px 20px;
  color: #6c41ec;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-header p {
  color: #666;
  font-size: 14px;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.social-btn:hover {
  background: #f5f5f5;
}

.divider-hr {
  text-align: center;
  margin: 20px 0;
  color: #999;
  font-size: 12px;
  position: relative;
}

.divider-hr::before, .divider-hr::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: #f8f9fa;
}

.divider-hr::before {
  left: 0;
}

.divider-hr::after {
  right: 0;
}

.layui-input {
  border-radius: 4px;
  margin-bottom: 16px;
  height: 42px;
}

.submit-btn {
  width: 100%;
  height: 44px;
  border-radius: 4px;
  background: linear-gradient(90deg, #6c41ec 0%, #3f86ed 100%);
  border: none;
  color: #fff;
  font-size: 16px;
  margin-top: 8px;
  cursor: pointer;
}

.switch-btn {
  margin-top: 20px;
  padding: 8px 24px;
  border: 1px solid #6c41ec;
  border-radius: 4px;
  background: transparent;
  color: #6c41ec;
  cursor: pointer;
  transition: all 0.3s;
}

.switch-btn:hover {
  background: #6c41ec;
  color: #fff;
}


.recaptcha-box {
  margin: 10px 0;
  width: 100%;
}

.layui-input:focus, .layui-textarea:focus {
  border-color: #9779da ! important;
  box-shadow: 0 0 0 3px rgba(151, 121, 218, .2);
}

.layui-form-danger:focus {
  border-color: #dc3545 ! important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, .2);
}

.auth-form {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-form.active {
  display: block;
  opacity: 1;
}

.retrieve-password {
  cursor: pointer;
}

.retrieve-password:hover {
  color: #dc3545
}

/*.send-code-btn {*/
/*  width: 95%;*/
/*  cursor: pointer;*/
/*  background: #b08bff;*/
/*  color: #fff;*/
/*  border-radius: 10px;*/
/*  height: 40px;*/
/*  font-size: 14px;*/
/*  padding: 0px 10px;*/
/*  line-height: 13px;*/
/*  margin-left: 6px;*/
/*}*/

.etrieve-password {
  cursor: pointer;
}

.etrieve-password:hover {
  color: #dc3545 !important;
}

.verification-wrap {
  margin-bottom: 16px;
}

.send-code-btn {
  width: 90%;
  margin-left: 10%;
  height: 42px;
  background: #f5f0ff;
  color: #6c41ec;
  border: 1px solid #dcd0ff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 13px;
}

.send-code-btn:hover {
  background: #6c41ec;
  color: #fff;
}

.send-code-btn.layui-btn-disabled {
  background: #f5f5f5 !important;
  color: #ccc !important;
  cursor: not-allowed;
}

#reg-subtitle {
  color: #3f86ed;
  font-weight: bold;
  font-size: 13px;
}

#reg-step-1-container, #reg-step-2-container {
  transition: all 0.3s ease-in-out;
}

/* 注册第二步的验证码行布局 */
#reg-step-2 .layui-row {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

#reg-resend-btn {
  width: 92%;
  margin-left: 8%;
  height: 42px;
  line-height: 42px;
  padding: 0;
  background: #f0f0ff;
  color: #6c41ec;
  border: 1px solid #dcd0ff;
  border-radius: 4px;
}

#reg-resend-btn:hover {
  background: #6c41ec;
  color: #fff;
}

#reg-resend-btn.layui-btn-disabled {
  background: #f5f5f5 !important;
  color: #ccc !important;
  border-color: #eee !important;
}

.form-anim-up {
  animation: formFadeUp 0.4s ease-out forwards;
}

@keyframes formFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-left {
  min-height: 480px;
  position: relative;
}

.auth-form {
  position: absolute;
  width: 100%;
  left: 0;
  top: 40px;
  padding: 0 30px;
  box-sizing: border-box;
}