.dxfb-button-wrap {
	clear: both;
	margin: 16px 0;
	display: flex;
}

.dxfb-align-left { justify-content: flex-start; }
.dxfb-align-center { justify-content: center; }
.dxfb-align-right { justify-content: flex-end; }

.dxfb-button {
	--dxfb-bg: #0875c1;
	--dxfb-hover: #005a96;
	--dxfb-text: #fff;
	--dxfb-radius: 6px;
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--dxfb-radius);
	background: var(--dxfb-bg);
	box-shadow: 0 2px 6px rgba(0, 50, 90, .16);
	color: var(--dxfb-text) !important;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dxfb-button:hover,
.dxfb-button:focus-visible {
	background: var(--dxfb-hover);
	color: var(--dxfb-text) !important;
	box-shadow: 0 5px 14px rgba(0, 50, 90, .22);
	transform: translateY(-1px);
}

.dxfb-button:focus-visible {
	outline: 3px solid rgba(8, 117, 193, .28);
	outline-offset: 3px;
}

.dxfb-button--full { width: 100%; }
.dxfb-button__icon { font-size: 1.28em; line-height: 1; }
.dxfb-button__arrow { margin-left: 2px; font-size: 1.5em; font-weight: 400; line-height: .8; }

.dxfb-modal[hidden] { display: none !important; }
.dxfb-modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 20px; }
.dxfb-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 23, 38, .72); backdrop-filter: blur(2px); }
.dxfb-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1180px, 96vw);
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
	overflow: hidden;
}
.dxfb-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid #e5e9ed; background: #0875c1; color: #fff; }
.dxfb-modal__header h2 { margin: 0; color: #fff; font-size: clamp(18px, 2vw, 24px); line-height: 1.25; }
.dxfb-modal__close { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: #fff; font-size: 30px; line-height: 34px; cursor: pointer; }
.dxfb-modal__close:hover,
.dxfb-modal__close:focus-visible { background: #fff; color: #0875c1; }
.dxfb-modal__body { padding: 20px; overflow: auto; overscroll-behavior: contain; }
body.dxfb-modal-open { overflow: hidden; }

@media (max-width: 549px) {
	.dxfb-button-wrap { margin: 13px 0; }
	.dxfb-button { width: 100%; min-height: 50px; }
	.dxfb-modal { padding: 0; }
	.dxfb-modal__dialog { width: 100%; max-height: 100vh; height: 100%; border-radius: 0; }
	.dxfb-modal__header { padding: 13px 15px; }
	.dxfb-modal__body { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.dxfb-button { transition: none; }
}

