.webtwin-review-auth,
.webtwin-review-auth * {
	box-sizing: border-box;
}

.webtwin-review-auth {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 24px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms ease, visibility 180ms ease;
}

.webtwin-review-auth.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.webtwin-review-auth__backdrop {
	position: absolute;
	inset: 0;
	background: linear-gradient(179.24deg, rgba(2, 14, 52, 0.6) 0.26%, rgba(8, 31, 105, 0.6) 2.27%, rgba(2, 14, 52, 0.6) 54.78%, rgba(255, 255, 255, 0.6) 99.34%);
	-webkit-backdrop-filter: blur(100px);
	backdrop-filter: blur(100px);
}

.webtwin-review-auth__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 540px);
	max-height: calc(100dvh - 48px);
	overflow: auto;
	padding: 46px 48px 38px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 32px 90px rgba(2, 14, 52, 0.3);
	color: #020e34;
	font-family: Montserrat, Arial, sans-serif;
	transform: translateY(16px) scale(0.98);
	transition: transform 220ms ease;
}

.webtwin-review-auth.is-open .webtwin-review-auth__dialog {
	transform: translateY(0) scale(1);
}

.webtwin-review-auth__dialog:focus {
	outline: none;
}

#webtwin-review-auth .webtwin-review-auth__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid #f26522 !important;
	border-radius: 50%;
	background: #fff !important;
	color: #f26522 !important;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease;
}

#webtwin-review-auth .webtwin-review-auth__close:hover {
	border-color: #f26522 !important;
	background: #f26522 !important;
	color: #fff !important;
	transform: rotate(4deg);
}

.webtwin-review-auth__close span::before,
.webtwin-review-auth__close span::after {
	content: "";
	position: absolute;
	top: 19px;
	left: 11px;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.webtwin-review-auth__close span::before {
	transform: rotate(45deg);
}

.webtwin-review-auth__close span::after {
	transform: rotate(-45deg);
}

.webtwin-review-auth__eyebrow {
	margin: 0 0 10px;
	color: #ff5a00;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.webtwin-review-auth__heading h2 {
	margin: 0;
	color: #020e34;
	font-size: clamp(27px, 5vw, 36px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	text-transform: none;
}

.webtwin-review-auth__heading > p:last-child {
	max-width: 420px;
	margin: 16px 0 0;
	color: #536078;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

.webtwin-review-auth__providers {
	display: grid;
	gap: 12px;
	margin-top: 30px;
}

#webtwin-review-auth .webtwin-review-auth__provider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 64px;
	width: 100%;
	margin: 0;
	padding: 12px 20px;
	border: 2px solid #f26522 !important;
	border-radius: 15px;
	-webkit-appearance: none;
	appearance: none;
	background-color: #f26522 !important;
	background-image: none !important;
	box-shadow: 0 10px 24px rgba(242, 101, 34, 0.2);
	color: #fff !important;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

#webtwin-review-auth .webtwin-review-auth__provider::after {
	content: "→";
	color: currentColor;
	font-size: 24px;
	font-weight: 400;
}

#webtwin-review-auth .webtwin-review-auth__provider:hover,
#webtwin-review-auth .webtwin-review-auth__provider:focus-visible {
	border-color: #f26522 !important;
	background-color: #fff !important;
	background-image: none !important;
	box-shadow: 0 10px 26px rgba(242, 101, 34, 0.16);
	color: #f26522 !important;
	transform: translateY(-1px);
}

.webtwin-review-auth__provider:focus-visible,
.webtwin-review-auth__close:focus-visible {
	outline: 3px solid rgba(255, 90, 0, 0.35);
	outline-offset: 2px;
}

#webtwin-review-auth .webtwin-review-auth__provider-icon {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	color: currentColor;
}

#webtwin-review-auth .webtwin-review-auth__provider-icon svg {
	display: block;
	width: 28px;
	height: 28px;
}

#webtwin-review-auth .webtwin-review-auth__provider-icon--yandex {
	background: transparent;
	color: currentColor;
	font-family: Arial, sans-serif;
	font-size: 25px;
	font-weight: 700;
}

#webtwin-review-auth .webtwin-review-auth__provider-icon--vk svg {
	width: 32px;
	height: 32px;
	fill: currentColor !important;
}

#webtwin-review-auth .webtwin-review-auth__provider-icon--google svg path {
	fill: currentColor !important;
}

