/**
 * RC105E car rental dark-mode readability patch.
 * Scope: /car-rental/ and /car-rental-en/ only via body.tt-rc105e-car-rental-fix.
 */

body.tt-rc105e-car-rental-fix {
  --tt-rc105e-car-text: #f8fafc;
  --tt-rc105e-car-muted: #cbd5e1;
  --tt-rc105e-car-soft: #e2e8f0;
  --tt-rc105e-car-card: rgba(15, 23, 42, .92);
  --tt-rc105e-car-card-strong: rgba(2, 6, 23, .96);
  --tt-rc105e-car-border: rgba(148, 163, 184, .28);
  --tt-rc105e-car-gold: #fbbf24;
  --tt-rc105e-car-link: #fde68a;
}

body.tt-rc105e-car-rental-fix img,
body.tt-rc105e-car-rental-fix iframe,
body.tt-rc105e-car-rental-fix .tt-qeeq-widget-wrap,
body.tt-rc105e-car-rental-fix .tt-car-v035-widget-frame {
  filter: none !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(
  .tt-car-v035-copy,
  .tt-car-v035-card,
  .tt-car-v035-panel,
  .tt-car-v035-widget,
  .tt-car-v035-search,
  .tt-car-v035-note,
  .tt-car-v035-benefit,
  .tt-car-v035-feature,
  .tt-service-detail-card,
  .tt-service-benefit-card,
  .tt-service-note-card,
  .tt-service-cta-box,
  .tt-service-widget-card,
  .tt-service-card,
  .service-car,
  .service-cars,
  [class*="car-rental-card"],
  [class*="car-rental-benefit"],
  [class*="car-rental-feature"]
),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(
  .tt-car-v035-copy,
  .tt-car-v035-card,
  .tt-car-v035-panel,
  .tt-car-v035-widget,
  .tt-car-v035-search,
  .tt-car-v035-note,
  .tt-car-v035-benefit,
  .tt-car-v035-feature,
  .tt-service-detail-card,
  .tt-service-benefit-card,
  .tt-service-note-card,
  .tt-service-cta-box,
  .tt-service-widget-card,
  .tt-service-card,
  .service-car,
  .service-cars,
  [class*="car-rental-card"],
  [class*="car-rental-benefit"],
  [class*="car-rental-feature"]
),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(
  .tt-car-v035-copy,
  .tt-car-v035-card,
  .tt-car-v035-panel,
  .tt-car-v035-widget,
  .tt-car-v035-search,
  .tt-car-v035-note,
  .tt-car-v035-benefit,
  .tt-car-v035-feature,
  .tt-service-detail-card,
  .tt-service-benefit-card,
  .tt-service-note-card,
  .tt-service-cta-box,
  .tt-service-widget-card,
  .tt-service-card,
  .service-car,
  .service-cars,
  [class*="car-rental-card"],
  [class*="car-rental-benefit"],
  [class*="car-rental-feature"]
),
body.dark.tt-rc105e-car-rental-fix :where(
  .tt-car-v035-copy,
  .tt-car-v035-card,
  .tt-car-v035-panel,
  .tt-car-v035-widget,
  .tt-car-v035-search,
  .tt-car-v035-note,
  .tt-car-v035-benefit,
  .tt-car-v035-feature,
  .tt-service-detail-card,
  .tt-service-benefit-card,
  .tt-service-note-card,
  .tt-service-cta-box,
  .tt-service-widget-card,
  .tt-service-card,
  .service-car,
  .service-cars,
  [class*="car-rental-card"],
  [class*="car-rental-benefit"],
  [class*="car-rental-feature"]
),
body.dark-mode.tt-rc105e-car-rental-fix :where(
  .tt-car-v035-copy,
  .tt-car-v035-card,
  .tt-car-v035-panel,
  .tt-car-v035-widget,
  .tt-car-v035-search,
  .tt-car-v035-note,
  .tt-car-v035-benefit,
  .tt-car-v035-feature,
  .tt-service-detail-card,
  .tt-service-benefit-card,
  .tt-service-note-card,
  .tt-service-cta-box,
  .tt-service-widget-card,
  .tt-service-card,
  .service-car,
  .service-cars,
  [class*="car-rental-card"],
  [class*="car-rental-benefit"],
  [class*="car-rental-feature"]
) {
  background: linear-gradient(145deg, var(--tt-rc105e-car-card), var(--tt-rc105e-car-card-strong)) !important;
  border-color: var(--tt-rc105e-car-border) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34) !important;
  color: var(--tt-rc105e-car-text) !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(h1,h2,h3,h4,h5,h6,strong,label,legend,.tt-title,.tt-card-title),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(h1,h2,h3,h4,h5,h6,strong,label,legend,.tt-title,.tt-card-title),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(h1,h2,h3,h4,h5,h6,strong,label,legend,.tt-title,.tt-card-title),
body.dark.tt-rc105e-car-rental-fix :where(h1,h2,h3,h4,h5,h6,strong,label,legend,.tt-title,.tt-card-title),
body.dark-mode.tt-rc105e-car-rental-fix :where(h1,h2,h3,h4,h5,h6,strong,label,legend,.tt-title,.tt-card-title) {
  color: var(--tt-rc105e-car-text) !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(p,li,small,span,.description,.tt-muted,.tt-card-desc,.tt-service-card p),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(p,li,small,span,.description,.tt-muted,.tt-card-desc,.tt-service-card p),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(p,li,small,span,.description,.tt-muted,.tt-card-desc,.tt-service-card p),
body.dark.tt-rc105e-car-rental-fix :where(p,li,small,span,.description,.tt-muted,.tt-card-desc,.tt-service-card p),
body.dark-mode.tt-rc105e-car-rental-fix :where(p,li,small,span,.description,.tt-muted,.tt-card-desc,.tt-service-card p) {
  color: var(--tt-rc105e-car-muted) !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(a:not(.button):not(.tt-primary):not(.tt-car-v035-inline-link)),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(a:not(.button):not(.tt-primary):not(.tt-car-v035-inline-link)),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(a:not(.button):not(.tt-primary):not(.tt-car-v035-inline-link)),
body.dark.tt-rc105e-car-rental-fix :where(a:not(.button):not(.tt-primary):not(.tt-car-v035-inline-link)),
body.dark-mode.tt-rc105e-car-rental-fix :where(a:not(.button):not(.tt-primary):not(.tt-car-v035-inline-link)) {
  color: var(--tt-rc105e-car-link) !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(input:not([type="submit"]),select,textarea),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(input:not([type="submit"]),select,textarea),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(input:not([type="submit"]),select,textarea),
body.dark.tt-rc105e-car-rental-fix :where(input:not([type="submit"]),select,textarea),
body.dark-mode.tt-rc105e-car-rental-fix :where(input:not([type="submit"]),select,textarea) {
  background: rgba(2, 6, 23, .88) !important;
  border-color: var(--tt-rc105e-car-border) !important;
  color: var(--tt-rc105e-car-text) !important;
  color-scheme: dark;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix ::placeholder,
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix ::placeholder,
html.tt-dark-mode body.tt-rc105e-car-rental-fix ::placeholder,
body.dark.tt-rc105e-car-rental-fix ::placeholder,
body.dark-mode.tt-rc105e-car-rental-fix ::placeholder {
  color: var(--tt-rc105e-car-soft) !important;
  opacity: .92;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(.button,.tt-primary,.tt-car-v035-inline-link,.tt-service-cta-box a),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(.button,.tt-primary,.tt-car-v035-inline-link,.tt-service-cta-box a),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(.button,.tt-primary,.tt-car-v035-inline-link,.tt-service-cta-box a),
body.dark.tt-rc105e-car-rental-fix :where(.button,.tt-primary,.tt-car-v035-inline-link,.tt-service-cta-box a),
body.dark-mode.tt-rc105e-car-rental-fix :where(.button,.tt-primary,.tt-car-v035-inline-link,.tt-service-cta-box a) {
  background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
  border-color: rgba(255, 255, 255, .2) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-pill,.tt-badge,.tt-kicker,.tt-car-v035-badge),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-pill,.tt-badge,.tt-kicker,.tt-car-v035-badge),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(.tt-pill,.tt-badge,.tt-kicker,.tt-car-v035-badge),
body.dark.tt-rc105e-car-rental-fix :where(.tt-pill,.tt-badge,.tt-kicker,.tt-car-v035-badge),
body.dark-mode.tt-rc105e-car-rental-fix :where(.tt-pill,.tt-badge,.tt-kicker,.tt-car-v035-badge) {
  background: rgba(251, 191, 36, .15) !important;
  border-color: rgba(251, 191, 36, .34) !important;
  color: #fde68a !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-qeeq-widget-wrap,.tt-car-v035-widget-frame,iframe),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-qeeq-widget-wrap,.tt-car-v035-widget-frame,iframe),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(.tt-qeeq-widget-wrap,.tt-car-v035-widget-frame,iframe),
body.dark.tt-rc105e-car-rental-fix :where(.tt-qeeq-widget-wrap,.tt-car-v035-widget-frame,iframe),
body.dark-mode.tt-rc105e-car-rental-fix :where(.tt-qeeq-widget-wrap,.tt-car-v035-widget-frame,iframe) {
  background: rgba(248, 250, 252, .06) !important;
  border-color: var(--tt-rc105e-car-border) !important;
  color: var(--tt-rc105e-car-text) !important;
}

/* RC105F hard fix: actual car-rental card selectors used by the page are
   .tt-car-v035-benefits article and flow/note cards, not only singular helper classes. */
html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article,.tt-car-v035-flow-card,.tt-car-v035-note,.tt-car-v035-diamond,.tt-car-v035-stats span,.tt-car-v035-logos span,.tt-car-v038-en .tt-car-v035-benefits article),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article,.tt-car-v035-flow-card,.tt-car-v035-note,.tt-car-v035-diamond,.tt-car-v035-stats span,.tt-car-v035-logos span,.tt-car-v038-en .tt-car-v035-benefits article),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article,.tt-car-v035-flow-card,.tt-car-v035-note,.tt-car-v035-diamond,.tt-car-v035-stats span,.tt-car-v035-logos span,.tt-car-v038-en .tt-car-v035-benefits article),
body.dark.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article,.tt-car-v035-flow-card,.tt-car-v035-note,.tt-car-v035-diamond,.tt-car-v035-stats span,.tt-car-v035-logos span,.tt-car-v038-en .tt-car-v035-benefits article),
body.dark-mode.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article,.tt-car-v035-flow-card,.tt-car-v035-note,.tt-car-v035-diamond,.tt-car-v035-stats span,.tt-car-v035-logos span,.tt-car-v038-en .tt-car-v035-benefits article) {
  background: linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(2, 6, 23, .94)) !important;
  border-color: rgba(148, 163, 184, .30) !important;
  color: #f8fafc !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article h2,.tt-car-v035-benefits article h3,.tt-car-v035-benefits article h4,.tt-car-v035-flow-card h2,.tt-car-v035-flow-card h3,.tt-car-v035-note h2,.tt-car-v035-note h3,.tt-car-v035-diamond h2,.tt-car-v035-diamond h3),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article h2,.tt-car-v035-benefits article h3,.tt-car-v035-benefits article h4,.tt-car-v035-flow-card h2,.tt-car-v035-flow-card h3,.tt-car-v035-note h2,.tt-car-v035-note h3,.tt-car-v035-diamond h2,.tt-car-v035-diamond h3),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article h2,.tt-car-v035-benefits article h3,.tt-car-v035-benefits article h4,.tt-car-v035-flow-card h2,.tt-car-v035-flow-card h3,.tt-car-v035-note h2,.tt-car-v035-note h3,.tt-car-v035-diamond h2,.tt-car-v035-diamond h3),
body.dark.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article h2,.tt-car-v035-benefits article h3,.tt-car-v035-benefits article h4,.tt-car-v035-flow-card h2,.tt-car-v035-flow-card h3,.tt-car-v035-note h2,.tt-car-v035-note h3,.tt-car-v035-diamond h2,.tt-car-v035-diamond h3),
body.dark-mode.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article h2,.tt-car-v035-benefits article h3,.tt-car-v035-benefits article h4,.tt-car-v035-flow-card h2,.tt-car-v035-flow-card h3,.tt-car-v035-note h2,.tt-car-v035-note h3,.tt-car-v035-diamond h2,.tt-car-v035-diamond h3) {
  color: #ffffff !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article p,.tt-car-v035-flow-card p,.tt-car-v035-note p,.tt-car-v035-diamond p,.tt-car-v035-stats span,.tt-car-v035-logos span),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article p,.tt-car-v035-flow-card p,.tt-car-v035-note p,.tt-car-v035-diamond p,.tt-car-v035-stats span,.tt-car-v035-logos span),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article p,.tt-car-v035-flow-card p,.tt-car-v035-note p,.tt-car-v035-diamond p,.tt-car-v035-stats span,.tt-car-v035-logos span),
body.dark.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article p,.tt-car-v035-flow-card p,.tt-car-v035-note p,.tt-car-v035-diamond p,.tt-car-v035-stats span,.tt-car-v035-logos span),
body.dark-mode.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article p,.tt-car-v035-flow-card p,.tt-car-v035-note p,.tt-car-v035-diamond p,.tt-car-v035-stats span,.tt-car-v035-logos span) {
  color: #dbeafe !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article > *,.tt-car-v035-flow-card > *,.tt-car-v035-note > *,.tt-car-v035-diamond > *),
html[data-tt-theme="dark"] body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article > *,.tt-car-v035-flow-card > *,.tt-car-v035-note > *,.tt-car-v035-diamond > *),
html.tt-dark-mode body.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article > *,.tt-car-v035-flow-card > *,.tt-car-v035-note > *,.tt-car-v035-diamond > *),
body.dark.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article > *,.tt-car-v035-flow-card > *,.tt-car-v035-note > *,.tt-car-v035-diamond > *),
body.dark-mode.tt-rc105e-car-rental-fix :where(.tt-car-v035-benefits article > *,.tt-car-v035-flow-card > *,.tt-car-v035-note > *,.tt-car-v035-diamond > *) {
  position: relative;
  z-index: 1;
}
