/* SheGuideMe 单一界面样式：窄屏信息流与触控交互 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: #eee8e1;
}

body {
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  margin: 0 auto;
  overflow-x: hidden;
  background: #fff;
  box-shadow: 0 0 28px rgba(58, 38, 24, 0.08);
}

#app {
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
}

:root {
  --primary: #ff4757;
  --primary-dark: #e53c4c;
  --text-dark: #333;
  --text-gray: #666;
  --text-light: #999;
  --bg-white: #ffffff;
  --border: #eaeaea;
  
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  
  --font-xs: 10px;
  --font-sm: 12px;
  --font-md: 14px;
  --font-lg: 16px;
  --font-xl: 18px;
  --font-xxl: 20px;
  
  --line-tight: 1.2;
  --line-normal: 1.4;
  --line-relaxed: 1.6;
}

.container {
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  background: var(--bg-white);
  position: relative;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  max-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-chinese-text {
  position: absolute;
  left: var(--space-lg);
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 10;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  line-height: 1.4;
}

/* 中文和英文统一行间距 - 保持尼泊尔语不变 */
.hero-chinese-text[data-lang="zh"] .hero-site-name,
.hero-chinese-text[data-lang="en"] .hero-site-name {
  font-size: var(--font-xl) !important;
  font-weight: bold;
  margin-bottom: 8px !important;
  color: #ffc0cb;
  line-height: 1.2;
}

.hero-chinese-text[data-lang="zh"] .hero-site-name-line2,
.hero-chinese-text[data-lang="en"] .hero-site-name-line2 {
  font-size: var(--font-xl) !important;
  margin-bottom: 8px !important;
  color: #d63031;
  padding-left: 2em;
  line-height: 1.2;
}

.hero-chinese-text[data-lang="zh"] .hero-title,
.hero-chinese-text[data-lang="en"] .hero-title {
  font-size: var(--font-lg) !important;
  font-weight: bold;
  margin: 8px 0;
  line-height: 1.2;
}

.hero-chinese-text[data-lang="zh"] .hero-slogan,
.hero-chinese-text[data-lang="zh"] .hero-slogan2-line1,
.hero-chinese-text[data-lang="en"] .hero-slogan,
.hero-chinese-text[data-lang="en"] .hero-slogan2-line1 {
  font-size: var(--font-md);
  margin: 8px 0;
  line-height: 1.2;
}

.hero-chinese-text[data-lang="zh"] .hero-slogan2-line2,
.hero-chinese-text[data-lang="en"] .hero-slogan2-line2 {
  font-size: var(--font-md);
  margin: 8px 0;
  padding-left: 1.5em;
  line-height: 1.2;
}

/* 尼泊尔语保持原有样式 */
.hero-chinese-text[data-lang="ne"] .hero-site-name {
  font-size: var(--font-xl) !important;
  font-weight: bold;
  margin-bottom: 4px !important;
  color: #ffc0cb;
}

.hero-chinese-text[data-lang="ne"] .hero-site-name-line2 {
  font-size: var(--font-xl) !important;
  margin-bottom: 4px !important;
  color: #d63031;
  padding-left: 2em;
}

.hero-chinese-text[data-lang="ne"] .hero-title {
  font-size: var(--font-lg) !important;
  font-weight: bold;
  margin: 4px 0;
}

.hero-chinese-text[data-lang="ne"] .hero-slogan,
.hero-chinese-text[data-lang="ne"] .hero-slogan2-line1 {
  font-size: var(--font-md);
  margin: 4px 0;
  line-height: 1.3;
}

.hero-chinese-text[data-lang="ne"] .hero-slogan2-line2 {
  font-size: var(--font-md);
  margin: 4px 0;
  padding-left: 1.5em;
  line-height: 1.3;
}

.btn-container {
  margin-top: 8px;
  margin-left: 3em;
}

[data-lang="zh"] .btn-container {
  margin-top: 8px;
}

