.vk-user-survey {
	position: fixed;
	bottom: 0;
	right: 2rem;
	z-index: 1000;
	width: 20rem;
	max-width: calc(100vw - 4rem);
	border-radius: 1rem 1rem 0 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	background-color: #10497f;
	color: #fff;
	font-size: 1rem;
	line-height: 1.4;
}

.vk-user-survey__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	margin: 0;
	padding: 0.75rem 1.25rem;
	border: none;
	border-radius: 1rem 1rem 0 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.vk-user-survey__toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.vk-user-survey__caret {
	flex-shrink: 0;
	width: 12px;
    height: 12px;
	margin-top: 0.3em;
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: rotate(-135deg);
	transition: transform 0.3s ease, margin 0.3s ease;
}

.vk-user-survey.is-open .vk-user-survey__caret {
	margin-top: -0.3em;
	transform: rotate(45deg);
}

.vk-user-survey__panel {
	padding: 0 1.25rem 1.25rem;
}

.vk-user-survey__panel[hidden] {
	display: none;
}

.vk-user-survey__text {
	margin: 0 0 1rem;
	color: inherit;
}

.vk-user-survey__button {
	display: block;
	width: fit-content;
	margin: 0 auto;
	text-align: center;
	padding: 0.5rem 1.25rem;
	border-radius: 2rem;
	background-color: #fff;
	color: #10497f;
	font-weight: 600;
	text-decoration: none;
}

.vk-user-survey__button:hover,
.vk-user-survey__button:focus {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.vk-user-survey {
		display: none;
	}
}
