.inventory-checking-log-sort-button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	gap: 0.25rem;
	padding: 0;
}

.inventory-checking-log-sort-arrow {
	display: inline-block;
	min-width: 1rem;
	text-align: left;
}

.inventory-checking-log-toggle {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #0d6efd;
	color: white;
	font-weight: 700;
	margin-right: 0.35rem;
	width: 1.65rem;
	height: 1.65rem;
	padding: 0;
	text-align: center;
	line-height: 1;
}

#inventory-checking-log-empty-message {
	font-weight: 700;
}

#inventory-checking-log-page {
	border: 1px solid #c7d2fe;
	border-radius: 0.25rem;
	padding: 0.2rem 0.35rem;
}

#inventory-checking-log-search {
	border: 1px solid #c7d2fe;
	border-radius: 0.25rem;
	flex: 0 1 24rem;
	font-size: 1.1rem;
	margin-left: auto;
	min-width: 18rem;
	padding: 0.35rem 0.5rem;
}

#inventory-checking-log-search:focus {
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
	outline: none;
}

#tbl_inventory_checking_log > thead th,
#tbl_inventory_checking_log > tbody > tr > td,
#tbl_inventory_checking_log > tfoot td {
	width: 11%;
}

#tbl_inventory_checking_log > thead th:nth-child(2),
#tbl_inventory_checking_log > tbody > tr > td:nth-child(2) {
	width: 22%;
}

#tbl_inventory_checking_log > thead th:nth-child(3),
#tbl_inventory_checking_log > tbody > tr > td:nth-child(3) {
	width: 9%;
}

#tbl_inventory_checking_log > tbody > tr > td:nth-child(3),
#tbl_inventory_checking_log > tbody > tr > td:nth-child(4) {
	text-align: right;
}

#tbl_inventory_checking_log > thead th:nth-child(4),
#tbl_inventory_checking_log > tbody > tr > td:nth-child(4) {
	width: 12%;
}

#tbl_inventory_checking_log > thead th:nth-child(5),
#tbl_inventory_checking_log > tbody > tr > td:nth-child(5),
#tbl_inventory_checking_log > thead th:nth-child(6),
#tbl_inventory_checking_log > tbody > tr > td:nth-child(6),
#tbl_inventory_checking_log > thead th:nth-child(7),
#tbl_inventory_checking_log > tbody > tr > td:nth-child(7) {
	text-align: right;
	width: 10%;
}

#tbl_inventory_checking_log > thead th:nth-child(8),
#tbl_inventory_checking_log > tbody > tr > td:nth-child(8) {
	width: 16%;
}

#tbl_inventory_checking_log > tbody > tr.btn-danger,
#tbl_inventory_checking_log > tbody > tr.btn-danger:hover,
.mobile-tile.btn-danger {
	background-color: #f8d7da;
	color: #000;
}

.inventory-checking-log-recheck-action {
	white-space: nowrap;
	background-color: #0d6efd;
	color: white;
}

.inventory-checking-log-frequency-cell {
	cursor: cell;
}

.inventory-checking-log-frequency-editing {
	padding: 0;
}

.inventory-checking-log-frequency-input {
	background: white;
	border: 2px solid #0d6efd;
	box-sizing: border-box;
	color: #111827;
	font: inherit;
	height: 100%;
	margin: 0;
	min-height: 2rem;
	outline: none;
	padding: 0.25rem 0.45rem;
	text-align: right;
	width: 100%;
}

.inventory-checking-log-frequency-saving .inventory-checking-log-frequency-input {
	opacity: 0.65;
}

#recheck-form {
	background: white;
	left: 50%;
	position: fixed;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(28rem, calc(100vw - 2rem));
}

#recheck-form .header {
	cursor: move;
	user-select: none;
}

#recheck-form .content {
	background: white;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

#recheck-form .content div {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

#recheck-form label {
	font-weight: 700;
	width: auto;
}

#recheck-form select,
#recheck-form textarea {
	box-sizing: border-box;
	width: 100%;
}

#recheck-session-label {
	color: #1f2937;
	line-height: 1.6;
}

.inventory-checking-log-detail-row td {
	background: transparent;
	padding: 0.5rem;
	white-space: normal;
	width: 100%;
}

.inventory-checking-log-detail-row:hover {
	background-color: transparent;
}

.inventory-checking-log-detail-grid {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
}

.inventory-checking-log-detail-grid thead,
.inventory-checking-log-detail-grid tbody,
.inventory-checking-log-detail-grid tr {
	display: table;
	table-layout: fixed;
	width: 100%;
}

.inventory-checking-log-detail-grid th,
.inventory-checking-log-detail-grid td {
	background: transparent;
	padding: 0.35rem 0.5rem;
	white-space: nowrap;
	width: 20%;
}

.inventory-checking-log-detail-grid th:nth-child(5),
.inventory-checking-log-detail-grid td:nth-child(5) {
	white-space: normal;
}

@media only screen and (max-width: 960px) {
	#mobile-inventory-checking-log-search {
		border: 1px solid #c7d2fe;
		border-radius: 0.25rem;
		box-sizing: border-box;
		flex: 1;
		font-size: 1rem;
		min-width: 0;
		padding: 0.45rem 0.55rem;
	}

	#mobile-inventory-checking-log-search:focus {
		border-color: #0d6efd;
		box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
		outline: none;
	}
}
