/* ===================================
   健康平台 H5 - 全局样式
   主题：绿色 + 白色
   =================================== */

/* CSS 变量 */
:root {
  /* 主色调 */
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-light: #34D399;
  --primary-bg: #ECFDF5;

  /* 背景色 */
  --bg-white: #FFFFFF;
  --bg-gray: #F9FAFB;
  --bg-green-light: #F0FDF4;

  /* 文字色 */
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;

  /* 边框色 */
  --border-color: #E5E7EB;
  --border-light: #F3F4F6;

  /* 状态色 */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* 间距 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* 字体 */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-gray);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===================================
   通用布局
   =================================== */
.page-container {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-white);
  position: relative;
  padding-bottom: 70px;
}

.page-content {
  padding: var(--spacing-md);
}

/* ===================================
   顶部导航栏
   =================================== */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 var(--spacing-md);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-bar-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-bar-back {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-bar-action {
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
}

/* ===================================
   底部导航栏
   =================================== */
.tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 60px;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  z-index: 100;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.tab-item.active {
  color: var(--primary);
}

.tab-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.tab-item span {
  font-size: 11px;
}

/* ===================================
   按钮样式
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background: var(--bg-green-light);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===================================
   表单样式
   =================================== */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 var(--spacing-md);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input-group {
  display: flex;
  align-items: center;
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.form-input-group .form-input {
  border: none;
  background: transparent;
}

.form-input-group .input-addon {
  padding: 0 var(--spacing-md);
  color: var(--text-secondary);
  white-space: nowrap;
}

.form-input-group .btn {
  border-radius: 0;
  height: 48px;
}

.form-textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--spacing-md);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  resize: vertical;
  font-family: inherit;
}

.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: var(--spacing-xs);
}

/* ===================================
   卡片样式
   =================================== */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-more {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===================================
   课程卡片
   =================================== */
.course-card {
  display: flex;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-md);
}

.course-card-cover {
  width: 120px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}

.course-card-content {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-card-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.course-card-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 11px;
}

.course-card-tag.vip {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--text-white);
}

.course-card-tag.paid {
  background: var(--info);
  color: var(--text-white);
}

/* ===================================
   课程网格
   =================================== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.course-grid-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.course-grid-cover {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.course-grid-content {
  padding: var(--spacing-sm);
}

.course-grid-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-grid-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

/* ===================================
   轮播图
   =================================== */
.swiper-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.swiper-slide {
  width: 100%;
  height: 180px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.swiper-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.swiper-dot.active {
  width: 18px;
  border-radius: 3px;
  background: var(--bg-white);
}

/* Banner 内容样式 */
.banner-item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.banner-content {
  text-align: center;
  color: var(--text-white);
  padding: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.banner-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
}

.banner-desc {
  font-size: 14px;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.banner-badge {
  display: inline-block;
  margin-top: var(--spacing-sm);
  padding: 4px 12px;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #78350F;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ===================================
   快捷入口
   =================================== */
.quick-entry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
}

.quick-entry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.quick-entry-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
}

.quick-entry-icon svg {
  width: 24px;
  height: 24px;
}

.quick-entry-text {
  font-size: 12px;
  color: var(--text-primary);
}

/* ===================================
   列表项
   =================================== */
.list-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.list-item:last-child {
  border-bottom: none;
}

.list-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--spacing-md);
  color: var(--primary);
}

.list-item-content {
  flex: 1;
}

.list-item-title {
  font-size: 15px;
  color: var(--text-primary);
}

.list-item-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.list-item-arrow {
  color: var(--text-light);
}

/* ===================================
   标签
   =================================== */
.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: var(--radius-full);
}

.tag-primary {
  background: var(--primary-bg);
  color: var(--primary);
}

.tag-success {
  background: #D1FAE5;
  color: #059669;
}

.tag-warning {
  background: #FEF3C7;
  color: #D97706;
}

.tag-error {
  background: #FEE2E2;
  color: #DC2626;
}

/* ===================================
   徽章
   =================================== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-white);
  background: var(--error);
  border-radius: var(--radius-full);
}

/* ===================================
   头像
   =================================== */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-bg);
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-lg {
  width: 64px;
  height: 64px;
}

