/* QUINCA+ v65 — filtres et impression Toutes les ventes */

.sales-history-head-v65{
  gap:12px;
  align-items:flex-start;
}

.sales-history-actions-v65{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}

.sales-filter-table-v65 thead{
  position:sticky;
  top:0;
  z-index:2;
}

.sales-filter-row-v65 th{
  padding:5px!important;
  background:var(--card,#fff);
  vertical-align:middle;
}

.sales-filter-input-v65{
  width:100%;
  min-width:78px;
  height:32px;
  padding:5px 7px;
  border:1px solid var(--line,#d8dee9);
  border-radius:7px;
  background:var(--input,#fff);
  color:inherit;
  font:inherit;
  font-size:9px;
  box-sizing:border-box;
}

.sales-filter-row-v65 th:nth-child(1) .sales-filter-input-v65{
  min-width:110px;
}

.sales-filter-row-v65 th:nth-child(2) .sales-filter-input-v65{
  min-width:120px;
}

.sales-filter-row-v65 th:nth-child(3) .sales-filter-input-v65{
  min-width:125px;
}

.sales-filter-row-v65 th:nth-child(4) .sales-filter-input-v65,
.sales-filter-row-v65 th:nth-child(5) .sales-filter-input-v65,
.sales-filter-row-v65 th:nth-child(6) .sales-filter-input-v65,
.sales-filter-row-v65 th:nth-child(8) .sales-filter-input-v65{
  min-width:105px;
}

.sales-total-filter-v65{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  min-width:145px;
}

.sales-filter-reset-v65{
  height:32px!important;
  min-height:32px!important;
  padding:4px 8px!important;
  font-size:8px!important;
  white-space:nowrap;
}

.sales-filter-empty-v65{
  padding:20px;
}

.sales-print-table-v65 th:nth-child(1){width:12%}
.sales-print-table-v65 th:nth-child(2){width:14%}
.sales-print-table-v65 th:nth-child(3){width:15%}
.sales-print-table-v65 th:nth-child(4){width:12%}
.sales-print-table-v65 th:nth-child(5){width:12%}
.sales-print-table-v65 th:nth-child(6){width:11%}
.sales-print-table-v65 th:nth-child(7){width:12%}
.sales-print-table-v65 th:nth-child(8){width:12%}

body.dark-ui .sales-filter-row-v65 th{
  background:#10253b;
}

body.dark-ui .sales-filter-input-v65{
  background:#0d2033;
  color:#fff;
  border-color:#29435e;
}

@media(max-width:700px){
  .sales-history-head-v65{
    display:block!important;
  }

  .sales-history-actions-v65{
    justify-content:flex-start;
    margin-top:9px;
  }

  .sales-filter-wrap-v65{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }

  .sales-filter-table-v65{
    min-width:1080px!important;
  }
}

@media print{
  .sales-print-table-v65{
    font-size:8px;
  }
}
