/* LeadSender Forms Pro — колонки, шаги, оценка, всплывающая форма. */
.lsffp-form .lsff-fields {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
}
.lsffp-form .lsffp-page {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;
}
.lsffp-page[hidden],
.lsffp-cell[hidden],
.lsffp-nav [hidden],
.lsff-actions[hidden] {
	display: none !important;
}
.lsffp-cell {
	flex: 0 0 100%;
	min-width: 0;
}
.lsffp-w-50 {
	flex-basis: calc(50% - 8px);
}
.lsffp-w-33 {
	flex-basis: calc(33.333% - 10.67px);
}
.lsffp-w-25 {
	flex-basis: calc(25% - 12px);
}
@media (max-width: 600px) {
	.lsffp-w-50,
	.lsffp-w-33,
	.lsffp-w-25 {
		flex-basis: 100%;
	}
}
.lsffp-step {
	flex: 0 0 100%;
}
.lsffp-step__title {
	margin: 8px 0 0;
	font-size: 1.1em;
}
.lsffp-progress {
	flex: 0 0 100%;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: .9em;
}
.lsffp-progress__bar {
	height: 6px;
	border-radius: 3px;
	background: #e6e8eb;
	overflow: hidden;
}
.lsffp-progress__bar span {
	display: block;
	height: 100%;
	background: var(--lsff-btn, #2563eb);
	transition: width .25s;
}
.lsffp-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
}
.lsffp-nav .lsffp-next {
	margin-left: auto;
}
/* Селекторы кнопок усилены, чтобы сброс стилей темы (reset.css Hello Elementor и т. п.) их не перекрашивал. */
.lsff-form button.lsffp-prev,
.lsff-form button.lsffp-prev:hover,
.lsff-form button.lsffp-prev:focus {
	background-color: #fff;
	background-image: none;
	color: inherit;
	border: 1px solid var(--lsff-border, #c9ced6);
	text-decoration: none;
}
.lsff-form button.lsffp-prev {
	width: auto;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid var(--lsff-border, #c9ced6);
	border-radius: var(--lsff-radius, 8px);
	background: #fff;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
/* Оценка звёздами: радиокнопки идут от 5 к 1, чтобы подсвечивать звёзды слева при наведении. */
.lsffp-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 4px;
}
.lsffp-rating input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.lsffp-rating label {
	font-size: 30px;
	line-height: 1;
	color: #d0d4da;
	cursor: pointer;
	transition: color .1s;
}
.lsffp-rating input:checked ~ label,
.lsffp-rating label:hover,
.lsffp-rating label:hover ~ label {
	color: #f5a623;
}
.lsffp-rating input:focus-visible + label {
	outline: 2px solid var(--lsff-btn, #2563eb);
	outline-offset: 2px;
	border-radius: 4px;
}
/* Всплывающая форма */
button.lsffp-popup-btn.lsffp-popup-btn,
button.lsffp-popup-btn.lsffp-popup-btn:hover,
button.lsffp-popup-btn.lsffp-popup-btn:focus,
button.lsffp-popup-btn.lsffp-popup-btn:active {
	background-color: var(--lsff-btn, #2563eb);
	background-image: none;
	color: var(--lsff-btn-text, #fff);
	border: 0;
	text-decoration: none;
	box-shadow: none;
}
button.lsffp-popup-btn.lsffp-popup-btn:hover {
	filter: brightness(1.08);
}
button.lsffp-popup-btn.lsffp-popup-btn:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--lsff-btn, #2563eb) 40%, transparent);
	outline-offset: 2px;
}
button.lsffp-popup-btn.lsffp-popup-btn {
	display: inline-flex;
	width: auto;
	margin: 0;
	line-height: 1.2;
	transition: filter .15s;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border: 0;
	border-radius: 8px;
	background: var(--lsff-btn, #2563eb);
	color: var(--lsff-btn-text, #fff);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.lsffp-dialog {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 28px 24px 24px;
	border: 0;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
	color: #1f2328;
	background: #fff;
	overflow: auto;
}
/* Окно открывается немодально (см. popup.js), поэтому положение и затемнение заданы здесь.
   z-index ниже, чем у окон капчи (они открываются поверх). */
.lsffp-dialog[open] {
	position: fixed;
	inset: 0;
	margin: auto;
	height: fit-content;
	z-index: 100000;
}
.lsffp-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(15, 23, 42, .55);
}
.lsffp-backdrop[hidden] {
	display: none;
}
.lsffp-dialog .lsff-form {
	margin: 0;
	max-width: none;
}
.lsffp-dialog__title {
	margin: 0 32px 16px 0;
	font-size: 1.3em;
}
.lsffp-dialog button.lsffp-dialog__close,
.lsffp-dialog button.lsffp-dialog__close:focus {
	background-color: transparent;
	background-image: none;
	color: #6b7280;
	border: 0;
	box-shadow: none;
}
.lsffp-dialog button.lsffp-dialog__close {
	padding: 0;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #6b7280;
}
.lsffp-dialog button.lsffp-dialog__close:hover {
	background-color: #f1f3f5;
	color: #1f2328;
}
.lsffp-noscroll { overflow: hidden; }
