/* Feedback form of istin.org pages (handled by feedback.php) */
.feedback {
	margin: 40px 0 0;
	padding: 24px;
	border: 1px solid var(--line, #c8e6c9);
	border-radius: 8px;
	background: var(--soft, #f4faf4);
}
.feedback h2 {
	margin: 0 0 6px;
	padding: 0;
	border: none;
	color: #2e7d32;
	font-size: 22px;
}
.feedback .fb-intro {
	margin: 0 0 16px;
	color: var(--muted, #555);
}
.feedback .fb-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.feedback label {
	display: block;
	margin: 0 0 12px;
	font-weight: 600;
	font-size: 14px;
	color: var(--text, #333);
}
.feedback input,
.feedback textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	padding: 10px;
	border: 1px solid var(--line, #c8e6c9);
	border-radius: 6px;
	background: var(--bg, #fff);
	color: var(--text, #333);
	font: inherit;
	font-weight: normal;
}
.feedback input:focus,
.feedback textarea:focus {
	outline: 2px solid #4caf50;
	border-color: #4caf50;
}
.feedback textarea {
	min-height: 110px;
	resize: vertical;
}
/* honeypot for bots, hidden from people */
.feedback .fb-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.feedback button {
	padding: 10px 24px;
	border: none;
	border-radius: 6px;
	background: #2e7d32;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.feedback button:hover {
	background: #1e4620;
}
.feedback button:disabled {
	opacity: 0.6;
	cursor: wait;
}
.feedback .fb-status {
	margin: 12px 0 0;
	font-weight: 600;
}
.feedback .fb-status.ok {
	color: #2e7d32;
}
.feedback .fb-status.err {
	color: #c62828;
}
/* big button at the top of the main pages: straight to the tonteg request */
.top-action {
	margin: 0 0 24px;
	text-align: center;
}
.top-action a {
	display: inline-block;
	padding: 16px 28px;
	border-radius: 10px;
	background: #2e7d32;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.top-action a:hover {
	background: #1e4620;
}
.top-action small {
	display: block;
	margin-top: 6px;
	color: var(--muted, #555);
	font-size: 14px;
}
/* one dictation button for every field of the page (dictation.js) */
.dictate-button {
	position: fixed;
	left: 20px;
	top: 20px;
	z-index: 1000;
	padding: 14px 22px;
	border: none;
	border-radius: 40px;
	background: #2e7d32;
	color: #fff;
	font: inherit;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.dictate-button.in-slot {
	position: static;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dictate-button.on {
	background: #c62828;
}
.dictate-target {
	outline: 3px solid #c62828 !important;
	border-color: #c62828 !important;
}
@media (max-width: 640px) {
	/* below the fixed language switch of ru.html / index.html */
	.top-action {
		margin-top: 56px;
	}
	.top-action a {
		font-size: 18px;
		padding: 14px 20px;
	}
	.feedback {
		padding: 16px;
	}
	.feedback .fb-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}
