/* Fahrzeugsuche (TecDoc) – Stand: 2026-10-29 */

.td-fz-inline { padding: 1.5rem 0; }

.td-fz .td-fz-tabs { flex-wrap: wrap; }
.td-fz .td-fz-tabs .nav-link { color: #3e454d; font-weight: 500; min-height: 44px; }
.td-fz .td-fz-tabs .nav-link.active { color: #1b1f24; font-weight: 700; border-bottom: 3px solid #C2410C; }
.td-fz .form-select, .td-fz input[type="search"]:not(.form-control-sm) { min-height: 46px; }
.td-fz .td-fz-filter { max-width: 280px; }
.td-fz .td-fz-table-wrap { max-height: 460px; overflow-y: auto; border: 1px solid #dee2e6; border-radius: .375rem; }
.td-fz .td-fz-table-wrap thead th { position: sticky; top: 0; z-index: 1; white-space: nowrap; }
.td-fz .td-fz-table-wrap td { white-space: nowrap; }
.td-fz .td-fz-table-wrap .btn { min-width: 76px; }
#td-fz-modal .td-fz { box-shadow: none !important; }

.td-fz-bar { background: #e7f3ea; border-bottom: 1px solid #b9dcc2; color: #1b1f24; }
.td-fz-bar-row { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.td-fz-bar-icon { font-size: 1.25rem; color: #1e7b3a; }
.td-fz-bar-text { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9375rem; }
.td-fz-bar-label { font-size: .75rem; font-weight: 700; color: #1e6b33; letter-spacing: .02em; text-transform: uppercase; }
.td-fz-bar-facts { font-size: .875rem; color: #3e454d; }
.td-fz-bar .btn { padding-top: .15rem; padding-bottom: .15rem; }
.td-fz-bar .btn-outline-success { color: #1e6b33; border-color: #1e7b3a; }
.td-fz-bar .btn-outline-success:hover { color: #fff; background: #1e7b3a !important; }

.td-fz-garage .func-desc { white-space: nowrap; }

.td-fz-garage-menu { width: 340px; max-width: 92vw; }
.td-fz-garage-menu .dropdown-item.active { background: #e7f3ea; color: #1b1f24; border: 2px solid #1e7b3a; }

@media (max-width: 767.98px) {
  .td-fz .td-fz-filter { max-width: none; width: 100%; margin-left: 0 !important; }
  .td-fz-bar-row { gap: 8px; }
  .td-fz-bar-facts, .td-fz-bar-clear { display: none; }
}

/* Hervorhebung nach Klick auf eine Hersteller-Kachel: Box pulsiert, naechstes Feld leuchtet */
.td-fz.td-fz-attn { outline: 3px solid #C2410C; outline-offset: 3px; }
.td-fz.td-fz-attn::after {
  content: ""; position: absolute; inset: -3px; border: 3px solid #C2410C; border-radius: inherit;
  pointer-events: none; animation: td-fz-ring 1.1s ease-out 3;
}
@keyframes td-fz-ring {
  0% { inset: -3px; opacity: .9; }
  100% { inset: -22px; opacity: 0; }
}
.td-fz .form-select.td-fz-next {
  border-color: #C2410C; background-color: #FFF7ED;
  box-shadow: 0 0 0 .25rem rgba(194, 65, 12, .25); animation: td-fz-glow 1.1s ease-in-out 4;
}
@keyframes td-fz-glow {
  50% { box-shadow: 0 0 0 .5rem rgba(194, 65, 12, .12); }
}
.td-fz-next-msg {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; padding: .55rem .8rem;
  background: #FFF7ED; border: 1px solid #FDBA74; border-radius: .5rem; color: #7C2D12; font-size: .9375rem;
}
.td-fz-next-msg b { color: #9A3412; }
.td-fz-next-arrow { font-weight: 700; font-size: 1.1rem; line-height: 1; animation: td-fz-bounce 1s ease-in-out 4; }
@keyframes td-fz-bounce {
  50% { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .td-fz.td-fz-attn::after, .td-fz .form-select.td-fz-next, .td-fz-next-arrow { animation: none; }
}

/* Typenliste: ganze Zeile anklickbar, Rueckfrage unter der Zeile */
.td-fz tr.td-fz-row { cursor: pointer; }
.td-fz tr.td-fz-row:hover > td, .td-fz tr.td-fz-row:focus-visible > td { background-color: #FFF7ED; }
.td-fz tr.td-fz-row:focus-visible { outline: 2px solid #C2410C; outline-offset: -2px; }
.td-fz tr.td-fz-row.is-picked > td { background-color: #FFEDD5; }
.td-fz tr.td-fz-ask > td { padding: 0; background: #FFEDD5; white-space: normal; }
.td-fz .td-fz-ask-box {
  position: sticky; left: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1rem; padding: .6rem .75rem; border-left: 4px solid #C2410C;
}
.td-fz .td-fz-ask-text { display: flex; flex-direction: column; font-size: .875rem; color: #7C2D12; }
.td-fz .td-fz-ask-text b { font-size: .9375rem; color: #1b1f24; white-space: normal; }
.td-fz .td-fz-ask-btns { display: flex; gap: .5rem; }
.td-fz .td-fz-ask-btns .btn { min-height: 38px; }

/* Startseite: Abfrage "Wofür suchen Sie Teile?" – Stand: 2026-11-03 */
.cfz-kind-modal .modal-dialog { max-width: 440px; }
.cfz-kind-modal .modal-content { border: 0; border-radius: 14px; box-shadow: 0 12px 40px rgba(3, 42, 109, .25); }
.cfz-kind-modal .modal-title { font-weight: 700; color: #14181F; }
.cfz-kind-lead { margin: 0 0 14px; font-size: .9375rem; color: #545D69; }
.cfz-kind-list { display: flex; flex-direction: column; gap: 10px; }
.cfz-kind-btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 10px 16px; border: 2px solid #DDE2E9; border-radius: 10px; background: #fff; color: #14181F; font-size: 1.0625rem; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.cfz-kind-btn:hover, .cfz-kind-btn:focus-visible { border-color: #032A6D; background: #EEF3FB; outline: none; }
.cfz-kind-btn i { width: 36px; font-size: 1.5rem; text-align: center; color: #032A6D; }

/* Suche nach HSN/TSN – Stand: 2026-11-05 */
.td-fz .td-fz-tsn { text-transform: uppercase; }
.td-fz .td-fz-kba-form .form-control { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.td-fz tr.td-fz-similar-head td { padding-top: .75rem; font-size: .8125rem; font-weight: 600; color: #545D69; background: #F3F5F8; border-bottom: 0; }
/* Rueckfrage: "Abbrechen" gut lesbar */
.td-fz .td-fz-ask-btns .btn-outline-secondary { color: #14181F; background: #fff; border-color: #9AA3AE; opacity: 1; }
.td-fz .td-fz-ask-btns .btn-outline-secondary:hover { color: #14181F; background: #EEF1F5; border-color: #545D69; }
