.btn-xs,
.btn-group-xs > .btn {
  --bs-btn-padding-y: 0;
  --bs-btn-padding-x: 0.25rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.btn-sav {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0e681e;
  --bs-btn-border-color: #0e681e;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0c581a;
  --bs-btn-hover-border-color: #0b5318;
  --bs-btn-focus-shadow-rgb: 50, 127, 64;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0b5318;
  --bs-btn-active-border-color: #0b4e17;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0e681e;
  --bs-btn-disabled-border-color: #0e681e;
}

.btn-first-search {
  --bs-btn-color: #000;
  --bs-btn-bg: #f9e657;
  --bs-btn-border-color: #f9e657;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #faea70;
  --bs-btn-hover-border-color: #fae968;
  --bs-btn-focus-shadow-rgb: 212, 196, 74;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #faeb79;
  --bs-btn-active-border-color: #fae968;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #f9e657;
  --bs-btn-disabled-border-color: #f9e657;
}

.btn-shipment {
  --bs-btn-color: #000;
  --bs-btn-bg: #dae9c4;
  --bs-btn-border-color: #dae9c4;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #e0eccd;
  --bs-btn-hover-border-color: #deebca;
  --bs-btn-focus-shadow-rgb: 185, 198, 167;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #e1edd0;
  --bs-btn-active-border-color: #deebca;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #dae9c4;
  --bs-btn-disabled-border-color: #dae9c4;
}

.btn-first-shipment {
  --bs-btn-color: #000;
  --bs-btn-bg: #20d45d;
  --bs-btn-border-color: #20d45d;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #41da75;
  --bs-btn-hover-border-color: #36d86d;
  --bs-btn-focus-shadow-rgb: 27, 180, 79;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #4ddd7d;
  --bs-btn-active-border-color: #36d86d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #20d45d;
  --bs-btn-disabled-border-color: #20d45d;
}

.table-first-search {
  --bs-table-color: #000;
  --bs-table-bg: #f9e657;
  --bs-table-border-color: #c7b846;
  --bs-table-striped-bg: #eddb53;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #e0cf4e;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #e6d550;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-shipment {
  --bs-table-color: #000;
  --bs-table-bg: #dae9c4;
  --bs-table-border-color: #aeba9d;
  --bs-table-striped-bg: #cfddba;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #c4d2b0;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #cad8b5;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-first-shipment {
  --bs-table-color: #000;
  --bs-table-bg: #20d45d;
  --bs-table-border-color: #1aaa4a;
  --bs-table-striped-bg: #1ec958;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #1dbf54;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #1ec456;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.card-primary-hover {
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.card-primary-hover:hover {
  border-color: #0d6efd;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.card > .card-table {
  flex: 1 1 auto;
}
.card > .card-table > .table {
  height: 100%;
  margin-bottom: 0;
}
.card > .card-table > .table > thead > tr > th:first-child,
.card > .card-table > .table > thead > tr > td:first-child,
.card > .card-table > .table > tbody > tr > th:first-child,
.card > .card-table > .table > tbody > tr > td:first-child,
.card > .card-table > .table > tfoot > tr > th:first-child,
.card > .card-table > .table > tfoot > tr > td:first-child {
  border-left-width: 0;
}
.card > .card-table > .table > thead > tr > th:last-child,
.card > .card-table > .table > thead > tr > td:last-child,
.card > .card-table > .table > tbody > tr > th:last-child,
.card > .card-table > .table > tbody > tr > td:last-child,
.card > .card-table > .table > tfoot > tr > th:last-child,
.card > .card-table > .table > tfoot > tr > td:last-child {
  border-right-width: 0;
}
.card > .card-table > .table > thead:first-child,
.card > .card-table > .table > tbody:first-child,
.card > .card-table > .table > tfoot:first-child {
  border-top-width: 0;
}
.card > .card-table > .table > thead:first-child > tr:first-child,
.card > .card-table > .table > tbody:first-child > tr:first-child,
.card > .card-table > .table > tfoot:first-child > tr:first-child {
  border-top-width: 0;
}
.card > .card-table > .table > thead:first-child > tr:first-child > td,
.card > .card-table > .table > thead:first-child > tr:first-child > th,
.card > .card-table > .table > tbody:first-child > tr:first-child > td,
.card > .card-table > .table > tbody:first-child > tr:first-child > th,
.card > .card-table > .table > tfoot:first-child > tr:first-child > td,
.card > .card-table > .table > tfoot:first-child > tr:first-child > th {
  border-top-width: 0;
}
.card > .card-table > .table > thead:last-child,
.card > .card-table > .table > tbody:last-child,
.card > .card-table > .table > tfoot:last-child {
  border-bottom-width: 0;
}
.card > .card-table > .table > thead:last-child > tr:last-child,
.card > .card-table > .table > tbody:last-child > tr:last-child,
.card > .card-table > .table > tfoot:last-child > tr:last-child {
  border-bottom-width: 0;
}
.card > .card-table > .table > thead:last-child > tr:last-child > td,
.card > .card-table > .table > thead:last-child > tr:last-child > th,
.card > .card-table > .table > tbody:last-child > tr:last-child > td,
.card > .card-table > .table > tbody:last-child > tr:last-child > th,
.card > .card-table > .table > tfoot:last-child > tr:last-child > td,
.card > .card-table > .table > tfoot:last-child > tr:last-child > th {
  border-bottom-width: 0;
}
.card > .card-table:first-child {
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:first-child > .table:first-child {
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:first-child > .table:first-child > thead:first-child,
.card > .card-table:first-child > .table:first-child > tbody:first-child,
.card > .card-table:first-child > .table:first-child > tfoot:first-child {
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:first-child > .table:first-child > thead:first-child > tr:first-child,
.card > .card-table:first-child > .table:first-child > tbody:first-child > tr:first-child,
.card > .card-table:first-child > .table:first-child > tfoot:first-child > tr:first-child {
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:first-child > .table:first-child > thead:first-child > tr:first-child > td:first-child,
.card > .card-table:first-child > .table:first-child > thead:first-child > tr:first-child > th:first-child,
.card > .card-table:first-child > .table:first-child > tbody:first-child > tr:first-child > td:first-child,
.card > .card-table:first-child > .table:first-child > tbody:first-child > tr:first-child > th:first-child,
.card > .card-table:first-child > .table:first-child > tfoot:first-child > tr:first-child > td:first-child,
.card > .card-table:first-child > .table:first-child > tfoot:first-child > tr:first-child > th:first-child {
  border-top-left-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:first-child > .table:first-child > thead:first-child > tr:first-child > td:last-child,
.card > .card-table:first-child > .table:first-child > thead:first-child > tr:first-child > th:last-child,
.card > .card-table:first-child > .table:first-child > tbody:first-child > tr:first-child > td:last-child,
.card > .card-table:first-child > .table:first-child > tbody:first-child > tr:first-child > th:last-child,
.card > .card-table:first-child > .table:first-child > tfoot:first-child > tr:first-child > td:last-child,
.card > .card-table:first-child > .table:first-child > tfoot:first-child > tr:first-child > th:last-child {
  border-top-right-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:last-child {
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:last-child > .table:last-child {
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:last-child > .table:last-child > thead:last-child,
.card > .card-table:last-child > .table:last-child > tbody:last-child,
.card > .card-table:last-child > .table:last-child > tfoot:last-child {
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:last-child > .table:last-child > thead:last-child > tr:last-child,
.card > .card-table:last-child > .table:last-child > tbody:last-child > tr:last-child,
.card > .card-table:last-child > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:last-child > .table:last-child > thead:last-child > tr:last-child > td:first-child,
.card > .card-table:last-child > .table:last-child > thead:last-child > tr:last-child > th:first-child,
.card > .card-table:last-child > .table:last-child > tbody:last-child > tr:last-child > td:first-child,
.card > .card-table:last-child > .table:last-child > tbody:last-child > tr:last-child > th:first-child,
.card > .card-table:last-child > .table:last-child > tfoot:last-child > tr:last-child > td:first-child,
.card > .card-table:last-child > .table:last-child > tfoot:last-child > tr:last-child > th:first-child {
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}
.card > .card-table:last-child > .table:last-child > thead:last-child > tr:last-child > td:last-child,
.card > .card-table:last-child > .table:last-child > thead:last-child > tr:last-child > th:last-child,
.card > .card-table:last-child > .table:last-child > tbody:last-child > tr:last-child > td:last-child,
.card > .card-table:last-child > .table:last-child > tbody:last-child > tr:last-child > th:last-child,
.card > .card-table:last-child > .table:last-child > tfoot:last-child > tr:last-child > td:last-child,
.card > .card-table:last-child > .table:last-child > tfoot:last-child > tr:last-child > th:last-child {
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
}
