/**
 * Sondaj post-revenire — single-column survey form.
 * Scoped under .sondaj-page so it never bleeds into other pages that
 * reuse the same generic modal__form / te-register__form / brd-checkbox
 * classes elsewhere in the theme.
 */

.sondaj-page__intro {
	margin: 0 0 28px;
	color: #444;
	font-size: 16px;
	line-height: 1.6;
}

.sondaj-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: 100%;
	margin: 0;
	background: #fff;
	border: 1px solid #ededed;
	border-radius: 12px;
	padding: 36px 40px;
	box-shadow: 0 6px 24px rgba(7, 33, 77, 0.06);
}

/* ---- Fields ---- */
.sondaj-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.sondaj-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.sondaj-form__field span {
	font-size: 15px;
	font-weight: 600;
	color: #07214d;
}

/* Explanatory note under a field label (e.g. what the 1–5 rating refers to). */
.sondaj-form__field .sondaj-form__hint {
	font-size: 13px;
	font-weight: 400;
	color: #5a6577;
	margin-top: -4px;
	line-height: 1.45;
}

.sondaj-form__field input,
.sondaj-form__field select,
.sondaj-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #ededed;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #232323;
	background: #fff;
	transition: border-color 0.2s ease-out;
}

.sondaj-form__field input:hover,
.sondaj-form__field select:hover,
.sondaj-form__field textarea:hover,
.sondaj-form__field input:focus,
.sondaj-form__field select:focus,
.sondaj-form__field textarea:focus {
	border-color: rgba(7, 33, 77, 0.4);
	outline: none;
}

.sondaj-form__field textarea {
	min-height: 110px;
	resize: vertical;
}

/* ---- Checkbox group ---- */
.sondaj-form__group {
	border: none;
	margin: 0;
	padding: 0;
}

.sondaj-form__group legend {
	width: 100%;
	margin: 0 0 12px;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	color: #07214d;
}

.sondaj-form__checkboxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.sondaj-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #ededed;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.sondaj-check:hover {
	background: #f8faff;
	border-color: rgba(7, 33, 77, 0.35);
}

.sondaj-check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin: 0;
	flex-shrink: 0;
	accent-color: #003da5;
	cursor: pointer;
}

.sondaj-check span {
	flex: 1;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #232323;
}

/* ---- Antispam / submit ---- */
.sondaj-form .cf-turnstile {
	margin: 4px 0 0;
}

.sondaj-form .form-feedback {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

.sondaj-form .form-feedback.success {
	background: #e6f7ee;
	color: #0a7d3c;
}

.sondaj-form .form-feedback.error {
	background: #fdecec;
	color: #cc092f;
}

/* .button/.button__azure fix width + main button[type=submit] (0,1,2 specificity)
   overrides padding/font-size — !important needed, same pattern as .zd-form__submit. */
.sondaj-form__submit {
	width: 100% !important;
	margin-top: 4px;
	padding: 16px 24px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
}

@media (max-width: 782px) {
	.sondaj-form {
		padding: 24px 20px;
	}

	.sondaj-form__row,
	.sondaj-form__checkboxes {
		grid-template-columns: 1fr;
	}
}
