.chv-translation {
	margin: 28px 0;
}

.chv-translation__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 11px 18px;
	border: 1px solid #1e5aa8;
	border-radius: 9px;
	background: #1e5aa8;
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.chv-translation__button:hover,
.chv-translation__button:focus {
	border-color: #17477f;
	background: #17477f;
	color: #fff;
}

.chv-translation__button:focus-visible {
	outline: 3px solid rgba(30, 90, 168, .25);
	outline-offset: 2px;
}

.chv-translation__icon {
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s ease;
}

.chv-translation__button[aria-expanded="true"] .chv-translation__icon {
	transform: translateY(2px) rotate(225deg);
}

.chv-translation__content {
	margin-top: 16px;
	padding: 20px;
	border: 1px solid #dbe4ee;
	border-radius: 10px;
	background: #f8fafc;
	color: #263238;
	font-size: inherit;
	line-height: 1.8;
	box-shadow: 0 2px 8px rgba(31, 53, 74, .05);
}

.chv-translation__content[hidden] {
	display: none !important;
}

.chv-translation__content > :first-child {
	margin-top: 0;
}

.chv-translation__content > :last-child {
	margin-bottom: 0;
}

@media (max-width: 600px) {
	.chv-translation__button {
		width: 100%;
	}

	.chv-translation__content {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.chv-translation__button,
	.chv-translation__icon {
		transition: none;
	}
}