.webtwin-review-auth__status {
	margin: 18px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: #fff3ec;
	color: #b7440c;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}

.webtwin-review-auth__status.is-error {
	background: #fff0f0;
	color: #b42318;
}

.webtwin-review-auth__privacy {
	margin: 22px 0 0;
	color: #7a8498;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

body.webtwin-review-auth-open {
	overflow: hidden;
}

/* Compact CF7 review form inside the Elementor popup. */
.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form,
.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form * {
	box-sizing: border-box;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form {
	color: #011c2b;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.45;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form p,
.wpcf7-form.webtwin-review-cf7-form > p {
	margin: 0;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form br {
	display: none;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__intro {
	margin: 0 0 38px;
	font-size: 22px;
	line-height: 1.35;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__employee-link {
	display: inline;
	margin-left: 5px;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__rating-row {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0 0 34px;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__rating-title {
	min-width: 170px;
	font-size: 20px;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__rating-caption {
	font-size: 17px;
	white-space: nowrap;
}

.wpcf7-form.webtwin-review-cf7-form .review-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 3px;
}

.wpcf7-form.webtwin-review-cf7-form .review-rating .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form.webtwin-review-cf7-form .review-rating label {
	display: block;
	cursor: pointer;
}

.wpcf7-form.webtwin-review-cf7-form .review-rating input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.wpcf7-form.webtwin-review-cf7-form .review-rating .wpcf7-list-item-label {
	display: block;
	font-size: 0;
}

.wpcf7-form.webtwin-review-cf7-form .review-rating .wpcf7-list-item-label::before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	background: url("https://studteam.ru/wp-content/uploads/2026/07/star-11.svg") center / contain no-repeat;
	transition: background-image 0.15s ease, transform 0.15s ease;
}

.wpcf7-form.webtwin-review-cf7-form .review-rating .wpcf7-list-item:has(input:checked) .wpcf7-list-item-label::before,
.wpcf7-form.webtwin-review-cf7-form .review-rating .wpcf7-list-item:has(input:checked) ~ .wpcf7-list-item .wpcf7-list-item-label::before,
.wpcf7-form.webtwin-review-cf7-form .review-rating .wpcf7-list-item:hover .wpcf7-list-item-label::before,
.wpcf7-form.webtwin-review-cf7-form .review-rating .wpcf7-list-item:hover ~ .wpcf7-list-item .wpcf7-list-item-label::before {
	background-image: url("https://studteam.ru/wp-content/uploads/2026/07/star-9.svg");
}

.wpcf7-form.webtwin-review-cf7-form .review-rating label:hover .wpcf7-list-item-label::before {
	transform: scale(1.07);
}

.wpcf7-form.webtwin-review-cf7-form .review-rating input:focus-visible + .wpcf7-list-item-label::before {
	outline: 2px solid #f45b22;
	outline-offset: 3px;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__label {
	display: block;
	margin: 0 0 15px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.35;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form .review-textarea {
	display: block;
	width: 100%;
	height: 116px;
	min-height: 116px;
	padding: 22px 28px;
	border: 1px solid #b9d4e8;
	border-radius: 10px;
	background: #fff;
	color: #011c2b;
	font: inherit;
	line-height: 1.45;
	resize: none;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__grid {
	display: grid;
	gap: 32px;
	margin: 34px 0 0;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__field {
	position: relative;
	display: block;
	margin: 0;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form .review-select,
.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form .review-date {
	display: block;
	width: 100%;
	height: 70px;
	min-height: 70px;
	padding: 0 22px;
	border: 1px solid #b9d4e8;
	border-radius: 10px;
	background-color: #fff;
	color: #011c2b;
	font: inherit;
	line-height: 1;
	box-shadow: none;
	outline: none;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form .review-select {
	padding-right: 52px;
	appearance: none;
	cursor: pointer;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__field--select::after {
	content: "";
	position: absolute;
	right: 24px;
	bottom: 30px;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #011c2b;
	border-bottom: 1.5px solid #011c2b;
	transform: rotate(45deg);
	pointer-events: none;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form .review-textarea:focus,
.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form .review-select:focus,
.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form .review-date:focus {
	border-color: #f45b22;
	box-shadow: 0 0 0 3px rgba(244, 91, 34, 0.12);
	outline: none;
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 70px;
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline label,
.wpcf7-form.webtwin-review-cf7-form .review-deadline .wpcf7-list-item-label {
	display: flex;
	align-items: center;
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline label {
	cursor: pointer;
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline .wpcf7-list-item-label {
	gap: 10px;
	color: #011c2b;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.25;
	white-space: nowrap;
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline .wpcf7-list-item-label::before {
	content: "";
	display: block;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	filter: none;
	opacity: 1;
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline .wpcf7-list-item:first-child .wpcf7-list-item-label::before {
	content: "";
	background-image: url("https://studteam.ru/wp-content/uploads/2026/07/like.svg");
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline .wpcf7-list-item:nth-child(2) .wpcf7-list-item-label::before {
	content: "";
	background-image: url("https://studteam.ru/wp-content/uploads/2026/07/dislike.svg");
}

.wpcf7-form.webtwin-review-cf7-form .review-deadline input:checked + .wpcf7-list-item-label {
	font-weight: 600;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__verified {
	display: flex;
	align-items: center;
	min-height: 70px;
	padding: 0 22px;
	border: 1px solid #b9d4e8;
	border-radius: 10px;
	color: #657487;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__verified p {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__verified-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	border-radius: 0;
	background: url("https://studteam.ru/wp-content/uploads/2026/07/confirm.svg") center / contain no-repeat;
	color: transparent;
	font-size: 0;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__consent {
	margin: 38px 0 20px;
	color: #657487;
	font-size: 16px;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__consent .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__consent label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__consent input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	flex: 0 0 20px;
	accent-color: #f45b22;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__submit {
	display: block;
	width: 100%;
	min-height: 68px;
	margin: 0;
	padding: 16px 28px;
	border: 1px solid #f45b22;
	border-radius: 8px;
	background: #f45b22;
	color: #fff;
	font: inherit;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
}

.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__submit:hover,
.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__submit:focus-visible {
	background: #fff;
	color: #f45b22;
}

.wpcf7-form.webtwin-review-cf7-form .wpcf7-spinner {
	display: none !important;
}

@media (max-width: 900px) {
	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__grid--three .webtwin-review-form__field:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 650px) {
	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form {
		font-size: 16px;
	}

	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__intro {
		margin-bottom: 28px;
		font-size: 18px;
	}

	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__rating-row {
		flex-wrap: wrap;
		gap: 12px 18px;
		margin-bottom: 28px;
	}

	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__rating-title {
		width: 100%;
		min-width: 0;
		font-size: 18px;
	}

	.wpcf7-form.webtwin-review-cf7-form .review-rating .wpcf7-list-item-label::before {
		width: 29px;
		height: 29px;
	}

	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__grid--two,
	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__grid--three {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__grid--three .webtwin-review-form__field:last-child {
		grid-column: auto;
	}

	.wpcf7-form.webtwin-review-cf7-form .review-deadline {
		flex-wrap: wrap;
		gap: 14px 22px;
		min-height: auto;
	}

	.wpcf7-form.webtwin-review-cf7-form .webtwin-review-form__label {
		font-size: 18px;
	}
}

.wpcf7-form.webtwin-review-form--loading {
	position: relative;
	pointer-events: none;
	opacity: 0.6;
}

.wpcf7-form.webtwin-review-form--loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 20;
	width: 50px;
	height: 50px;
	margin: -25px 0 0 -25px;
	border: 5px solid rgba(56, 103, 160, 0.28);
	border-top-color: #f26522;
	border-radius: 50%;
	animation: webtwin-review-spin 0.9s linear infinite;
}

.wpcf7-form.webtwin-review-form--loading .wpcf7-spinner {
	display: none;
}

.wpcf7-form.webtwin-review-cf7-form.sent .wpcf7-response-output {
	display: none !important;
}

.webtwin-review-feedback {
	margin-top: 20px;
	padding: 20px;
	border-radius: 12px;
	color: #fff;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
	animation: webtwin-review-feedback-in 0.5s ease;
	transition: opacity 0.5s ease;
}

.webtwin-review-feedback--error {
	background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
	box-shadow: 0 8px 20px rgba(244, 67, 54, 0.4);
}

.webtwin-review-feedback.is-hiding {
	opacity: 0;
}

@keyframes webtwin-review-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes webtwin-review-feedback-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 600px) {
	.webtwin-review-auth {
		align-items: end;
		padding: 12px;
	}

	.webtwin-review-auth__dialog {
		width: 100%;
		max-height: calc(100dvh - 24px);
		padding: 38px 20px 26px;
		border-radius: 20px;
	}

	.webtwin-review-auth__close {
		top: 12px;
		right: 12px;
	}

	.webtwin-review-auth__heading h2 {
		padding-right: 32px;
	}

	.webtwin-review-auth__providers {
		margin-top: 24px;
	}

	#webtwin-review-auth .webtwin-review-auth__provider {
		gap: 10px;
		padding-inline: 14px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.webtwin-review-auth,
	.webtwin-review-auth__dialog,
	.webtwin-review-auth__provider,
	.webtwin-review-auth__close {
		transition: none;
	}
}
