.msbc-invoices-table {
  overflow: hidden;
  border: 1px solid #e6e9ed;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 34, 51, 0.06);
}

.msbc-invoices-table thead th {
  border-top: 0;
  border-bottom: 1px solid #e6e9ed;
  background: #f7f9fb;
  color: #667085;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.msbc-invoices-table th,
.msbc-invoices-table td {
  padding: 13px 16px;
  vertical-align: middle;
  border-color: #eef1f4;
}

.msbc-invoices-table tbody tr {
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.msbc-invoices-table tbody tr:hover {
  background: #fbfcfd;
  box-shadow: inset 3px 0 0 #2f80ed;
}

.msbc-invoices-table tbody td:first-child {
  color: #232323;
  font-weight: 700;
  white-space: nowrap;
}

.msbc-invoices-table .msbc-invoice-customer {
  min-width: 180px;
  color: #344054;
  font-weight: 600;
}

.msbc-invoices-table .msbc-invoice-date {
  color: #667085;
  white-space: nowrap;
}

.msbc-invoices-table .msbc-invoice-count,
.msbc-invoices-table .msbc-invoice-unit-price,
.msbc-invoices-table .msbc-invoice-price,
.msbc-invoice-total-summary .msbc-invoice-unit-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.msbc-invoices-table .msbc-invoice-count {
  justify-content: center;
  min-width: 30px;
}

.msbc-invoices-table .msbc-invoice-price {
  background: #f3fbf6;
  color: #137333;
}

.msbc-invoices-table .msbc-invoice-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid #d8dde6;
  border-radius: 999px;
  background: #ffffff;
  color: #232323;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}


.msbc-invoices-table .msbc-invoice-product-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid #d6e4ff;
  border-radius: 999px;
  background: #f5f9ff;
  color: #24476f;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.msbc-invoices-table .msbc-invoice-product-link:hover,
.msbc-invoices-table .msbc-invoice-product-link:focus {
  border-color: #9ec5fe;
  background: #eaf3ff;
  color: #183b63;
  box-shadow: 0 2px 8px rgba(47, 128, 237, 0.12);
  text-decoration: none;
}

.msbc-invoices-table .msbc-invoice-product-disabled {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #98a2b3;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.msbc-invoices-table .msbc-invoice-link:hover,
.msbc-invoices-table .msbc-invoice-link:focus {
  border-color: #b9c2cf;
  background: #f7f9fb;
  color: #111827;
  box-shadow: 0 2px 8px rgba(22, 34, 51, 0.08);
  text-decoration: none;
}

.msbc-invoice-lines-table {
  margin-top: -12px;
}


.msbc-invoice-lines-table .msbc-invoice-customer,
.msbc-invoice-lines-table .msbc-invoice-line-qty,
.msbc-invoice-lines-table .msbc-invoice-line-unit {
  color: #344054;
  font-size: 0.8125rem;
  font-weight: 700;
}
.msbc-invoice-lines-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.msbc-invoice-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.msbc-invoice-detail-footer .btn {
  border-radius: 7px;
  font-weight: 700;
}

.msbc-invoice-total-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.msbc-invoice-total-label {
  color: #667085;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}











.msbc-warehouse-inventory {
  margin: 18px 0;
  border: 1px solid #e6e9ed;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.msbc-warehouse-inventory-title {
  padding: 11px 14px;
  border-bottom: 1px solid #eef1f4;
  background: #f7f9fb;
  color: #344054;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
}

.msbc-warehouse-inventory-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef1f4;
}

.msbc-warehouse-inventory-row:last-child {
  border-bottom: 0;
}

.msbc-warehouse-inventory-name {
  flex: 0 0 130px;
  width: 130px;
  color: #344054;
  font-size: 0.875rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.msbc-warehouse-inventory-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f3fbf6;
  color: #137333;
  font-size: 0.8125rem;
  font-weight: 800;
}
.msbc-warehouse-inventory-qty.is-zero {
  background: #fff1f0;
  color: #b42318;
}
.msbc-warehouse-inventory-terms {
  flex: 1 1 auto;
  color: #667085;
  font-size: 0.75rem;
  font-weight: 600;
}
.msbc-out-of-stock-message {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 10px;
  padding: 13px 16px;
  border: 1px solid #ffd666;
  border-radius: 6px;
  background: #fff8d9;
  color: #594214;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(183, 129, 0, 0.08);
}

.msbc-out-of-stock-message-icon {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.msbc-out-of-stock-message-text {
  min-width: 0;
}