/* Vidguk Feedback — стили кнопки и модального окна */

.vf-widget {
	margin: 24px 0;
	text-align: center;
}

.vf-open-btn {
	display: inline-block;
	padding: 12px 28px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s;
}

.vf-open-btn:hover {
	background: #135e96;
}

/* Оверлей */
.vf-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

body.vf-modal-open {
	overflow: hidden;
}

/* Модальное окно */
.vf-modal {
	position: relative;
	background: #fff;
	border-radius: 10px;
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 28px 24px 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	font-size: 15px;
	color: #1d2327;
}

.vf-modal h3 {
	margin: 0 0 12px;
	font-size: 20px;
}

.vf-hint {
	color: #646970;
	margin: 0 0 16px;
	font-size: 14px;
}

.vf-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #787c82;
	cursor: pointer;
	padding: 4px;
}

.vf-close:hover {
	color: #1d2327;
}

/* Кнопки выбора */
.vf-choices {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.vf-choice-btn {
	padding: 14px;
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
}

.vf-choice-btn:hover {
	background: #eef4fa;
	border-color: #2271b1;
}

/* Формы */
.vf-form p {
	margin: 0 0 14px;
}

.vf-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 14px;
}

.vf-req {
	color: #d63638;
}

.vf-form input[type="text"],
.vf-form input[type="tel"],
.vf-form input[type="email"],
.vf-form textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #c3c4c7;
	border-radius: 5px;
	font-size: 15px;
	box-sizing: border-box;
}

.vf-form input:focus,
.vf-form textarea:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

/* Honeypot — скрыто от людей, но видно ботам */
.vf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Кнопки действий */
.vf-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

.vf-submit {
	padding: 10px 24px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
}

.vf-submit:hover {
	background: #135e96;
}

.vf-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.vf-back {
	background: none;
	border: none;
	color: #2271b1;
	cursor: pointer;
	font-size: 14px;
	padding: 8px 0;
}

.vf-back:hover {
	text-decoration: underline;
}

/* Сообщение об ошибке */
.vf-message {
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	padding: 10px 12px;
	font-size: 14px;
	border-radius: 3px;
	margin-bottom: 8px;
}
