/* Taxbs Elementor Widgets - Global styles */

/* ── PDF Modal ────────────────────────────────────────────── */
.taxbs-pdf-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
}

.taxbs-pdf-modal.is-active {
	display: flex;
}

.taxbs-pdf-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.75 );
}

.taxbs-pdf-modal__container {
	position: relative;
	z-index: 1;
	width: 90vw;
	height: 90vh;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.taxbs-pdf-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	background: rgba( 0, 0, 0, 0.6 );
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
}

.taxbs-pdf-modal__close:hover {
	background: rgba( 0, 0, 0, 0.85 );
}

.taxbs-pdf-modal__iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* Prevent background scroll when modal is open */
.taxbs-pdf-modal-open {
	overflow: hidden;
}

/* Make the service button look like its div sibling */
button.taxbs-testimonial-card__service {
	all: unset;
	cursor: pointer;
	display: inline-flex;
}

button.taxbs-testimonial-card__service--pdf:hover {
	opacity: 0.75;
}
