/* RentOS Booking：字体、字号继承主题，只定义布局和少量强调色（--rb-accent，可在设置里改） */
.rentos-booking { --rb-accent: #1e73be; --rb-line: #e3e7ee; --rb-soft: #f6f8fb; --rb-muted: #6b7280; color: inherit; font: inherit; max-width: 1100px; margin: 0 auto; }
.rentos-booking *, .rentos-booking *::before, .rentos-booking *::after { box-sizing: border-box; }
.rentos-booking .rb-search { background: #fff; border: 1px solid var(--rb-line); border-radius: 12px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(15, 23, 42, .06); }
.rentos-booking .rb-lang { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: flex-end; font-size: .82em; margin-bottom: 8px; }
.rentos-booking .rb-lang a { color: var(--rb-muted); text-decoration: none; }
.rentos-booking .rb-lang a.on { color: var(--rb-accent); font-weight: 600; }
/* 搜索框：自动换行布局（选了异地还车多一个框也不挤压日期）；选择器加 form.rb-search 提高优先级，盖过主题里写死的 grid 列宽 */
.rentos-booking form.rb-search .rb-grid { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.rentos-booking form.rb-search .rb-grid > .rb-f { flex: 1 1 200px; min-width: 0; grid-column: auto; }
.rentos-booking form.rb-search .rb-grid > .rb-time { flex: 1.4 1 290px; }
.rentos-booking form.rb-search .rb-grid > .rb-age { flex: 0 0 110px; }
.rentos-booking form.rb-search .rb-grid > .rb-go { flex: 0 1 280px; }
.rentos-booking .rb-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.rentos-booking .rb-f { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.rentos-booking .rb-f > span { font-size: .85em; color: var(--rb-muted); }
.rentos-booking .rb-wide { grid-column: 1 / -1; }
.rentos-booking input, .rentos-booking select, .rentos-booking textarea { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid #cfd6e1; border-radius: 8px; background: #fff; color: inherit; min-height: 42px; }
.rentos-booking input[type=checkbox], .rentos-booking input[type=radio] { width: auto; min-height: 0; margin: 0 8px 0 0; }
.rentos-booking input:focus, .rentos-booking select:focus, .rentos-booking textarea:focus { outline: 2px solid color-mix(in srgb, var(--rb-accent) 35%, transparent); border-color: var(--rb-accent); }
.rentos-booking .rb-dt { display: flex; gap: 6px; }
.rentos-booking .rb-dt > :first-child { flex: 1.4; }
.rentos-booking .rb-dt > :last-child { flex: 1; }
.rentos-booking .rb-cc { flex: 0 0 90px !important; }
.rentos-booking .rb-same, .rentos-booking .rb-agree { display: flex; align-items: center; font-size: .9em; margin-top: 10px; }
.rentos-booking .rb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--rb-accent); background: #fff; color: var(--rb-accent); cursor: pointer; text-decoration: none; min-height: 42px; }
.rentos-booking .rb-primary { background: var(--rb-accent); color: #fff; }
.rentos-booking .rb-primary:hover { filter: brightness(1.06); }
.rentos-booking .rb-btn:disabled { opacity: .6; cursor: wait; }
.rentos-booking .rb-big { width: 100%; padding: 14px; font-size: 1.05em; margin-top: 12px; }
.rentos-booking .rb-go .rb-btn { width: 100%; }
.rentos-booking .rb-link { background: none; border: 0; color: var(--rb-accent); cursor: pointer; padding: 0; font: inherit; margin-bottom: 10px; }
.rentos-booking .rb-body { margin-top: 18px; }
.rentos-booking .rb-loading, .rentos-booking .rb-msg { padding: 28px; text-align: center; color: var(--rb-muted); background: var(--rb-soft); border-radius: 10px; }
.rentos-booking .rb-err { color: #b42318; background: #fef3f2; }
.rentos-booking .rb-list { display: flex; flex-direction: column; gap: 12px; }
.rentos-booking .rb-card { display: grid; grid-template-columns: 200px 1fr 190px; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--rb-line); border-radius: 12px; padding: 14px; }
.rentos-booking .rb-img img { width: 100%; height: 120px; object-fit: contain; }
.rentos-booking .rb-noimg { height: 110px; background: var(--rb-soft); border-radius: 8px; }
.rentos-booking .rb-info h3 { margin: 0 0 2px; font-size: 1.1em; }
.rentos-booking .rb-model { color: var(--rb-muted); font-size: .9em; }
.rentos-booking .rb-vendor { font-size: .85em; color: var(--rb-accent); margin-top: 4px; }
.rentos-booking .rb-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rentos-booking .rb-specs span { font-size: .8em; background: var(--rb-soft); border-radius: 999px; padding: 3px 10px; }
.rentos-booking .rb-fc { color: #15803d; font-size: .85em; margin-top: 8px; }
.rentos-booking .rb-price { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.rentos-booking .rb-total { font-size: 1.45em; font-weight: 700; }
.rentos-booking .rb-sub { font-size: .82em; color: var(--rb-muted); }
.rentos-booking .rb-step { background: #fff; border: 1px solid var(--rb-line); border-radius: 12px; padding: 18px; }
.rentos-booking .rb-step h4 { margin: 18px 0 8px; font-size: 1em; }
.rentos-booking .rb-sum { background: var(--rb-soft); border-radius: 10px; padding: 12px 14px; }
.rentos-booking .rb-sum h3 { margin: 0 0 4px; font-size: 1.05em; }
.rentos-booking .rb-sum small { color: var(--rb-muted); font-weight: 400; }
.rentos-booking .rb-opt { display: flex; align-items: center; gap: 8px; padding: 9px 4px; border-bottom: 1px solid var(--rb-line); cursor: pointer; }
.rentos-booking .rb-opt select { width: 64px; min-height: 34px; padding: 4px; }
.rentos-booking .rb-on { flex: 1; }
.rentos-booking .rb-amt { color: var(--rb-muted); font-size: .9em; white-space: nowrap; }
.rentos-booking .rb-inc { margin: 0 0 6px; padding-left: 18px; color: #15803d; font-size: .9em; }
.rentos-booking .rb-bill { margin-top: 14px; background: var(--rb-soft); border-radius: 10px; padding: 10px 14px; }
.rentos-booking .rb-bill table, .rentos-booking .rb-done table { width: 100%; border-collapse: collapse; margin: 0; }
.rentos-booking .rb-bill td, .rentos-booking .rb-done td { padding: 5px 0; border: 0; font-size: .92em; }
.rentos-booking .rb-bill td:last-child, .rentos-booking .rb-done td:last-child { text-align: right; }
.rentos-booking .rb-tt td { font-weight: 700; border-top: 1px solid var(--rb-line); }
.rentos-booking .rb-errline { color: #b42318; min-height: 1.4em; margin-top: 8px; font-size: .9em; }
.rentos-booking .rb-done { background: #fff; border: 1px solid var(--rb-line); border-radius: 12px; padding: 26px; text-align: center; max-width: 620px; margin: 0 auto; }
.rentos-booking .rb-ok { width: 54px; height: 54px; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 28px; line-height: 54px; margin: 0 auto 10px; }
.rentos-booking .rb-done h2 { margin: 0 0 6px; }
.rentos-booking .rb-done p { color: var(--rb-muted); }
.rentos-booking .rb-done table { margin: 14px 0 18px; text-align: left; }
.rentos-booking .rb-done td:first-child { color: var(--rb-muted); }
@media (max-width: 760px) {
  .rentos-booking .rb-card { grid-template-columns: 1fr; text-align: left; }
  .rentos-booking .rb-price { align-items: stretch; text-align: left; }
  .rentos-booking .rb-grid2 { grid-template-columns: 1fr; }
  .rentos-booking .rb-img img { height: 150px; }
}

.rentos-orders .rb-lookup{max-width:480px;margin:0 auto}
.rentos-orders .rb-hint{font-size:13px;opacity:.75;margin:4px 0 10px}
.rentos-orders .rb-again{text-align:center;margin-top:14px}
/* 0.3.1：放在深色区块（如首页头图）里时不继承白色文字，输入框内容始终可见 */
.rentos-booking { color: #1f2937; }
.rentos-booking .rb-search, .rentos-booking .rb-step, .rentos-booking .rb-card, .rentos-booking .rb-done { color: #1f2937; }
.rentos-booking input, .rentos-booking select, .rentos-booking textarea { color: #1f2937 !important; -webkit-text-fill-color: #1f2937; background-color: #fff !important; }
.rentos-booking input::placeholder, .rentos-booking textarea::placeholder { color: #9ca3af; -webkit-text-fill-color: #9ca3af; }
.rentos-booking .rb-same, .rentos-booking .rb-agree, .rentos-booking label { color: #374151; }
.rentos-booking .rb-dt > select { min-width: 92px; }
.rentos-booking input[type=date] { min-width: 140px; }
/* ===== 0.4：Klook / 携程式预订流程 ===== */
.rentos-booking .rb-dt > select { flex: 0 0 104px !important; width: 104px !important; min-width: 104px; padding-left: 10px !important; padding-right: 26px !important; }
.rentos-booking .rb-dt > input[type=date] { flex: 1 1 auto !important; }
.rentos-booking .rb-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 16px; padding: 0; counter-reset: s; }
.rentos-booking .rb-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .88em; color: var(--rb-muted); padding: 8px 10px; background: var(--rb-soft); border-radius: 999px; margin: 0; }
.rentos-booking .rb-steps li b { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #d6dce6; color: #fff; font-size: .85em; flex: 0 0 22px; }
.rentos-booking .rb-steps li.on { color: #1f2937; background: color-mix(in srgb, var(--rb-accent) 12%, #fff); font-weight: 600; }
.rentos-booking .rb-steps li.on b, .rentos-booking .rb-steps li.done b { background: var(--rb-accent); }
.rentos-booking .rb-steps li.done { color: #1f2937; }
.rentos-booking .rb-tags { display: flex; gap: 6px; min-height: 0; margin-bottom: 4px; }
.rentos-booking .rb-tag { font-size: .75em; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.rentos-booking .rb-tag-best { background: #fff4e5; color: #c2410c; }
.rentos-booking .rb-tag-hot { background: #fef2f2; color: #b91c1c; }
.rentos-booking .rb-card { transition: box-shadow .15s, border-color .15s; }
.rentos-booking .rb-card:hover { border-color: color-mix(in srgb, var(--rb-accent) 45%, #fff); box-shadow: 0 8px 22px rgba(15, 23, 42, .08); }
.rentos-booking .rb-img img { height: 130px; }
.rentos-booking .rb-noimg { display: flex; align-items: center; justify-content: center; color: #c3cad6; }
.rentos-booking .rb-noimg svg { width: 72%; max-width: 150px; fill: #e2e7ef; }
.rentos-booking .rb-price .rb-btn { width: 100%; }
.rentos-booking .rb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.rentos-booking .rb-sec { background: #fff; border: 1px solid var(--rb-line); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.rentos-booking .rb-sec > h4 { margin: 0 0 12px; font-size: 1.05em; }
.rentos-booking .rb-carbox { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; }
.rentos-booking .rb-carbox h3 { margin: 0 0 4px; font-size: 1.15em; }
.rentos-booking .rb-carbox h3 small { font-weight: 400; color: var(--rb-muted); font-size: .8em; }
.rentos-booking .rb-carimg, .rentos-booking .rb-carbox .rb-noimg { width: 100%; height: 110px; object-fit: contain; }
.rentos-booking .rb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.rentos-booking .rb-plan { position: relative; display: flex; flex-direction: column; gap: 8px; border: 2px solid var(--rb-line); border-radius: 12px; padding: 14px 12px 12px; cursor: pointer; background: #fff; }
.rentos-booking .rb-plan.sel { border-color: var(--rb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rb-accent) 15%, transparent); }
.rentos-booking .rb-plan input { position: absolute; opacity: 0; pointer-events: none; }
.rentos-booking .rb-rec { position: absolute; top: -10px; right: 10px; background: #f97316; color: #fff; font-style: normal; font-size: .72em; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.rentos-booking .rb-plan-h b { display: block; font-size: 1em; }
.rentos-booking .rb-plan-h small { color: var(--rb-muted); font-size: .78em; }
.rentos-booking .rb-plan ul { list-style: none; margin: 0; padding: 0; font-size: .84em; display: flex; flex-direction: column; gap: 3px; }
.rentos-booking .rb-plan li { margin: 0; }
.rentos-booking .rb-plan li.y { color: #15803d; }
.rentos-booking .rb-plan li.n { color: #9ca3af; }
.rentos-booking .rb-ded { font-size: .82em; color: #374151; background: var(--rb-soft); border-radius: 6px; padding: 3px 8px; align-self: flex-start; }
.rentos-booking .rb-plan-p { margin-top: auto; font-weight: 700; font-size: 1.05em; }
.rentos-booking .rb-plan-p small { font-weight: 400; color: var(--rb-muted); font-size: .75em; }
.rentos-booking .rb-extras { display: flex; flex-direction: column; gap: 8px; }
.rentos-booking .rb-ex { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--rb-line); border-radius: 10px; padding: 8px 10px; }
.rentos-booking .rb-ex.sel { border-color: var(--rb-accent); background: color-mix(in srgb, var(--rb-accent) 5%, #fff); }
.rentos-booking .rb-ex img { width: 56px; height: 44px; object-fit: cover; border-radius: 6px; }
.rentos-booking .rb-ex-ic { width: 56px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--rb-soft); border-radius: 6px; color: var(--rb-muted); }
.rentos-booking .rb-ex-t b { display: block; font-size: .95em; }
.rentos-booking .rb-ex-t small { display: block; color: var(--rb-muted); font-size: .78em; }
.rentos-booking .rb-ex-p { font-size: .85em; margin-top: 2px; }
.rentos-booking .rb-ex-p small { color: var(--rb-muted); }
.rentos-booking .rb-free { color: #15803d; font-weight: 600; }
.rentos-booking .rb-qty { display: inline-flex; align-items: center; border: 1px solid #cfd6e1; border-radius: 999px; overflow: hidden; }
.rentos-booking .rb-qty button { width: 32px; height: 32px; border: 0; background: #fff; color: var(--rb-accent); font-size: 1.1em; cursor: pointer; padding: 0; }
.rentos-booking .rb-qty span { min-width: 24px; text-align: center; font-weight: 600; }
.rentos-booking .rb-side { position: sticky; top: 90px; }
.rentos-booking .rb-sumcard { background: #fff; border: 1px solid var(--rb-line); border-radius: 12px; padding: 16px; box-shadow: 0 6px 18px rgba(15, 23, 42, .05); }
.rentos-booking .rb-sumcard h4 { margin: 0 0 10px; }
.rentos-booking .rb-when { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.rentos-booking .rb-when small { display: block; color: var(--rb-muted); font-size: .78em; }
.rentos-booking .rb-when b { font-size: .92em; }
.rentos-booking .rb-sumcard .rb-bill { margin-top: 6px; }
.rentos-booking .rb-now td { color: var(--rb-accent); font-weight: 700; }
.rentos-booking .rb-paynote { font-size: .82em; color: #15803d; background: #f0fdf4; border-radius: 8px; padding: 8px 10px; margin-top: 10px; line-height: 1.5; }
.rentos-booking .rb-paynote:empty { display: none; }
.rentos-booking .rb-trust { list-style: none; margin: 12px 0 0; padding: 0; font-size: .8em; color: #374151; display: flex; flex-direction: column; gap: 5px; }
.rentos-booking .rb-trust li { margin: 0; padding-left: 20px; position: relative; }
.rentos-booking .rb-trust li::before { content: "✓"; position: absolute; left: 2px; color: #15803d; font-weight: 700; }
.rentos-booking .rb-payline { color: #15803d; background: #f0fdf4; border-radius: 8px; padding: 10px; }
.rentos-booking .rb-mbar { display: none; }
@media (max-width: 860px) {
  .rentos-booking .rb-layout { grid-template-columns: 1fr; }
  .rentos-booking .rb-side { position: static; order: -1; }
  .rentos-booking .rb-steps li span { display: none; }
  .rentos-booking .rb-steps li.on span { display: inline; }
  .rentos-booking .rb-card { grid-template-columns: 110px 1fr; }
  .rentos-booking .rb-card .rb-price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .rentos-booking .rb-card .rb-price .rb-btn { width: auto; }
  .rentos-booking .rb-carbox { grid-template-columns: 110px 1fr; }
  .rentos-booking .rb-grid2 { grid-template-columns: 1fr; }
  .rentos-booking .rb-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--rb-line); padding: 10px 14px; justify-content: space-between; align-items: center; box-shadow: 0 -6px 18px rgba(15, 23, 42, .08); }
  .rentos-booking .rb-mbar small { display: block; color: var(--rb-muted); font-size: .75em; }
  .rentos-booking .rb-mbar b { font-size: 1.2em; }
  .rentos-booking .rb-body { padding-bottom: 70px; }
}
/* ===== 0.5：付款前说明、取消 / 改签 ===== */
.rentos-booking .rb-payconfirm { border-radius: 10px; padding: 12px 14px; margin-top: 14px; font-size: .92em; line-height: 1.6; }
.rentos-booking .rb-payconfirm:empty { display: none; }
.rentos-booking .rb-payconfirm.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.rentos-booking .rb-payconfirm.warn { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.rentos-booking .rb-payconfirm b { font-size: 1.08em; }
.rentos-booking .rb-payconfirm ul { margin: 6px 0 0; padding-left: 18px; }
.rentos-booking .rb-payconfirm li { margin: 2px 0; }
.rentos-booking .rb-manage { text-align: left; margin: 16px 0 12px; border-top: 1px solid var(--rb-line); padding-top: 14px; }
.rentos-booking .rb-manage h4 { margin: 0 0 10px; }
.rentos-booking .rb-mbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.rentos-booking .rb-danger { border-color: #dc2626; color: #dc2626; background: #fff; }
.rentos-booking .rb-confirm .rb-danger { background: #dc2626; color: #fff; }
.rentos-booking .rb-confirm { margin-top: 12px; border-radius: 10px; padding: 12px 14px; }
.rentos-booking .rb-confirm.ok { background: #f0fdf4; }
.rentos-booking .rb-confirm.warn { background: #fef2f2; color: #7f1d1d; }
.rentos-booking .rb-confirm p { margin: 0 0 10px; }
.rentos-booking .rb-manage .rb-sub { margin: 8px 0 0; }
.rentos-booking .rb-chbar { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; font-size: .92em; }
.rentos-booking .rb-chbar a { color: inherit; font-weight: 600; margin-left: 8px; }

/* 0.6 服务 / 车型标签 */
.rentos-booking .rb-svcs { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 6px 0 2px; }
.rentos-booking .rb-svc { font-size: 12px; line-height: 1.5; color: #0a7a4b; background: #e9f7f0; border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.rentos-booking .rb-svc-wait { color: #1f5fbf; background: #eaf1fc; }
