:root {
	--apc-widget-blue: #192e59;
	--apc-widget-green: #49ad33;
}

.apf-feedback-widget-v2 {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999998;
	font-family: Ubuntu, Arial, sans-serif;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.88);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.apf-feedback-widget-v2.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: scale(1);
}

.apf-feedback-launcher-v2 {
	position: relative;
	display: grid;
	width: 72px;
	height: 72px;
	margin: 0;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 5px #fff;
	cursor: pointer;
	overflow: visible;
}

.apf-feedback-launcher-v2::before {
	content: "";
	position: absolute;
	inset: 9px;
	z-index: 1;
	border: 2px solid var(--apc-widget-green);
	border-radius: 50%;
	background: var(--apc-widget-blue);
	transition: transform 180ms ease;
}

.apf-feedback-launcher-v2:hover::before,
.apf-feedback-launcher-v2:focus-visible::before {
	transform: scale(1.04);
}

.apf-feedback-launcher-v2:focus-visible {
	outline: 3px solid var(--apc-widget-green);
	outline-offset: 4px;
}

.apf-feedback-launcher-icon-v2 {
	position: relative;
	z-index: 2;
	width: 25px;
	height: 25px;
	fill: #fff;
}

.apf-feedback-orbit-v2 {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 72px;
	height: 72px;
	overflow: visible;
	pointer-events: none;
	animation: apf-feedback-orbit-v2 13s linear infinite;
}

.apf-feedback-orbit-v2 text {
	fill: var(--apc-widget-green);
	stroke: var(--apc-widget-green);
	stroke-width: 0.35px;
	font-family: Ubuntu, Arial, sans-serif;
	font-size: 13.5px;
	font-weight: 900;
	letter-spacing: 0.35px;
	paint-order: stroke fill;
}

.apf-feedback-panel-v2[hidden] {
	display: none !important;
}

.apf-feedback-panel-v2 {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(410px, calc(100vw - 32px));
	max-height: min(68vh, 560px);
	overflow: auto;
	border: 1px solid #d9dee8;
	border-radius: 0;
	background: #fff;
	color: #111;
}

.apf-feedback-widget-v2.is-open .apf-feedback-launcher-v2 {
	display: none;
}

.apf-feedback-header-v2 {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 14px;
	border-bottom: 1px solid #d9dee8;
	background: var(--apc-widget-blue);
	color: #fff;
}

.apf-feedback-header-v2 strong,
.apf-feedback-header-v2 span {
	display: block;
}

.apf-feedback-header-v2 strong {
	font-size: 18px;
	line-height: 1.25;
}

.apf-feedback-header-v2 span {
	margin-top: 3px;
	font-size: 13px;
	line-height: 1.35;
	opacity: 0.9;
}

.apf-feedback-close-v2 {
	flex: 0 0 auto;
	width: 31px;
	height: 31px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--apc-widget-green);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 25px;
	line-height: 27px;
	cursor: pointer;
}

.apf-feedback-form-v2 {
	padding: 14px;
}

.apf-feedback-form-v2 .forminator-ui {
	margin: 0 !important;
}

.apf-feedback-form-v2 .forminator-button-submit {
	background: var(--apc-widget-green) !important;
}

@keyframes apf-feedback-orbit-v2 {
	to {
		transform: rotate(360deg);
	}
}

.apf-feedback-widget-v2.is-attention .apf-feedback-launcher-v2 {
	animation: apf-feedback-attention-v2 0.5s ease-in-out 6;
}

@keyframes apf-feedback-attention-v2 {
	0%, 100% {
		box-shadow:
			0 0 0 5px #fff,
			0 0 0 5px rgba(73, 173, 51, 0);
		transform: scale(1);
	}
	50% {
		box-shadow:
			0 0 0 5px #fff,
			0 0 0 13px rgba(73, 173, 51, 0.35);
		transform: scale(1.08);
	}
}

@media (max-width: 600px) {
	.apf-feedback-widget-v2 {
		right: 10px;
		bottom: 10px;
	}

	.apf-feedback-launcher-v2 {
		width: 64px;
		height: 64px;
	}

	.apf-feedback-launcher-v2::before {
		inset: 8px;
	}

	.apf-feedback-launcher-icon-v2 {
		width: 21px;
		height: 21px;
	}

	.apf-feedback-orbit-v2 {
		inset: 0;
		width: 64px;
		height: 64px;
	}

	.apf-feedback-orbit-v2 text {
		font-size: 13.5px;
		letter-spacing: 0.2px;
	}

	.apf-feedback-panel-v2 {
		right: 0;
		bottom: 0;
		width: calc(100vw - 20px);
		max-height: min(64vh, 490px);
	}

	.apf-feedback-header-v2 {
		padding: 10px 11px;
	}

	.apf-feedback-header-v2 strong {
		font-size: 16px;
	}

	.apf-feedback-header-v2 span {
		font-size: 12px;
	}

	.apf-feedback-form-v2 {
		padding: 10px;
	}

	.apf-feedback-form-v2 .forminator-row {
		margin-bottom: 10px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apf-feedback-orbit-v2,
	.apf-feedback-widget-v2.is-attention .apf-feedback-launcher-v2 {
		animation: none;
	}
}
