.pctaf-feedback {
	align-items: center;
	background: #fff;
	border: 1px solid #d9dde6;
	border-radius: 28px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	box-sizing: border-box;
	color: #1f2937;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
	margin: 28px 0;
	max-width: 680px;
	padding: 12px 20px 16px;
	text-align: center;
	width: 100%;
}

.pctaf-feedback__question {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.pctaf-feedback__actions {
	display: inline-flex;
	gap: 8px;
	justify-content: center;
	order: 1;
}

.pctaf-feedback__question {
	order: 2;
}

.pctaf-feedback__button {
	align-items: center;
	background: #f7f9fc;
	border: 1px solid #d9dde6;
	border-radius: 999px;
	color: #3b4658;
	cursor: pointer;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	overflow: hidden;
	padding: 0;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
	width: 38px;
}

.pctaf-feedback__button:hover,
.pctaf-feedback__button:focus-visible {
	background: #eef6ff;
	border-color: #7ab7ff;
	color: #0f63b6;
	outline: none;
	transform: translateY(-1px);
}

.pctaf-feedback__button.is-active {
	background: #e8f3ff;
	border-color: #2f80ed;
	color: #0f63b6;
}

.pctaf-feedback__button:disabled {
	cursor: default;
	opacity: 0.92;
	transform: none;
}

.pctaf-feedback__icon {
	display: block;
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.pctaf-feedback__message {
	color: #31506f;
	display: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	order: 3;
	width: 100%;
}

.pctaf-feedback__message:not(:empty) {
	display: block;
}

.pctaf-feedback__modal-link {
	background: transparent;
	border: 0;
	color: #0f63b6;
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pctaf-feedback.is-saving {
	opacity: 0.78;
}

.pctaf-modal-open {
	overflow: hidden;
}

.pctaf-modal {
	display: none;
	inset: 0;
	position: fixed;
	z-index: 999999;
}

.pctaf-modal.is-open {
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 20px;
}

.pctaf-modal__backdrop {
	background: rgba(229, 231, 235, 0.82);
	inset: 0;
	position: absolute;
}

.pctaf-modal__dialog {
	background: #fff;
	border: 1px solid #d9dde6;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
	box-sizing: border-box;
	color: #1f2937;
	max-width: 520px;
	padding: 24px;
	position: relative;
	width: min(100%, 520px);
}

.pctaf-modal__close {
	align-items: center;
	background: #f7f9fc;
	border: 1px solid #d9dde6;
	border-radius: 999px;
	color: #3b4658;
	cursor: pointer;
	display: inline-flex;
	font-size: 24px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 34px;
}

.pctaf-modal__title {
	font-size: 20px;
	line-height: 1.3;
	margin: 0 44px 8px 0;
}

.pctaf-modal__intro {
	color: #4b5563;
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 16px;
}

.pctaf-modal__textarea {
	background: #fff;
	border: 1px solid #cfd6e3;
	border-radius: 10px;
	box-sizing: border-box;
	color: #1f2937;
	font: inherit;
	line-height: 1.5;
	min-height: 130px;
	padding: 12px;
	resize: vertical;
	width: 100%;
}

.pctaf-modal__textarea:focus {
	border-color: #2f80ed;
	box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.14);
	outline: none;
}

.pctaf-modal__error {
	color: #b42318;
	font-size: 14px;
	line-height: 1.4;
	margin-top: 10px;
	min-height: 20px;
}

.pctaf-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 16px;
}

.pctaf-modal__submit,
.pctaf-modal__cancel {
	border-radius: 999px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 11px 16px;
}

.pctaf-modal__submit {
	background: #0f63b6;
	border: 1px solid #0f63b6;
	color: #fff;
}

.pctaf-modal__submit:disabled {
	cursor: default;
	opacity: 0.7;
}

.pctaf-modal__cancel {
	background: #fff;
	border: 1px solid #cfd6e3;
	color: #3b4658;
}

@media (max-width: 560px) {
	.pctaf-feedback {
		padding: 16px;
	}

	.pctaf-modal.is-open {
		align-items: flex-end;
		padding: 12px;
	}

	.pctaf-modal__dialog {
		border-radius: 16px;
		padding: 20px;
	}
}
