.creddo-qr-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.creddo-qr-modal[hidden] {
	display: none !important;
}

.creddo-qr-modal.is-open {
	display: flex;
}

.creddo-qr-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.creddo-qr-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 640px);
	background: #fff;
	border-radius: 16px;
	padding: 32px 28px 28px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
	text-align: center;
}

.creddo-qr-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	z-index: 2;
	border: 0;
	background: transparent;
	color: #666;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
}

.creddo-qr-modal__close:hover {
	color: #1a1a1a;
}

.creddo-qr-modal__title {
	margin: 0 0 6px;
	font-family: "DM Sans", sans-serif;
	font-size: 22px;
	font-weight: 500;
	color: #1a1a1a;
}

.creddo-qr-modal__subtitle {
	margin: 0 0 24px;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	color: #666;
}

.creddo-qr-modal__grid {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	gap: 72px;
}

.creddo-qr-modal__item {
	display: block;
	flex: 0 0 auto;
	text-decoration: none;
}

.creddo-qr-modal__item img {
	display: block;
	width: auto;
	max-width: 220px;
	height: auto;
}

@media (max-width: 767px) {
	.creddo-qr-modal__grid {
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	.creddo-qr-modal__dialog {
		padding: 28px 20px 24px;
	}
}

body.creddo-qr-modal-open {
	overflow: hidden;
}
