/* Popup danh sách nhân viên dùng chung cho nút sản phẩm, CTA và shortcode. */
.bx-wcab-modal button:focus-visible,
.bx-wcab-modal a:focus-visible {
	outline: 3px solid rgba(37, 99, 235, .28);
	outline-offset: 2px;
}

.bx-wcab-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .54);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .18s ease, visibility .18s ease;
}

.bx-wcab-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.bx-wcab-modal__dialog {
	box-sizing: border-box;
	position: relative;
	width: min(100%, 420px);
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 20px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
	transform: translateY(12px);
	transition: transform .18s ease;
}

.bx-wcab-modal.is-open .bx-wcab-modal__dialog {
	transform: translateY(0);
}

.bx-wcab-modal__close {
	position: absolute;
	top: 7px;
	right: 10px;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #4b5563;
	font-size: 28px;
	line-height: 36px;
	cursor: pointer;
}

.bx-wcab-modal__title {
	margin: 2px 34px 16px 0;
	color: #111827;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.bx-wcab-modal__list {
	display: grid;
	gap: 8px;
}

.bx-wcab-person {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f9fafb;
}

.bx-wcab-person__info {
	min-width: 0;
}

.bx-wcab-person__name,
.bx-wcab-person__phone {
	display: block;
}

.bx-wcab-person__name {
	color: #111827;
	font-size: 14px;
	font-weight: 700;
}

.bx-wcab-person__phone {
	margin-top: 2px;
	color: #6b7280;
	font-size: 13px;
}

.bx-wcab-person__call {
	flex: 0 0 auto;
	padding: 8px 11px;
	border-radius: 6px;
	background: #16a34a;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
}

.bx-wcab-empty {
	margin: 0;
	padding: 14px;
	border-radius: 8px;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 14px;
	text-align: center;
}

body.bx-wcab-modal-open {
	overflow: hidden;
}

@media (max-width: 420px) {
	.bx-wcab-modal__dialog { padding: 18px 14px; }
	.bx-wcab-person { padding: 10px; }
	.bx-wcab-person__call { padding: 8px 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.bx-wcab-modal,
	.bx-wcab-modal__dialog {
		transition: none;
	}
}
