/* 全局 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #f5f5f5;
  max-width: 430px;
  margin: 0 auto;
  font-size: 14px;
  color: #333;
}
.page { display: none; min-height: 100vh; background: #f5f5f5; }
.page.active { display: block; }

/* 登录页 */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #FF6B35 0%, #f7931e 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 30px;
}
.login-bg { text-align: center; margin-top: 40px; }
.login-logo { font-size: 80px; margin-bottom: 20px; }
.login-bg h1 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.login-bg p { color: rgba(255,255,255,0.8); font-size: 14px; }
.login-form { background: #fff; border-radius: 16px; padding: 24px; }
.login-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid #eee; }
.login-tab { flex: 1; text-align: center; padding: 12px; cursor: pointer; color: #999; position: relative; }
.login-tab.active { color: #FF6B35; }
.login-tab.active::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2px; background: #FF6B35; }
.login-panel { animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.form-group { margin-bottom: 16px; }
.form-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.3s;
}
.form-group input:focus { outline: none; border-color: #FF6B35; }
.code-group { display: flex; gap: 10px; }
.code-group input { flex: 1; }
.btn-code {
  padding: 14px 20px;
  background: #FF6B35;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-code:disabled { background: #ccc; }

.agree-label { display: flex; flex-wrap: wrap; align-items: center; font-size: 12px; color: #666; margin-bottom: 16px; gap: 4px; }
.agree-label input { margin-right: 4px; }
.agree-label a { color: #FF6B35; }
.btn-login {
  width: 100%;
  background: linear-gradient(135deg, #FF6B35, #f7931e);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 14px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn-login:hover { transform: translateY(-2px); }
.login-tip { text-align: center; font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 12px; }

/* 首页 */
.home-header {
  background: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header-user { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.user-avatar-sm { width: 32px; height: 32px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.user-name-sm { font-size: 13px; color: #666; }
.header-title { font-size: 16px; font-weight: 600; }
.btn-quit { background: none; border: none; color: #999; font-size: 13px; cursor: pointer; }

.home-map { height: 60vh; background: #e8e8e8; position: relative; }
.map-mock {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f2 100%);
  position: relative;
}
.map-marker { font-size: 40px; margin-bottom: 8px; }
.map-tip { color: #999; font-size: 13px; }
.map-locate {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
}

.address-panel {
  background: #fff;
  padding: 16px;
  margin: -20px 16px 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
}
.address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}
.address-row:last-child { border-bottom: none; }
.addr-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.addr-icon.start { background: #4CAF50; color: #fff; }
.addr-icon.end { background: #FF6B35; color: #fff; }
.address-row input { flex: 1; border: none; font-size: 15px; background: none; }
.address-row input::placeholder { color: #999; }
.address-arrow { color: #ccc; font-size: 18px; }

.mode-panel {
  background: #fff;
  margin: 16px;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.mode-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.mode-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; }
.mode-tab {
  flex: 1;
  min-width: 60px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  background: #f5f5f5;
  cursor: pointer;
  transition: all 0.3s;
}
.mode-tab.active { background: linear-gradient(135deg, #FF6B35, #f7931e); color: #fff; }
.mode-icon { display: block; font-size: 24px; margin-bottom: 4px; }
.mode-tab span:last-child { font-size: 12px; }

.mode-content { animation: fadeIn 0.3s; }

/* 一口价 */
.price-range-box { background: #fff8f5; padding: 16px; border-radius: 10px; }
.range-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.range-tip { font-size: 12px; color: #999; margin-bottom: 12px; }
.range-inputs { display: flex; align-items: center; gap: 12px; }
.range-item { flex: 1; display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 0 12px; border: 1px solid #eee; }
.range-item span { color: #999; margin-right: 4px; }
.range-item input { flex: 1; border: none; padding: 12px 0; font-size: 16px; }
.range-line { color: #999; }
.range-hint { font-size: 12px; color: #FF6B35; margin-top: 8px; }
.range-quick { margin-top: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rq-label { font-size: 12px; color: #999; }
.rq-btn { padding: 4px 10px; border-radius: 14px; border: 1px solid #ddd; background: #fff; font-size: 12px; color: #666; cursor: pointer; }
.rq-btn.active { border-color: #FF6B35; background: #FFF5F0; color: #FF6B35; font-weight: 600; }
.range-input-wrap { display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 8px; }
.range-input-wrap input { border: none; outline: none; width: 80px; font-size: 16px; }
.range-item label { font-size: 11px; color: #999; margin-bottom: 4px; display: block; }

/* 预约单 */
.reservation-box { background: #f8f9fa; padding: 16px; border-radius: 10px; }
.res-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.res-row span { font-size: 14px; }
.res-row input { border: 1px solid #ddd; border-radius: 8px; padding: 10px; font-size: 14px; }
.res-info { background: #fff; padding: 12px; border-radius: 8px; }
.res-title { font-weight: 600; margin-bottom: 8px; }
.res-detail { font-size: 18px; color: #FF6B35; font-weight: 600; margin-bottom: 4px; }
.res-tip { font-size: 12px; color: #999; }
.res-wait { font-size: 12px; color: #FF6B35; margin-top: 8px; }
.res-switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.res-switch input { width: 18px; height: 18px; accent-color: #FF6B35; }
.res-switch span { font-size: 13px; color: #666; }
.res-notice { margin-top: 10px; padding: 10px; background: #FFF8F0; border-radius: 8px; border: 1px solid #FFE0B2; font-size: 12px; color: #E65100; }

/* 包车 */
.package-box { background: #f8f9fa; padding: 16px; border-radius: 10px; }
.pkg-options { display: flex; gap: 8px; margin-bottom: 12px; }
.pkg-option { flex: 1; text-align: center; padding: 12px 8px; background: #fff; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.pkg-option.active { border-color: #FF6B35; }
.pkg-name { font-size: 12px; color: #666; margin-bottom: 4px; }
.pkg-price { font-size: 20px; font-weight: 600; color: #FF6B35; }
.pkg-detail { font-size: 11px; color: #999; }
.pkg-tip { font-size: 12px; color: #999; margin-top: 12px; }
.pkg-notice { margin-top: 8px; padding: 10px; background: #FFF8F0; border-radius: 8px; border: 1px solid #FFE0B2; font-size: 12px; color: #E65100; }
.ra-promo { font-size: 12px; color: #FF6B35; margin-top: 8px; text-align: center; padding: 8px; background: #FFF8F0; border-radius: 8px; }
.pkg-time { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 12px; background: #fff; border-radius: 8px; }
.pkg-time span { font-size: 14px; font-weight: 500; }
.pkg-time input { border: 1px solid #ddd; border-radius: 8px; padding: 10px; font-size: 14px; width: 60%; }

/* 打表 */
.metered-box { background: #f8f9fa; padding: 16px; border-radius: 10px; }
.metered-title { font-weight: 600; margin-bottom: 8px; }
.metered-price { font-size: 24px; color: #FF6B35; font-weight: 600; margin-bottom: 8px; }
.metered-detail { font-size: 12px; color: #666; line-height: 1.8; }
.metered-detail div { padding: 2px 0; }
.metered-tip { font-size: 12px; color: #999; margin-top: 8px; }

/* 接机 */
.pickup-box { background: #f8f9fa; padding: 16px; border-radius: 10px; }
.pickup-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pickup-row span { font-size: 14px; }
.pickup-row input { border: 1px solid #ddd; border-radius: 8px; padding: 10px; font-size: 14px; width: 60%; }
.pickup-luggage { background: #fff; padding: 12px; border-radius: 8px; margin-bottom: 12px; }
.luggage-title { font-weight: 600; margin-bottom: 8px; }
.luggage-options { display: flex; flex-direction: column; gap: 8px; }
.luggage-opt { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.luggage-opt input { width: 18px; height: 18px; }
.pickup-info { background: #fff; padding: 12px; border-radius: 8px; }
.pickup-title { font-weight: 600; margin-bottom: 8px; }
.pickup-detail { font-size: 12px; color: #666; line-height: 1.8; }

/* 车型选择 */
.car-section { margin-top: 16px; }
.car-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.car-list { display: flex; flex-direction: column; gap: 8px; }
.car-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}
.car-item.active { border-color: #FF6B35; background: #fff8f5; }
.car-icon { font-size: 32px; }
.car-info { flex: 1; }
.car-name { font-weight: 600; margin-bottom: 2px; }
.car-desc { font-size: 12px; color: #999; }
.car-rate { font-size: 12px; color: #FF6B35; }
.car-price { font-size: 18px; font-weight: 600; color: #FF6B35; }

/* 增值服务 */
.addon-section { margin-top: 16px; }
.addon-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.addon-list { display: flex; flex-direction: column; gap: 8px; }
.addon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
}
.addon-item input { width: 18px; height: 18px; accent-color: #FF6B35; }
.addon-item span { font-size: 14px; }

/* 确认按钮 */
.btn-confirm {
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #FF6B35, #f7931e);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn-confirm:hover { transform: translateY(-2px); }

/* 快捷地址 */
.quick-btns {
  display: flex;
  gap: 8px;
  padding: 16px;
  margin-top: 8px;
}
.quick-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
}
.quick-btn span:first-child { font-size: 24px; }
.quick-btn span:last-child { font-size: 12px; color: #666; }

/* 匹配等待页 */
.matching-page { padding: 20px; }
.matching-header { text-align: center; margin-bottom: 24px; }
.matching-icon { font-size: 48px; margin-bottom: 12px; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.matching-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.matching-subtitle { color: #999; }

.matching-info { background: #fff; padding: 16px; border-radius: 12px; margin-bottom: 16px; }
.info-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.info-dot { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.info-dot.start { background: #4CAF50; color: #fff; }
.info-dot.end { background: #FF6B35; color: #fff; }

.matching-price { background: #fff8f5; padding: 16px; border-radius: 12px; text-align: center; margin-bottom: 16px; }
.m-price-label { font-size: 12px; color: #999; margin-bottom: 4px; }
.m-price-value { font-size: 24px; font-weight: 600; color: #FF6B35; }

.matching-timer { text-align: center; color: #999; margin-bottom: 16px; }
.matching-timer span { color: #FF6B35; font-weight: 600; }

.matching-progress { text-align: center; margin-bottom: 20px; }
.progress-ring { position: relative; width: 120px; height: 120px; margin: 0 auto 12px; }
.progress-ring svg { transform: rotate(-90deg); }
.progress-bg { fill: none; stroke: #eee; stroke-width: 8; }
.progress-bar { fill: none; stroke: #FF6B35; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 0; transition: stroke-dashoffset 1s; }
.progress-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 20px; font-weight: 600; color: #FF6B35; }
.progress-label { font-size: 13px; color: #999; }

.bids-section { background: #fff; padding: 16px; border-radius: 12px; margin-bottom: 16px; }
.bids-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bids-count { background: #FF6B35; color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.bids-list { display: flex; flex-direction: column; gap: 8px; }
.bid-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f8f9fa; border-radius: 10px; }
.bid-driver { flex: 1; }
.bid-name { font-weight: 600; }
.bid-info { font-size: 12px; color: #999; }
.bid-price { font-size: 18px; font-weight: 600; color: #FF6B35; }
.btn-bid { padding: 8px 16px; background: #FF6B35; color: #fff; border: none; border-radius: 8px; cursor: pointer; }

.btn-cancel {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
}

.sim-section { margin-top: 20px; padding: 16px; background: #f0f8ff; border-radius: 12px; }
.sim-title { font-size: 13px; color: #666; margin-bottom: 8px; }
.sim-btns { display: flex; gap: 8px; }
.sim-btn { flex: 1; padding: 10px; background: #fff; border: 1px solid #ddd; border-radius: 8px; font-size: 13px; cursor: pointer; }

/* 司机选择页 */
.select-page { padding: 20px; }
.select-header { text-align: center; margin-bottom: 24px; }
.select-header h2 { font-size: 20px; margin-bottom: 8px; }
.select-header p { color: #999; }
.driver-list { display: flex; flex-direction: column; gap: 12px; }
.driver-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.driver-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.driver-card-avatar { width: 48px; height: 48px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.driver-card-info { flex: 1; }
.driver-card-name { font-weight: 600; margin-bottom: 2px; }
.driver-card-car { font-size: 12px; color: #999; }
.driver-card-rating { color: #FF6B35; }
.driver-card-price { font-size: 24px; font-weight: 600; color: #FF6B35; }
.driver-card-detail { font-size: 12px; color: #999; margin-top: 4px; }
.btn-select { width: 100%; padding: 12px; background: #FF6B35; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; margin-top: 12px; }

/* 行程页 */
.trip-page { padding: 20px; }
.trip-driver {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.driver-avatar { width: 56px; height: 56px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.driver-info { flex: 1; }
.driver-name { font-weight: 600; margin-bottom: 2px; }
.driver-car { font-size: 12px; color: #999; }
.driver-rating { color: #FF6B35; font-size: 13px; }
.btn-call { width: 48px; height: 48px; border-radius: 50%; background: #4CAF50; color: #fff; border: none; font-size: 20px; cursor: pointer; }

.trip-status { text-align: center; margin-bottom: 20px; }
.status-icon { font-size: 48px; margin-bottom: 8px; }
.status-text { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.status-time { font-size: 13px; color: #999; }

.trip-route { background: #fff; padding: 16px; border-radius: 12px; margin-bottom: 16px; }
.route-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.route-dot { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.route-dot.start { background: #4CAF50; color: #fff; }
.route-dot.end { background: #FF6B35; color: #fff; }

.trip-price { display: flex; justify-content: space-between; align-items: center; background: #fff8f5; padding: 16px; border-radius: 12px; margin-bottom: 16px; }
.trip-fee { font-size: 24px; font-weight: 600; color: #FF6B35; }

.trip-metered { background: #fff; padding: 16px; border-radius: 12px; margin-bottom: 16px; }
.metered-live { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.live-price { font-size: 24px; font-weight: 600; color: #FF6B35; }
.metered-detail { font-size: 12px; color: #666; }
.metered-detail div { padding: 2px 0; }

.trip-wait { background: #fff8f5; padding: 12px; border-radius: 8px; margin-bottom: 16px; }
.wait-time { font-size: 13px; color: #666; }
.wait-fee { font-size: 13px; color: #FF6B35; }

.trip-actions { display: flex; gap: 12px; margin-bottom: 16px; }
.btn-share { flex: 1; padding: 12px; background: #fff; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; cursor: pointer; }
.btn-sos { flex: 1; padding: 12px; background: #ff4444; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; }
.btn-cancel-trip { width: 100%; padding: 14px; background: #fff; color: #666; border: 1px solid #ddd; border-radius: 12px; font-size: 15px; cursor: pointer; }

.trip-service-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-service { flex: 1; padding: 12px; border-radius: 10px; border: none; cursor: pointer; text-align: center; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
#btn-continue-service { background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%); color: #fff; }
#btn-hurry-up { background: linear-gradient(135deg, #FF6B35 0%, #f7931e 100%); color: #fff; }
.btn-service-sub { font-size: 11px; opacity: 0.85; }

/* 支付页 */
.payment-page { padding: 20px; }
.payment-amount { text-align: center; margin-bottom: 24px; }
.pay-label { font-size: 14px; color: #999; margin-bottom: 8px; }
.pay-value { font-size: 48px; font-weight: 600; color: #FF6B35; }

.payment-detail { background: #fff; padding: 16px; border-radius: 12px; margin-bottom: 16px; }
.detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.detail-row:last-child { border-bottom: none; }

.payment-method { background: #fff; padding: 16px; border-radius: 12px; margin-bottom: 16px; }
.method-title { font-weight: 600; margin-bottom: 12px; }
.method-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; cursor: pointer; }
.method-item.selected { background: #fff8f5; }
.method-check { margin-left: auto; color: #FF6B35; font-weight: 600; }

.btn-pay { width: 100%; padding: 16px; background: linear-gradient(135deg, #FF6B35, #f7931e); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; }

/* 评价页 */
.evaluate-page { padding: 20px; }
.eval-driver { text-align: center; margin-bottom: 24px; }
.eval-avatar { width: 64px; height: 64px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 8px; }
.eval-name { font-weight: 600; }

.eval-rating { text-align: center; margin-bottom: 24px; }
.rating-label { margin-bottom: 12px; }
.rating-stars { font-size: 32px; cursor: pointer; }
.star { opacity: 0.3; transition: opacity 0.2s; }
.star.active { opacity: 1; }
.rating-score { margin-top: 8px; font-weight: 600; color: #FF6B35; }

.eval-tags { margin-bottom: 16px; }
.tags-label { margin-bottom: 12px; }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 16px; background: #f5f5f5; border-radius: 16px; font-size: 13px; cursor: pointer; }
.tag.active { background: #FF6B35; color: #fff; }

.eval-comment { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; resize: none; height: 100px; margin-bottom: 16px; }
.btn-submit { width: 100%; padding: 16px; background: linear-gradient(135deg, #FF6B35, #f7931e); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; }

/* 订单列表 */
.orders-page { padding: 20px; }
.orders-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.orders-header .back { font-size: 24px; cursor: pointer; }
.orders-header .title { font-size: 18px; font-weight: 600; }
.orders-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.orders-tabs .tab { flex: 1; text-align: center; padding: 10px; background: #f5f5f5; border-radius: 8px; cursor: pointer; }
.orders-tabs .tab.active { background: #FF6B35; color: #fff; }
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-item { background: #fff; padding: 16px; border-radius: 12px; }
.order-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.order-status { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: #fff8f5; color: #FF6B35; }
.order-route { font-size: 13px; color: #666; margin-bottom: 8px; }
.order-footer { display: flex; justify-content: space-between; align-items: center; }
.order-price { font-weight: 600; color: #FF6B35; }
.order-time { font-size: 12px; color: #999; }

/* 我的 */
.mine-page { padding: 20px; }
.mine-card {
  background: linear-gradient(135deg, #FF6B35, #f7931e);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}
.mine-avatar { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 8px; }
.mine-name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.mine-phone { font-size: 13px; opacity: 0.8; }

.mine-stats { display: flex; gap: 8px; margin-bottom: 16px; }
.stat-item { flex: 1; background: #fff; padding: 16px; border-radius: 12px; text-align: center; }
.stat-value { font-size: 20px; font-weight: 600; color: #FF6B35; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: #999; }

.mine-menu { display: flex; flex-direction: column; gap: 8px; }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border-radius: 12px; cursor: pointer; }
.menu-item span:first-child { font-size: 20px; }
.menu-item span:nth-child(2) { flex: 1; }
.menu-item span:last-child { color: #ccc; }

/* 弹窗 */
.modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 100; }
.modal.active { display: flex; align-items: flex-end; }
.modal-box { background: #fff; width: 100%; max-height: 80vh; border-radius: 20px 20px 0 0; padding: 20px; animation: slideUp 0.3s; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-header span:first-child { font-size: 16px; font-weight: 600; }
.modal-close { font-size: 24px; color: #999; cursor: pointer; }
.modal-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; margin-bottom: 12px; }
.modal-results { max-height: 200px; overflow-y: auto; }
.modal-quick { margin-top: 16px; }
.quick-label { font-size: 12px; color: #999; margin-bottom: 8px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.quick-chip { padding: 10px; background: #f5f5f5; border-radius: 8px; text-align: center; font-size: 13px; cursor: pointer; }

/* 代驾面板 */
.proxy-box { padding: 16px; }
.proxy-types { display: flex; gap: 8px; margin-bottom: 16px; }
.proxy-type { flex: 1; background: #fff; padding: 16px; border-radius: 12px; text-align: center; cursor: pointer; border: 2px solid transparent; }
.proxy-type.active { border-color: #FF6B35; }
.proxy-icon { font-size: 32px; margin-bottom: 8px; }
.proxy-name { font-weight: 600; margin-bottom: 4px; }
.proxy-desc { font-size: 12px; color: #999; }
.proxy-info { background: #fff; padding: 16px; border-radius: 12px; }
.proxy-title { font-weight: 600; margin-bottom: 8px; }
.proxy-detail { font-size: 13px; color: #666; margin-bottom: 4px; }

/* 取消提示 */
.cancel-notice { text-align: center; padding: 8px; margin-bottom: 8px; }
.cancel-timer { font-size: 12px; color: #FF6B35; background: #fff8f5; padding: 4px 12px; border-radius: 12px; }

/* 余额不足提示 */
.balance-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: #fff8f5;
  border-radius: 8px;
  margin-bottom: 12px;
  color: #FF6B35;
  font-size: 13px;
}
.warning-icon { font-size: 16px; }

/* 充值页 */
.recharge-page { padding: 20px; }
.recharge-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.recharge-header .back { font-size: 24px; cursor: pointer; }
.recharge-header .title { font-size: 18px; font-weight: 600; }
.recharge-balance { background: linear-gradient(135deg, #FF6B35, #f7931e); padding: 24px; border-radius: 16px; text-align: center; color: #fff; margin-bottom: 20px; }
.rb-label { font-size: 14px; opacity: 0.8; margin-bottom: 8px; }
.rb-value { font-size: 36px; font-weight: 700; }
.recharge-amount { margin-bottom: 20px; }
.ra-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.ra-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.ra-option { background: #fff; padding: 16px; border-radius: 12px; text-align: center; border: 2px solid transparent; cursor: pointer; }
.ra-option.active { border-color: #FF6B35; }
.ra-money { font-size: 20px; font-weight: 600; color: #333; margin-bottom: 4px; }
.ra-bonus { font-size: 12px; color: #FF6B35; }
.ra-custom { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px; border-radius: 12px; }
.ra-custom span { font-size: 14px; color: #666; }
.ra-custom input { flex: 1; border: none; font-size: 16px; outline: none; }
.recharge-paymethod { margin-bottom: 20px; }
.recharge-info { background: #fff; padding: 16px; border-radius: 12px; margin-bottom: 20px; }
.ri-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.ri-item:not(:last-child) { border-bottom: 1px solid #f5f5f5; }
.ri-total { font-weight: 600; color: #FF6B35; font-size: 16px; }
.btn-recharge-confirm { width: 100%; padding: 16px; background: linear-gradient(135deg, #FF6B35, #f7931e); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; }
.btn-recharge { width: 100%; padding: 16px; background: linear-gradient(135deg, #FF6B35, #f7931e); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 12px; }

/* 加载动画 */
.loading-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f5f5f5;
  border-top-color: #FF6B35;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { margin-top: 12px; color: #666; font-size: 14px; }

/* 确认弹窗 */
.confirm-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: 9998;
}
.confirm-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 80%;
  max-width: 320px;
  text-align: center;
}
.confirm-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.confirm-msg { font-size: 14px; color: #666; margin-bottom: 20px; line-height: 1.5; }
.confirm-btns { display: flex; gap: 12px; }
.confirm-btns button { flex: 1; padding: 12px; border-radius: 8px; font-size: 15px; cursor: pointer; border: none; }
.btn-cancel-modal { background: #f5f5f5; color: #666; }
.btn-confirm-modal { background: #FF6B35; color: #fff; }

/* 按钮点击效果 */
button, .menu-item, .stat-item, .ra-option, .method-item, .tag, .quick-chip, .car-item, .mode-item, .addon-item, .bid-item, .order-item {
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s, opacity 0.1s;
}
button:active, .menu-item:active, .stat-item:active, .ra-option:active, .method-item:active, .tag:active, .quick-chip:active, .car-item:active, .mode-item:active, .addon-item:active, .bid-item:active, .order-item:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* 输入框焦点效果 */
input:focus, textarea:focus {
  outline: none;
  border-color: #FF6B35 !important;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

/* 平滑滚动 */
.page { scroll-behavior: smooth; }

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-text { font-size: 14px; }

/* 骨架屏 */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Toast */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 1000;
  display: none;
}
.toast.show { display: block; }
