/* ===== 全局 ===== */
* { 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; }

/* ===== 返回按钮 ===== */
.btn-back { width: 36px; height: 36px; border: none; background: #f5f5f5; border-radius: 50%; font-size: 22px; color: #333; cursor: pointer; display: flex; align-items: center; justify-content: center; }


/* ===== 钱包页 ===== */
.wallet-page { min-height: 100vh; background: #f8f8f8; }
.wallet-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-bottom: 1px solid #eee; }
.wallet-header span { font-size: 17px; font-weight: 600; }
.wallet-balance-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); margin: 16px; border-radius: 16px; padding: 24px; color: #fff; }
.wb-row { display: flex; justify-content: space-between; margin-bottom: 20px; }
.wb-item { flex: 1; text-align: center; }
.wb-label { font-size: 13px; opacity: 0.85; margin-bottom: 8px; }
.wb-value { font-size: 24px; font-weight: 600; }
.btn-recharge { width: 100%; padding: 14px; background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 24px; font-size: 15px; font-weight: 500; margin-top: 8px; cursor: pointer; }
.btn-recharge:active { background: rgba(255,255,255,0.3); }
.wallet-actions { background: #fff; margin: 0 16px; border-radius: 12px; overflow: hidden; }
.wa-item { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f5f5f5; }
.wa-item:last-child { border-bottom: none; }
.wa-icon { margin-right: 12px; font-size: 20px; }
.wa-item span:nth-child(2) { flex: 1; font-size: 15px; color: #333; }
.wa-item span:last-child { color: #ccc; font-size: 18px; }
.wallet-records { background: #fff; margin: 16px; border-radius: 12px; padding: 16px; }
.wr-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 12px; }
.wr-list { min-height: 100px; }
.wr-empty { text-align: center; color: #999; padding: 32px 0; font-size: 14px; }
.wr-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.wr-item:last-child { border-bottom: none; }
.wr-item-info { display: flex; flex-direction: column; }
.wr-item-title { font-size: 14px; color: #333; }
.wr-item-time { font-size: 12px; color: #999; margin-top: 4px; }
.wr-item-amount { font-size: 16px; font-weight: 500; }
.wr-item-amount.income { color: #07c160; }
.wr-item-amount.expense { color: #fa5151; }

/* ===== 设置页 ===== */
.settings-page { min-height: 100vh; background: #f8f8f8; padding-bottom: 80px; }
.settings-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-bottom: 1px solid #eee; }
.settings-header span { font-size: 17px; font-weight: 600; }
.settings-list { padding: 16px; }
.setting-group { background: #fff; border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.setting-group-title { font-size: 13px; color: #999; padding: 12px 16px 8px; background: #f8f8f8; }
.setting-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #f5f5f5; }
.setting-item:last-child { border-bottom: none; }
.setting-item span:first-child { font-size: 15px; color: #333; }
.setting-item span:last-child { font-size: 14px; color: #666; }
.setting-select { padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; background: #fff; }
.toggle { position: relative; width: 50px; height: 30px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .3s; border-radius: 30px; }
.toggle-slider:before { position: absolute; content: ""; height: 24px; width: 24px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; }
.toggle input:checked + .toggle-slider { background-color: #4a6cf7; }
.toggle input:checked + .toggle-slider:before { transform: translateX(20px); }
.btn-logout { width: calc(100% - 32px); margin: 24px 16px; padding: 14px; background: #fa5151; color: #fff; border: none; border-radius: 12px; font-size: 16px; cursor: pointer; }
.btn-logout:active { opacity: 0.9; }

/* ===== 地址管理页 ===== */
.addresses-page { min-height: 100vh; background: #f8f8f8; }
.addresses-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-bottom: 1px solid #eee; }
.addresses-header span { font-size: 17px; font-weight: 600; }
.btn-add { padding: 6px 12px; background: #4a6cf7; color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; }
.address-list { padding: 16px; }
.addr-empty { text-align: center; color: #999; padding: 48px 0; font-size: 14px; }
.addr-item { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; position: relative; }
.addr-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.addr-name { font-size: 16px; font-weight: 500; color: #333; }
.addr-tag { padding: 2px 8px; background: #e8f4ff; color: #4a6cf7; font-size: 12px; border-radius: 4px; }
.addr-detail { font-size: 14px; color: #666; line-height: 1.5; }
.addr-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f5f5f5; }
.addr-btn { padding: 6px 14px; font-size: 13px; border: 1px solid #ddd; border-radius: 6px; background: #fff; cursor: pointer; }
.addr-btn.delete { color: #fa5151; border-color: #fa5151; }

/* ===== 优惠券页 ===== */
.coupons-page { min-height: 100vh; background: #f8f8f8; }
.coupons-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-bottom: 1px solid #eee; }
.coupons-header span { font-size: 17px; font-weight: 600; }
.coupon-tabs { display: flex; background: #fff; padding: 0 16px; border-bottom: 1px solid #eee; }
.coupon-tab { flex: 1; text-align: center; padding: 14px 0; font-size: 14px; color: #666; border-bottom: 2px solid transparent; }
.coupon-tab.active { color: #4a6cf7; border-bottom-color: #4a6cf7; font-weight: 500; }
.coupon-list { padding: 16px; }
.coupon-empty { text-align: center; color: #999; padding: 48px 0; font-size: 14px; }
.coupon-item { background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; display: flex; }
.coupon-left { width: 100px; background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.coupon-amount { font-size: 28px; font-weight: 600; }
.coupon-unit { font-size: 14px; }
.coupon-right { flex: 1; padding: 14px; }
.coupon-title { font-size: 15px; font-weight: 500; color: #333; margin-bottom: 6px; }
.coupon-desc { font-size: 12px; color: #999; margin-bottom: 8px; }
.coupon-expire { font-size: 12px; color: #ff8e53; }
.coupon-item.used .coupon-left, .coupon-item.expired .coupon-left { background: #ccc; }
.coupon-item.used .coupon-expire, .coupon-item.expired .coupon-expire { color: #999; }

/* ===== 订单详情页 ===== */
.order-detail-page { min-height: 100vh; background: #f8f8f8; padding-bottom: 80px; }
.od-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-bottom: 1px solid #eee; }
.od-header span { font-size: 17px; font-weight: 600; }
.od-status-bar { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 24px 20px; color: #fff; }
.od-status-text { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.od-status-desc { font-size: 14px; opacity: 0.85; }
.od-route { background: #fff; margin: 16px; border-radius: 12px; padding: 20px; }
.od-route-item { display: flex; align-items: flex-start; padding-bottom: 16px; }
.od-route-item:last-child { padding-bottom: 0; }
.od-dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 14px; margin-top: 4px; }
.od-dot.start { background: #07c160; }
.od-dot.end { background: #fa5151; }
.od-route-info { flex: 1; }
.od-route-label { font-size: 12px; color: #999; margin-bottom: 4px; }
.od-route-addr { font-size: 15px; color: #333; font-weight: 500; }
.od-info-card { background: #fff; margin: 0 16px 16px; border-radius: 12px; padding: 16px; }
.od-info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.od-info-row:last-child { border-bottom: none; }
.od-info-row span:first-child { color: #999; font-size: 14px; }
.od-info-row span:last-child { color: #333; font-size: 14px; }
.od-driver-card { background: #fff; margin: 0 16px 16px; border-radius: 12px; padding: 16px; }
.od-driver-info { display: flex; align-items: center; margin-bottom: 12px; }
.od-driver-avatar { width: 48px; height: 48px; border-radius: 50%; background: #e8f4ff; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-right: 12px; }
.od-driver-detail { flex: 1; }
.od-driver-name { font-size: 16px; font-weight: 500; color: #333; margin-bottom: 4px; }
.od-driver-car { font-size: 13px; color: #666; }
.od-driver-rating { font-size: 14px; color: #fa5151; }
.od-driver-actions { display: flex; gap: 12px; }
.od-btn-call { flex: 1; padding: 12px; background: #4a6cf7; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; }
.od-price-card { background: #fff; margin: 0 16px 16px; border-radius: 12px; padding: 16px; }
.od-price-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f5f5f5; }
.od-price-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #666; }
.od-price-row.total { border-top: 1px solid #f5f5f5; margin-top: 8px; padding-top: 12px; font-size: 16px; color: #333; font-weight: 600; }
.od-price-row.total span:last-child { color: #fa5151; }
.od-actions { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 16px; border-top: 1px solid #eee; display: flex; gap: 12px; }
.od-btn-cancel { flex: 1; padding: 14px; background: #fff; color: #666; border: 1px solid #ddd; border-radius: 24px; font-size: 15px; cursor: pointer; }
.od-btn-pay { flex: 1; padding: 14px; background: #4a6cf7; color: #fff; border: none; border-radius: 24px; font-size: 15px; cursor: pointer; }

/* ===== 登录页 ===== */
.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; }
.btn-secondary { width: 100%; padding: 14px; background: #f5f5f5; color: #666; border: none; border-radius: 24px; font-size: 15px; cursor: pointer; }

/* ===== 首页 ===== */
.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; z-index: 1000; }
.map-marker-center { display: none; }

.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: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.addr-icon.start { background: linear-gradient(135deg, #43a047, #66bb6a); }
.addr-icon.end { background: linear-gradient(135deg, #e53935, #ff7043); }
.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-wrapper { position: relative; margin-bottom: 16px; }
.mode-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mode-tab { text-align: center; padding: 10px 4px; border-radius: 14px; background: #f5f5f5; cursor: pointer; transition: all 0.25s ease; display: flex; flex-direction: column; align-items: center; gap: 4px; user-select: none; -webkit-user-select: none; }
.mode-tab:active { transform: scale(0.95); }
.mode-tab.active { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; box-shadow: 0 4px 12px rgba(102,126,234,0.35); }
.mode-tab.active .mode-icon svg { stroke: #fff; }
.mode-tab.active .mode-icon .mode-emoji { filter: brightness(10); }
.mode-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.mode-icon svg { stroke: #9e9e9e; transition: stroke 0.25s; width: 30px; height: 30px; }
.mode-icon .mode-emoji { font-size: 26px; line-height: 1; }
.mode-tab span:last-child { font-size: 12px; white-space: nowrap; letter-spacing: 0.5px; font-weight: 600; }
.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, .package-box, .metered-box, .pickup-box, .proxy-box, .carpool-box { background: #f8f9fa; padding: 16px; border-radius: 10px; }
.res-row, .pickup-row, .pkg-time { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.res-row span, .pickup-row span { font-size: 14px; }
.res-row input, .pickup-row input { border: 1px solid #ddd; border-radius: 8px; padding: 10px; font-size: 14px; }
.res-info, .pickup-info, .proxy-info { background: #fff; padding: 12px; border-radius: 8px; }
.res-title, .pickup-title, .proxy-title { font-weight: 600; margin-bottom: 8px; }
.res-detail, .pickup-detail { font-size: 18px; color: #FF6B35; font-weight: 600; margin-bottom: 4px; }
.res-tip, .pickup-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, .pkg-notice { margin-top: 10px; padding: 10px; background: #FFF8F0; border-radius: 8px; border: 1px solid #FFE0B2; font-size: 12px; color: #E65100; }

.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; }

.metered-title, .carpool-title { font-weight: 600; margin-bottom: 8px; }
.metered-price, .carpool-price { font-size: 24px; color: #FF6B35; font-weight: 600; margin-bottom: 8px; }
.metered-detail, .carpool-detail { font-size: 12px; color: #666; line-height: 1.8; }
.metered-detail div, .carpool-detail div { padding: 2px 0; }

.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; }

.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-detail { font-size: 13px; color: #666; margin-bottom: 4px; }

.carpool-types { display: flex; gap: 8px; margin-bottom: 12px; }
.carpool-type { flex: 1; text-align: center; padding: 12px; background: #fff; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.carpool-type.active { border-color: #FF6B35; }

.proxy-assign-section { margin-top: 16px; padding: 14px; background: #f5f5f5; border-radius: 10px; }
.proxy-assign-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 10px; }
.proxy-assign-row { display: flex; align-items: center; }
.proxy-assign-tip { font-size: 12px; color: #999; margin-top: 8px; }

/* 人数选择 */
.pax-section { background: #fff; margin: 16px; border-radius: 12px; padding: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.pax-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.pax-row { display: flex; gap: 20px; }
.pax-group { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.pax-label { font-size: 14px; color: #333; white-space: nowrap; }
.pax-counter { display: flex; align-items: center; gap: 0; background: #f5f5f5; border-radius: 22px; overflow: hidden; }
.pax-btn { width: 36px; height: 36px; border: none; background: transparent; font-size: 20px; color: #667eea; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; user-select: none; -webkit-user-select: none; }
.pax-btn:active { background: #667eea; color: #fff; transform: scale(0.9); }
.pax-btn:disabled { color: #ccc; cursor: not-allowed; }
.pax-num { min-width: 28px; text-align: center; font-size: 18px; font-weight: 700; color: #333; }
.pax-recommend { margin-top: 12px; padding: 10px 14px; background: linear-gradient(135deg, #f0f2ff, #f8f0ff); border-radius: 10px; font-size: 13px; color: #555; line-height: 1.6; display: flex; align-items: flex-start; gap: 8px; animation: fadeIn 0.3s; }
.pax-recommend::before { content: '💡'; flex-shrink: 0; }
.car-recommend-tag { display: inline-block; font-size: 11px; font-weight: 500; color: #667eea; background: #f0f2ff; padding: 2px 8px; border-radius: 10px; margin-left: 6px; vertical-align: middle; }

/* 车型选择 */
.car-section { margin-top: 16px; }
.car-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }

/* 第一步：座型选择 */
.seat-category { display: flex; gap: 12px; }
.seat-cat-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; background: #f8f9fa; border-radius: 14px; cursor: pointer; border: 2.5px solid transparent; transition: all 0.25s ease; text-align: center; user-select: none; -webkit-user-select: none; position: relative; }
.seat-cat-item:active { transform: scale(0.97); }
.seat-cat-item.active { border-color: #667eea; background: #f0f2ff; box-shadow: 0 2px 12px rgba(102,126,234,0.2); }
.seat-cat-item.recommended { border-color: #4caf50; border-style: dashed; }
.seat-cat-item.recommended.active { border-style: solid; }
.seat-cat-icon { font-size: 36px; line-height: 1; }
.seat-cat-name { font-size: 15px; font-weight: 700; color: #1a1a2e; }
.seat-cat-desc { font-size: 11px; color: #888; margin-top: 2px; }
.seat-cat-badge { position: absolute; top: -6px; right: -6px; background: linear-gradient(135deg, #4caf50, #66bb6a); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 8px; z-index: 1; }

/* 第二步：级别选择 */
.car-level-panel { margin-top: 12px; }
.car-level-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.car-level-back { background: none; border: none; font-size: 14px; color: #667eea; cursor: pointer; padding: 4px 8px; font-weight: 600; }
.car-level-back:active { opacity: 0.6; }
.car-level-title { font-size: 14px; font-weight: 600; color: #333; }
.car-level-list { display: flex; gap: 10px; }
.car-level-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; background: #f8f9fa; border-radius: 12px; cursor: pointer; border: 2px solid transparent; transition: all 0.25s ease; text-align: center; user-select: none; -webkit-user-select: none; position: relative; }
.car-level-item:active { transform: scale(0.97); }
.car-level-item.active { border-color: #667eea; background: #f0f2ff; box-shadow: 0 2px 8px rgba(102,126,234,0.2); }
.car-level-item.recommended { border-color: #4caf50; border-style: dashed; }
.car-level-item.recommended.active { border-style: solid; }
.car-level-icon { font-size: 28px; line-height: 1; }
.car-level-name { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.car-level-desc { font-size: 10px; color: #888; }
.car-level-price { font-size: 16px; font-weight: 800; color: #667eea; margin-top: 2px; }
.car-level-badge { position: absolute; top: -6px; right: -6px; background: linear-gradient(135deg, #4caf50, #66bb6a); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 8px; z-index: 1; }
.car-list-wrapper { position: relative; }
.car-list { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.car-group { }
.car-group-label { font-size: 12px; font-weight: 700; margin-bottom: 6px; padding-left: 4px; display: flex; align-items: center; gap: 4px; }
.car-group-items { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.car-group-items::-webkit-scrollbar { display: none; }
.car-group-items::after { content: ''; flex-shrink: 0; width: 1px; }
.car-item { flex-shrink: 0; width: 110px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; background: #f8f9fa; border-radius: 12px; cursor: pointer; border: 2px solid transparent; transition: all 0.25s ease; text-align: center; scroll-snap-align: start; user-select: none; -webkit-user-select: none; position: relative; }
.car-item.active { border-color: #667eea; background: #f0f2ff; box-shadow: 0 2px 8px rgba(102,126,234,0.2); }
.car-item:active { transform: scale(0.96); }
.car-item.recommended { border-color: #4caf50; border-style: dashed; }
.car-item.recommended.active { border-style: solid; }
.car-badge { position: absolute; top: -6px; right: -6px; background: linear-gradient(135deg, #4caf50, #66bb6a); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 8px; z-index: 1; }
.car-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #eef0ff; border-radius: 12px; transition: background 0.25s; }
.car-item.active .car-icon { background: #667eea; }
.car-item.active .car-icon svg { stroke: #fff; }
.car-info { width: 100%; }
.car-name { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.car-desc { font-size: 10px; color: #999; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* 车型滚动指示器 */
.car-list-wrapper::after { content: ''; position: absolute; top: 0; right: 0; bottom: 4px; width: 36px; background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.95)); pointer-events: none; z-index: 1; transition: opacity 0.3s; display: none; }
.car-list-wrapper.scrolled-end::after { opacity: 0; }
.car-list-wrapper::before { content: ''; position: absolute; top: 0; left: 0; bottom: 4px; width: 36px; background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.95)); pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.3s; display: none; }
.car-list-wrapper.scrolled-start::before { opacity: 1; }
.car-rate { font-size: 10px; color: #667eea; margin-top: 2px; }
.car-price { font-size: 16px; font-weight: 700; color: #667eea; }

/* 增值服务 */
.addon-section { margin-top: 16px; }
.addon-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }

/* 快捷地址 */
.quick-btns { display: flex; gap: 12px; padding: 12px 16px; }
.quick-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; background: #f8f9fa; border-radius: 12px; cursor: pointer; transition: all 0.2s; }
.quick-btn:active { transform: scale(0.95); background: #e8eaf6; }
.quick-btn span:first-child { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #eef0ff; border-radius: 8px; }
.quick-btn span:last-child { font-size: 12px; color: #666; }
.addon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.addon-item { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #f8f9fa; border-radius: 8px; cursor: pointer; font-size: 12px; transition: background 0.2s; }
.addon-item:active { background: #e8eaf6; }
.addon-item input { width: 16px; height: 16px; accent-color: #667eea; flex-shrink: 0; }
.addon-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 22px; height: 22px; }
.addon-item span:last-child { font-size: 12px; line-height: 1.3; }

/* 确认按钮 */
.btn-confirm { width: 100%; margin-top: 8px; padding: 16px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 15px rgba(102,126,234,0.35); }
.btn-confirm:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.45); }
.btn-confirm:active { transform: scale(0.98); }
/* 下单摘要栏 */
.order-summary { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 4px 0; margin-top: 12px; border-top: 1px solid #f0f0f0; }
.os-price { font-size: 22px; font-weight: 700; color: #FF6B35; }
.os-meta { font-size: 13px; color: #999; }

/* 匹配等待页 */
.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: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-dot.start { background: linear-gradient(135deg, #43a047, #66bb6a); }
.info-dot.end { background: linear-gradient(135deg, #e53935, #ff7043); }
.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; }
.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; cursor: pointer; }
.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; cursor: pointer; }
.mine-name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.mine-phone { font-size: 13px; opacity: 0.8; }
.mine-credit { font-size: 12px; opacity: 0.7; margin-top: 4px; }
.mine-stats { display: flex; gap: 8px; margin-bottom: 16px; }
.stat-item { flex: 1; background: #fff; padding: 16px; border-radius: 12px; text-align: center; cursor: pointer; }
.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 .mi-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.menu-item span:nth-child(2) { flex: 1; }
.menu-item span:last-child { color: #ccc; }
.mine-footer { margin-top: 16px; text-align: center; }
.mine-info { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: #999; margin-bottom: 8px; }
.divider { color: #ddd; }
.mine-version { font-size: 12px; color: #ccc; margin-top: 8px; }
.badge { background: #ff4444; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 8px; }
.tag-hot { background: #ff4444; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; margin-right: 8px; }

/* 充值页 */
.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; }
.ra-promo { font-size: 12px; color: #FF6B35; margin-top: 8px; text-align: center; padding: 8px; background: #FFF8F0; border-radius: 8px; }
.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; }

/* 取消/余额提示 */
.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; }

/* 弹窗 */
.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; }
/* 地址建议列表 */
.addr-section-title { font-size: 12px; color: #999; padding: 8px 0 4px; border-top: 1px solid #f0f0f0; margin-top: 4px; }
.addr-quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 4px 0; }
.addr-suggest-item { display: flex; align-items: center; padding: 10px 6px; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: background .15s; }
.addr-suggest-item:hover { background: #f8f8f8; }
.addr-suggest-item:active { background: #f0f0f0; }
.asi-icon { width: 32px; height: 32px; border-radius: 8px; background: #f0f4ff; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; margin-right: 10px; }
.asi-info { flex: 1; min-width: 0; }
.asi-name { font-size: 14px; color: #333; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asi-addr { font-size: 12px; color: #999; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 加载动画 */
.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, .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, .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; }
.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; }

/* === Mobile Safe Area & PWA Support === */
@supports (padding: env(safe-area-inset-bottom)) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }
  .page {
    padding-top: env(safe-area-inset-top);
  }
  .btn-pay, .btn-confirm, .btn-recharge, .btn-submit {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* 拼车匹配进度 */
.carpool-matching { padding: 0 20px; margin: 10px 0; }
.carpool-progress-bar { height: 6px; background: #e0e0e0; border-radius: 3px; overflow: hidden; }
.carpool-progress-fill { height: 100%; background: linear-gradient(90deg, #667eea, #764ba2); border-radius: 3px; transition: width 0.5s ease; }
.carpool-progress-info { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: #888; }
.carpool-progress-info span:first-child { color: #667eea; font-weight: 600; }

/* 拼车详情页 */
.carpool-detail { padding: 16px; }
.cd-status { text-align: center; padding: 20px 0; }
.cd-status-icon { font-size: 48px; margin-bottom: 8px; }
.cd-status-text { font-size: 15px; color: #555; }
.cd-match-info { background: #f7f7fb; border-radius: 12px; padding: 14px; margin-bottom: 16px; }
.cd-match-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.cd-label { font-size: 13px; color: #888; }
.cd-value { font-size: 13px; color: #333; font-weight: 600; }
.cd-match-progress { height: 6px; background: #e0e0e0; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.cd-progress-bar { height: 100%; background: linear-gradient(90deg, #ff6b35, #ff9a56); border-radius: 3px; transition: width 0.5s; }
.cd-passengers { margin-bottom: 16px; }
.cd-pax-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 10px; margin-bottom: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.cd-pax-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 600; }
.cd-pax-info { flex: 1; }
.cd-pax-name { font-size: 14px; color: #333; }
.cd-pax-route { font-size: 12px; color: #888; }
.cd-route { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.cd-from, .cd-to { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #333; padding: 4px 0; }
.cd-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cd-dot-from { background: #4caf50; }
.cd-dot-to { background: #ff6b35; }
.cd-line { width: 2px; height: 20px; background: #e0e0e0; margin-left: 4px; }
.cd-price-info { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.cd-price-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #555; }
.cd-price-total { border-top: 1px solid #eee; margin-top: 6px; padding-top: 10px; font-weight: 600; color: #ff6b35; }
.cd-actions { text-align: center; }
.cd-actions .btn-cancel { padding: 12px 40px; background: #fff; color: #ff6b35; border: 1px solid #ff6b35; border-radius: 20px; font-size: 14px; cursor: pointer; }

/* ===== 投诉与申诉页 ===== */
.complaint-type-btn { padding: 8px 14px; border: 1px solid #e0e0e0; border-radius: 20px; background: white; font-size: 13px; color: #333; cursor: pointer; transition: all 0.2s; }
.complaint-type-btn.active { border-color: #667eea; background: #f0f3ff; color: #667eea; }
.complaint-type-btn:active { transform: scale(0.95); }
.complaint-list-item, .appeal-list-item { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.cli-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cli-type { font-size: 14px; font-weight: 600; color: #333; }
.cli-status { font-size: 12px; padding: 3px 10px; border-radius: 12px; font-weight: 500; }
.cli-status.pending { background: #fff8e6; color: #f5a623; }
.cli-status.processing { background: #e6f7ff; color: #1890ff; }
.cli-status.resolved { background: #e6fffb; color: #13c2c2; }
.cli-status.rejected { background: #fff1f0; color: #ff4d4f; }
.cli-order { font-size: 12px; color: #999; margin-bottom: 6px; }
.cli-content { font-size: 13px; color: #555; line-height: 1.5; margin-bottom: 6px; }
.cli-time { font-size: 12px; color: #bbb; }
.cli-reply { background: #f9f9f9; border-radius: 8px; padding: 10px; margin-top: 8px; font-size: 13px; color: #666; }
.cli-reply-label { font-size: 12px; color: #1890ff; margin-bottom: 4px; font-weight: 500; }

/* ===== 发票页 ===== */
.invoice-list-item { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.ili-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ili-title { font-size: 14px; font-weight: 600; color: #333; }
.ili-amount { font-size: 16px; font-weight: 600; color: #ff6b35; }
.ili-info { display: flex; flex-direction: column; gap: 4px; }
.ili-row { display: flex; justify-content: space-between; font-size: 13px; color: #666; }
.ili-status { font-size: 12px; padding: 3px 10px; border-radius: 12px; font-weight: 500; }
.ili-status.pending { background: #fff8e6; color: #f5a623; }
.ili-status.issued { background: #e6fffb; color: #13c2c2; }
.ili-status.failed { background: #fff1f0; color: #ff4d4f; }
.invoice-company-fields { margin-top: 12px; padding: 14px; background: #f9f9f9; border-radius: 10px; }
.ili-actions { display: flex; gap: 10px; margin-top: 10px; }
.ili-actions button { flex: 1; padding: 10px; border-radius: 8px; font-size: 13px; cursor: pointer; border: none; }
.ili-actions .btn-download { background: #667eea; color: #fff; }
.ili-actions .btn-view { background: #f0f3ff; color: #667eea; border: 1px solid #667eea; }

/* ===== 收藏与拉黑 ===== */
.fav-list-item { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); display: flex; align-items: center; }
.fli-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 600; margin-right: 12px; flex-shrink: 0; }
.fli-info { flex: 1; }
.fli-name { font-size: 15px; font-weight: 600; color: #333; }
.fli-car { font-size: 12px; color: #888; margin-top: 3px; }
.fli-stats { font-size: 12px; color: #666; margin-top: 3px; }
.fli-actions { display: flex; gap: 8px; flex-shrink: 0; }
.fli-btn { padding: 6px 14px; border-radius: 16px; font-size: 12px; cursor: pointer; border: 1px solid #e0e0e0; background: #fff; color: #333; transition: all 0.2s; }
.fli-btn:active { transform: scale(0.95); }
.fli-btn.btn-remove { color: #ff4d4f; border-color: #ffccc7; }
.fli-btn.btn-remove:active { background: #fff1f0; }

/* ===== 信用分页 ===== */
.credit-page { padding: 16px; }
.credit-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 16px; padding: 24px; color: #fff; text-align: center; margin-bottom: 16px; }
.credit-score-value { font-size: 48px; font-weight: 700; }
.credit-score-label { font-size: 14px; opacity: 0.85; margin-top: 4px; }
.credit-level { display: inline-block; padding: 4px 14px; border-radius: 12px; background: rgba(255,255,255,0.2); font-size: 13px; margin-top: 8px; }
.credit-detail-card { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.cdc-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 12px; }
.cdc-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.cdc-item:last-child { border-bottom: none; }
.cdc-label { color: #888; }
.cdc-value { color: #333; font-weight: 500; }
.credit-records { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.cr-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.cr-item:last-child { border-bottom: none; }
.cr-icon { font-size: 20px; margin-right: 12px; }
.cr-info { flex: 1; }
.cr-title { font-size: 14px; color: #333; }
.cr-time { font-size: 12px; color: #999; margin-top: 2px; }
.cr-change { font-size: 15px; font-weight: 600; }
.cr-change.positive { color: #07c160; }
.cr-change.negative { color: #ff4d4f; }

/* ===== 虚拟金详情 ===== */
.vgold-page { padding: 16px; }
.vgold-card { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); border-radius: 16px; padding: 24px; color: #fff; text-align: center; margin-bottom: 16px; }
.vgold-balance { font-size: 36px; font-weight: 700; }
.vgold-label { font-size: 14px; opacity: 0.85; margin-top: 4px; }
.vgold-categories { display: flex; gap: 10px; margin-bottom: 16px; }
.vgold-cat { flex: 1; background: #fff; border-radius: 12px; padding: 14px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.vgold-cat-icon { font-size: 24px; margin-bottom: 6px; }
.vgold-cat-name { font-size: 12px; color: #666; }
.vgold-cat-amount { font-size: 16px; font-weight: 600; color: #333; margin-top: 4px; }
.vgold-records { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.vgr-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.vgr-item:last-child { border-bottom: none; }
.vgr-info { flex: 1; }
.vgr-title { font-size: 14px; color: #333; }
.vgr-time { font-size: 12px; color: #999; margin-top: 2px; }
.vgr-amount { font-size: 15px; font-weight: 600; }
.vgr-amount.income { color: #07c160; }
.vgr-amount.expense { color: #ff4d4f; }

/* ===== 积分兑换 ===== */
.points-exchange { background: #fff; border-radius: 12px; padding: 16px; margin: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.pe-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 12px; }
.pe-option { display: flex; align-items: center; padding: 14px; border: 1px solid #e0e0e0; border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s; }
.pe-option:active { transform: scale(0.98); }
.pe-option.active { border-color: #667eea; background: #f0f3ff; }
.pe-option-icon { font-size: 28px; margin-right: 14px; }
.pe-option-info { flex: 1; }
.pe-option-name { font-size: 14px; font-weight: 500; color: #333; }
.pe-option-desc { font-size: 12px; color: #999; margin-top: 3px; }
.pe-option-cost { font-size: 14px; font-weight: 600; color: #ff6b35; }
.pe-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 12px; }
.pe-btn:active { opacity: 0.85; }

/* ===== SOS紧急求助 ===== */
.sos-page { padding: 16px; text-align: center; }
.sos-btn { width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, #ff4d4f, #ff7875); border: none; color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(255,77,79,0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 24px auto; transition: transform 0.2s; }
.sos-btn:active { transform: scale(0.92); }
.sos-btn-icon { font-size: 36px; margin-bottom: 6px; }
.sos-btn-text { font-size: 16px; }
.sos-contacts { background: #fff; border-radius: 12px; padding: 16px; margin-top: 20px; text-align: left; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.sos-contacts-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 12px; }
.sos-contact-item { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.sos-contact-item:last-child { border-bottom: none; }
.sos-contact-name { font-size: 14px; color: #333; margin-left: 10px; }
.sos-contact-phone { font-size: 13px; color: #999; margin-left: auto; }
.sos-history { background: #fff; border-radius: 12px; padding: 16px; margin-top: 16px; text-align: left; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.sos-history-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 12px; }
.sos-empty { text-align: center; color: #999; padding: 20px; font-size: 13px; }

/* ========== POI搜索结果 ========== */
.poi-item { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: background 0.15s; }
.poi-item:hover { background: #f5f7ff; }
.poi-item:active { background: #e8ecff; }
.poi-title { font-size: 15px; color: #333; font-weight: 500; line-height: 1.4; }
.poi-addr { font-size: 12px; color: #999; margin-top: 3px; line-height: 1.3; }
.modal-results { -webkit-overflow-scrolling: touch; }
.modal-results:empty::before { content: '输入关键词搜索地点'; display: block; text-align: center; padding: 30px; color: #ccc; font-size: 13px; }

/* ===== 2合1角色选择弹窗 ===== */
#role-select-modal { display:flex; align-items:flex-end; }
#role-select-modal > div { animation: slideUp .3s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
#role-card-passenger:hover, #role-card-driver:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
#role-card-passenger.selected { border-color: #667eea; background: #f5f6ff; }
#role-card-driver.selected { border-color: #f5576c; background: #fff5f5; }
