:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --bg: #f3f4f6;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --danger: #ef4444;
  --success: #16a34a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.phone-frame {
  width: 100%;
  max-width: 420px;
  background: #020617;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.6);
}

.phone-screen {
  height: 720px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.top-bar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.top-bar-title {
  font-size: 16px;
  font-weight: 600;
}

.top-bar-sub {
  font-size: 12px;
  color: var(--muted);
}

.btn-primary-sm {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  background: var(--primary);
  color: #ffffff;
}
.btn-primary-sm:hover { background: var(--primary-dark); }

.app-main {
  flex: 1;
  overflow-y: auto;
  background: var(--bg);
  font-size: 14px;
}

.mini-header {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
}

.mini-header-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mini-header-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.mini-header-dots {
  font-size: 18px;
  color: #374151;
  font-weight: 600;
  line-height: 1;
}

.mini-header-circle {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #374151;
}

.swiper-container {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.3s ease;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

/* 添加光晕效果 */
.swiper-slide::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translate(-20%, -20%);
  }
  50% {
    transform: translate(20%, 20%);
  }
}

.swiper-slide:nth-child(2) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.swiper-slide:nth-child(3) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-bullet.active {
  width: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.section {
  padding: 10px 12px;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.section-title {
  font-size: 14px;
  font-weight: 600;
}
.section-link {
  font-size: 12px;
  color: var(--primary-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #e0f2fe;
  color: #0369a1;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  font-size: 13px;
  margin-bottom: 10px;
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.card-sub {
  font-size: 12px;
  color: var(--muted);
}

/* 文章卡片样式 */
.article-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.article-card:active {
  transform: scale(0.98);
}

.article-card-header {
  position: relative;
  flex-shrink: 0;
}

.article-card-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.article-card-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.article-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.article-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* 文章详情页样式 */
.article-favorite-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article-favorite-btn:hover {
  background: #ffffff;
  transform: scale(1.1);
}

.article-favorite-btn.favorited {
  color: #ef4444;
}

.article-detail-header {
  padding: 16px;
  background: #ffffff;
  margin-bottom: 12px;
}

.article-detail-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.article-video-container {
  margin-bottom: 12px;
  padding: 12px;
  background: #ffffff;
}

.article-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.article-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.article-video-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.article-video-text {
  font-size: 16px;
  opacity: 0.9;
}

.article-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.article-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ffffff;
}

.article-video-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.article-detail-content {
  padding: 16px;
  background: #ffffff;
  margin-bottom: 12px;
}

.article-section {
  margin-bottom: 24px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.article-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list li {
  padding: 8px 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  position: relative;
}

.article-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.article-warning-box {
  padding: 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 2px solid #fca5a5;
}

.article-warning-title {
  font-size: 15px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 12px;
}

.article-warning-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fee2e2;
  font-size: 13px;
  color: #7f1d1d;
}

.article-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.article-tip-item {
  padding: 14px;
  border-radius: 12px;
  background: #f0f9ff;
  text-align: center;
}

.article-tip-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.article-tip-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.article-tip-desc {
  font-size: 12px;
  color: var(--muted);
}

.article-expert-box {
  padding: 16px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 2px solid #86efac;
}

.article-expert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.article-expert-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.article-expert-info {
  flex: 1;
  min-width: 0;
}

.article-expert-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.article-expert-title {
  font-size: 12px;
  color: var(--muted);
}

.article-expert-quote {
  font-size: 14px;
  line-height: 1.6;
  color: #065f46;
  font-style: italic;
  padding: 12px;
  background: #dcfce7;
  border-radius: 8px;
  border-left: 4px solid #10b981;
}

.article-related-section {
  padding: 16px;
  background: #ffffff;
  margin-bottom: 12px;
}

.article-related-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.article-related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.article-related-item:hover {
  background: #f0f9ff;
}

.article-related-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.article-related-info {
  flex: 1;
  min-width: 0;
}

.article-related-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-related-meta {
  font-size: 12px;
  color: var(--muted);
}

.article-action-bar {
  padding: 16px;
  background: #ffffff;
  margin-bottom: 60px;
}

.bottom-nav {
  display: flex;
  border-top: 1px solid var(--border);
  background: #ffffff;
}
.bottom-nav-btn {
  flex: 1;
  padding: 10px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  border: none;
  background: transparent;
}
.bottom-nav-btn-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.bottom-nav-btn.active {
  color: var(--primary-dark);
  font-weight: 600;
}
.bottom-nav-btn.active .bottom-nav-btn-icon {
  border-color: var(--primary);
  background: #e0f2fe;
}

.pill-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.pill-tab {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
}
.pill-tab.active {
  border-color: var(--primary);
  background: #e0f2fe;
  color: var(--primary-dark);
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
}
.status-pending { background: #fef9c3; color: #854d0e; }
.status-active { background: #dcfce7; color: #166534; }
.status-cancel { background: #fee2e2; color: #b91c1c; }

.search-bar {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
}
.search-bar span:first-child { margin-right: 6px; }

.list-group {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
}
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.list-item:last-child { border-bottom: none; }
.list-item-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.list-item-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.list-item-arrow {
  font-size: 16px;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.simple-table th,
.simple-table td {
  padding: 4px 2px;
  text-align: left;
}
.simple-table th {
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.simple-table tr:nth-child(even) td {
  background: #f9fafb;
}

/* 中间大圆按钮样式（仿微信底部扫描按钮） */
.bottom-nav-center-btn {
  position: relative;
  flex: 0 0 auto;
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}

.bottom-nav-center-circle {
  position: relative;
  top: -18px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

.bottom-nav-center-icon {
  font-size: 28px;
  color: #ffffff;
  line-height: 1;
}

.bottom-nav-center-label {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.home-hero {
  position: relative;
  padding: 16px 12px 60px;
  background: linear-gradient(180deg, #f0fdfa 0%, #f9fafb 50%, #ffffff 100%);
}

.home-hero-box {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%);
  color: #ffffff;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 添加高光效果 */
.home-hero-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero-box:active {
  transform: scale(0.98);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.2), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home-hero-box.hero-mall {
  background: linear-gradient(135deg, #c026d3 0%, #d946ef 50%, #e879f9 100%);
  box-shadow: 0 10px 30px rgba(192, 38, 211, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.home-hero-box.hero-mall:active {
  box-shadow: 0 8px 24px rgba(192, 38, 211, 0.2), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home-hero-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.home-hero-text {
  max-width: 60%;
}

.home-hero-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-hero-subtitle {
  font-size: 13px;
  opacity: 0.95;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.home-hero-device {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.home-hero-features {
  display: flex;
  gap: 12px;
  font-size: 12px;
  opacity: 0.95;
}

.home-hero-feature {
  display: flex;
  align-items: center;
  gap: 5px;
}

.home-hero-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.home-quick-card {
  margin: -40px 12px 10px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.home-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #374151;
}

.home-quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #f9fafb;
}

.home-section {
  padding: 8px 12px 12px;
}

.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.home-section-title {
  font-size: 15px;
  font-weight: 600;
}

.home-section-link {
  font-size: 12px;
  color: var(--primary-dark);
}

.home-outlet-card {
  border-left: 3px solid var(--primary);
}

.outlet-page-location {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.outlet-page-location:hover {
  background: #f9fafb;
}

.outlet-page-location-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.outlet-page-location-arrow {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
}

.city-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.city-selector-panel {
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.city-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.city-selector-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.city-selector-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f3f4f6;
  border: none;
  font-size: 24px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.city-selector-close:hover {
  background: #e5e7eb;
}

.city-selector-content {
  padding: 16px;
  overflow-y: auto;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.city-item {
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.city-item:hover {
  border-color: var(--primary);
  background: #f0fdfa;
  color: var(--primary);
}

.city-item.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

.outlet-page-search {
  padding: 10px 12px;
  background: #ffffff;
}

.outlet-page-search .search-bar {
  width: 100%;
}

.outlet-list-section {
  padding: 0;
}

.outlet-list-title {
  padding: 12px 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
}

.outlet-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.outlet-card-img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}

.outlet-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.outlet-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.outlet-favorite-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: var(--bg);
  color: #fbbf24;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.outlet-favorite-btn:hover {
  background: #fef3c7;
  transform: scale(1.1);
}

.outlet-favorite-btn.favorited {
  color: #f59e0b;
  font-weight: 700;
}

.outlet-clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.outlet-clickable:hover {
  color: var(--primary);
  transform: scale(1.02);
}

.outlet-card-img.outlet-clickable:hover {
  opacity: 0.8;
}

.outlet-card-address {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.outlet-card-phone {
  font-size: 13px;
  color: var(--text);
  margin-top: 2px;
}

.outlet-card-hours {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.outlet-card-hours span {
  cursor: pointer;
  transition: color 0.2s;
}

.outlet-card-hours span:hover {
  color: var(--primary);
}

.outlet-card-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.btn-booking {
  flex: 1;
  padding: 8px 16px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-booking:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

.profile-header {
  padding: 16px 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-phone {
  font-size: 13px;
  opacity: 0.9;
}

.profile-level {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  margin-top: 4px;
}

.form-page {
  padding: 0;
}

.form-section {
  padding: 12px;
  background: #ffffff;
}

.form-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  padding-left: 8px;
  border-left: 3px solid var(--primary);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--muted);
}

.form-avatar-upload {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-avatar-preview {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 2px solid var(--border);
}

.form-avatar-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  color: var(--text);
}

.form-actions {
  padding: 12px;
  background: #ffffff;
  display: flex;
  gap: 10px;
}

.btn-full {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
}

.btn-primary-full {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary-full:hover {
  background: var(--primary-dark);
}

.btn-outline-full {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

/* 预约流程样式 */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.booking-step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.booking-step.active .booking-step-number {
  background: var(--primary);
  color: #ffffff;
}

.booking-step-label {
  font-size: 11px;
  color: #6b7280;
}

.booking-step.active .booking-step-label {
  color: var(--primary);
  font-weight: 600;
}

.booking-step-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 0 4px;
}

.booking-section {
  padding-bottom: 16px;
}

.outlet-select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outlet-select-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.outlet-select-item:hover {
  border-color: var(--primary);
  background: #f0fdfa;
}

.outlet-select-item.selected {
  border-color: var(--primary);
  background: #f0fdfa;
}

.outlet-select-info {
  flex: 1;
}

.outlet-select-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.outlet-select-address {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 2px;
}

.outlet-select-distance {
  font-size: 12px;
  color: var(--primary);
}

.outlet-select-radio {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  position: relative;
  transition: all 0.2s;
}

.outlet-select-item.selected .outlet-select-radio {
  border-color: var(--primary);
}

.outlet-select-item.selected .outlet-select-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

.date-selector {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.date-item {
  flex-shrink: 0;
  min-width: 70px;
  padding: 10px 8px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.date-item:hover {
  border-color: var(--primary);
  background: #f0fdfa;
}

.date-item.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.date-item-day {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.date-item.selected .date-item-day {
  color: rgba(255, 255, 255, 0.9);
}

.date-item-date {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.date-item-label {
  font-size: 11px;
  color: #ef4444;
}

.date-item.selected .date-item-label {
  color: #fef2f2;
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.time-slot-item {
  padding: 10px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.time-slot-item:hover {
  border-color: var(--primary);
  background: #f0fdfa;
}

.time-slot-item.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.time-slot-item.disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  position: relative;
  padding: 14px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

.service-card:hover {
  border-color: var(--primary);
  background: #f0fdfa;
}

.service-card.selected {
  border-color: var(--primary);
  background: #f0fdfa;
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.service-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.service-card-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.service-card-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.service-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-feature {
  font-size: 11px;
  color: #10b981;
  padding: 2px 8px;
  background: #d1fae5;
  border-radius: 999px;
}

.service-card-radio {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  transition: all 0.2s;
}

.service-card.selected .service-card-radio {
  border-color: var(--primary);
}

.service-card.selected .service-card-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

.booking-summary {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px;
}

.booking-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.booking-summary-label {
  font-size: 13px;
  color: #6b7280;
}

.booking-summary-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.booking-nav-buttons {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: #ffffff;
}

.btn-secondary {
  flex: 1;
  padding: 12px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #f9fafb;
}

.btn-primary {
  flex: 1;
  padding: 12px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* 预约使用人选择样式 */
.booking-user-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 2px solid var(--primary);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.booking-user-selected:hover {
  background: #f0f9ff;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.booking-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.booking-user-info {
  flex: 1;
  min-width: 0;
}

.booking-user-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.booking-user-phone {
  font-size: 13px;
  color: var(--muted);
}

.booking-user-change-btn {
  padding: 6px 16px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.booking-user-change-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* 使用人选择器弹窗 */
.user-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.user-selector-panel {
  width: 100%;
  max-height: 70vh;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  animation: slideUp 0.3s ease;
  display: flex;
  flex-direction: column;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.user-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
}

.user-selector-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.user-selector-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-selector-close:hover {
  background: #e5e7eb;
}

.user-selector-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.user-selector-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-selector-item:hover {
  border-color: var(--primary);
  background: #f0f9ff;
}

.user-selector-item.selected {
  border-color: var(--primary);
  background: #eff6ff;
}

.user-selector-item-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.user-selector-item-info {
  flex: 1;
  min-width: 0;
}

.user-selector-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.user-selector-item-relation {
  font-size: 13px;
  color: var(--muted);
}

.user-selector-item-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.user-selector-item.selected .user-selector-item-check {
  background: var(--primary);
  border-color: var(--primary);
}

.user-selector-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: #f0f9ff;
  border: 2px dashed var(--primary);
  border-radius: 12px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.user-selector-add-btn:hover {
  background: #dbeafe;
  border-style: solid;
}

/* 商城页面样式 */
.mall-header {
  padding: 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.mall-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.mall-search-icon {
  font-size: 16px;
  color: var(--muted);
}

.mall-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.mall-search-input::placeholder {
  color: var(--muted);
}

.mall-main {
  display: flex;
  height: calc(100vh - 120px);
  background: var(--bg);
}

/* 左侧分类导航 */
.mall-category-sidebar {
  width: 80px;
  background: #ffffff;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  flex-shrink: 0;
}

.mall-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
  position: relative;
}

.mall-category-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
  transition: height 0.2s ease;
}

.mall-category-item.active {
  background: var(--bg);
}

.mall-category-item.active::before {
  height: 24px;
}

.mall-category-item:hover {
  background: var(--bg);
}

.mall-category-icon {
  font-size: 24px;
  line-height: 1;
}

.mall-category-name {
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  text-align: center;
}

.mall-category-item.active .mall-category-name {
  color: var(--primary);
  font-weight: 600;
}

/* 右侧商品区域 */
.mall-product-area {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.mall-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mall-product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  cursor: pointer;
}

.mall-product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.mall-product-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.mall-product-info {
  padding: 10px;
}

.mall-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mall-product-desc {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mall-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mall-product-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.mall-price-symbol {
  font-size: 12px;
  color: var(--danger);
  font-weight: 600;
}

.mall-price-value {
  font-size: 16px;
  color: var(--danger);
  font-weight: 700;
}

.mall-product-cart-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mall-product-cart-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.mall-product-cart-btn:active {
  transform: scale(0.95);
}

/* 购物车悬浮按钮 */
.mall-cart-float-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--primary);
  border: none;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
}

.mall-cart-float-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.mall-cart-float-btn:active {
  transform: scale(0.95);
}

.mall-cart-icon {
  font-size: 24px;
  color: #ffffff;
}

.mall-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: var(--danger);
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

/* 商品详情页样式 */
.product-detail-content {
  padding-bottom: 80px;
  background: var(--bg);
}

.product-detail-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}

.product-detail-info {
  background: #ffffff;
  padding: 16px;
  margin-bottom: 10px;
}

.product-detail-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-detail-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-detail-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-price-symbol {
  font-size: 16px;
  color: var(--danger);
  font-weight: 600;
}

.product-price-value {
  font-size: 28px;
  color: var(--danger);
  font-weight: 700;
}

.product-detail-sales {
  font-size: 13px;
  color: var(--muted);
}

.product-detail-section {
  background: #ffffff;
  padding: 16px;
  margin-bottom: 10px;
}

.product-detail-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.product-spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-spec-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-spec-btn.active {
  border-color: var(--primary);
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.product-spec-btn:hover {
  border-color: var(--primary);
}

.product-quantity-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.quantity-input {
  width: 60px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-detail-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

.product-detail-text p {
  margin: 8px 0;
}

.product-detail-text strong {
  color: var(--primary);
  font-weight: 600;
}

.product-detail-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.product-action-btn {
  flex: 1;
  height: 44px;
  border-radius: 22px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-action-cart {
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.product-action-cart:hover {
  background: rgba(15, 118, 110, 0.2);
}

.product-action-buy {
  background: var(--primary);
  color: #ffffff;
}

.product-action-buy:hover {
  background: var(--primary-dark);
}

/* 购物车页面样式 */
.cart-content {
  min-height: calc(100vh - 120px);
  background: var(--bg);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.cart-empty-icon {
  font-size: 80px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.cart-empty-text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.cart-empty-btn {
  padding: 10px 32px;
  border-radius: 20px;
  border: 1px solid var(--primary);
  background: #ffffff;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-empty-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.cart-list {
  padding: 12px;
}

.cart-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.cart-item-checkbox {
  display: flex;
  align-items: center;
}

.cart-item-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cart-item-spec {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-price {
  font-size: 16px;
  color: var(--danger);
  font-weight: 700;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-quantity-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-quantity-num {
  font-size: 14px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.cart-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.cart-footer-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-select-all {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
}

.cart-select-all input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cart-total {
  font-size: 14px;
  color: var(--text);
}

.cart-total-price {
  font-size: 18px;
  color: var(--danger);
  font-weight: 700;
  margin-left: 4px;
}

.cart-checkout-btn {
  padding: 10px 24px;
  border-radius: 20px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-checkout-btn:hover {
  background: var(--primary-dark);
}

.cart-checkout-btn:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
}

/* 订单结算页面样式 */
.checkout-content {
  padding-bottom: 80px;
  background: var(--bg);
}

.checkout-section {
  background: #ffffff;
  padding: 16px;
  margin-bottom: 10px;
}

.checkout-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.checkout-address {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
}

.checkout-address-info {
  flex: 1;
}

.checkout-address-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.checkout-address-phone {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}

.checkout-address-detail {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-address-arrow {
  font-size: 20px;
  color: var(--muted);
}

.checkout-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-product-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
}

.checkout-product-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.checkout-product-info {
  flex: 1;
}

.checkout-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.checkout-product-spec {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.checkout-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-product-price {
  font-size: 15px;
  color: var(--danger);
  font-weight: 700;
}

.checkout-product-quantity {
  font-size: 13px;
  color: var(--muted);
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.checkout-row-label {
  font-size: 14px;
  color: var(--text);
}

.checkout-row-value {
  font-size: 14px;
  color: var(--muted);
}

.checkout-payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
}

.checkout-payment-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkout-payment-icon {
  font-size: 24px;
}

.checkout-payment-name {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.checkout-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.checkout-footer-total {
  font-size: 14px;
  color: var(--text);
}

.checkout-footer-price {
  font-size: 20px;
  color: var(--danger);
  font-weight: 700;
  margin-left: 4px;
}

.checkout-submit-btn {
  padding: 10px 32px;
  border-radius: 20px;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-submit-btn:hover {
  background: var(--primary-dark);
}

/* 预约协议样式 */
.booking-agreement {
  padding: 12px;
  background: #ffffff;
}

.booking-agreement-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.booking-agreement-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.booking-agreement-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.booking-agreement-link {
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
}

.booking-agreement-link:hover {
  color: var(--primary-dark);
}

.agreement-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.agreement-panel {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.agreement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.agreement-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.agreement-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f3f4f6;
  border: none;
  font-size: 24px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.agreement-close:hover {
  background: #e5e7eb;
}

.agreement-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.agreement-section {
  margin-bottom: 16px;
}

.agreement-section:last-child {
  margin-bottom: 0;
}

.agreement-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--primary);
}

.agreement-section-text {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
}

.agreement-section-text strong {
  color: var(--primary);
  font-weight: 600;
}

.agreement-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.sub-page-header {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.sub-page-back {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  margin-right: 8px;
}

.sub-page-title {
  font-size: 16px;
  font-weight: 600;
}

.health-record-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.health-record-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.health-record-row:last-child {
  border-bottom: none;
}

.health-record-label {
  font-size: 13px;
  color: var(--muted);
  min-width: 80px;
}

.health-record-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  flex: 1;
  text-align: right;
}

.shared-user-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shared-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.shared-user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 999px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.shared-user-details {
  flex: 1;
}

.shared-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.shared-user-relation {
  font-size: 12px;
  color: var(--muted);
}

.btn-delete {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid #ef4444;
  background: #ffffff;
  color: #ef4444;
}

.btn-delete:hover {
  background: #fef2f2;
}

.btn-add-full {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 1px dashed var(--primary);
  background: #ffffff;
  color: var(--primary);
  margin-top: 8px;
}

.btn-add-full:hover {
  background: #f0fdfa;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 13px;
}

.agent-header {
  padding: 16px 12px;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: #ffffff;
}

.agent-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.agent-stat-item {
  text-align: center;
}

.agent-stat-value {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.agent-stat-label {
  font-size: 12px;
  opacity: 0.9;
}

.agent-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-top: 8px;
}

.agent-status-pending {
  background: rgba(255, 255, 255, 0.25);
  color: #fef3c7;
}

.agent-status-approved {
  background: rgba(255, 255, 255, 0.25);
  color: #d1fae5;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 12px;
  background: #ffffff;
}

.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0fdfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.quick-action-label {
  font-size: 12px;
  color: var(--text);
}

.level-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2f1 100%);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid #99f6e4;
}

.level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.level-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.level-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

.level-progress {
  margin-top: 8px;
}

.level-progress-bar {
  height: 8px;
  background: #d1d5db;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.level-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.3s;
}

.level-progress-text {
  font-size: 12px;
  color: var(--muted);
}

.customer-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.customer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.customer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.customer-info {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.order-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.order-id {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.order-commission {
  font-size: 15px;
  font-weight: 600;
  color: #ef4444;
}

.order-info {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.income-summary {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.income-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.income-row:last-child {
  border-bottom: none;
}

.income-label {
  font-size: 13px;
  color: var(--muted);
}

.income-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.income-value.highlight {
  color: #ef4444;
  font-size: 18px;
}

.withdraw-record-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.withdraw-amount {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.withdraw-info {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.qrcode-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #ffffff;
}

.qrcode-box {
  width: 200px;
  height: 200px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  margin-bottom: 16px;
}

.qrcode-tip {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.merchant-header {
  padding: 16px 12px;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: #ffffff;
}

.merchant-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.merchant-stat-item {
  text-align: center;
}

.merchant-stat-value {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.merchant-stat-label {
  font-size: 12px;
  opacity: 0.9;
}

.device-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.device-info {
  flex: 1;
}

.device-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.device-status {
  font-size: 12px;
  color: var(--muted);
}

.outlet-info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.outlet-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.outlet-info-row:last-child {
  border-bottom: none;
}

.outlet-info-label {
  font-size: 13px;
  color: var(--muted);
}

.outlet-info-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.service-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.service-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.service-info {
  font-size: 12px;
  color: var(--muted);
}

.deposit-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid #fbbf24;
}

.deposit-amount {
  font-size: 24px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 6px;
}

.deposit-status {
  font-size: 13px;
  color: #92400e;
}

.chart-placeholder {
  width: 100%;
  height: 180px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.stats-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.stats-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.stats-label {
  font-size: 12px;
  color: var(--muted);
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.time-slot {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 12px;
  text-align: center;
  color: var(--text);
}

.time-slot.active {
  border-color: var(--primary);
  background: #f0fdfa;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 480px) {
  .phone-frame { max-width: 100%; }
}

/* 门店详情页样式 */
.outlet-detail-content {
  padding-bottom: 80px;
  background: var(--bg);
}

.outlet-detail-swiper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  overflow: hidden;
}

.outlet-detail-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}

.outlet-detail-img-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border-radius: 12px;
  font-size: 12px;
}

.outlet-detail-info {
  background: #ffffff;
  padding: 16px;
  margin-bottom: 10px;
}

.outlet-detail-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.outlet-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.outlet-tag {
  padding: 4px 12px;
  background: var(--bg);
  border-radius: 12px;
  font-size: 12px;
  color: var(--text);
}

.outlet-detail-section {
  background: #ffffff;
  padding: 16px;
  margin-bottom: 10px;
}

.outlet-detail-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.outlet-detail-item {
  position: relative;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.outlet-detail-item:last-child {
  border-bottom: none;
}

.outlet-detail-item-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.outlet-detail-item-value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  padding-right: 70px;
}

.outlet-detail-action-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.outlet-detail-action-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.outlet-detail-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

.outlet-detail-text p {
  margin: 8px 0;
}

.outlet-service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outlet-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.outlet-service-item:hover {
  background: rgba(15, 118, 110, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.outlet-service-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.outlet-service-info {
  flex: 1;
}

.outlet-service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.outlet-service-desc {
  font-size: 12px;
  color: var(--muted);
}

.outlet-service-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.outlet-device-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outlet-device-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
}

.outlet-device-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.outlet-device-name {
  flex: 1;
  font-size: 14px;
  color: var(--text);
}

.outlet-device-status {
  font-size: 12px;
  color: var(--success);
  flex-shrink: 0;
}

.outlet-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.outlet-gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.outlet-gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.outlet-review-summary {
  display: flex;
  gap: 20px;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
  margin-bottom: 16px;
}

.outlet-review-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.outlet-review-score-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.outlet-review-score-stars {
  font-size: 14px;
}

.outlet-review-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.outlet-review-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.outlet-review-stat-item > span:first-child {
  width: 40px;
  color: var(--muted);
}

.outlet-review-stat-bar {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.outlet-review-stat-bar > span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
}

.outlet-review-stat-item > span:last-child {
  width: 30px;
  text-align: right;
  color: var(--text);
  font-weight: 600;
}

.outlet-review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outlet-review-item {
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
}

.outlet-review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.outlet-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.outlet-review-user {
  flex: 1;
}

.outlet-review-username {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.outlet-review-stars {
  font-size: 12px;
}

.outlet-review-date {
  font-size: 12px;
  color: var(--muted);
}

.outlet-review-content {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

.outlet-detail-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.outlet-detail-btn {
  flex: 1;
  height: 44px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.outlet-detail-btn-outline {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.outlet-detail-btn-outline:hover {
  background: rgba(15, 118, 110, 0.1);
}

.outlet-detail-btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
}

.outlet-detail-btn-primary:hover {
  background: var(--primary-dark);
}

/* 会员权益页面样式 */
.member-level-card {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 16px;
  padding: 20px;
  margin: 8px 12px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.member-level-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.member-level-icon {
  font-size: 48px;
  line-height: 1;
}

.member-level-info {
  flex: 1;
}

.member-level-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.member-level-desc {
  font-size: 13px;
  opacity: 0.9;
}

.member-level-expire {
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.benefit-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.benefit-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.benefit-icon {
  font-size: 32px;
  line-height: 1;
}

.benefit-info {
  flex: 1;
}

.benefit-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.benefit-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.benefit-status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.benefit-status-active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.benefit-status-inactive {
  background: rgba(107, 114, 128, 0.1);
  color: var(--muted);
}

.level-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.level-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.level-card-active {
  border: 2px solid #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
  position: relative;
}

.level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.level-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.level-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 500;
}

.level-benefits {
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}

.level-current-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  background: #f59e0b;
  color: #ffffff;
  font-weight: 600;
}

.level-progress {
  margin-top: 12px;
}

.level-progress-bar {
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.level-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.level-progress-text {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* 权益使用记录页面样式 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 12px;
}

.stat-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

.usage-record-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.usage-record-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.usage-record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.usage-record-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.usage-record-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.usage-record-used {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.usage-record-info {
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}

/* 我的收藏页面样式 */
.favorite-outlet-card {
  position: relative;
}

.favorite-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: #fef3c7;
  color: #f59e0b;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.favorite-remove-btn:hover {
  background: #fde68a;
  transform: scale(1.1);
}

.article-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.article-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.article-card-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}

.article-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.article-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
}

.article-favorite-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: var(--bg);
  color: #fbbf24;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.article-favorite-btn:hover {
  background: #fef3c7;
  transform: scale(1.1);
}

.article-favorite-btn.favorited {
  color: #f59e0b;
  font-weight: 700;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-tip {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* 订单页面样式 */
.order-tabs {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0 12px;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.order-tab {
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.order-tab:hover {
  color: var(--primary);
}

.order-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.order-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.order-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.order-number {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

.order-status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.order-status-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.order-status-ongoing {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.order-status-completed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.order-status-cancelled {
  background: rgba(107, 114, 128, 0.1);
  color: var(--muted);
}

.order-status-unpaid {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.order-status-paid {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.order-status-shipped {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.order-info {
  margin-bottom: 12px;
}

.order-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}

.order-info-label {
  color: var(--muted);
}

.order-info-value {
  color: var(--text);
  font-weight: 500;
}

.order-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

.order-actions {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.order-btn {
  flex: 1;
  height: 36px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.order-btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
}

.order-btn-primary:hover {
  background: var(--primary-dark);
}

.order-btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.order-btn-secondary:hover {
  background: rgba(15, 118, 110, 0.1);
}

.order-btn-disabled {
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
}

/* 购买订单样式 */
.purchase-order-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.purchase-order-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.purchase-product-list {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.purchase-product-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
}

.purchase-product-item:not(:last-child) {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.purchase-product-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.purchase-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.purchase-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.purchase-product-spec {
  font-size: 12px;
  color: var(--muted);
}

.purchase-product-price {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-top: auto;
}

/* 预约订单详情页面样式 */
.detail-status-card {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 16px;
  padding: 24px;
  margin: 8px 12px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.detail-status-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.detail-status-text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-status-tip {
  font-size: 13px;
  opacity: 0.9;
}

.qrcode-verification-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.qrcode-verification-box {
  display: inline-block;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.qrcode-verification-code {
  width: 200px;
  height: 200px;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.qrcode-verification-number {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
  font-family: monospace;
}

.qrcode-verification-tip {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.qrcode-verification-warning {
  font-size: 13px;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
}

.detail-info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
}

.detail-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  gap: 16px;
}

.detail-info-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.detail-info-label {
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 80px;
}

.detail-info-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  text-align: right;
  flex: 1;
  word-break: break-all;
}

.detail-highlight {
  color: var(--primary) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

.detail-tips-card {
  background: rgba(15, 118, 110, 0.05);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 12px;
  padding: 16px;
}

.detail-tip-item {
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
  padding: 4px 0;
}

.detail-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 12px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.detail-footer-btn {
  flex: 1;
  height: 44px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.detail-footer-btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.detail-footer-btn-primary:hover {
  background: var(--primary-dark);
}

.detail-footer-btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.detail-footer-btn-secondary:hover {
  background: rgba(15, 118, 110, 0.1);
}

/* 商家核销页面样式 */
.verification-tabs {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: var(--bg);
}

.verification-tab {
  flex: 1;
  padding: 16px;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.verification-tab:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.verification-tab.active {
  border-color: var(--primary);
  background: rgba(15, 118, 110, 0.05);
}

.verification-tab-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.verification-tab-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.verification-content {
  padding: 12px;
}

.scan-area {
  background: #000000;
  border-radius: 16px;
  padding: 40px 20px;
  margin-bottom: 20px;
  position: relative;
}

.scan-frame {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.scan-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid #10b981;
}

.scan-corner-tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 12px;
}

.scan-corner-tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 12px;
}

.scan-corner-bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 12px;
}

.scan-corner-br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 12px;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  animation: scan-animation 2s linear infinite;
}

@keyframes scan-animation {
  0% {
    top: 0;
  }
  100% {
    top: 240px;
  }
}

.scan-camera-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  opacity: 0.3;
}

.scan-tip {
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  margin-top: 20px;
}

.btn-scan-large {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-scan-large:hover {
  background: var(--primary-dark);
}

.btn-scan-large:disabled {
  background: var(--muted);
  cursor: not-allowed;
}

.verification-result {
  padding: 0 12px;
}

.verification-order-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.verification-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.verification-order-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-family: monospace;
}

.verification-order-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.verification-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.verification-order-label {
  color: var(--muted);
}

.verification-order-value {
  color: var(--text);
  font-weight: 600;
}

.verification-warning {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  color: #ef4444;
  text-align: center;
  margin-bottom: 12px;
}

.btn-verify-large {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: #10b981;
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.btn-verify-large:hover {
  background: #059669;
}

.btn-secondary-large {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-large:hover {
  background: var(--bg);
}

.verification-success {
  padding: 40px 20px;
  text-align: center;
}

.success-icon {
  font-size: 80px;
  margin-bottom: 16px;
  animation: success-bounce 0.5s ease;
}

@keyframes success-bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 12px;
}

.success-message {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.success-order-info {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

.success-order-info span {
  font-weight: 700;
  color: var(--primary);
}

.btn-primary-large {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary-large:hover {
  background: var(--primary-dark);
}

.verification-record-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.verification-record-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.verification-record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.verification-record-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-family: monospace;
}

.verification-record-time {
  font-size: 12px;
  color: var(--muted);
}

.verification-record-info {
  font-size: 13px;
  color: var(--muted);
}

/* 设备扫码页面样式 */
.device-scan-header {
  padding: 40px 20px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
}

.device-scan-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.device-scan-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.device-scan-area {
  padding: 40px 20px;
  background: #000000;
}

.device-scan-frame {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.device-scan-corner {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 4px solid #10b981;
}

.device-scan-corner-tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 12px;
}

.device-scan-corner-tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 12px;
}

.device-scan-corner-bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 12px;
}

.device-scan-corner-br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 12px;
}

.device-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  animation: device-scan-animation 2.5s linear infinite;
}

@keyframes device-scan-animation {
  0% {
    top: 0;
  }
  100% {
    top: 260px;
  }
}

.device-scan-camera {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  opacity: 0.2;
}

.device-scan-tip {
  text-align: center;
  color: #ffffff;
  font-size: 15px;
  margin-top: 24px;
}

.device-scan-actions {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-scan-btn {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.device-scan-btn:hover {
  background: var(--primary-dark);
}

.device-scan-btn:disabled {
  background: var(--muted);
  cursor: not-allowed;
}

.device-scan-btn-secondary {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.device-scan-btn-secondary:hover {
  background: var(--bg);
}

.device-scan-instructions {
  padding: 20px;
  background: var(--bg);
}

.device-scan-instructions-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.device-scan-instructions-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
}

.device-scan-instruction-item {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  padding: 6px 0;
}

.device-scan-recent {
  padding: 20px;
}

.device-scan-recent-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.device-recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device-recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.device-recent-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.1);
}

.device-recent-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.device-recent-info {
  flex: 1;
}

.device-recent-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.device-recent-location {
  font-size: 13px;
  color: var(--muted);
}

.device-recent-arrow {
  font-size: 20px;
  color: var(--muted);
}

/* 设备控制页面样式 */
.device-control-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.device-control-back {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--bg);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-control-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.device-control-placeholder {
  width: 36px;
}

.device-info-card {
  margin: 12px;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.device-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.device-info-icon {
  font-size: 48px;
}

.device-info-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.device-info-location {
  font-size: 14px;
  opacity: 0.9;
}

.device-status-badge {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.device-status-running {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.device-status-idle {
  background: rgba(107, 114, 128, 0.2);
  color: var(--muted);
}

.device-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.device-data-section {
  margin: 12px;
}

.device-data-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.device-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.device-data-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.device-data-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.device-data-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.device-data-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.device-control-section {
  margin: 12px;
}

.device-control-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.device-control-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.device-control-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.device-control-value {
  color: var(--primary);
  font-weight: 700;
}

.device-mode-buttons {
  display: flex;
  gap: 8px;
}

.device-mode-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.device-mode-btn:hover {
  border-color: var(--primary);
}

.device-mode-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.device-slider-container {
  padding: 10px 0;
}

.device-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg);
  outline: none;
  -webkit-appearance: none;
}

.device-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.device-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
}

.device-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.device-timer-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.device-timer-btn {
  padding: 10px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.device-timer-btn:hover {
  border-color: var(--primary);
}

.device-timer-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.device-control-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  z-index: 100;
}

.device-control-btn {
  flex: 1;
  height: 48px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.device-control-btn-stop {
  background: #ffffff;
  color: #ef4444;
  border: 1px solid #ef4444;
}

.device-control-btn-stop:hover {
  background: rgba(239, 68, 68, 0.1);
}

.device-control-btn-start {
  background: #10b981;
  color: #ffffff;
}

.device-control-btn-start:hover {
  background: #059669;
}
