/* Modyfile brand colors for the vehicle selector and its result pages. */
[data-fdb-ui][data-view="vehicle"] {
  --brand-primary: #ed1c24;
  --brand-hover: #f43e45;
  --brand-light: #ff8d92;
  --brand-soft: #ffe3e4;
  --brand-ink: #861b20;
  --vehicle-accent-border: #ed1c2466;
  --vehicle-accent-surface: #ed1c241a;
}

[data-fdb-ui][data-view="vehicle"] .button:not(.button-ghost, .button-light) {
  background: linear-gradient(180deg, #cf222b, #a5141b);
  border-color: #ff8d9280 #c3242d #74161a;
  box-shadow: 0 10px 22px #0005, inset 0 1px 0 #ffffff40;
  text-shadow: 0 1px 1px #47090d;
}

[data-fdb-ui][data-view="vehicle"] .button:not(.button-ghost, .button-light, :disabled):hover {
  background: linear-gradient(180deg, #df3039, #b71820);
  border-color: var(--brand-light) #d2373f #8d1a20;
  box-shadow: 0 16px 30px #0006, 0 0 24px var(--vehicle-accent-surface);
}

[data-fdb-ui][data-view="vehicle"] .button:not(.button-ghost, .button-light, :disabled):active {
  box-shadow: inset 0 2px 6px #0005;
}

[data-fdb-ui][data-view="vehicle"] .button-ghost {
  border-color: #ffffff30;
  box-shadow: 0 9px 20px #0004;
}

[data-fdb-ui][data-view="vehicle"] .button-ghost:not(:disabled):hover {
  border-color: var(--vehicle-accent-border);
  box-shadow: 0 14px 28px #0006;
}

[data-fdb-ui][data-view="vehicle"] :is(input, select, textarea):focus {
  border-color: var(--brand-hover);
  box-shadow: 0 0 0 3px var(--vehicle-accent-surface);
}

[data-fdb-ui][data-view="vehicle"] :is(.segmented button.active, .vehicle-types button.selected) {
  background: #8d1a20;
  color: #fff;
  box-shadow: none;
}

[data-fdb-ui][data-view="vehicle"] .segmented button:not(:disabled, .active):hover {
  background: #2b2e32;
}

[data-fdb-ui][data-view="vehicle"] :is(.vehicle-picker-fields label b, .vehicle-gain small, .solution-card-top svg, .solution-icon, .solution-description > summary, .ecu-name > svg:first-child, .drawer-empty > svg, .drawer-loading) {
  color: var(--brand-light);
}

[data-fdb-ui][data-view="vehicle"] :is(.vehicle-stage-card.is-selected, .solution-card:hover, .drawer-close:hover) {
  border-color: var(--vehicle-accent-border);
}

[data-fdb-ui][data-view="vehicle"] .vehicle-stage-card.is-selected {
  background: var(--vehicle-accent-surface);
}

[data-fdb-ui][data-view="vehicle"] .vehicle-gain {
  background: linear-gradient(135deg, #27292d, #1c1e21);
}

[data-fdb-ui][data-view="vehicle"] .vehicle-chart-tooltip {
  border-color: #ffffff30;
  background: #161719f5;
}

[data-fdb-ui][data-view="vehicle"] :is(.vehicle-tooltip-row > span, .vehicle-stage-card > span:first-child, .solutions-meta, .solution-card-top, .solution-card-count, .drawer-results, .solution-vehicle-filter > span) {
  color: #b7b9bf;
}

[data-fdb-ui][data-view="vehicle"] .solution-drawer-content {
  scrollbar-color: #54565a transparent;
}