.customize-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 6px 11px;
  font-size: var(--font-sm);
  font-weight: bold;
  min-height: 24px !important;
  min-width: 40px !important;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero-chinese-text .customize-btn,
[data-lang="zh"] .customize-btn,
[data-lang="en"] .customize-btn,
[data-lang="ne"] .customize-btn,
body[data-lang="zh"] .customize-btn,
body[data-lang="en"] .customize-btn,
body[data-lang="ne"] .customize-btn {
  min-height: 24px !important;
  min-width: 40px !important;
  height: 24px !important;
  width: auto !important;
  border-radius: 20px !important;
  padding: 6px 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.customize-btn:hover,
.customize-btn:active {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}


.header {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 430px;
  height: 50px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.header-left {
  flex: 1;
  overflow: hidden;
}

.marquee {
  position: relative;
  overflow: hidden;
  height: 28px;
}

.marquee-inner {
  position: absolute;
  white-space: nowrap;
  animation: marq 15s linear infinite;
  color: var(--text-dark);
  font-size: var(--font-md);
  line-height: 28px;
}

@keyframes marq {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang {
  position: relative !important;
  z-index: 99998 !important;
}

/* 翻译按钮(语言切换器) - 基准高度 26px */
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0.5px solid #ff4757;
  background: #fff;
  border-radius: 18px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative !important;
  z-index: 99999 !important;
}

.lang-trigger:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.1);
}

.lang .flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-label {
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  line-height: 1;
}

/* 尼泊尔语环境下的字体基线调整 - 精确版本 */
body[data-lang="ne"] .lang-label {
  line-height: 1.2;
  vertical-align: middle;
  transform: translateY(-0.5px);
}

body[data-lang="ne"] .lang .flag {
  vertical-align: middle;
  transform: translateY(-0.5px);
}

/* 尼泊尔语按钮文字也需要基线调整 */
body[data-lang="ne"] #register-text,
body[data-lang="ne"] #login-text {
  line-height: 1.2;
  vertical-align: middle;
  transform: translateY(-0.5px);
}


