body {
  background: #FFFFFF;
  font-family: "Inter","PingFang SC",sans-serif;
}

.modou-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 2rem 1rem;
}

.auth-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
}

.auth-card h2 {
  text-align: center;
  color: #00bfa5;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.auth-card label {
  font-size: .9rem;
  color: #333;
  margin-bottom: .25rem;
  display: block;
  font-weight: 500;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="tel"] {
  width: 100%;
  padding: .75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: .5rem;
  outline: none;
  transition: border .2s;
  box-sizing: border-box;
  font-size: 1rem;
}

.auth-card input:focus {
  border-color: #00bfa5;
}

.remember-me-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.remember-me-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.remember-me-label span {
  font-size: 0.9rem;
  color: #555;
  font-weight: normal;
}

.auth-error {
  background: #fee;
  color: #c33;
  padding: .75rem;
  border-radius: .5rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  text-align: center;
}

.modou-btn {
  display: block;
  width: 100%;
  padding: .75rem;
  border-radius: .5rem;
  border: none;
  background: #00bfa5;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.modou-btn:hover {
  background: #009d88;
  transform: translateY(-1px);
}

.modou-btn-primary {
  background: #00bfa5;
}

.auth-tip {
  text-align: center;
  font-size: .9rem;
  margin-top: 1rem;
  color: #555;
}

.auth-tip a {
  color: #00bfa5;
  text-decoration: none;
  font-weight: 500;
}

.auth-tip a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0 1rem;
  color: #9ca3af;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider span {
  padding: 0 0.75rem;
}

.auth-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.auth-social-btn:hover {
  border-color: #00bfa5;
  color: #00bfa5;
  box-shadow: 0 4px 12px rgba(0,191,165,0.15);
}

.auth-social-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.auth-social-wechat {
  background: linear-gradient(135deg, #12c2ac, #0fa678);
  color: #fff;
  border: none;
}

.auth-social-wechat:hover {
  color: #fff;
  box-shadow: 0 10px 20px rgba(18,194,172,0.25);
}

.auth-social-phone {
  background: rgba(59,130,246,0.08);
  color: #2563eb;
  border-color: rgba(37,99,235,0.35);
}

.auth-social-phone:hover {
  color: #1d4ed8;
  border-color: rgba(37,99,235,0.55);
  box-shadow: 0 10px 20px rgba(59,130,246,0.2);
}

/* 成功提示 */
.auth-success {
  background: #ecfdf5;
  color: #047857;
  padding: 1rem;
  border-radius: .5rem;
  margin-bottom: 1rem;
  text-align: center;
  border: 1px solid #10b981;
}

.auth-success p {
  margin: 0 0 1rem 0;
  font-size: .95rem;
}

/* 必填标记 */
.required {
  color: #ef4444;
}

/* 字段提示文字 */
.field-hint {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: -0.75rem;
  margin-bottom: 1rem;
}

/* 用户协议复选框 */
.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
}

.terms-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.terms-label span {
  color: #555;
  font-weight: normal;
}

.terms-label a {
  color: #00bfa5;
  text-decoration: none;
}

.terms-label a:hover {
  text-decoration: underline;
}

/* 表单验证样式 */
.auth-card input:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #ef4444;
}

.auth-card input:valid:not(:focus):not(:placeholder-shown) {
  border-color: #10b981;
}

.modou-human-challenge {
  margin: 1rem 0 1.25rem 0;
  text-align: center;
}

.modou-human-hint {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.modou-slider-placeholder {
  min-height: 60px;
  border: 1px dashed rgba(0,0,0,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.modou-slider-placeholder::before {
  content: '滑块验证区域';
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem;
  }
  .modou-auth {
    padding: 1rem;
  }
  
  .field-hint {
    font-size: 0.7rem;
  }
  .auth-social {
    grid-template-columns: 1fr;
  }
}

