/* 会员中心统一样式 - user.css */
:root {
  --primary: #4a6cf7;
  --primary-light: #6e8af9;
  --primary-dark: #3151d6;
  --accent: #ff6b6b;
  --text: #333;
  --light-bg: #f8f9fa;
  --border: #dee2e6;
}

body {
  background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, sans-serif;
  display: flex;
  align-items: center;
  padding: 20px;
}

/* 容器样式 */
.container.register-container,
.container.login-container,
.container.password-container {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 15px 30px rgba(74, 108, 247, 0.15);
  border-radius: 20px;
  overflow: hidden;
  background: white;
}

.container.login-container,
.container.password-container {
  box-shadow: 0 15px 50px rgba(74, 108, 247, 0.18);
}

/* 左侧区域样式 */
.register-left,
.login-left,
.password-left {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-left:-12px;
}

.login-left::before,
.password-left::before,
.register-left::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.login-left::after,
.password-left::after,
.register-left::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.register-left h1,
.login-left h1,
.password-left h1 {
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

/* 功能列表样式 */
.feature-list {
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 1;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.feature-list .icon {
  background: rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-list h5 {
  margin: 0 0 5px 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.feature-list p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* 右侧区域样式 */
.register-right,
.login-right,
.password-right {
  background-color: white;
  padding: 50px;
}

.login-right,
.password-right {
  background-color: transparent;
}

/* Logo样式 */
.logo {
  margin-bottom: 30px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.login-right .logo,
.password-right .logo {
  margin-bottom: 40px;
}

.logo i {
  margin-right: 10px;
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 表单标题样式 */
.form-title {
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text);
}

.login-right .form-title,
.password-right .form-title {
  margin-bottom: 10px;
  font-size: 2rem;
}

.welcome-text {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* 表单标签样式 */
.form-label {
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

/* 表单控件样式 */
.form-control,
.form-select {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  height: 50px;
  transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(74, 108, 247, 0.25);
}

/* 复选框样式 */
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  color: #666;
  font-size: 0.9rem;
}

.login-right .form-check-label,
.password-right .form-check-label {
  font-size: 0.95rem;
}

/* 按钮样式 */
.btn-primary {
  background-color: var(--primary);
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 600;
  transition: all 0.3s;
  height: 50px;
}

.login-right .btn-primary,
.password-right .btn-primary {
  font-size: 1.05rem;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.login-right .btn-primary:hover,
.password-right .btn-primary:hover {
  box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

/* 成功按钮样式 */
.btn-success {
  background-color: #6eb12d;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 600;
  transition: all 0.3s;
  height: 50px;
  font-size: 1.05rem;
}

.btn-success:hover {
  background-color: #5a9a24;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 177, 45, 0.3);
}

/* 轮廓按钮样式 */
.btn-outline-primary {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  border-color: var(--primary-light);
  background-color: rgba(74, 108, 247, 0.05);
}

/* 验证码组样式 */
.vercode-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vercode-group input {
  flex: 1;
}

.vercode-group img {
  height: 50px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.vercode-group img:hover {
  border-color: var(--primary-light);
}

/* 链接样式 */
.login-link,
.register-link {
  text-align: center;
  margin-top: 25px;
  color: #666;
}

.login-link a,
.register-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover,
.register-link a:hover {
  text-decoration: underline;
}

/* 选项行样式 */
.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.forgot-password {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.forgot-password:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* 社交图标样式 */
.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* 分割线样式 */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #777;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.divider::before {
  margin-right: 15px;
}

.divider::after {
  margin-left: 15px;
}

/* 浮动元素样式 */
.floating-element {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.floating-1 {
  top: 20%;
  left: 70%;
  width: 60px;
  height: 60px;
}

.floating-2 {
  bottom: 15%;
  left: 20%;
  width: 40px;
  height: 40px;
}

.floating-3 {
  top: 40%;
  right: 15%;
  width: 30px;
  height: 30px;
}

/* 动画样式 */
.animation-fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

/* 响应式设计 */
@media (max-width: 991.98px) {
  .container.register-container,
  .container.login-container,
  .container.password-container {
    flex-direction: column;
  }
  
  .register-left,
  .register-right,
  .login-left,
  .login-right,
  .password-left,
  .password-right {
    padding: 40px 30px;
  }
  
  .register-left,
  .login-left,
  .password-left {
    text-align: center;
  }
  
  .feature-list li {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  body {
    padding: 15px;
  }
  
  .register-left,
  .register-right,
  .login-left,
  .login-right,
  .password-left,
  .password-right {
    padding: 30px 20px;
  }
  
  .form-title {
    font-size: 1.8rem;
  }
  
  .options-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
} 

/* 会员中心三栏式布局样式 */
.user-center-body {
  background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, sans-serif;
  padding: 0;
  margin: 0;
}

/* 头部导航样式 */
.user-header {
  background: white;
  box-shadow: 0 2px 10px rgba(74, 108, 247, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}

.header-logo i {
  margin-right: 10px;
  background: var(--primary);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.nav-menu li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-menu li a:hover {
  color: var(--primary);
  background: rgba(74, 108, 247, 0.1);
}

.nav-menu li a.active {
  color: var(--primary);
  background: rgba(74, 108, 247, 0.1);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.user-role {
  font-size: 0.8rem;
  color: #666;
}

/* 主内容区域样式 */
.user-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  gap: 30px;
  min-height: calc(100vh - 80px);
}

/* 左侧边栏样式 */
.user-sidebar {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(74, 108, 247, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.sidebar-title i {
  margin-right: 10px;
  color: var(--primary);
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 8px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s;
  font-weight: 500;
}

.sidebar-menu a:hover {
  background: rgba(74, 108, 247, 0.1);
  color: var(--primary);
}

.sidebar-menu a.active {
  background: var(--primary);
  color: white;
}

.sidebar-menu i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

/* 中间内容区域样式 */
.user-content {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(74, 108, 247, 0.1);
}

.content-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--light-bg);
}

.content-title {
  font-weight: 700;
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.content-subtitle {
  color: #666;
  font-size: 1rem;
}

.content-body {
  line-height: 1.6;
}

/* 右侧广告区域样式 */
.user-ads {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(74, 108, 247, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.ads-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.ads-title i {
  margin-right: 10px;
  color: var(--primary);
}

.ad-item {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  transition: all 0.3s;
}

.ad-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 108, 247, 0.15);
}

.ad-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.ad-item h4 {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1rem;
}

.ad-item p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.ad-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.ad-btn:hover {
  background: var(--primary-dark);
  color: white;
  text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .user-main {
    grid-template-columns: 220px 1fr 250px;
    gap: 20px;
  }
}

@media (max-width: 991.98px) {
  .user-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .user-sidebar,
  .user-ads {
    position: static;
  }
  
  .header-nav {
    gap: 15px;
  }
  
  .nav-menu {
    gap: 15px;
  }
  
  .nav-menu li a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .header-nav {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .user-main {
    padding: 20px 15px;
  }
  
  .user-content {
    padding: 20px;
  }
  
  .content-title {
    font-size: 1.5rem;
  }
} 