.fixedpanel{
	z-index: 30!important;
}

	/* ============ ШАПКА ОПРОСА ============ */
.vote-header {
	margin-bottom: 30px;
}

.vote-header h1 {
	font-size: 32px;
	color: #2a2a2a;
	margin-bottom: 15px;
}

.vote-description {
	font-size: 16px;
	color: #666;
	line-height: 1.5;
}

/* ============ СООБЩЕНИЕ ОБ ОКОНЧАНИИ ============ */
.vote-ended {
	font-size: 18px;
}

/* ============ БЛОК ФИЛЬТРАЦИИ ============ */
.vote-filters {
	margin-top: 30px;
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
	align-items: center;
}

.filter-specialty {
	flex: 1;
	position: relative;
	z-index: 9;
}

.filter-search {
	flex: 1;
}

/* Оригинальный select */
.filter-select {
	width: 100%;
	border-radius: 5px;
	font-size: 14px;
	font-family: inherit;
	color: #2a2a2a;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.3s;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
}

.filter-select:hover {
	border-color: #00a1d8;
}

.filter-select:focus {
	outline: none;
	border-color: #00a1d8;
}

.filter-select:disabled {
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 0.7;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Стили для поля поиска */
.filter-input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s;
	box-sizing: border-box;
	background: #fff;
	color: #2a2a2a;
}

.filter-input:focus {
	outline: none;
	border-color: #00a1d8;
}

.filter-input:disabled {
	background-color: #f5f5f5;
	cursor: not-allowed;
	opacity: 0.7;
}

.jq-selectbox__dropdown ul{
	overflow: auto;
}

/* Неактивное состояние jq-selectbox */
.filter-specialty .jq-selectbox.disabled .jq-selectbox__select {
	background-color: #f5f5f5;
	cursor: not-allowed;
	border-color: #ddd;
}

.filter-specialty .jq-selectbox.disabled .jq-selectbox__trigger-arrow {
	border-top-color: #ccc;
}

.filter-specialty .jq-selectbox.disabled .jq-selectbox__select-text {
	color: #999;
}

/* Кнопка сброса */
.btn-reset {
	padding: 10px 20px;
	background: #00a1d8;
	border: 1px solid #ddd;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s;
	white-space: nowrap;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
}

.btn-reset:hover:not(:disabled) {
	opacity: 0.9;
}

.btn-reset:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ============ ОСНОВНОЙ КОНТЕЙНЕР ============ */
.voting-form-container {
	position: relative;
	margin-top: 30px;
	display: grid;
	grid-template-columns: auto auto;
	grid-gap: 30px;
	align-items: start;
}

/* ============ СЕТКА ВРАЧЕЙ ============ */
.voting-form-answers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 25px;
}

/* ============ СООБЩЕНИЕ О НЕНАЙДЕННЫХ ВРАЧАХ ============ */
#no-results-message {
	grid-column: 1 / -1;
	width: 100%;
}

.no-results-content {
	text-align: center;
	padding: 60px 30px;
	background: #f5f5f7;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.no-results-icon {
	font-size: 48px;
	display: block;
	margin-bottom: 15px;
}

.no-results-content p {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* ============ КАРТОЧКА ВРАЧА ============ */
.vote-form-answer.doctor {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 2px solid #00a1d8;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
	background: #f5f5f7;
}

.vote-form-answer.doctor input {
	display: none;
}

.vote-form-answer.doctor:hover:not(.disabled):not(.active) {
	border-color: rgba(138, 199, 81, 0.5);
}

.vote-form-answer.doctor.active {
	border-color: #8ac751;
}

.vote-form-answer.doctor.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

/* ============ ФОТО ВРАЧА ============ */
.doctor-image-wrapper {
	position: relative;
	width: 100%;
	height: 280px;
	overflow: hidden;
	background: #fff;
}

.doctor-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom;
	padding: 10px 10px 0;
	box-sizing: border-box;
}

.check-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	background: #8ac751;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.vote-form-answer.doctor.active .check-icon {
	display: flex;
}

.check-icon::after {
	content: '';
	display: block;
	width: 12px;
	height: 7px;
	border-left: 2px solid white;
	border-bottom: 2px solid white;
	transform: rotate(-45deg);
	margin-top: -2px;
}

/* ============ ИНФОРМАЦИЯ О ВРАЧЕ ============ */
.doctor-text {
	width: 100%;
	padding: 15px 20px;
	box-sizing: border-box;
	background: #f5f5f7;
}

.doctor-text p {
	margin: 0 0 5px;
	color: #2a2a2a;
}

.doctor-text p.name {
	font-weight: bold;
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 8px;
}

.doctor-text p.position {
	font-size: 13px;
	line-height: 1.3;
	color: #666;
	text-transform: lowercase;
}

/* ============ ПРАВАЯ КОЛОНКА ============ */
.vote-form-sidebar {
	position: sticky;
	top: 150px;
	align-self: start;
	/*max-width: 250px;*/
	/*place-self: flex-end;*/
}

