.cqrg-wrapper {
	max-width: 420px;
	margin: 0 auto;
	font-family: inherit;
	text-align: center;
}

.cqrg-wrapper,
.cqrg-wrapper * {
	font-family: inherit !important;
	box-sizing: border-box;
}

.cqrg-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.cqrg-label {
	font-weight: 600;
	font-size: 14px;
	width: 100%;
	text-align: center;
}

.cqrg-input-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.cqrg-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	text-align: center;
}

.cqrg-input:focus {
	outline: none;
	border-color: #C3F33B;
	box-shadow: 0 0 0 2px rgba(195, 243, 59, 0.4);
}

.cqrg-btn {
	padding: 12px 28px;
	border: none !important;
	border-radius: 999px !important;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, opacity 0.15s ease;
	display: inline-block;
	line-height: 1.4;
}

.cqrg-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.cqrg-btn-primary,
.cqrg-btn-primary:visited {
	background: #C3F33B !important;
	color: #1d2327 !important;
}

.cqrg-btn-primary:hover:not(:disabled),
.cqrg-btn-primary:focus:not(:disabled) {
	background: #b0e02a !important;
	color: #1d2327 !important;
}

.cqrg-btn-secondary,
.cqrg-btn-secondary:visited {
	background: #1d2327 !important;
	color: #fff !important;
}

.cqrg-btn-secondary:hover,
.cqrg-btn-secondary:focus {
	background: #000 !important;
	color: #fff !important;
}

.cqrg-error {
	color: #d63638;
	font-size: 13px;
	margin: 0;
	display: none;
	text-align: center;
	width: 100%;
}

.cqrg-result {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.cqrg-preview {
	width: 300px;
	max-width: 100%;
	padding: 16px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cqrg-preview svg {
	width: 100%;
	height: auto;
	display: block;
}