.avatar-xl {
  width: 80px;
  height: 80px;
}

/* ===================================
   进度条
   =================================== */
.progress-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* ===================================
   分割线
   =================================== */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--spacing-md) 0;
}

.divider-text {
  display: flex;
  align-items: center;
  color: var(--text-light);
  font-size: 13px;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.divider-text::before {
  margin-right: var(--spacing-md);
}

.divider-text::after {
  margin-left: var(--spacing-md);
}

/* ===================================
   空状态
   =================================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

.empty-state-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===================================
   加载状态
   =================================== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===================================
   浮动操作按钮
   =================================== */
.fab {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.fab:active {
  transform: scale(0.95);
}

/* ===================================
   弹窗/模态框
   =================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 90%;
  max-width: 320px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.modal-content {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.modal-actions {
  display: flex;
  gap: var(--spacing-md);
}

.modal-actions .btn {
  flex: 1;
}

/* ===================================
   Toast 提示
   =================================== */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--text-white);
  font-size: 14px;
  border-radius: var(--radius-md);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
}

/* ===================================
   动画效果
   =================================== */
.fade-in {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   会员卡片
   =================================== */
.member-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.member-card-info {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.member-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-right: var(--spacing-md);
}

.member-card-name {
  font-size: 18px;
  font-weight: 600;
}

.member-card-level {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

.member-card-stats {
  display: flex;
  justify-content: space-around;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.member-card-stat {
  text-align: center;
}

.member-card-stat-value {
  font-size: 20px;
  font-weight: 600;
}

.member-card-stat-label {
  font-size: 12px;
  opacity: 0.8;
}

/* ===================================
   健康数据卡片
   =================================== */
.health-data-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.health-data-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}

.health-data-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
}

.health-data-unit {
  font-size: 12px;
  color: var(--text-secondary);
}

.health-data-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
}

/* ===================================
   专家卡片
   =================================== */
.expert-card {
  display: flex;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-md);
}

.expert-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-right: var(--spacing-md);
}

.expert-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
}

.expert-info {
  flex: 1;
}

.expert-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.expert-title {
  font-size: 13px;
  color: var(--primary);
  margin-top: 2px;
}

.expert-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expert-action {
  display: flex;
  align-items: flex-end;
}

/* ===================================
   消息项
   =================================== */
.message-item {
  display: flex;
  padding: var(--spacing-md);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.message-item.unread {
  background: var(--primary-bg);
}

.message-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
}

.message-content {
  flex: 1;
  min-width: 0;
}

.message-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.message-text {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-time {
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: var(--spacing-sm);
}

/* ===================================
   搜索框
   =================================== */
.search-bar {
  display: flex;
  align-items: center;
  padding: 10px var(--spacing-md);
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
}

.search-bar svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  margin-right: var(--spacing-sm);
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
}

.search-bar input::placeholder {
  color: var(--text-light);
}

/* ===================================
   分类标签
   =================================== */
.category-tabs {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-tab.active {
  color: var(--text-white);
  background: var(--primary);
}

/* ===================================
   价格样式
   =================================== */
.price {
  font-weight: 600;
  color: var(--error);
}

.price-unit {
  font-size: 12px;
}

.price-value {
  font-size: 18px;
}

.price-original {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: var(--spacing-xs);
}

/* ===================================
   时间选择器
   =================================== */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.time-slot {
  padding: 10px;
  text-align: center;
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-slot:hover {
  border-color: var(--primary);
}

.time-slot.active {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary);
}

.time-slot.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===================================
   辅助类
   =================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-light {
  color: var(--text-light);
}

.text-green {
  color: var(--primary);
}

.text-white {
  color: var(--text-white);
}

.bg-white {
  background: var(--bg-white);
}

.bg-gray {
  background: var(--bg-gray);
}

.bg-green {
  background: var(--primary-bg);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.p-md {
  padding: var(--spacing-md);
}

.p-lg {
  padding: var(--spacing-lg);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hidden {
  display: none !important;
}