/* ============ ПРАВЫЙ ФИКСИРОВАННЫЙ БЛОК ============ */
.vote-form-result {
	min-width: 240px;
	background: #fff;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.vote-form-counter {
	display: block;
	font-size: 16px;
	color: #2a2a2a;
	margin-bottom: 20px;
	text-align: center;
}

.vote-form-counter span {
	/*font-weight: bold;*/
	/*color: #00a1d8;*/
	/*font-size: 20px;*/
}

/* ============ КНОПКА ОТПРАВКИ ============ */
.btn.btn-vote {
	display: block;
	width: 100%;
	padding: 15px;
	background: #00a1d8;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 20px;
}

.btn.btn-vote:hover:not(:disabled) {
	opacity: 0.9;
}

.btn.btn-vote:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.btn.btn-vote.loading {
	position: relative;
	color: transparent;
}

.btn.btn-vote.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255,255,255,0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============ АНИМАЦИИ ============ */
.vote-form-answer.doctor.error {
	animation: shake 0.5s ease-in-out;
	border-color: #ff4444;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

.vote-form-counter.limit-reached {
	animation: pulse 0.5s ease-in-out;
	color: #ff4444;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

/* ============ CAPTCHA ============ */
.yandex-captcha {
	/*margin: 15px 0;*/
	max-width: 100px;
}

.SmartCaptcha-Shield_position_bottom.SmartCaptcha-Shield_position_left.SmartCaptcha-Shield.SmartCaptcha-Shield_visible {
	bottom: 158px !important;
	z-index: 10;
}

/* ============ КНОПКА "ФИЛЬТРЫ" ============ */
.btn.btn-filters {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 15px;
	background: #8ac751;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 15px;
}

.btn.btn-filters:hover {
	opacity: 0.9;
}

.btn-filters-arrow {
	display: inline-block;
	width: 12px;
	height: 12px;
	position: relative;
}

.btn-filters-arrow::before,
.btn-filters-arrow::after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 2px;
	background: #fff;
	border-radius: 1px;
}

.btn-filters-arrow::before {
	height: 12px;
	left: 0;
	transform: rotate(-135deg);
}

.btn-filters-arrow::after {
	height: 12px;
	right: 2px;
	transform: rotate(135deg);
}

/* ============ СТАТУС "УЖЕ ГОЛОСОВАЛ" ============ */
.vote-form-result--already-voted,
.vote-form-result--success {
	text-align: center;
}

.vote-already-voted-icon {
	width: 60px;
	height: 60px;
	background: #8ac751;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
	color: white;
	font-size: 30px;
	font-weight: bold;
	line-height: 1;
}

.vote-already-voted-text {
	font-size: 16px;
	color: #2a2a2a;
	line-height: 1.4;
	margin: 0;
}

/* ============ СТАТУС ОШИБКИ ============ */
.vote-form-result--error {
	text-align: center;
}

.vote-form-result--error .vote-already-voted-text {
	color: #cc0000;
}

/* ============ КАРТОЧКИ В НЕАКТИВНОМ РЕЖИМЕ ============ */
.vote-form-answer.doctor.disabled {
	pointer-events: none;
	opacity: 0.7;
}

/* ============ АДАПТИВНОСТЬ ============ */
@media (max-width: 1200px) {
	.voting-form-answers {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.voting-form-container {
		grid-template-columns: 1fr;
	}

	.voting-form-answers {
		grid-template-columns: 1fr 1fr 1fr;
		grid-gap: 15px;
	}

	.vote-form-sidebar {
		position: fixed;
		bottom: 55px;
		top: auto;
		left: 0;
		right: 0;
		z-index: 1;
		display: flex;
		flex-direction: column;
	}

	.vote-form-result {
		position: static;
		border-radius: 10px 10px 0 0;
		padding: 10px 20px;
		box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
		order: 2;
	}

	.vote-form-counter{
		margin-bottom: 10px;
	}

	.btn.btn-vote{
		margin-top: 10px;
	}

	/* Кнопка "Фильтры" на мобильных */
	.btn.btn-filters {
		margin-top: 0;
		margin-bottom: 0;
		font-size: 14px;
		order: 1;
		width: 110px;
		align-self: flex-end;
		padding: 5px 8px;
		gap: 5px;
		border-radius: 5px 0 0 5px;

	}

	.btn-filters-arrow {
		width: 10px;
		height: 10px;
	}

	.btn-filters-arrow::before {
		height: 10px;
		left: 0;
		transform: rotate(-135deg);
	}

	.btn-filters-arrow::after {
		height: 10px;
		right: 2px;
		transform: rotate(135deg);
	}

	.vote-filters {
		flex-direction: column;
	}

	.filter-specialty,
	.filter-search {
		width: 100%;
	}

	.btn-reset{
		width: 100%;
	}

	.doctor-image-wrapper {
		height: 200px;
	}

	.doctor-text{
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 650px) {
	.voting-form-answers {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 400px) {
	.voting-form-answers {
		grid-template-columns: 1fr;
	}
}