/* =========================================================
   GW-VERKAUF-ABHOLUNG-LAYOUT-V2
========================================================= */

.gw-verkauf-abholung-table {
  width: 100%;
  min-width: 1190px;
  table-layout: fixed;
}


/* =========================================================
   SPALTENBREITEN
========================================================= */

/* Kunde */
.gw-verkauf-abholung-table th:nth-child(1),
.gw-verkauf-abholung-table td:nth-child(1) {
  width: 125px;
}


/* Fahrzeug */
.gw-verkauf-abholung-table th:nth-child(2),
.gw-verkauf-abholung-table td:nth-child(2) {
  width: 185px;
}


/* Rechnungsnummer – bewusst kompakt */
.gw-verkauf-abholung-table th:nth-child(3),
.gw-verkauf-abholung-table td:nth-child(3) {
  width: 82px;
  white-space: nowrap;
}


/* Vertragsdatum */
.gw-verkauf-abholung-table th:nth-child(4),
.gw-verkauf-abholung-table td:nth-child(4) {
  width: 105px;
  white-space: nowrap;
}


/* Kaufpreis */
.gw-verkauf-abholung-table th:nth-child(5),
.gw-verkauf-abholung-table td:nth-child(5) {
  width: 105px;
  white-space: nowrap;
}


/* Abholung / Übergabe */
.gw-verkauf-abholung-table th:nth-child(6),
.gw-verkauf-abholung-table td:nth-child(6) {
  width: 180px;
}


/* Vertrag */
.gw-verkauf-abholung-table th:nth-child(7),
.gw-verkauf-abholung-table td:nth-child(7) {
  width: 250px;
}


/* Aktionen */
.gw-verkauf-abholung-table th:nth-child(8),
.gw-verkauf-abholung-table td:nth-child(8) {
  width: 190px;
}


/* =========================================================
   GRUNDLAYOUT
========================================================= */

.gw-verkauf-abholung-table th {
  padding: 10px 9px;
  vertical-align: middle;
  font-size: 11px;
  line-height: 1.25;
}


.gw-verkauf-abholung-table td {
  padding: 12px 9px;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
}


/* =========================================================
   ÜBERGABE
========================================================= */

.gw-verkauf-abholung-table td:nth-child(6) form {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}


.gw-verkauf-abholung-table td:nth-child(6) label {
  margin: 0 !important;
}


.gw-verkauf-abholung-table td:nth-child(6) select {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}


.gw-verkauf-abholung-table td:nth-child(6) button {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}


/* =========================================================
   VERTRAG
========================================================= */

.gw-verkauf-abholung-table td:nth-child(7) form {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}


.gw-verkauf-abholung-table td:nth-child(7) a,
.gw-verkauf-abholung-table td:nth-child(7) button {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: normal !important;
}


.gw-verkauf-abholung-table td:nth-child(7) input[type="file"] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  margin: 0 0 7px !important;
  padding: 5px !important;
  font-size: 10px !important;
}


/* =========================================================
   AKTION
========================================================= */

.gw-verkauf-abholung-table td:nth-child(8) {
  padding-left: 12px;
}


.gw-verkauf-abholung-table td:nth-child(8) form {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}


.gw-verkauf-abholung-table td:nth-child(8) a,
.gw-verkauf-abholung-table td:nth-child(8) button {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: normal !important;
}


/* Abstand zwischen Kunde öffnen und Folgeaktion */
.gw-verkauf-abholung-table td:nth-child(8) > a {
  margin-bottom: 9px !important;
}


/* =========================================================
   KLEINERE DISPLAYS
========================================================= */

@media (max-width: 1250px) {

  .gw-verkauf-abholung-table {
    min-width: 1190px;
  }

}
