.vsfb-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.vsfb-form-wrapper {
	max-width: 960px;
	margin: 40px auto;
	padding: 0 16px;
}

.vsfb-form {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 40px -20px rgba(14, 30, 37, 0.4);
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	gap: 0;
	font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

.vsfb-progress {
	display: flex;
	flex-direction: column;
}

.vsfb-progress-meta {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: #475467;
}

.vsfb-progress-bar {
	position: relative;
	width: 100%;
	height: 5px;
	background: #ffffff;
	overflow: hidden;
}

.vsfb-progress-bar__fill {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(135deg, #3b4cca, #9f71ff);
	width: 0%;
	transition: width 0.3s ease;
}

.vsfb-steps {
	position: relative;
	min-height: 320px;
}

.vsfb-step {
	min-height: 500px;
	width: 100%;
	display: flex;
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.vsfb-step.is-visible {
	opacity: 1;
	transform: translateX(0);
}

.vsfb-step[hidden] {
	display: none !important;
}

.vsfb-step-inner {
	display: flex;
	flex: 1;
	gap: 0;
	align-items: stretch;
	padding: 0;
	min-height: 100%;
}

.vsfb-step-media,
.vsfb-step-content {
	flex: 0 0 50%;
	max-width: 50%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.vsfb-step-media {
	background: #0b111b;
	border-radius: 0;
	overflow: hidden;
	min-height: 360px;
	align-items: stretch;
	justify-content: center;
	color: #fff;
	text-align: center;
}

.vsfb-video-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	flex: 1;
	overflow: hidden;
}

.vsfb-video-wrapper video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.vsfb-video-toggle {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background: rgba(24, 18, 79, 0.85);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 20px -12px rgba(17, 24, 39, 0.5);
	transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.vsfb-video-toggle::before {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 18px;
	border-color: transparent transparent transparent #fff;
	margin-left: 4px;
}

.vsfb-video-toggle.is-active {
	background: rgba(69, 193, 109, 0.9);
}

.vsfb-video-toggle.is-active::before {
	content: '';
	width: 14px;
	height: 14px;
	border: none;
	background:
		linear-gradient(90deg, #fff 0 45%, transparent 45% 55%, #fff 55% 100%);
}

.vsfb-video-toggle[hidden] {
	display: none !important;
}

.vsfb-video-toggle:hover {
	transform: translateY(-2px);
}

.vsfb-submitted-overlay {
	position: fixed;
	inset: 0;
	background: rgba(12, 10, 34, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 9999;
	animation: vsfb-fade-in 0.24s ease forwards;
}

.vsfb-submitted-card {
	background: #fff;
	border-radius: 20px;
	padding: 32px 36px;
	max-width: 420px;
	width: 100%;
	text-align: center;
	box-shadow: 0 30px 60px -30px rgba(12, 10, 34, 0.6);
	position: relative;
}

.vsfb-submitted-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgba(69, 193, 109, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
}

.vsfb-submitted-icon::before {
	content: '';
	display: block;
	width: 22px;
	height: 12px;
	border-left: 4px solid #45c16d;
	border-bottom: 4px solid #45c16d;
	transform: rotate(-45deg);
}

.vsfb-submitted-message {
	font-size: 1.1rem;
	line-height: 1.5;
	margin-bottom: 24px;
	color: #110f2a;
}

.vsfb-submitted-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 999px;
	background: #18124f;
	color: #fff;
	border: none;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vsfb-submitted-close:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 18px -12px rgba(12, 10, 34, 0.6);
}

.vsfb-submitted-overlay.is-closing {
	animation: vsfb-fade-out 0.2s ease forwards;
}

@keyframes vsfb-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes vsfb-fade-out {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.vsfb-placeholder {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.vsfb-step-next {
	align-self: flex-end;
	margin-top: 20px;
	border: none;
	background: linear-gradient(135deg, #3b4cca, #6b4ff6);
	color: #fff;
	min-width: 56px;
	height: 56px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 26px;
	box-shadow: 0 12px 24px -16px rgba(59, 76, 202, 0.7);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.vsfb-step-next.is-icon-only {
	width: 56px;
	min-width: 56px;
	padding: 0;
	border-radius: 50%;
}

.vsfb-step-next:not(.is-ready) {
	background: rgba(59, 76, 202, 0.15);
	color: rgba(255, 255, 255, 0.65);
	box-shadow: none;
	cursor: not-allowed;
	opacity: 1;
	pointer-events: none;
}

.vsfb-step-next.is-ready:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 30px -18px rgba(59, 76, 202, 0.8);
}

.vsfb-step-next.is-ready:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(59, 76, 202, 0.2);
}

.vsfb-step-next svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.vsfb-step-next-label {
	display: none;
}

.vsfb-step-next.has-label .vsfb-step-next-label {
	display: inline;
}

.vsfb-step-content {
	gap: 18px;
	padding: 48px 48px 48px 40px;
	justify-content: center;
	box-sizing: border-box;
}

.vsfb-step-content > * {
	max-width: 100%;
}

/* Hide videos and full-width layout */
.vsfb-hide-videos .vsfb-step-media {
	display: none !important;
}

.vsfb-hide-videos .vsfb-step-content {
	flex: 1 1 100%;
	max-width: 100%;
	width: 100%;
}

.vsfb-hide-videos .vsfb-step-inner {
	flex-direction: column;
}

@media (max-width: 768px) {
	.vsfb-step-content {
		min-height: auto;
		padding: 24px 20px 28px;
		height: auto;
	}

	.vsfb-step-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.vsfb-step-media,
	.vsfb-step-content {
		max-width: 100%;
		flex: 0 0 auto;
	}

	.vsfb-step-media {
		min-height: 220px;
		height: auto;
	}

	.vsfb-step-next {
		align-self: center;
	}
}

.vsfb-final-actions {
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
}

.vsfb-final-actions .vsfb-button {
	min-width: 160px;
}

.vsfb-step-content h3 {
	margin: 0;
	font-size: 24px;
	color: #101828;
}

.vsfb-step-description {
	margin: 0;
	color: #475467;
	line-height: 1.6;
}

.vsfb-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vsfb-field[data-type="radio"] {
	gap: 20px;
}

.vsfb-field[data-type="radio"] .vsfb-option {
	margin-bottom: 20px;
}

.vsfb-field[data-type="radio"] .vsfb-option:last-child {
	margin-bottom: 0;
}

.vsfb-field[data-type="checkbox"] .vsfb-option input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	min-height: 16px !important;
	margin: 0;
}

.vsfb-field[data-type="checkbox"] .vsfb-option input[type="checkbox"] + span {
	padding-left: 4px;
}

.vsfb-option-extras {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-left: 12px;
}

.vsfb-inline-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

.vsfb-field label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-weight: 600;
	color: #1d2939;
	line-height: 20px;
}

.vsfb-field input,
.vsfb-field textarea,
.vsfb-field select {
	width: 100%;
	border-radius: 10px;
	border: 1px solid #d0d5dd;
	padding: 12px 14px;
	font-size: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	resize: vertical;
}

.vsfb-field input:focus,
.vsfb-field textarea:focus,
.vsfb-field select:focus {
	border-color: #3b4cca;
	box-shadow: 0 0 0 4px rgba(59, 76, 202, 0.1);
	outline: none;
}

.vsfb-option {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}

.vsfb-option input {
	width: auto;
	box-shadow: none;
}

.vsfb-option--radio-pill {
	width: 100%;
}

.vsfb-option--radio-pill input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.vsfb-option--radio-pill .vsfb-option-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	background: #f1f1f5;
	border-radius: 999px;
	padding: 14px 18px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.vsfb-option--radio-pill .vsfb-radio-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	aspect-ratio: 1/1;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #a855f7, #7c3aed);
	color: #fff;
	font-weight: 600;
}

.vsfb-option--radio-pill .vsfb-radio-text {
	font-weight: 600;
	color: #111827;
}

.vsfb-option--radio-pill input:checked + .vsfb-option-inner {
	background: #ede7ff;
	box-shadow: inset 0 0 0 2px rgba(98, 84, 220, 0.7), 0 10px 20px -15px rgba(67, 56, 202, 0.7);
	transform: translateY(-1px);
}

.vsfb-option--radio-pill input:checked ~ .vsfb-option-inner {
	background: #ede7ff;
	box-shadow: inset 0 0 0 2px rgba(98, 84, 220, 0.7), 0 10px 20px -15px rgba(67, 56, 202, 0.7);
	transform: translateY(-1px);
}

.vsfb-option--radio-pill input:focus + .vsfb-option-inner {
	outline: 2px solid #4338ca;
	outline-offset: 2px;
}

.vsfb-option--checkbox {
	flex-direction: row;
	gap: 8px;
}

.vsfb-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.vsfb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 24px;
	border-radius: 999px;
	border: none;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	background: #1d2939;
	color: #fff;
}

.vsfb-button:disabled {
	background: #d0d5dd;
	color: #667085;
	cursor: not-allowed;
}

.vsfb-prev {
	background: #fff;
	color: #1d2939;
	border: 1px solid #d0d5dd;
}

.vsfb-next {
	background: #3b4cca;
	color: #fff;
}

.vsfb-submit {
	background: linear-gradient(135deg, #3b4cca, #626fe6);
	box-shadow: 0 12px 20px -12px rgba(59, 76, 202, 0.8);
}

.vsfb-button:not(:disabled):hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px -16px rgba(16, 24, 40, 0.4);
}

.vsfb-button.is-loading::after {
	content: '';
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #fff;
	border-top-color: transparent;
	animation: vsfb-spin 0.8s linear infinite;
}

@keyframes vsfb-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.vsfb-message {
	padding: 14px 18px;
	border-radius: 12px;
	font-weight: 500;
}

.vsfb-message.is-error {
	background: rgba(244, 67, 54, 0.1);
	color: #c62828;
}

.vsfb-message.is-success {
	background: rgba(46, 204, 113, 0.12);
	color: #0f8c4b;
}

.vsfb-error {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

