/* BOOHC planner production estimate UI */

.bprod-hidden {
	display: none !important;
}

.bprod-open-btn {
	margin-top: 6px;
	font-size: 0.85em;
}

.bprod-open-btn--mobile {
	width: 100%;
	margin-top: 8px;
}

.bprod-chip {
	display: inline;
	font-size: 0.95em;
}

.bprod-grand-total {
	font-weight: 600;
}

/* Modal */

.bprod-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.bprod-modal {
	background: #fff;
	border-radius: 8px;
	max-width: 960px;
	width: 100%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.bprod-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #e5e5e5;
}

.bprod-modal-head h3 {
	margin: 0;
	font-size: 1.05em;
}

.bprod-close {
	background: none;
	border: none;
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.bprod-modal-body {
	padding: 14px 18px;
	overflow-y: auto;
}

.bprod-table-wrap {
	overflow-x: auto;
}

.bprod-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88em;
}

.bprod-table th,
.bprod-table td {
	padding: 6px 8px;
	border-bottom: 1px solid #eee;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
}

.bprod-table input[type="number"] {
	width: 74px;
}

.bprod-face-label small {
	color: #888;
}

.bprod-line-total {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.bprod-total-row {
	margin: 12px 0 4px;
	font-size: 1.05em;
}

.bprod-disclaimer {
	color: #777;
	font-size: 0.82em;
	margin: 4px 0 0;
}

.bprod-modal-foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	padding: 12px 18px;
	border-top: 1px solid #e5e5e5;
}

.bprod-link-out {
	margin-right: auto;
	font-size: 0.88em;
}

@media (max-width: 767px) {
	.bprod-modal {
		max-height: 96vh;
	}
	.bprod-table input[type="number"] {
		width: 58px;
	}
}
