.yel-leadform-wrapper { max-width: 720px; margin: 0 auto; }

.yel-leadform {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(15, 42, 74, 0.08), 0 2px 8px rgba(15, 42, 74, 0.04);
	padding: clamp(24px, 4vw, 40px);
	font-family: inherit;
}

.yel-leadform__loading {
	text-align: center;
	color: #686868;
	padding: 24px 0;
}

.yel-form { display: flex; flex-direction: column; gap: 24px; }

/* Progress */
.yel-progress { display: flex; flex-direction: column; gap: 8px; }
.yel-progress__bar {
	height: 6px;
	background: #f0f1f5;
	border-radius: 999px;
	overflow: hidden;
}
.yel-progress__fill {
	height: 100%;
	background: linear-gradient(90deg, var(--yel-primary, #0F2A4A), var(--yel-accent, #E8F26B));
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.yel-progress__label {
	font-size: 13px;
	color: #686868;
	margin: 0;
	font-weight: 500;
}

/* Step */
.yel-step { display: flex; flex-direction: column; gap: 20px; }
.yel-step__title {
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 700;
	margin: 0;
	color: var(--yel-primary, #0F2A4A);
	line-height: 1.25;
}
.yel-step__sub {
	font-size: 15px;
	color: #686868;
	margin: -12px 0 0;
}
.yel-step__error {
	margin: 0;
	padding: 10px 14px;
	background: #fde8e8;
	border-left: 3px solid #c62828;
	color: #b71c1c;
	border-radius: 6px;
	font-size: 14px;
	display: none;
}
.yel-step__error:not(:empty) { display: block; }

/* Cards */
.yel-cards { display: grid; gap: 12px; }
.yel-cards--2 { grid-template-columns: repeat(2, 1fr); }
.yel-cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) {
	.yel-cards--2, .yel-cards--3 { grid-template-columns: 1fr; }
}

.yel-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 18px 14px;
	border: 2px solid #e3e6ed;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.15s;
	text-align: center;
	background: #fff;
}
.yel-card:hover { border-color: var(--yel-primary, #0F2A4A); transform: translateY(-1px); }
.yel-card.is-selected {
	border-color: var(--yel-primary, #0F2A4A);
	background: #f6f8fc;
	box-shadow: inset 0 0 0 1px var(--yel-primary, #0F2A4A);
}
.yel-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.yel-card__label { font-weight: 600; font-size: 15px; color: var(--yel-primary, #0F2A4A); }
.yel-card__sub   { font-size: 13px; color: #686868; }

/* Fields */
.yel-field { display: flex; flex-direction: column; gap: 6px; }
.yel-field__label { font-weight: 600; font-size: 14px; color: var(--yel-primary, #0F2A4A); }
.yel-field__help  { font-size: 13px; color: #686868; margin: 0; }
.yel-field__error { font-size: 13px; color: #c62828; margin: 0; min-height: 0; }

.yel-grid { display: grid; gap: 12px; }
.yel-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .yel-grid--2 { grid-template-columns: 1fr; } }

.yel-input {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #d8dce5;
	border-radius: 10px;
	font-size: 15px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
	font-family: inherit;
	color: #111;
	box-sizing: border-box;
}
.yel-input:focus {
	outline: none;
	border-color: var(--yel-primary, #0F2A4A);
	box-shadow: 0 0 0 3px rgba(15, 42, 74, 0.12);
}
select.yel-input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23686868' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* Consent */
.yel-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	color: #4a4a4a;
	line-height: 1.5;
	cursor: pointer;
}
.yel-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }

/* Buttons */
.yel-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 8px; }
.yel-nav .yel-btn--primary { margin-left: auto; }

.yel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	border: none;
	cursor: pointer;
	transition: all 0.15s;
	text-decoration: none;
}
.yel-btn--primary {
	background: var(--yel-primary, #0F2A4A);
	color: #fff;
}
.yel-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 42, 74, 0.25); }
.yel-btn--primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.yel-btn--ghost {
	background: transparent;
	color: var(--yel-primary, #0F2A4A);
	border: 1.5px solid #d8dce5;
}
.yel-btn--ghost:hover { background: #f6f8fc; }

/* Edit preview (block editor) */
.yel-leadform-edit__preview {
	padding: 24px;
	border: 2px dashed #c4c8d0;
	border-radius: 12px;
	background: #fafbfc;
}
.yel-leadform-edit__preview h4 { margin: 0 0 8px; }
.yel-leadform-edit__preview p { margin: 4px 0; }
