/* ============================================================
   Satisfaction Rating Field — layout, shape, transitions only.
   All colours come from a scoped <style> block output by PHP.
   ============================================================ */

/* Label-above fix: force full width inside Elementor's flex field-group */
.elementor-form-fields-wrapper.elementor-labels-above
  .elementor-field-type-satisfaction_rating
  .srf-rating-field,
.elementor-form-fields-wrapper.elementor-labels-inline
  .elementor-field-type-satisfaction_rating
  .srf-rating-field {
	flex-basis: 100%;
	max-width: 100%;
	width: 100%;
}

.srf-rating-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex-basis: 100%;
	max-width: 100%;
}

.srf-scale-labels {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #6b7280;
	padding: 0 2px;
}

.srf-buttons {
	display: grid;
	gap: 8px;
	/* grid-template-columns set by the scoped <style> block per field */
}

.srf-btn {
	width: 100%;
	min-width: 0;
	height: 48px;    /* overridden by scoped style if Button Height is set */
	padding: 0 14px;
	border-width: 1.5px;
	border-style: solid;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease,
	            color 0.15s ease, transform 0.1s ease;
	line-height: 1;
	box-shadow: none;
	outline: none;
	font-family: inherit;
}

.srf-btn.srf-active {
	transform: scale(1.04);
}

.srf-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.srf-rating-field.elementor-error .srf-btn {
	border-color: #ef4444 !important;
}
