@charset "utf-8";
/* 登录页面现代化样式 */
@import url("base.css");

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

button {
  border-style: none;
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 顶部导航 */
.header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.welcome-msg {
  color: white;
  font-size: 14px;
}

.welcome-msg i {
  margin-right: 8px;
}

.visitor {
  color: #ffd700;
  font-weight: 600;
  margin-left: 5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.nav-menu a.active {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* 登录主区域 */
.login-wrapper {
  padding: 60px 0;
  min-height: calc(100vh - 80px);
}

.login-box {
  display: flex;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* 登录主区域 */
.login-main {
  flex: 1;
  padding: 50px;
}

.login-header {
  margin-bottom: 40px;
  text-align: center;
}

.login-header h2 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.login-header h2 i {
  color: #3498db;
  margin-right: 10px;
}

.login-header p {
  color: #7f8c8d;
  font-size: 14px;
}

/* 表单样式 */
.login-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.form-group label i {
  color: #3498db;
  margin-right: 8px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 验证码组 */
.verify-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.verify-group input {
  flex: 0 0 120px;
  text-transform: uppercase;
}

.verify-group img {
  height: 46px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.verify-group img:hover {
  border-color: #3498db;
}

.change-code {
  font-size: 13px;
  color: #3498db;
  text-decoration: none;
  white-space: nowrap;
}

.change-code:hover {
  text-decoration: underline;
}

/* 单选按钮组 */
.radio-group {
  display: flex;
  gap: 20px;
}

.radio-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.radio-item input {
  margin-right: 6px;
  cursor: pointer;
}

.radio-item span {
  font-size: 14px;
  color: #2c3e50;
}

/* 表单操作 */
.form-actions {
  margin-top: 30px;
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-login i {
  font-size: 18px;
}

.forgot-password {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #3498db;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password:hover {
  text-decoration: underline;
}

.register-tip {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #7f8c8d;
}

.register-tip a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
}

.register-tip a:hover {
  text-decoration: underline;
}

/* 侧边栏 */
.login-sidebar {
  width: 350px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.sidebar-content {
  text-align: center;
}

.sidebar-icon {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.login-sidebar h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.login-sidebar p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-register {
  width: 100%;
  height: auto;
  padding: 14px;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .nav-menu {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .login-box {
    flex-direction: column;
  }

  .login-main {
    padding: 30px;
  }

  .login-sidebar {
    width: 100%;
    padding: 40px 30px;
  }

  .radio-group {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* 注册页面样式 */
.register-wrapper {
  padding: 60px 0;
  min-height: calc(100vh - 80px);
}

.register-box {
  display: flex;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.register-main {
  flex: 1;
  padding: 50px;
}

.register-header {
  margin-bottom: 30px;
  text-align: center;
}

.register-header h2 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.register-header h2 i {
  color: #3498db;
  margin-right: 10px;
}

.register-header p {
  color: #7f8c8d;
  font-size: 14px;
}

/* 提示信息 */
.tip-info {
  background: #e3f2fd;
  border-left: 4px solid #3498db;
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 4px;
  color: #1976d2;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tip-info i {
  font-size: 18px;
}

.tip-info .required {
  color: #e74c3c;
  font-weight: bold;
}

/* 注册表单 */
.register-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

.form-group label i {
  color: #3498db;
  margin-right: 8px;
}

.form-group .required {
  color: #e74c3c;
  margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-hint {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #7f8c8d;
}

.faq-question {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  color: #2c3e50;
  font-weight: 500;
}

.w200 {
  width: 200px !important;
}

/* 注册协议 */
.agreement-section {
  margin: 30px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #e9ecef;
}

.agreement-section h4 {
  font-size: 16px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.agreement-section h4 i {
  color: #3498db;
  margin-right: 8px;
}

.agreement-content {
  max-height: 150px;
  overflow-y: auto;
  padding: 15px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  line-height: 1.8;
  font-size: 13px;
  color: #555;
}

/* 复选框组 */
.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input {
  margin-right: 10px;
  width: auto;
}

.checkbox-label span {
  font-size: 14px;
  color: #2c3e50;
}

/* 提交按钮 */
.form-actions {
  margin-top: 30px;
}

.btn-submit {
  width: 100%;
  height: auto;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-submit i {
  font-size: 18px;
}

.login-tip {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #7f8c8d;
}

.login-tip a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
}

.login-tip a:hover {
  text-decoration: underline;
}

/* 注册侧边栏 */
.register-sidebar {
  width: 350px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.sidebar-content {
  text-align: center;
}

.sidebar-icon {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.register-sidebar h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.register-sidebar p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.9;
}

.benefits-list {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
  padding: 0;
}

.benefits-list li {
  padding: 10px 0;
  color: white;
  opacity: 0.95;
}

.benefits-list i {
  color: #ffd700;
  margin-right: 10px;
}

.btn-login {
  width: 100%;
  height: auto;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 注册页面响应式 */
@media (max-width: 768px) {
  .register-box {
    flex-direction: column;
  }

  .register-main {
    padding: 30px;
  }

  .register-sidebar {
    width: 100%;
    padding: 40px 30px;
  }

  .agreement-content {
    max-height: 200px;
  }
}

/* 成功页面样式 */
.success-wrapper {
  padding: 80px 0;
  min-height: calc(100vh - 80px);
}

.success-box {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 60px 50px;
  text-align: center;
}

.success-icon {
  font-size: 100px;
  color: #27ae60;
  margin-bottom: 30px;
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.success-box h2 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.success-message {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.8;
  margin-bottom: 20px;
}

.success-message strong {
  color: #3498db;
  font-weight: 600;
}

.notice-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px 20px;
  margin-bottom: 30px;
  border-radius: 4px;
  display: inline-block;
  text-align: left;
  color: #856404;
  font-size: 14px;
}

.notice-box i {
  margin-right: 10px;
}

.countdown-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  font-size: 18px;
  display: inline-block;
  min-width: 300px;
}

.countdown-box i {
  margin-right: 10px;
}

.countdown {
  font-size: 28px;
  font-weight: bold;
  color: #ffd700;
  margin: 0 5px;
}

.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  padding: 14px 30px;
  background: white;
  color: #3498db;
  border: 2px solid #3498db;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #3498db;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* 成功页面响应式 */
@media (max-width: 768px) {
  .success-box {
    padding: 40px 30px;
  }

  .success-icon {
    font-size: 80px;
  }

  .success-box h2 {
    font-size: 24px;
  }

  .countdown-box {
    min-width: auto;
    width: 100%;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
