/* CereTax data metabox table */
#cwafc_ceretax_metabox .inside {
	margin: 0px;
	padding: 0px;
	overflow: auto !important;
}
table.ceratax-tax-table {
	width: 100% !important;
	font-size: 14px !important;
}
.ceratax-tax-table thead {
	background: #ededed !important;
}
.ceratax-tax-table tr th {
	padding: 8px 10px !important;
}
.ceratax-tax-table tr td {
	padding: 8px 10px !important;
	border-bottom: 1px solid #ededed !important;
}

/*
 * Hide WooCommerce's "Fees:" totals row on CereTax orders. The row is 2nd, or 3rd when a
 * Discount row comes first. PHP prints a hidden marker row saying which one, inside the
 * order items HTML, so this stays right when WooCommerce reloads that HTML over AJAX.
 */
#woocommerce-order-items:has(.cwafc-hide-fees-row-2) .wc-order-data-row .wc-order-totals:first-of-type tr:nth-of-type(2),
#woocommerce-order-items:has(.cwafc-hide-fees-row-3) .wc-order-data-row .wc-order-totals:first-of-type tr:nth-of-type(3) {
	display: none !important;
}