.caret {
  font-size: 20px;
  color: var(--text-gray);
  margin-left: 2px;
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  min-width: 150px;
  z-index: 1001;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.lang-item:hover {
  background: #f5f7fa;
}


.lang-item:first-child {
  border-radius: 8px 8px 0 0;
}

.lang-item:last-child {
  border-radius: 0 0 8px 8px;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-register {
  background: #ff4757 !important;
  color: white !important;
}

.btn-login {
  background: #1e3a8a !important;
  color: white !important;
}

.btn {
  padding: 3px 12px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  min-height: 22px;
}

/* 注册/登录按钮 - 高度与翻译按钮保持一致 (26px) */
.btn-auth {
  background: linear-gradient(90deg, #ff4757, #1e90ff);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  height: 26px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-auth:hover,
.btn-auth:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.btn-auth:active {
  transform: translateY(0);
}

/* 登录状态下：隐藏注册/登录，显示头像 */
body[data-logged-in="true"] #register-btn,
body[data-logged-in="true"] #login-btn { display: none !important; }
body[data-logged-in="true"] #user-avatar { display: flex !important; }


.tabbar-spacer {
  height: 80px;
}

.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  right: auto;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  height: 60px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
}

.tabbar a,
.tabbar .tabbar-item {
  color: var(--text-gray);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding: 4px;
  min-height: 44px;
  flex: 1;
  transition: all 0.3s ease;
}

.tabbar a.active,
.tabbar .tabbar-item.active,
.tabbar .tabbar-item.router-link-active,
.tabbar .tabbar-item.router-link-exact-active {
  color: var(--primary);
}

.tabbar a:hover,
.tabbar .tabbar-item:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.tabbar-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
  transition: all 0.3s ease;
}

.tabbar .tabbar-item:hover .tabbar-icon {
  transform: scale(1.1);
}

.tabbar .tabbar-item:nth-child(1).active .tabbar-icon {
  content: url('./static/images/tabbar/home.active.png') !important;
  width: 24px !important;
  height: 24px !important;
}

.tabbar .tabbar-item:nth-child(2).active .tabbar-icon {
  content: url('./static/images/tabbar/guide.active.png') !important;
  width: 24px !important;
  height: 24px !important;
}

.tabbar .tabbar-item:nth-child(3).active .tabbar-icon {
  content: url('./static/images/tabbar/order.active.png') !important;
  width: 24px !important;
  height: 24px !important;
}

.tabbar .tabbar-item:nth-child(4).active .tabbar-icon {
  content: url('./static/images/tabbar/user.active.png') !important;
  width: 24px !important;
  height: 24px !important;
}

.section-title {
  font-size: var(--font-lg);
  font-weight: bold;
  color: var(--text-dark);
  margin: var(--space-lg) 0 var(--space-md) 0;
  padding: 0 var(--space-lg);
}

.section-description {
  font-size: var(--font-sm);
  color: var(--text-gray);
  margin: 0 0 var(--space-md) 0;
  padding: 0 var(--space-lg);
  line-height: var(--line-normal);
}

.card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  margin-bottom: var(--space-md);
}

.scroll-view-horizontal {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  white-space: nowrap;
}

.horizontal-list {
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.guide-card {
  display: inline-block;
  background: var(--bg-white);
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 1px 5px rgba(0,0,0,.05);
  width: 215px;
  min-width: 215px;
  min-height: 280px;
  margin-right: 10px;
  vertical-align: top;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.guide-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.guide-info {
  padding: var(--space-sm);
  white-space: normal;
  display: flex;
  flex-direction: column;
  min-height: 135px;
}

.guide-name {
  font-size: var(--font-lg);
  font-weight: bold;
  margin-bottom: 3px;
  display: block;
}

.guide-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
  position: relative;
}

.guide-stat {
  font-size: var(--font-xs);
  color: var(--text-gray);
}

.guide-nationality {
  text-align: left;
  flex: 1;
}

.guide-physical {
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.guide-age {
  color: var(--primary);
  margin-left: auto;
}

.guide-education-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 3px;
  position: relative;
}

.guide-education {
  font-size: var(--font-xs);
  color: var(--text-dark);
  font-weight: normal;
  padding: 0;
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-status {
  position: absolute;
  right: 0;
  font-size: var(--font-xs);
  color: #ff6b6b;
}

.guide-work-time {
  font-size: 11px;
  color: var(--text-gray);
  margin-bottom: 3px;
}

.guide-price-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding-top: 3px;
}

.guide-price {
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 5px;
  color: var(--primary);
  font-size: 13px;
  max-width: 120px;
}

.book-btn {
  background-color: var(--primary);
  color: white;
  border-radius: 15px;
  border: none;
  text-align: center;
  line-height: 1.4;
  height: 24px;
  min-height: 24px;
  padding: 4px 8px;
  font-size: var(--font-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 70px;
  max-width: 85px;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-btn:hover,
.book-btn:active {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.food-card {
  display: inline-block;
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,.05);
  width: 200px;
  min-width: 200px;
  margin-right: 10px;
  vertical-align: top;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.food-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.hotel-card {
  display: inline-block;
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,.05);
  width: 200px;
  min-width: 200px;
  margin-right: 10px;
  vertical-align: top;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hotel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.review-card {
  display: inline-block;
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,.05);
  width: 200px;
  min-width: 200px;
  margin-right: 10px;
  vertical-align: top;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.title-container {
  display: flex;
  align-items: center;
  margin: 15px 0;
  padding: 0 16px;
  position: relative;
}

.title-container > div:first-child {
  position: relative;
  margin-right: 2px;
  height: 24px;
  width: 16px;
}

.title-container > div:first-child > div:first-child {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2px;
  height: 16px;
  background: linear-gradient(to bottom, #ff6b6b, #ff4757);
  border-radius: 1px;
}

.title-container > div:first-child > div:last-child {
  position: absolute;
  left: 4px;
  top: 0;
  width: 6px;
  height: 16px;
  background: linear-gradient(to bottom, #ff6b6b, #ff4757);
  border-radius: 3px;
}

@media (max-width: 359px) {
  .hero-chinese-text {
    left: 12px;
    right: 12px;
  }
  
  /* 中文和英文小屏幕统一间距 */
  .hero-chinese-text[data-lang="zh"] .hero-site-name,
  .hero-chinese-text[data-lang="en"] .hero-site-name {
    font-size: 14px;
    margin-bottom: 6px !important;
  }
  
  .hero-chinese-text[data-lang="zh"] .hero-title,
  .hero-chinese-text[data-lang="en"] .hero-title {
    font-size: 16px;
    margin: 6px 0;
  }
  
  .hero-chinese-text[data-lang="zh"] .hero-slogan,
  .hero-chinese-text[data-lang="zh"] .hero-slogan2-line1,
  .hero-chinese-text[data-lang="zh"] .hero-slogan2-line2,
  .hero-chinese-text[data-lang="en"] .hero-slogan,
  .hero-chinese-text[data-lang="en"] .hero-slogan2-line1,
  .hero-chinese-text[data-lang="en"] .hero-slogan2-line2 {
    margin: 6px 0;
  }
  
  /* 尼泊尔语小屏幕保持原有样式 */
  .hero-chinese-text[data-lang="ne"] .hero-site-name {
    font-size: 14px;
  }
  
  .hero-chinese-text[data-lang="ne"] .hero-title {
    font-size: 16px;
  }
  
  .customize-btn {
    font-size: 10px;
    padding: 4px 8px;
    min-width: 40px !important;
    min-height: 14px !important;
  }
}

@media (min-width: 375px) and (max-width: 413px) {
  /* 中文和英文中等屏幕统一间距 */
  .hero-chinese-text[data-lang="zh"] .hero-title,
  .hero-chinese-text[data-lang="en"] .hero-title {
    font-size: var(--font-xl);
    margin: 8px 0;
  }
  
  /* 尼泊尔语中等屏幕保持原有样式 */
  .hero-chinese-text[data-lang="ne"] .hero-title {
    font-size: var(--font-xl);
  }
}

@media (min-width: 414px) {
  /* 中文和英文大屏幕统一间距 */
  .hero-chinese-text[data-lang="zh"] .hero-title,
  .hero-chinese-text[data-lang="en"] .hero-title {
    font-size: var(--font-xxl);
    margin: 8px 0;
  }
  
  /* 尼泊尔语大屏幕保持原有样式 */
  .hero-chinese-text[data-lang="ne"] .hero-title {
    font-size: var(--font-xxl);
  }
  
  .customize-btn {
    font-size: var(--font-md);
    padding: 8px 14px;
    min-width: 40px !important;
    min-height: 14px !important;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero-container {
    height: 80vh;
    min-height: 250px;
  }
  
  .hero-chinese-text {
    top: var(--space-sm);
  }
}

.animate-color {
  animation: simple-color-change 3s ease-in-out infinite alternate;
  background-image: none !important;
  color: #ffc0cb;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
  transform: perspective(350px) rotateX(20deg) rotateY(-3deg);
  transition: all 0.3s ease;
  letter-spacing: 1px;
  background: none !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.animate-color:hover {
  transform: perspective(350px) rotateX(25deg) rotateY(-5deg) translateY(-2px);
  text-shadow: 2.5px 2.5px 5px rgba(255,255,255,0.5);
}

@keyframes simple-color-change {
  0% { color: #ffc0cb; }
  100% { color: #d63031; }
}

@keyframes colorShine {
  0% { color: var(--bg-white); }
  33% { color: #FFD700; }
  66% { color: #00FF00; }
  100% { color: var(--bg-white); }
}

.shine {
  animation: colorShine 3s linear infinite;
}

/* 用户个人中心样式 */
.user-profile-container {
  padding: 20px;
  background: #f8f9fa;
  min-height: 100vh;
  padding-bottom: 100px;
}

/* 用户信息头部 */
.user-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: background 0.5s ease;
}

/* 男性用户背景 - 渐变蓝色 */
.user-header-male {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 女性用户背景 - 渐变粉色 */
.user-header-female {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

/* 默认背景 */
.user-header-default {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.user-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.3);
}

.avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-edit:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.user-name-section {
  margin-bottom: 8px;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.user-id {
  font-size: 14px;
  opacity: 0.8;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.user-info p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

.user-bio {
  margin-top: 8px;
}

.bio-text {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
  font-style: italic;
  line-height: 1.4;
}

.bio-length {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 4px;
  text-align: right;
  font-family: 'Courier New', monospace;
}

.user-actions {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
}

.btn-login, .btn-logout {
  padding: 8px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 25px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-login:hover, .btn-logout:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* 快捷功能区域 */
.quick-actions {
  background: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.action-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-item:last-child {
  border-bottom: none;
}

.action-item:hover {
  transform: translateX(8px);
}

.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 20px;
  color: white;
}

.action-icon.orders {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.action-icon.favorites {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.action-icon.images {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.action-item span {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.action-item i:last-child {
  color: #ccc;
  font-size: 18px;
}

/* 设置区域 */
.settings-section {
  background: white;
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section-header:hover {
  background: #e9ecef;
}

.section-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.section-header h4 i {
  margin-right: 12px;
  color: var(--primary);
}

.section-header i:last-child {
  color: #999;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.settings-content {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.setting-item:last-child {
  margin-bottom: 0;
}

.setting-item label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  min-width: 80px;
}

.setting-select {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  background: white;
  font-size: 14px;
  min-width: 150px;
  transition: all 0.3s ease;
}

.setting-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

/* 个人资料设置 */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.profile-item {
  display: flex;
  flex-direction: column;
}

.profile-item label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.profile-input, .profile-select {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.profile-input:focus, .profile-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.btn-save-profile {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #ff4757 0%, #e53c4c 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-save-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}



/* 其他功能区域 */
.other-functions {
  background: white;
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.other-functions-title {
  padding: 20px 20px 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  background: #f8f9fa;
  border-bottom: 1px solid #f0f0f0;
}

.function-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.function-item:last-child {
  border-bottom: none;
}

.function-item:hover {
  background: #f8f9fa;
  transform: translateX(8px);
}

.function-item i:first-child {
  width: 24px;
  margin-right: 16px;
  font-size: 20px;
  color: var(--primary);
}

.function-item span {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.function-item i:last-child {
  color: #ccc;
  font-size: 18px;
}

/* 云存储状态样式 */
.cloud-storage-section {
  margin: 20px 16px;
}

.cloud-storage-status {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(0,0,0,.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.cloud-storage-status.offline {
  background: #fff5f5;
  border: 1px solid #fed7d7;
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.status-header:hover {
  background-color: #f8f9fa;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator i {
  font-size: 16px;
  color: #28a745;
}

.cloud-storage-status.offline .status-indicator i {
  color: #dc3545;
}

.status-text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.status-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-sync {
  background: none;
  border: none;
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
}

.btn-sync:hover {
  background-color: #e9ecef;
  color: #333;
}

.status-details {
  padding: 0 16px 16px;
  border-top: 1px solid #e9ecef;
  background-color: #f8f9fa;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}

.detail-label {
  color: #666;
  font-weight: 500;
}

.detail-value {
  color: #333;
  font-weight: 600;
}

/* 版本信息 */
.version-info {
  text-align: center;
  padding: 30px 20px;
  color: #999;
  font-size: 14px;
}

.version-info p:first-child {
  font-weight: 600;
  margin-bottom: 8px;
}

.version-info p:last-child {
  font-size: 12px;
  opacity: 0.7;
}

/* 切换开关样式 */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.toggle-switch label:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.toggle-switch input:checked + label {
  background-color: var(--primary);
}

.toggle-switch input:checked + label:before {
  transform: translateX(26px);
}

/* 支付方法样式 */
.payment-methods {
  margin-bottom: 20px;
}

.payment-method-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.payment-method-item:last-child {
  border-bottom: none;
}

.payment-method-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-icon-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 14px;
}


.payment-icon-placeholder.visa {
  background: #1a1f71;
}

.payment-icon-placeholder.google {
  background: #4285f4;
}

.payment-icon-placeholder.paypal {
  background: #003087;
}

.payment-method-info span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

.btn-save-payment {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-save-payment:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* 响应式设计 */
@media (max-width: 480px) {
  .user-profile-container {
    padding: 16px;
  }
  
  .user-header {
    padding: 20px;
    gap: 16px;
  }
  
  .user-avatar {
    width: 70px;
    height: 70px;
  }
  
  .user-info h3 {
    font-size: 20px;
  }
  
  .action-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  

  
  .user-actions {
    bottom: 20px;
    right: 20px;
  }
}

.profile-grid {
  grid-template-columns: 1fr !important;
}

@media (max-width: 430px) {
  body {
    box-shadow: none;
  }
}

/* 浏览器工具栏占用较多高度时，压缩首屏但保留全部功能内容。 */
@media (max-height: 850px) {
  .home-hero {
    height: 300px !important;
  }

  .home-hero-copy {
    top: 13px !important;
    left: 18px !important;
    right: 18px !important;
  }

  .home-hero-brand {
    font-size: 15px !important;
    margin-bottom: 11px !important;
  }

  .home-hero-title {
    font-size: 21px !important;
    line-height: 1.16 !important;
    margin-bottom: 6px !important;
    max-width: 188px !important;
  }

  .home-hero-description {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    max-width: 188px !important;
  }

  .home-hero-tags {
    gap: 5px !important;
    max-width: 196px !important;
  }

  .home-hero-tags span {
    padding: 4px 7px !important;
    font-size: 10px !important;
  }

  .home-hero-actions {
    left: 16px !important;
    right: auto !important;
    bottom: 18px !important;
    width: 144px !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .home-hero-primary {
    width: 100% !important;
    flex: none !important;
    height: 38px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
  }

  .home-hero-secondary {
    width: 100% !important;
    flex: none !important;
    height: 38px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
  }

  .home-assistants-section .title-container {
    margin-top: 5px !important;
    margin-bottom: 4px !important;
  }

}

/* 设备管理样式 */
.login-devices {
  padding: 16px 0;
}

.devices-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 20px;
}

.devices-header h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.btn-refresh {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-refresh:hover {
  transform: rotate(180deg);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-refresh i {
  font-size: 16px;
}

/* 设备统计样式 */
.devices-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 0 20px;
}

.stat-item {
  flex: 1;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.device-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
  transition: all 0.3s ease;
}

.device-item:hover {
  background: #f8f9fa;
}

.device-item.current-device {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-left: 4px solid var(--primary);
}

.device-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.device-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.device-details {
  flex: 1;
}

.device-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.device-location {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.login-time {
  font-size: 12px;
  color: var(--text-light);
}

.device-status {
  margin-left: 16px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.status-badge.current {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.device-actions {
  margin-left: 16px;
}

.btn-force-logout {
  padding: 8px 16px;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-force-logout:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.no-other-devices {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-light);
}

.no-other-devices p {
  font-size: 14px;
  margin: 0;
}

/* 加载状态样式 */
.loading-devices {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-light);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-devices p {
  font-size: 14px;
  margin: 0;
}

/* 设备详细信息样式 */
.device-details-info {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.os-info, .browser-info {
  font-size: 11px;
  color: var(--text-light);
  background: rgba(0,0,0,0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

/* 订单页面样式 */
.orders-container {
  padding: 20px;
  background: #f8f9fa;
  min-height: 100vh;
  padding-bottom: 100px;
}

.orders-header {
  text-align: center;
  margin-bottom: 24px;
}

.orders-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.orders-header p {
  font-size: 16px;
  color: var(--text-gray);
  margin: 0;
}

.orders-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 16px;
}

.search-box input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 14px;
  background: white;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.status-filter select {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 14px;
  background: white;
  min-width: 120px;
  transition: all 0.3s ease;
}

.status-filter select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.orders-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.orders-stats .stat-item {
  flex: 1;
  min-width: 100px;
  background: white;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}

.orders-stats .stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.orders-stats .stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.order-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.order-id {
  font-size: 14px;
  color: var(--text-light);
  font-family: 'Courier New', monospace;
}

.order-status {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-content {
  margin-bottom: 16px;
}

.order-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.order-info {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.order-date, .order-guide {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-gray);
}

.order-date i, .order-guide i {
  font-size: 16px;
}

.order-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-pay, .btn-cancel, .btn-review {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 80px;
}

.btn-pay {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.btn-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-cancel {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
}

.btn-cancel:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-review {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: white;
}

.btn-review:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.orders-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-icon {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 16px;
}

.orders-empty h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.orders-empty p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.btn-book-now {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff4757 0%, #e53c4c 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-book-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

/* 订单详情弹窗 */
.order-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.btn-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-close:hover {
  background: #e9ecef;
}

.btn-close i {
  font-size: 18px;
  color: var(--text-gray);
}

.modal-body {
  padding: 24px;
}

.detail-section {
  margin-bottom: 24px;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-row .label {
  font-size: 14px;
  color: var(--text-gray);
  min-width: 80px;
}

.detail-row .value {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
  text-align: right;
  flex: 1;
}

.detail-row .value.price {
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-footer {
  padding: 16px 24px 24px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-pay-large, .btn-cancel-large, .btn-close-modal {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 100px;
}

.btn-pay-large {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.btn-pay-large:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-cancel-large {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
}

.btn-cancel-large:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-close-modal {
  background: #f8f9fa;
  color: var(--text-gray);
  border: 1px solid var(--border);
}

.btn-close-modal:hover {
  background: #e9ecef;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .orders-container {
    padding: 16px;
  }
  
  .orders-filters {
    flex-direction: column;
  }
  
  .search-box {
    min-width: auto;
  }
  
  .orders-stats {
    flex-direction: column;
  }
  
  .orders-stats .stat-item {
    min-width: auto;
  }
  
  .order-info {
    flex-direction: column;
    gap: 8px;
  }
  
  .order-actions {
    flex-direction: column;
  }
  
  .modal-content {
    margin: 10px;
    max-height: 95vh;
  }
  
  .modal-header, .modal-body, .modal-footer {
    padding: 16px;
  }
}

/* 更多服务卡片动画效果 */
.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-card:active {
  transform: translateY(-2px) scale(1.01);
}

/* 服务卡片图标动画 */
.service-card .icon-badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* 语言选择弹窗 */
.lang-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lang-modal {
  background: white;
  border-radius: 12px;
  padding: 24px;
  width: 80vw;
  max-width: 300px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: modalSlideIn 0.3s ease-out;
}

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

.lang-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.lang-modal-title {
  font-size: 18px;
  font-weight: bold !important;
  margin: 0;
  line-height: 1.4;
}

.lang-title-line {
  margin: 2px 0;
  font-size: 18px;
  font-weight: bold !important;
}

.lang-title-line:nth-child(2) {
  color: #ff4757 !important;
  text-shadow: 0 1px 3px rgba(255, 71, 87, 0.4);
}

.lang-title-line:not(:nth-child(2)) {
  color: #1e3a8a !important;
}

.lang-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lang-option {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: 1px solid #000000;
  background: white;
}

.lang-option:hover {
  background: #f8f9fa;
}

.lang-option.selected {
  background: #fff3f3;
  border-color: #ff4757;
  box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.lang-option img {
  width: 24px;
  height: 18px;
  margin-right: 12px;
  border-radius: 3px;
}

.lang-option span {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  flex: 1;
}

.lang-check {
  color: #ff4757;
  font-size: 18px;
  font-weight: bold;
  margin-left: 8px;
}
