/* Checkout line items: reservation advance + accounting summary */
.op-rbk-checkout-line--advance .op-rbk-checkout-line__name {
	color: #2e7d32;
}

.op-rbk-checkout-line--advance .op-rbk-checkout-line__price {
	color: #2e7d32;
}

.op-rbk-checkout-summary {
	margin: 8px 16px 12px;
}

.op-rbk-checkout-summary__box {
	background: #f5f7fa;
	border: 1px solid #dde3ea;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 14px;
}

.op-rbk-checkout-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 0;
}

.op-rbk-checkout-summary__row--credit span:last-child {
	color: #2e7d32;
}

.op-rbk-checkout-summary__row--total {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #cfd8dc;
	font-size: 16px;
}

.op-rbk-checkout-summary__formula {
	margin-top: 6px;
	font-size: 11px;
	color: #78909c;
	text-align: right;
}

/* Main table cart panel (desk-items-container) */
.op-rbk-cart-line .desk-item-name,
.op-rbk-cart-line .item-name {
	font-style: italic;
}

.op-rbk-cart-line--hire .desk-item-price,
.op-rbk-cart-line--hire .item-price {
	color: #1565c0;
}

.op-rbk-cart-line--advance .desk-item-name,
.op-rbk-cart-line--advance .desk-item-price,
.op-rbk-cart-line--advance .item-name,
.op-rbk-cart-line--advance .item-price {
	color: #2e7d32;
}

.op-rbk-cart-summary {
	margin: 6px 10px 10px;
}

/* Hotel rooms: tile decoration so cashier visually distinguishes rooms from tables. */
.desk-item-details[data-op-resource-type="room"] {
	border-top: 3px solid #1976d2;
}

.desk-item-details[data-op-resource-type="room"] .op-room-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	background: #1976d2;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 999px;
	width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Dirty / cleaning room status overlay (only meaningful for hotel rooms). */
.desk-item-details[data-op-resource-type="room"][data-op-cleaning-status="dirty"] {
	box-shadow: inset 0 0 0 2px #dc3232;
}
.desk-item-details[data-op-resource-type="room"][data-op-cleaning-status="cleaning"] {
	box-shadow: inset 0 0 0 2px #f0b849;
}

/* Augmented native filter dropdown (rooms section). */
.mat-select-panel .op-rooms-filter-divider {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5f6c80;
	padding: 8px 16px 4px;
	border-top: 1px solid #e0e6ee;
	margin-top: 4px;
	background: #f6f8fb;
}

.mat-select-panel .op-rooms-filter-option {
	cursor: pointer;
}

.mat-select-panel .op-rooms-filter-option .op-rooms-filter-option__label {
	display: inline-block;
	padding-left: 4px;
}

.mat-select-panel .op-rooms-filter-option:hover {
	background: #eef5fc;
}

/* Refund banner on the payment dialog when the business owes the customer. */
.op-rbk-payment-refund-row strong {
	color: #b03a00;
}

/* "Return to customer" mode banner on the cart summary. */
.op-rbk-checkout-summary__row--total.op-rbk-checkout-summary__row--refund {
	color: #b03a00;
}
