/* 全局样式重置与基础设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 移除a标签默认下划线 */
a {
  text-decoration: none;
  color: inherit;
}

:root {
  /* 色彩方案 - 采用现代、清新的配色 */
  --primary-color: #4361ee;
  --primary-dark: #3a0ca3;
  --primary-light: #4cc9f0;
  --secondary-color: #4cc9f0;
  --accent-color: #f72585;
  --text-primary: #2b2d42;
  --text-secondary: #6c757d;
  --text-light: #adb5bd;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-color: #e9ecef;
  --success-color: #4cc9f0;
  --warning-color: #f72585;
  --error-color: #f72585;
  
  /* 阴影 - 多层次阴影效果 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
  
  /* 圆角 - 统一的圆角设计 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 50%;
  
  /* 间距 - 统一的间距系统 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* 动画 - 流畅的动画效果 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* 字体 - 现代无衬线字体 */
  --font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-light);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 容器样式 - 模拟手机屏幕 */
.container {
  max-width: 414px;
  margin: 0 auto;
  background-color: var(--background-white);
  min-height: 100vh;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow-x: hidden;
  border-radius: var(--radius-xl);
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 80px; /* 增加底部内边距，避免被导航栏遮挡 */
  width: 100%;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
}

/* 头部样式 - 现代化渐变背景 */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 60px 24px 32px;
  text-align: center;
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCA0LTEuNzkgNC00eiIgZmlsbD0iI2ZmZiIgZmlsbC1vcGFjaXR5PSIwLjA1Ii8+PC9zdmc+') repeat;
  opacity: 0.1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.header-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  animation: backgroundMove 20s linear infinite;
  z-index: 0;
}

@keyframes backgroundMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content {
  padding: 24px;
  position: relative;
  z-index: 1;
}

.header .header-actions {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.header .header-actions i {
  font-size: 20px;
  opacity: 0.9;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.header .header-actions i:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* 表单样式 - 现代化输入框 */
.form {
  padding: 32px 24px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 16px;
  outline: none;
  transition: all var(--transition-normal);
  background-color: var(--background-white);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-family);
}

.form-group input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  transform: translateY(-1px);
}



.input-with-icon {
  position: relative;
}

.input-with-icon .icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 18px;
  z-index: 1;
}

.input-with-icon input {
  padding-left: 52px;
}

/* 按钮样式 - 现代化按钮设计 */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  font-family: var(--font-family);
  box-shadow: var(--shadow-sm);
  height: 64px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background-color: var(--background-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background-color: rgba(67, 97, 238, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* 卡片样式 - 现代化卡片设计 */
.card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* 网格布局 */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

/* 服务项样式 - 现代化服务卡片 */
.service-item {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.service-item .icon {
  font-size: 40px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-item h3 {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 24px;
}

.recommended-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100%;
  height: 32px;
}

.section-more {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-normal);
}

.section-more:hover {
  color: var(--primary-color);
  transform: translateX(2px);
}

.section-more i {
  font-size: 12px;
  transition: transform var(--transition-normal);
}

.section-more:hover i {
  transform: translateX(2px);
}

.service-categories {
  margin-bottom: 32px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-height: 100px;
  justify-content: center;
}

.category-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.05), transparent);
  transition: left 0.5s ease;
}

.category-item:hover::before {
  left: 100%;
}

.category-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 20px;
  color: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.category-item:hover .category-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.category-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-bottom: 4px;
}

.category-item:hover .category-name {
  color: var(--primary-color);
  font-weight: 600;
}

.category-count {
  font-size: 10px;
  color: var(--text-light);
  position: relative;
  z-index: 1;
  background: var(--background-light);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-top: 4px;
  transition: all var(--transition-normal);
}

.category-item:hover .category-count {
  background: var(--primary-light);
  color: var(--primary-color);
}

/* 推荐服务列表 */
.recommended-services {
  padding: 15px;
  background-color: var(--background-light);
  border-radius: var(--radius-lg);
  margin-top: 24px;
  -webkit-border-radius: var(--radius-lg);
  -moz-border-radius: var(--radius-lg);
  -ms-border-radius: var(--radius-lg);
  -o-border-radius: var(--radius-lg);
}

.section-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.section-title::after {
  display: none;
}

.section-more {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  -webkit-transition: all var(--transition-normal);
  -o-transition: all var(--transition-normal);
  transition: all var(--transition-normal);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
}

.section-more:hover {
  color: var(--primary-color);
  -webkit-transform: translateX(4px);
  -ms-transform: translateX(4px);
  transform: translateX(4px);
}

.service-list {
  margin-top: 0;
}

/* 服务卡片样式 - 修复布局问题 */
.service-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: visible;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  min-height: 150px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(67, 97, 238, 0.15);
}

.service-card:last-child {
  margin-bottom: 0;
}

.service-info {
  width: 100%;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}

.service-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
  margin-right: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
  text-align: right;
}

.service-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: white;
  background-color: var(--primary-color);
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-border-radius: var(--radius-full);
  -moz-border-radius: var(--radius-full);
  -ms-border-radius: var(--radius-full);
  -o-border-radius: var(--radius-full);
}

.service-tag.urgent {
  background-color: var(--danger-color);
}

.service-tag.new {
  background-color: var(--success-color);
}

.service-description {
  margin-bottom: 16px;
  overflow: visible;
  height: auto;
}

.service-description-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.service-description-item:last-child {
  margin-bottom: 0;
}

.service-description-item i {
  margin-right: 8px;
  color: var(--text-light);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.service-description-item:last-child {
  margin-bottom: 0;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.service-requirement {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.service-requirement i {
  margin-right: 6px;
  color: var(--warning-color);
  font-size: 12px;
}

.service-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  min-width: 80px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.service-rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.service-rating i {
  font-size: 14px;
  color: var(--warning-color);
}

.service-rating i.far {
  color: var(--border-color);
}

.service-rating span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-left: 4px;
}

.service-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(67, 97, 238, 0.05)), to(transparent));
  background: -o-linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.05), transparent);
  background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.05), transparent);
  -webkit-transition: left 0.5s ease;
  -o-transition: left 0.5s ease;
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  -webkit-box-shadow: var(--shadow-lg);
  box-shadow: var(--shadow-lg);
  -webkit-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.service-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  font-size: 24px;
  color: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-card:hover .service-image {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-box-shadow: var(--shadow-md);
  box-shadow: var(--shadow-md);
}

.service-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.service-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all var(--transition-normal);
}

.service-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-color);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.service-tag.urgent {
  background: var(--accent-light);
  color: var(--accent-color);
}

.service-tag.new {
  background: var(--success-light);
  color: var(--success-color);
}

.service-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
  overflow: visible;
  height: auto;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.service-rating i {
  font-size: 12px;
  color: var(--warning-color);
}

.service-rating i.far {
  color: var(--text-light);
}

.service-rating span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-left: 4px;
}

.service-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
}

.service-card:hover .service-price {
  color: var(--primary-color);
  transform: scale(1.05);
}

@media (max-width: 414px) {
  .container {
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .header {
    border-radius: 0;
    padding: 50px 16px 24px;
  }
  
  .content {
    padding: 16px;
  }
  
  .section-header {
    padding: 0 16px;
  }
  
  .categories-grid {
    padding: 0 16px;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .category-item {
    padding: 12px 6px;
    min-height: 90px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .category-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .category-name {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  
  .category-count {
    font-size: 9px;
  }
  
  .recommended-services {
    padding: 15px;
    margin-top: 24px;
  }
  
  .recommended-services .section-header {
    margin-bottom: 24px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .service-card {
    padding: 16px;
    overflow: visible;
    min-height: 140px;
  }
  
  .service-info {
    width: 100%;
  }
  
  .service-header {
    margin-bottom: 12px;
    align-items: center;
  }
  
  .service-name {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .service-price {
    font-size: 15px;
    min-width: 70px;
  }
  
  .service-description {
    margin-bottom: 12px;
  }
  
  .service-description-item {
    font-size: 13px;
  }
  
  .service-footer {
    padding-top: 12px;
  }
  
  .service-requirement {
    font-size: 12px;
  }
  
  .service-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .tab-bar {
    border-radius: 0;
  }
}

/* 底部导航栏 - 现代化导航栏 */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-white);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  max-width: 414px;
  margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  box-sizing: border-box;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  text-decoration: none;
  font-size: 12px;
  padding: 8px 20px;
  transition: all var(--transition-normal);
  position: relative;
}

.tab-item.active {
  color: var(--primary-color);
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.tab-item .icon {
  font-size: 24px;
  margin-bottom: 4px;
  transition: all var(--transition-normal);
}

.tab-item:hover .icon {
  transform: scale(1.1);
}

/* 任务详情页 */
.task-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 32px 24px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.task-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCA0LTEuNzkgNC00eiIgZmlsbD0iI2ZmZiIgZmlsbC1vcGFjaXR5PSIwLjA1Ii8+PC9zdmc+') repeat;
  opacity: 0.1;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.task-header::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.1); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.15; }
}

.task-header .task-title-section {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.task-header .task-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-sm);
}

.task-header .task-title {
  flex: 1;
}

.task-header .task-title h2 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.task-header .task-badge {
  padding: 4px 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.task-header .task-image {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.task-info {
  padding: 24px;
}

.task-info-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: var(--background-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.task-info-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  border-color: var(--primary-light);
}

.task-info-item .label {
  width: 90px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

.task-info-item .value {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.task-description {
  margin-top: 24px;
  background-color: var(--background-light);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.task-description h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-description p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.task-description p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.task-actions {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 80px;
}

/* 发布任务页 */
.publish-form {
  padding: 24px;
  margin-bottom: 80px;
}

.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 16px;
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: all var(--transition-normal);
  background-color: var(--background-white);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-family);
}

.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  transform: translateY(-1px);
}

.task-types {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.task-type-btn {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  border-radius: 24px;
  background-color: var(--background-white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-family);
}

.task-type-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.task-type-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

/* 个人中心页 */
.profile-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 60px 24px 32px;
  text-align: center;
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCA0LTEuNzkgNC00eiIgZmlsbD0iI2ZmZiIgZmlsbC1vcGFjaXR5PSIwLjA1Ii8+PC9zdmc+') repeat;
  opacity: 0.1;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, white, rgba(255,255,255,0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
  border: 4px solid white;
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.profile-menu {
  padding: 24px;
  margin-bottom: 80px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.menu-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.menu-item .menu-icon {
  margin-right: 16px;
  color: var(--primary-color);
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.menu-item .menu-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-item .menu-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.menu-item .menu-value {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
  margin-right: 2px;
}

.menu-item .menu-arrow {
  color: var(--text-light);
  font-size: 14px;
  transition: all var(--transition-normal);
}

.menu-item:hover .menu-arrow {
  transform: translateX(4px);
  color: var(--primary-color);
}

/* 设置页面样式 */
.settings-content {
  padding: 24px;
  margin-bottom: 80px;
}

.settings-menu {
  margin-bottom: 32px;
}

.logout-section {
  margin-top: 32px;
}

.logout-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--background-white);
  border: 1px solid var(--error-color);
  color: var(--error-color);
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logout-btn:hover {
  background-color: var(--error-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 开关样式 */
.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: all var(--transition-normal);
  border-radius: 30px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: all var(--transition-normal);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

input:checked + .slider {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked + .slider:before {
  transform: translateX(26px);
  box-shadow: var(--shadow-md);
}

/* 响应式设计 */
@media (max-width: 414px) {
  .container {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
  }
  
  .header {
    padding: 50px 20px 28px;
    border-radius: 0;
  }
  
  .header h1 {
    font-size: 28px;
  }
  
  .header-subtitle {
    font-size: 14px;
  }
  
  .content {
    padding: 20px;
  }
  
  .search-container {
    margin-bottom: 20px;
  }
  
  .search-input {
    padding: 14px 50px 14px 48px;
    font-size: 14px;
  }
  
  .search-icon {
    font-size: 16px;
    left: 18px;
  }
  
  .grid {
    gap: 12px;
  }
  
  .service-item {
    padding: 28px 20px;
  }
  
  .service-categories {
    margin-bottom: 24px;
  }
  
  .categories-grid {
    gap: 12px;
    margin-top: 12px;
  }
  
  .category-item {
    padding: 12px 6px;
  }
  
  .category-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .category-name {
    font-size: 11px;
  }
  
  .recommended-services {
    padding: 15px;
    margin-top: 24px;
  }
  
  .recommended-services .section-header {
    margin-bottom: 24px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .section-title {
    font-size: 18px;
    margin-bottom: 16px;
  }
  
  .service-card {
    padding: 16px;
    margin-bottom: 12px;
    overflow: visible;
    min-height: 140px;
  }
  
  .service-card .service-header {
    align-items: center;
  }
  
  .service-card .service-name {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .service-card .service-price {
    font-size: 15px;
    min-width: 70px;
    text-align: right;
  }
  
  .service-card .service-description {
    margin-bottom: 12px;
  }
  
  .service-card .service-description-item {
    font-size: 12px;
  }
  
  .service-card .service-footer {
    padding-top: 12px;
  }
  
  .service-card .service-requirement {
    font-size: 12px;
  }
  
  .service-card .service-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .task-header {
    padding: 28px 20px;
  }
  
  .task-info {
    padding: 20px;
  }
  
  .task-actions {
    padding: 20px;
  }
  
  .publish-form {
    padding: 20px;
  }
  
  .profile-header {
    padding: 50px 20px 28px;
    border-radius: 0;
  }
  
  .profile-menu {
    padding: 20px;
  }
  
  .tab-bar {
    border-radius: 0;
  }
}

/* 小屏幕设备适配 */
@media (max-width: 320px) {
  .header {
    padding: 40px 16px 24px;
  }
  
  .header h1 {
    font-size: 24px;
  }
  
  .header-subtitle {
    font-size: 13px;
  }
  
  .content {
    padding: 16px;
  }
  
  .categories-grid {
    gap: 8px;
  }
  
  .category-item {
    padding: 10px 4px;
  }
  
  .category-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .category-name {
    font-size: 10px;
  }
  
  .service-card {
    padding: 14px;
  }
  
  .service-card .avatar {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* 平板设备适配 */
@media (min-width: 415px) and (max-width: 768px) {
  .container {
    max-width: 414px;
    margin: 20px auto;
  }
  
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 辅助样式 */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.text-right {
  text-align: right;
}

.text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.text-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* 密码输入框 */
.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 1;
}

.password-toggle:hover {
  color: var(--primary-color);
}

/* 加载动画 */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  color: var(--text-primary);
}

.loading i {
  font-size: 20px;
  animation: spin 1s ease-in-out infinite;
  color: var(--primary-color);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 无数据提示 */
.no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 16px;
  text-align: center;
}

.no-data::before {
  content: '📋';
  font-size: 24px;
}

/* 错误提示 */
.error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  color: var(--error-color);
  font-size: 16px;
  text-align: center;
}

.error::before {
  content: '❌';
  font-size: 24px;
}

/* 淡入动画 */
.fade-in {
  animation: fadeIn var(--transition-slow) ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 滚动条样式 - 隐藏滚动条但保留滚动功能 */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  display: none;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 点击反馈效果 */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
  width: 300px;
  height: 300px;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 分类项点击动画 */
.category-item {
  position: relative;
  overflow: hidden;
}

.category-item:active {
  transform: scale(0.95);
}

/* 服务卡片点击动画 */
.service-card:active {
  transform: translateY(-2px) scale(0.98);
}

/* 按钮点击动画 */
.service-item:active {
  transform: translateY(0) scale(0.98);
}

/* 搜索建议动画 */
.search-suggestion-item {
  transition: all var(--transition-normal);
}

.search-suggestion-item:hover {
  transform: translateX(4px);
}

/* 加载动画 */
.loading-shimmer {
  background: linear-gradient(90deg, var(--background-light) 25%, rgba(255, 255, 255, 0.4) 50%, var(--background-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* 服务卡片进入动画 */
.service-card {
  animation: slideInUp 0.4s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 分类项进入动画 */
.category-item {
  animation: fadeInUp 0.3s ease-out;
}

.category-item:nth-child(1) { animation-delay: 0.05s; }
.category-item:nth-child(2) { animation-delay: 0.1s; }
.category-item:nth-child(3) { animation-delay: 0.15s; }
.category-item:nth-child(4) { animation-delay: 0.2s; }
.category-item:nth-child(5) { animation-delay: 0.25s; }
.category-item:nth-child(6) { animation-delay: 0.3s; }
.category-item:nth-child(7) { animation-delay: 0.35s; }
.category-item:nth-child(8) { animation-delay: 0.4s; }

/* 响应式动画调整 */
@media (max-width: 414px) {
  .service-card {
    animation: slideInUp 0.3s ease-out;
  }
  
  .category-item {
    animation: fadeInUp 0.2s ease-out;
  }
}

/* 搜索框样式 */
.search-container {
  position: relative;
  margin-bottom: 24px;
  z-index: 10;
}

.search-input {
  width: 100%;
  padding: 16px 56px 16px 52px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  font-size: 15px;
  background-color: var(--background-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  font-family: var(--font-family);
  position: relative;
  overflow: hidden;
}

.search-input::placeholder {
  color: var(--text-light);
  font-size: 14px;
  transition: all var(--transition-normal);
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
  transform: translateY(-2px);
  outline: none;
}

.search-input:focus::placeholder {
  color: var(--text-secondary);
  transform: translateX(4px);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 18px;
  z-index: 1;
  transition: all var(--transition-normal);
}

.search-input:focus + .search-icon {
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.search-clear {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-input:not(:placeholder-shown) + .search-icon + .search-clear {
  opacity: 1;
  visibility: visible;
}

.search-clear:hover {
  color: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--background-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 4px;
  overflow: hidden;
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-suggestion-item {
  padding: 12px 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background-color: var(--background-light);
  padding-left: 24px;
}

.search-suggestion-item .icon {
  color: var(--primary-color);
  font-size: 16px;
}

.search-suggestion-item .text {
  font-size: 14px;
  color: var(--text-primary);
}

.search-recent {
  margin-top: 16px;
  display: none;
}

.search-recent.show {
  display: block;
}

.search-recent-title {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-recent-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-recent-item {
  padding: 6px 12px;
  background-color: var(--background-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
}

.search-recent-item:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* 任务列表样式 */
.task-list {
  margin-top: 24px;
}

.task-card {
  background-color: var(--background-white);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.task-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.task-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.task-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  margin-right: 12px;
  line-height: 1.3;
}

.task-price {
  font-size: 18px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.task-body {
  margin-bottom: 20px;
}

.task-info-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding: 12px 16px;
  background-color: var(--background-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-color);
  transition: all var(--transition-fast);
}

.task-info-item:hover {
  background-color: rgba(67, 97, 238, 0.05);
  transform: translateX(4px);
}

.task-info-item i {
  margin-right: 12px;
  font-size: 16px;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.task-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  gap: 12px;
}

.task-requirement {
  display: flex;
  align-items: flex-start;
  font-size: 12px;
  color: var(--warning-color);
  width: 100%;
  padding: 8px 12px;
  background-color: rgba(247, 37, 133, 0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--warning-color);
  line-height: 1.4;
  word-wrap: break-word;
}

.task-requirement i {
  margin-right: 8px;
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.task-btn {
  align-self: flex-end;
  min-width: 120px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: center;
}

.task-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.task-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* 筛选区域样式 */
.filter-section {
  margin: 32px 0;
}

.filter-section h3 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.filter-section h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  margin-left: 16px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-tag {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--background-white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-family);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.filter-tag:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-tag.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.filter-tag.active:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* 小按钮样式 */
.btn-sm {
  padding: 6px 16px;
  font-size: 14px;
}

/* 登录页面样式 */
.input-with-icon {
  position: relative;
}

.input-with-icon .icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 18px;
  z-index: 1;
}

.input-with-icon input {
  padding-left: 52px;
  padding-right: 120px;
}

.btn-get-code {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-family);
  white-space: nowrap;
}

.btn-get-code:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.02);
  box-shadow: var(--shadow-sm);
}

.btn-get-code:disabled {
  background: var(--background-light);
  color: var(--text-light);
  cursor: not-allowed;
}

.btn-get-code.counting {
  background: var(--background-light);
  color: var(--text-secondary);
}

.error-tip {
  font-size: 12px;
  color: var(--error-color);
  margin-top: 8px;
  padding-left: 20px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all var(--transition-fast);
  height: 0;
  overflow: hidden;
}

.error-tip.show {
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

/* 登录按钮容器 */
.login-button {
  width: 100%;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transform: none !important;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.login-button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-button .login-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  white-space: nowrap;
  animation: none !important;
  transform: none !important;
  -webkit-animation: none !important;
  -webkit-transform: none !important;
}

.login-button .login-loading i {
  animation: spin 1s linear infinite;
  display: inline-block;
  transform-origin: center center;
  -webkit-animation: spin 1s linear infinite;
  -webkit-transform-origin: center center;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}

.login-button.loading .login-text {
  display: none;
}

.login-button.loading .login-loading {
  display: flex;
}

.login-button.loading {
  pointer-events: none;
  justify-content: center;
  animation: none !important;
  transform: none !important;
  -webkit-animation: none !important;
  -webkit-transform: none !important;
}

.agreement-row {
  margin-top: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input {
  display: none;
}

.checkbox-label .checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-top: 2px;
}

.checkbox-label input:checked + .checkmark {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-color: var(--primary-color);
}

.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.agreement-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.agreement-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.agreement-link:hover {
  text-decoration: underline;
}

.agreement-error {
  font-size: 12px;
  color: var(--error-color);
  margin-top: 8px;
  text-align: center;
  opacity: 0;
  transform: translateY(-5px);
  transition: all var(--transition-fast);
  height: 0;
  overflow: hidden;
}

/* 推荐服务加载状态 */
.recommended-services .loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  font-size: 14px;
  color: var(--text-secondary);
  animation: none !important;
  transform: none !important;
  -webkit-animation: none !important;
  -webkit-transform: none !important;
}

.recommended-services .loading i {
  margin-right: 10px;
  animation: spin 1s linear infinite;
  display: inline-block;
  transform-origin: center center;
  -webkit-animation: spin 1s linear infinite;
  -webkit-transform-origin: center center;
}

.recommended-services .loading span {
  animation: none !important;
  transform: none !important;
  -webkit-animation: none !important;
  -webkit-transform: none !important;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}

.agreement-error.show {
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

.divider {
  display: flex;
  align-items: center;
  margin: 32px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.divider span {
  padding: 0 16px;
  font-size: 13px;
  color: var(--text-light);
}

.third-party-login {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.third-party-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
}

/* 实名认证页面样式 */
.real-name-auth .content {
  padding: 0;
}

.real-name-auth .auth-form {
  padding: 32px 24px;
  background-color: var(--background-white);
  margin: 0;
}

.real-name-auth .auth-status-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background-color: var(--background-light);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.real-name-auth .status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background-color: var(--warning-light);
  color: var(--warning-color);
}

.real-name-auth .status-text h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.real-name-auth .status-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.real-name-auth .form-group {
  margin-bottom: 24px;
}

.real-name-auth .form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  white-space: nowrap;
}

.real-name-auth .input-wrapper {
  border: none !important;
  background-color: transparent;
}

.real-name-auth .form-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #d0d5dd;
  border-radius: var(--radius-md);
  font-size: 16px;
  background-color: var(--background-white);
  font-family: var(--font-family);
  outline: none;
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

.real-name-auth .form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.real-name-auth .form-input::placeholder {
  color: var(--text-light);
}

.real-name-auth .form-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: var(--info-light);
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.real-name-auth .form-tip i {
  color: var(--info-color);
  font-size: 16px;
  flex-shrink: 0;
}

.real-name-auth .form-tip span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
  flex: 1;
}

.real-name-auth .form-actions {
  margin-top: 32px;
}

.real-name-auth .full-width {
  width: 100%;
}

.third-party-btn.wechat {
  background: linear-gradient(135deg, #07c160, #06ad56);
  color: white;
}

.third-party-btn.alipay {
  background: linear-gradient(135deg, #1677ff, #0958d9);
  color: white;
}

.third-party-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.third-party-btn:active {
  transform: scale(0.95);
}

/* Jobs页面样式 */
.jobs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.jobs-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: moveBackground 20s linear infinite;
  z-index: 1;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

.jobs-back-btn {
  color: white;
  text-decoration: none;
  position: relative;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.jobs-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.jobs-back-btn:active {
  transform: scale(0.95);
}

.jobs-header-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  z-index: 10;
  flex: 1;
  text-align: center;
  margin-left: -40px;
}

.jobs-content {
  padding: 24px;
  padding-bottom: 100px;
}

.jobs-search {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
  margin-bottom: 24px;
}

.jobs-search:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
  transform: translateY(-2px);
}

.jobs-search-input {
  flex: 1;
  padding: 16px;
  border: none;
  font-size: 15px;
  background: transparent;
  font-family: var(--font-family);
  outline: none;
  transition: all var(--transition-normal);
}

.jobs-search-input::placeholder {
  color: var(--text-light);
  font-size: 14px;
  transition: all var(--transition-normal);
}

.jobs-search:focus-within .jobs-search-input::placeholder {
  color: var(--text-secondary);
}

.jobs-search-icon {
  padding: 16px 20px;
  color: var(--text-light);
  font-size: 16px;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.jobs-search:focus-within .jobs-search-icon {
  color: var(--primary-color);
  transform: scale(1.1);
}

.jobs-filter {
  margin-bottom: 24px;
}

.jobs-filter-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.jobs-filter-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.jobs-filter-tags::-webkit-scrollbar {
  display: none;
}

.jobs-filter-tags {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.jobs-filter-tag {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--background-white);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.jobs-filter-tag:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
}

.jobs-filter-tag.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 16px rgba(67, 97, 238, 0.3);
  transform: translateY(-2px);
}

.jobs-task-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jobs-task-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.jobs-task-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.jobs-task-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(67, 97, 238, 0.15);
}

.jobs-task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.jobs-task-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
  margin-right: 12px;
}

.jobs-task-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.jobs-task-body {
  margin-bottom: 16px;
}

.jobs-task-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.jobs-task-info-item i {
  margin-right: 8px;
  color: var(--text-light);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.jobs-task-info-item:last-child {
  margin-bottom: 0;
}

.jobs-task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.jobs-task-requirement {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.jobs-task-requirement i {
  margin-right: 6px;
  color: var(--warning-color);
  font-size: 12px;
}

.jobs-task-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  min-width: 80px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.jobs-task-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.jobs-task-btn:active {
  transform: scale(0.95);
}

/* 响应式布局 */
@media (max-width: 414px) {
  .jobs-content {
    padding: 16px;
    padding-bottom: 90px;
  }
  
  .jobs-filter-tags {
    gap: 8px;
  }
  
  .jobs-filter-tag {
    padding: 8px 14px;
    font-size: 13px;
    gap: 6px;
  }
  
  .jobs-task-card {
    padding: 16px;
  }
  
  .jobs-task-title {
    font-size: 15px;
  }
  
  .jobs-task-price {
    font-size: 16px;
  }
  
  .jobs-task-info-item {
    font-size: 13px;
  }
  
  .jobs-task-requirement {
    font-size: 12px;
  }
  
  .jobs-task-btn {
    padding: 6px 12px;
    font-size: 13px;
    min-width: 70px;
  }
}

@media (max-width: 320px) {
  .jobs-task-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .jobs-task-price {
    margin-top: 8px;
  }
  
  .jobs-task-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .jobs-task-btn {
    align-self: stretch;
  }
}

/* 动画效果 */
.jobs-task-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.jobs-task-card:nth-child(1) { animation-delay: 0.1s; }
.jobs-task-card:nth-child(2) { animation-delay: 0.2s; }
.jobs-task-card:nth-child(3) { animation-delay: 0.3s; }
.jobs-task-card:nth-child(4) { animation-delay: 0.4s; }

/* 任务详情页面样式 */
.task-detail {
  margin-bottom: 24px;
}

.task-detail-section {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.task-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.task-detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.task-detail-item:nth-child(1) { animation-delay: 0.1s; }
.task-detail-item:nth-child(2) { animation-delay: 0.2s; }
.task-detail-item:nth-child(3) { animation-delay: 0.3s; }
.task-detail-item:nth-child(4) { animation-delay: 0.4s; }
.task-detail-item:nth-child(5) { animation-delay: 0.5s; }

.task-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
  margin-right: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.task-detail-item:hover .task-detail-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.task-detail-info {
  flex: 1;
}

.task-detail-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.task-detail-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

.task-detail-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.task-description {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  animation-delay: 0.6s;
}

.task-description-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-description-title i {
  color: var(--primary-color);
  font-size: 18px;
}

.task-description-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.task-description-content p {
  margin-bottom: 12px;
}

.task-description-content p:last-child {
  margin-bottom: 0;
}

.task-description-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.task-actions {
  background-color: var(--background-white);
  padding: 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  animation-delay: 0.8s;
}

.task-action-btn {
  flex: 1;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.task-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.task-action-btn:active {
  transform: scale(0.95);
}

/* 响应式布局 */
@media (max-width: 414px) {
  .task-detail-section {
    padding: 16px;
  }
  
  .task-detail-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .task-detail-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-right: 12px;
  }
  
  .task-detail-label {
    font-size: 13px;
  }
  
  .task-detail-value {
    font-size: 14px;
  }
  
  .task-detail-price {
    font-size: 16px;
  }
  
  .task-description {
    padding: 16px;
  }
  
  .task-description-title {
    font-size: 15px;
  }
  
  .task-description-content {
    font-size: 14px;
  }
  
  .task-actions {
    padding: 16px;
  }
  
  .task-action-btn {
    padding: 14px;
    font-size: 15px;
  }
}

@media (max-width: 320px) {
  .task-actions {
    flex-direction: column;
  }
  
  .task-action-btn {
    width: 100%;
  }
}

/* 个人中心页面样式 */
.profile-section {
  display: flex;
  align-items: center;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  margin-right: 20px;
  flex-shrink: 0;
}

.profile-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(67, 97, 238, 0.25);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.profile-phone {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.profile-menu {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  animation-delay: 0.2s;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  min-height: 72px;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:nth-child(1) { animation-delay: 0.3s; }
.menu-item:nth-child(2) { animation-delay: 0.4s; }
.menu-item:nth-child(3) { animation-delay: 0.5s; }
.menu-item:nth-child(4) { animation-delay: 0.6s; }
.menu-item:nth-child(5) { animation-delay: 0.7s; }
.menu-item:nth-child(6) { animation-delay: 0.8s; }
.menu-item:nth-child(7) { animation-delay: 0.9s; }

.menu-item:hover {
  background-color: var(--background-light);
  transform: translateX(8px);
}

.menu-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 16px !important;
  flex-shrink: 0 !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all var(--transition-normal) !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 1 !important;
}

.menu-icon i {
  color: white !important;
  font-size: 16px !important;
  z-index: 2 !important;
  position: relative !important;
}

.menu-item:hover .menu-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.menu-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.menu-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-right: 12px;
  white-space: nowrap;
}

.menu-arrow {
  font-size: 14px;
  color: var(--text-light);
  transition: all var(--transition-normal);
}

.menu-item:hover .menu-arrow {
  color: var(--primary-color);
  transform: translateX(4px);
}

.menu-divider {
  height: 12px;
  background-color: var(--background-light);
  border-radius: var(--radius-md);
  margin: 0;
}

/* 发布任务页面样式 */
.publish-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 28px;
  border-radius: 0;
  position: relative;
}

.publish-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.publish-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.publish-header .back-btn:active {
  transform: scale(0.95);
}

.publish-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.publish-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.publish-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* 发布表单样式 */
.publish-form {
  padding: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.input-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
  transform: translateY(-2px);
}

.input-icon {
  padding: 16px 12px 16px 20px;
  color: var(--text-light);
  font-size: 18px;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.input-wrapper:focus-within .input-icon {
  color: var(--primary-color);
  transform: scale(1.1);
}

.form-input {
  flex: 1;
  padding: 16px;
  border: none !important;
  font-size: 15px;
  background: transparent;
  font-family: var(--font-family);
  outline: none;
  transition: all var(--transition-normal);
  box-shadow: none !important;
}

.form-input[type="text"],
.form-input[type="number"],
.form-input[type="password"],
.form-input[type="email"] {
  background-image: none;
}

.form-input:is(select) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22292.4%22 height=%22292.4%22%3E%3Cpath fill=%22%236c757d%22 d=%22M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.5 5.4-7.8 5.4-12.8 0-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px auto;
  padding-right: 40px; /* 增加右侧内边距，确保文本不会被箭头遮挡 */
  padding-left: 0; /* 左侧内边距由input-icon的padding控制 */
  z-index: 0;
  position: relative;
}

.form-input:is(select):focus {
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22292.4%22 height=%22292.4%22%3E%3Cpath fill=%22%234361ee%22 d=%22M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.5 5.4-7.8 5.4-12.8 0-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E');
}

.form-input::placeholder {
  color: var(--text-light);
  font-size: 14px;
  transition: all var(--transition-normal);
}

.input-wrapper:focus-within .form-input::placeholder {
  color: var(--text-secondary);
}

.location-icon {
  color: var(--primary-color);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
  padding-top: 16px;
  padding-bottom: 16px;
}
.full-width {
  width: 100%;
}

/* 任务类型网格 */
.task-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.task-type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.task-type-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.05), transparent);
  transition: left 0.5s ease;
}

.task-type-item:hover::before {
  left: 100%;
}

.task-type-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.task-type-item.active {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(67, 97, 238, 0.1));
  box-shadow: var(--shadow-md);
}

.task-type-item.active .task-type-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.task-type-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 20px;
  color: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.task-type-item:hover .task-type-icon {
  transform: scale(1.1);
}

.task-type-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.task-type-item:hover .task-type-name {
  color: var(--primary-color);
  font-weight: 600;
}

.task-type-item.active .task-type-name {
  color: var(--primary-color);
  font-weight: 600;
}

/* 表单动作区域 */
.form-actions {
  margin-top: 32px;
}

.form-actions .login-button {
  margin-bottom: 0;
  height: 64px;
}

/* 发布任务页面响应式适配 */
@media (max-width: 414px) {
  .publish-header {
    padding: 40px 20px 24px;
  }
  
  .publish-header h1 {
    font-size: 20px;
  }
  
  .publish-form {
    padding: 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
}

/* 我的信息页面样式 */
.profile-info-section {
  padding: 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.avatar-preview i {
  font-size: 48px;
  color: white;
}

.profile-info-header {
  flex: 1;
}

.profile-info-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.profile-info-header p {
  font-size: 14px;
  color: var(--text-light);
}

.info-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.info-form h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.skills-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.skills-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.skills-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.add-skill-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 6px;
}

.add-skill-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.skill-tag {
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.skill-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.skill-tag .remove-skill {
  cursor: pointer;
  font-size: 12px;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
}

.skill-tag .remove-skill:hover {
  opacity: 1;
}

.save-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.save-btn.loading {
  opacity: 0.8;
  cursor: not-allowed;
  pointer-events: none;
  animation: none !important;
  transform: none !important;
  -webkit-animation: none !important;
  -webkit-transform: none !important;
}

.save-btn .btn-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  animation: none !important;
  transform: none !important;
  -webkit-animation: none !important;
  -webkit-transform: none !important;
  white-space: nowrap;
}

.save-btn .btn-loading i {
  animation: spin 1s linear infinite;
  display: inline-block;
  transform-origin: center center;
  -webkit-animation: spin 1s linear infinite;
  -webkit-transform-origin: center center;
}

.save-btn.loading .btn-text {
  display: none;
}

.save-btn.loading .btn-loading {
  display: flex;
}

/* 我的信息页面响应式设计 */
@media (max-width: 414px) {
  .profile-info-section {
    padding: 16px;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .info-form,
  .skills-section {
    padding: 20px;
  }
  
  .save-btn {
    padding: 14px;
    font-size: 16px;
  }
}

/* 下拉箭头样式 */
/* 移除has-arrow类的样式，因为select元素已经有了自己的箭头样式 */

/* 消息页面样式 */
.message-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 28px;
  border-radius: 0;
  position: relative;
}

.message-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.message-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.message-header .back-btn:active {
  transform: scale(0.95);
}

.message-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.message-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.message-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.message-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 80px); /* 减去底部导航栏的高度 */
  flex: 1;
}

.message-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  background-color: var(--background-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.message-tab {
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  background-color: var(--background-light);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.message-tab:hover {
  background-color: rgba(67, 97, 238, 0.05);
  transform: translateY(-2px);
}

.message-tab.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.message-tab .tab-badge {
  background-color: var(--accent-color);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 0 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  height: 18px;
  line-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.message-tab.active .tab-badge {
  background-color: white;
  color: var(--primary-color);
}

.message-list {
  padding: 12px 16px 100px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.message-item {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid var(--border-color);
  animation: fadeInUp 0.4s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

.message-item:nth-child(1) { animation-delay: 0.05s; }
.message-item:nth-child(2) { animation-delay: 0.1s; }
.message-item:nth-child(3) { animation-delay: 0.15s; }
.message-item:nth-child(4) { animation-delay: 0.2s; }
.message-item:nth-child(5) { animation-delay: 0.25s; }
.message-item:nth-child(6) { animation-delay: 0.3s; }
.message-item:nth-child(7) { animation-delay: 0.35s; }
.message-item:nth-child(8) { animation-delay: 0.4s; }

.message-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.message-avatar {
  position: relative;
  margin-right: 14px;
  flex-shrink: 0;
}

.avatar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.system-icon {
  background: #409EFF;
  color: white;
}

.task-icon {
  background: #909399;
  color: white;
}

.order-icon {
  background: #67C23A;
  color: white;
}

.message-item:hover .avatar-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.unread-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: var(--accent-color);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

.message-body {
  flex: 1;
  min-width: 0;
}

.message-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.message-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-fast);
}

.message-item:hover .message-title {
  color: var(--primary-color);
}

.message-time {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 8px;
}

.message-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.message-item:hover .message-desc {
  color: var(--text-primary);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  flex: 1;
}

.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--background-light), var(--border-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-icon i {
  font-size: 36px;
  color: var(--text-light);
}

.empty-text {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

@media (max-width: 414px) {
  .message-tabs {
    padding: 12px 16px;
    gap: 6px;
    overflow-x: auto;
  }

  .message-tab {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .message-list {
    padding: 10px 12px 90px;
  }

  .message-item {
    padding: 14px;
    margin-bottom: 10px;
  }

  .avatar-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .message-title {
    font-size: 14px;
  }

  .message-desc {
    font-size: 12px;
  }

  .unread-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 320px) {
  .message-tab {
    padding: 6px 10px;
    font-size: 12px;
  }

  .message-item {
    padding: 12px;
  }

  .avatar-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* 接单记录页面样式 */
.order-records-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 28px;
  border-radius: 0;
  position: relative;
}

.order-records-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.order-records-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.order-records-header .back-btn:active {
  transform: scale(0.95);
}

.order-records-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.order-records-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.order-records-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.order-records-content {
  padding: 0;
}

.order-tabs {
  display: flex;
  gap: 4px;
  padding: 16px 16px;
  background-color: var(--background-white);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.order-tab {
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  background-color: var(--background-light);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.order-tab:hover {
  background-color: rgba(67, 97, 238, 0.05);
  transform: translateY(-2px);
}

.order-tab.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.order-tab .tab-count {
  background-color: rgba(0, 0, 0, 0.1);
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.order-tab.active .tab-count {
  background-color: rgba(255, 255, 255, 0.3);
}

.order-list {
  padding: 16px;
  padding-bottom: 100px;
}

.order-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid var(--border-color);
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(15px);
}

.order-card:nth-child(1) { animation-delay: 0.05s; }
.order-card:nth-child(2) { animation-delay: 0.1s; }
.order-card:nth-child(3) { animation-delay: 0.15s; }
.order-card:nth-child(4) { animation-delay: 0.2s; }
.order-card:nth-child(5) { animation-delay: 0.25s; }
.order-card:nth-child(6) { animation-delay: 0.3s; }

.order-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.order-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.order-card[data-status="processing"]::before {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.order-card[data-status="pending"]::before {
  background: linear-gradient(180deg, #fca311, #ff9500);
}

.order-card[data-status="completed"]::before {
  background: linear-gradient(180deg, #4cc9f0, #38b000);
}

.order-card[data-status="cancelled"]::before {
  background: linear-gradient(180deg, var(--text-light), var(--border-color));
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border-color);
}

.order-type-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.order-type-badge.processing {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
}

.order-type-badge.pending {
  background-color: rgba(252, 163, 17, 0.1);
  color: #fca311;
}

.order-type-badge.completed {
  background-color: rgba(56, 176, 0, 0.1);
  color: #38b000;
}

.order-type-badge.cancelled {
  background-color: var(--background-light);
  color: var(--text-light);
}

.order-time {
  font-size: 13px;
  color: var(--text-light);
}

.order-card-body {
  padding: 16px;
}

.order-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.order-info-row:last-child {
  margin-bottom: 0;
}

.order-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  margin-right: 12px;
  transition: color var(--transition-fast);
}

.order-card:hover .order-title {
  color: var(--primary-color);
}

.order-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.order-price span {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
}

.order-info-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.order-info-item i {
  width: 20px;
  color: var(--text-light);
  margin-right: 8px;
  text-align: center;
}

.order-card-footer {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: var(--background-light);
  border-top: 1px solid var(--border-color);
}

.order-client {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.client-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.client-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.client-phone {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.client-phone i {
  font-size: 10px;
}

.order-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-family);
}

.order-btn.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-sm);
}

.order-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.order-btn.secondary {
  background-color: var(--background-white);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.order-btn.secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.order-btn.danger {
  background-color: rgba(247, 37, 133, 0.1);
  color: var(--accent-color);
}

.order-btn.danger:hover {
  background-color: rgba(247, 37, 133, 0.2);
}

.order-btn.outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.order-btn.outline:hover {
  background-color: rgba(67, 97, 238, 0.05);
}

@media (max-width: 414px) {
  .order-tabs {
    padding: 12px 12px;
    gap: 4px;
  }

  .order-tab {
    padding: 8px 10px;
    font-size: 13px;
  }

  .order-list {
    padding: 12px;
    padding-bottom: 90px;
  }

  .order-card {
    margin-bottom: 12px;
  }

  .order-card-header {
    padding: 12px;
  }

  .order-card-body {
    padding: 12px;
  }

  .order-card-footer {
    padding: 12px;
    align-items: center;
  }

  .order-actions {
    justify-content: flex-end;
  }

  .order-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  .order-tab {
    padding: 6px 8px;
    font-size: 12px;
  }

  .order-card-footer {
    align-items: center;
  }

  .order-actions {
    flex-wrap: wrap;
  }

  .order-btn {
    flex: 1;
    min-width: 80px;
  }
}

/* 订单详情页面样式 */
.order-detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 28px;
  border-radius: 0;
  position: relative;
}

.order-detail-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.order-detail-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.order-detail-header .back-btn:active {
  transform: scale(0.95);
}

.order-detail-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.order-detail-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.order-detail-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.order-detail-content {
  padding: 0;
  padding-bottom: 80px;
}

.order-status-card {
  display: flex;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  animation: fadeInUp 0.5s ease-out;
}

.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.status-icon i {
  font-size: 28px;
}

.status-info {
  flex: 1;
}

.status-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.status-time {
  font-size: 13px;
  opacity: 0.9;
}

.detail-section {
  padding: 16px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

.detail-section:nth-child(2) { animation-delay: 0.1s; }
.detail-section:nth-child(3) { animation-delay: 0.15s; }
.detail-section:nth-child(4) { animation-delay: 0.2s; }
.detail-section:nth-child(5) { animation-delay: 0.25s; }
.detail-section:nth-child(6) { animation-delay: 0.3s; }

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-left: 4px;
}

.section-title i {
  color: var(--primary-color);
  font-size: 18px;
}

.detail-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.detail-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

.detail-value.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-value.status-success {
  color: #38b000;
  font-weight: 600;
}

.client-profile {
  display: flex;
  align-items: center;
  padding: 16px;
}

.client-avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-right: 16px;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.client-details {
  flex: 1;
}

.client-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.client-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.client-level {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #fca311;
  background-color: rgba(252, 163, 17, 0.1);
  padding: 3px 8px;
  border-radius: 10px;
}

.client-level i {
  font-size: 10px;
}

.client-phone {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.client-phone i {
  color: var(--text-light);
  font-size: 12px;
}

.description-card {
  padding: 16px;
}

.description-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.description-card p:last-child {
  margin-bottom: 0;
}

.description-card ul {
  margin: 0;
  padding-left: 20px;
  margin-bottom: 12px;
}

.description-card ul li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.rating-card {
  padding: 16px;
}

.rating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-stars i {
  font-size: 18px;
  color: #fca311;
}

.rating-score {
  font-size: 16px;
  font-weight: 700;
  color: #fca311;
}

.rating-comment {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  padding: 12px;
  background-color: var(--background-light);
  border-radius: var(--radius-md);
}

.rating-time {
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
}

.order-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 414px;
  margin: 0 auto;
  background-color: var(--background-white);
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  z-index: 100;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.action-btn {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.action-btn i {
  font-size: 14px;
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.action-btn.secondary {
  background-color: var(--background-white);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.action-btn.secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

@media (max-width: 414px) {
  .order-detail-header {
    padding: 40px 20px 24px;
  }

  .order-status-card {
    padding: 20px;
  }

  .status-icon {
    width: 48px;
    height: 48px;
  }

  .status-icon i {
    font-size: 24px;
  }

  .status-title {
    font-size: 18px;
  }

  .detail-section {
    padding: 12px;
  }

  .detail-row {
    padding: 12px;
  }

  .client-profile {
    padding: 12px;
  }

  .client-avatar-large {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .order-action-bar {
    padding: 10px 12px;
  }

  .action-btn {
    padding: 12px;
    font-size: 14px;
  }
}

/* 账户余额页面样式 */
.wallet-top-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  position: relative;
  overflow: visible;
}

.wallet-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 50px 24px 24px;
  border-radius: 0;
  position: relative;
}

.wallet-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.wallet-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.wallet-header .back-btn:active {
  transform: scale(0.95);
}

.wallet-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.wallet-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.wallet-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.wallet-content {
  padding: 0 0 100px;
}

.balance-card {
  background: transparent;
  color: white;
  padding: 8px 24px 32px;
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 12px;
}

.balance-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.balance-amount .currency {
  font-size: 20px;
  font-weight: 600;
}

.balance-amount .amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.balance-hint {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.action-buttons {
  display: flex;
  gap: 14px;
  padding: 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.wallet-btn {
  flex: 1;
  min-width: 120px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.wallet-btn i {
  font-size: 18px;
  flex-shrink: 0;
}

.wallet-btn.recharge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.wallet-btn.recharge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.wallet-btn.withdraw {
  background: white;
  color: var(--primary-color);
}

.wallet-btn.withdraw:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.wallet-curve {
  width: 100%;
  height: 50px;
  margin-top: -10px;
  line-height: 0;
}

.wallet-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

.statistics-section {
  padding: 16px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: 0.1s;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-left: 4px;
}

.section-title i {
  color: var(--primary-color);
  font-size: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 18px;
  color: white;
}

.stat-icon.income-icon {
  background: linear-gradient(135deg, #38b000, #2d8f00);
}

.stat-icon.expense-icon {
  background: linear-gradient(135deg, var(--accent-color), #d61c6b);
}

.stat-icon.order-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.stat-icon.withdraw-icon {
  background: linear-gradient(135deg, #fca311, #e69500);
}

.stat-info {
  flex: 1;
  min-width: 0;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-value.income {
  color: #38b000;
}

.stat-value.expense {
  color: var(--accent-color);
}

.transaction-section {
  padding: 16px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: 0.2s;
}

.transaction-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.transaction-tab {
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  background-color: var(--background-light);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.transaction-tab:hover {
  background-color: rgba(67, 97, 238, 0.05);
}

.transaction-tab.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-sm);
}

.transaction-list {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.transaction-item {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  flex-wrap: wrap;
}

.transaction-item:last-child {
  border-bottom: none;
}

.transaction-item:hover {
  background-color: var(--background-light);
}

.transaction-amount-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  gap: 4px;
}

.transaction-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  align-self: flex-end;
}

.transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.transaction-icon i {
  font-size: 16px;
  color: white;
}

.transaction-icon.income-icon {
  background: linear-gradient(135deg, #38b000, #2d8f00);
}

.transaction-icon.expense-icon {
  background: linear-gradient(135deg, var(--accent-color), #d61c6b);
}

.transaction-info {
  flex: 1;
  min-width: 0;
  margin-right: 12px;
}

.transaction-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.transaction-desc {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.transaction-fee {
  font-size: 11px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transaction-amount {
  font-size: 15px;
  font-weight: 700;
  margin-left: auto;
}

.transaction-amount.income {
  color: #38b000;
}

.transaction-amount.expense {
  color: var(--accent-color);
}

.transaction-time {
  width: 100%;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 6px;
  padding-left: 52px;
}

.transaction-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 4px;
  display: inline-block;
  margin-left: auto;
  white-space: nowrap;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-approved {
  background-color: #d4edda;
  color: #155724;
}

.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

.status-default {
  background-color: #e2e3e5;
  color: #383d41;
}

.load-more {
  padding: 16px;
  text-align: center;
}

.load-more-btn {
  padding: 10px 24px;
  border-radius: var(--radius-md);
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.load-more-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.load-more-btn i {
  font-size: 12px;
}

@media (max-width: 414px) {
  .wallet-header {
    padding: 40px 20px 24px;
  }

  .balance-card {
    padding: 8px 0 0;
  }

  .balance-amount .amount {
    font-size: 32px;
  }

  .action-buttons {
    padding: 0;
    gap: 12px;
  }

  .wallet-btn {
    min-width: 100px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .wallet-btn i {
    font-size: 16px;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-value {
    font-size: 15px;
  }

  .transaction-tabs {
    gap: 6px;
  }

  .transaction-tab {
    padding: 6px 12px;
    font-size: 13px;
  }

  .transaction-item {
    padding: 14px;
  }

  .transaction-icon {
    width: 36px;
    height: 36px;
  }

  .transaction-title {
    font-size: 13px;
  }

  .transaction-amount {
    font-size: 14px;
  }
}

/* 充值和提现页面通用样式 */
.recharge-header,
.withdraw-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 28px;
  border-radius: 0;
  position: relative;
}

.recharge-header .current-balance-section,
.withdraw-header .current-balance-section {
  background: transparent;
  padding: 0;
  margin-top: 16px;
}

.recharge-header .back-btn,
.withdraw-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.recharge-header .back-btn:hover,
.withdraw-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.recharge-header .header-content,
.withdraw-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.recharge-header h1,
.withdraw-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.recharge-header .header-subtitle,
.withdraw-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.recharge-content,
.withdraw-content {
  padding: 0 0 100px;
}

.current-balance-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 24px;
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
  position: relative;
}

.current-balance-section .balance-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 12px;
}

.current-balance-section .balance-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.current-balance-section .balance-amount .currency {
  font-size: 24px;
  font-weight: 600;
}

.current-balance-section .balance-amount .amount {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
}

.withdraw-all-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-family);
}

.withdraw-all-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.amount-section {
  padding: 20px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: 0.1s;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-item {
  background-color: var(--background-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.amount-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.amount-item.active {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(67, 97, 238, 0.1));
}

.amount-item .amount-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.amount-item.active .amount-value {
  color: var(--primary-color);
}

.custom-amount-section {
  margin-top: 16px;
}

.custom-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.custom-input-wrapper,
.withdraw-input-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--background-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: all var(--transition-normal);
}

.custom-input-wrapper:focus-within,
.withdraw-input-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.currency-prefix {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-right: 8px;
}

.custom-amount-input,
.withdraw-amount-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-family);
  background: transparent;
}

.custom-amount-input::placeholder,
.withdraw-amount-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.withdraw-hint {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-light);
}

.payment-section,
.bank-section {
  padding: 20px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: 0.15s;
}

.payment-methods,
.bank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method,
.bank-item {
  background-color: var(--background-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.payment-method:hover,
.bank-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.payment-method.active,
.bank-item.active {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(67, 97, 238, 0.1));
}

.payment-icon,
.bank-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.payment-icon.wechat-icon {
  background: linear-gradient(135deg, #07c160, #06ad56);
}

.payment-icon.alipay-icon {
  background: linear-gradient(135deg, #1677ff, #0f5cc0);
}

.bank-icon {
  background: linear-gradient(135deg, #fca311, #e69500);
}

.payment-icon i,
.bank-icon i {
  font-size: 24px;
  color: white;
}

.payment-info,
.bank-info {
  flex: 1;
  min-width: 0;
}

.payment-name,
.bank-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.payment-desc,
.bank-card {
  font-size: 13px;
  color: var(--text-secondary);
}

.payment-check,
.bank-check {
  opacity: 0;
  transition: all var(--transition-normal);
}

.payment-check i,
.bank-check i {
  font-size: 22px;
  color: var(--primary-color);
}

.payment-method.active .payment-check,
.bank-item.active .bank-check {
  opacity: 1;
}

.add-bank-btn {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  background-color: var(--background-white);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-bank-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(67, 97, 238, 0.05);
}

.add-bank-btn i {
  font-size: 16px;
}

.withdraw-info-section {
  background-color: var(--background-white);
  margin: 0 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: 0.2s;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.recharge-agreement,
.withdraw-agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: 0.25s;
}

.agreement-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.agreement-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.agreement-checkbox input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.agreement-checkbox input:checked ~ .checkmark::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.agreement-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.agreement-link {
  color: var(--primary-color);
  text-decoration: none;
}

.agreement-link:hover {
  text-decoration: underline;
}

.recharge-bottom-bar,
.withdraw-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 414px;
  margin: 0 auto;
  background-color: var(--background-white);
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.recharge-summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.summary-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.summary-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.summary-amount .currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.summary-amount .amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-color);
}

.recharge-btn,
.withdraw-btn {
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
  min-width: 140px;
}

.recharge-btn:hover,
.withdraw-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.withdraw-btn {
  width: 100%;
  min-width: auto;
}

@media (max-width: 414px) {
  .recharge-header,
  .withdraw-header {
    padding: 40px 20px 24px;
  }

  .current-balance-section {
    padding: 20px;
  }

  .current-balance-section .balance-amount .amount {
    font-size: 36px;
  }

  .amount-section,
  .payment-section,
  .bank-section {
    padding: 16px;
  }

  .amount-grid {
    gap: 10px;
  }

  .amount-item {
    padding: 14px 10px;
  }

  .amount-item .amount-value {
    font-size: 16px;
  }

  .payment-method,
  .bank-item {
    padding: 14px;
  }

  .payment-icon,
  .bank-icon {
    width: 44px;
    height: 44px;
  }

  .payment-icon i,
  .bank-icon i {
    font-size: 20px;
  }

  .withdraw-info-section {
    margin: 0 16px;
  }

  .info-row {
    padding: 12px 14px;
  }

  .recharge-agreement,
  .withdraw-agreement {
    padding: 12px 16px;
  }

  .recharge-bottom-bar,
  .withdraw-bottom-bar {
    padding: 10px 12px;
  }

  .recharge-btn,
  .withdraw-btn {
    padding: 12px 24px;
    font-size: 15px;
    min-width: 120px;
  }
}

/* 添加银行卡页面样式 */
.add-bank-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 28px;
  border-radius: 0;
  position: relative;
}

.add-bank-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.add-bank-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.add-bank-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.add-bank-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.add-bank-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.back-btn-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.back-btn-container .back-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.back-btn-container .back-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.add-bank-content {
  padding: 20px 0 100px;
}

/* 表单输入聚焦效果 */
.form-group.input-focused {
  transform: translateY(-2px);
  transition: transform var(--transition-normal);
}

.form-group.input-focused .input-wrapper {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
}

/* 输入错误样式 */
.input-error {
  border-color: var(--error-color) !important;
  animation: shake 0.3s ease-in-out;
}

/* 错误信息样式 */
.error-message {
  color: var(--error-color);
  font-size: 12px;
  margin-top: 8px;
  padding-left: 16px;
  position: relative;
}

.error-message::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--error-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* 成功消息样式 */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

/* 按钮禁用状态 */
.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* 倒计时按钮样式 */
.send-code-btn.counting {
  background: var(--text-secondary);
  cursor: not-allowed;
}

/* 加载动画 */
.fa-spinner {
  margin-right: 8px;
}

/* 动画效果 */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.bank-card-preview {
  padding: 20px;
  animation: fadeInUp 0.5s ease-out;
}

.card-preview-bg {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.card-preview-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.card-preview-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.preview-bank-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.preview-bank-icon i {
  font-size: 24px;
}

.preview-bank-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  opacity: 0.9;
}

.preview-card-number {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
}

.form-section {
  padding: 0 20px;
}

.form-group {
  margin-bottom: 20px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }
.form-group:nth-child(5) { animation-delay: 0.3s; }

.time-range {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.time-start,
.time-end {
  width: 100%;
}

.time-separator {
  color: var(--text-secondary);
  font-size: 14px;
  white-space: nowrap;
  margin: 0;
  text-align: center;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--background-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 16px;
  transition: all var(--transition-normal);
}

.input-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-family);
  background: transparent;
  padding: 14px 0;
}

.form-input::placeholder {
  color: var(--text-light);
}

.input-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
  padding-left: 4px;
}

.phone-input {
  position: relative;
}

.verify-code-wrapper {
  justify-content: space-between;
}

.verify-code-wrapper .form-input {
  flex: 1;
  min-width: 0;
}

.send-code-btn {
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-family);
  white-space: nowrap;
  flex-shrink: 0;
}

.send-code-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.send-code-btn:disabled {
  background: var(--text-light);
  cursor: not-allowed;
  transform: none;
}

.add-bank-agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
  animation-delay: 0.35s;
}

.add-bank-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 414px;
  margin: 0 auto;
  background-color: var(--background-white);
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.add-bank-btn {
  width: 100%;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.add-bank-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 414px) {
  .add-bank-header {
    padding: 40px 20px 24px;
  }

  .bank-card-preview {
    padding: 16px;
  }

  .card-preview-bg {
    padding: 24px 20px;
  }

  .preview-bank-icon {
    width: 44px;
    height: 44px;
  }

  .preview-bank-icon i {
    font-size: 20px;
  }

  .preview-bank-name {
    font-size: 15px;
  }

  .preview-card-number {
    font-size: 20px;
  }

  .form-section {
    padding: 0 16px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-input {
    font-size: 14px;
    padding: 12px 0;
  }

  .send-code-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .add-bank-agreement {
    padding: 12px 16px;
  }

  .add-bank-bottom-bar {
    padding: 10px 12px;
  }

  .add-bank-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* 设置页面样式 */
.settings-header,
.privacy-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 28px;
  border-radius: 0;
  position: relative;
}

.settings-header .back-btn,
.privacy-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.settings-header .back-btn:hover,
.privacy-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.settings-header .header-content,
.privacy-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.settings-header h1,
.privacy-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.settings-header .header-subtitle,
.privacy-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.settings-content {
  padding: 0 0 100px;
}

.settings-section {
  margin-bottom: 20px;
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

.settings-section:nth-child(1) { animation-delay: 0.1s; }
.settings-section:nth-child(2) { animation-delay: 0.15s; }

.settings-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--background-white);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.settings-item:first-child {
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.settings-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.settings-item:hover {
  background-color: var(--background-light);
  transform: translateY(-1px);
}

.settings-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.settings-icon i {
  font-size: 18px;
}

.settings-info {
  flex: 1;
  min-width: 0;
}

.settings-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.settings-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.settings-arrow {
  color: var(--text-light);
  flex-shrink: 0;
}

.settings-arrow i {
  font-size: 14px;
  transition: transform var(--transition-normal);
}

.settings-item:hover .settings-arrow i {
  transform: translateX(4px);
}

.logout-section {
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.5s ease-out;
}

.logout-btn {
  width: 100%;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid var(--accent-color);
  font-family: var(--font-family);
  background: white;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logout-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.logout-btn i {
  font-size: 18px;
}

/* 隐私协议页面样式 */
.privacy-content {
  padding: 20px;
  animation: fadeInUp 0.5s ease-out;
}

.privacy-section {
  margin-bottom: 24px;
  padding: 16px;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.privacy-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.privacy-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.privacy-section ul {
  margin: 0;
  padding-left: 20px;
  margin-bottom: 12px;
}

.privacy-section ul li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}

.privacy-section ul li:last-child {
  margin-bottom: 0;
}

.privacy-footer {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: var(--text-light);
}

@media (max-width: 414px) {
  .settings-header,
  .privacy-header {
    padding: 40px 20px 24px;
  }

  .settings-content {
    padding: 0 0 80px;
  }

  .settings-item {
    padding: 14px 16px;
  }

  .settings-icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
  }

  .settings-icon i {
    font-size: 16px;
  }

  .logout-section {
    padding: 20px 16px;
  }

  .logout-btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .privacy-content {
    padding: 16px;
  }

  .privacy-section {
    padding: 14px;
  }

  .privacy-section h2 {
    font-size: 16px;
  }

  .privacy-section p,
  .privacy-section ul li {
    font-size: 13px;
  }
}

/* 用户协议页面样式 */
.user-agreement-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 28px;
  border-radius: 0;
  position: relative;
}

.user-agreement-header .back-btn {
  position: absolute;
  left: 20px;
  top: 24px;
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  z-index: 10;
}

.user-agreement-header .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.user-agreement-header .header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.user-agreement-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.user-agreement-header .header-subtitle {
  font-size: 14px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.user-agreement-content {
  padding: 20px;
  animation: fadeInUp 0.5s ease-out;
}

.agreement-section {
  margin-bottom: 24px;
  padding: 16px;
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.agreement-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.agreement-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.agreement-section ul {
  margin: 0;
  padding-left: 20px;
  margin-bottom: 12px;
}

.agreement-section ul li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}

.agreement-section ul li:last-child {
  margin-bottom: 0;
}

.agreement-footer {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: var(--text-light);
}

@media (max-width: 414px) {
  .user-agreement-header {
    padding: 40px 20px 24px;
  }

  .user-agreement-content {
    padding: 16px;
  }

  .agreement-section {
    padding: 14px;
  }

  .agreement-section h2 {
    font-size: 16px;
  }

  .agreement-section p,
  .agreement-section ul li {
    font-size: 13px;
  }
}



