/* ===== Form Builder Responsive (forms.php) ===== */
@media (max-width: 768px) {
	.title-container {
		flex-direction: column;
		gap: 8px;
	}

	.title-left-wrap {
		margin-bottom: 6px;
	}

	.sidetalk-forms-list-toolbar .sidetalk-button-group {
		flex-direction: column;
		align-items: stretch;
	}

	.sidetalk-forms-list-toolbar .page-size-container {
		justify-content: center;
	}

	.sidetalk-forms-list-toolbar .sidetalk-dashboard-button {
		width: 100%;
	}

	.settings-btn-wrap {
		align-self: stretch;
	}

	#forms-edit-tabs.sidetalk-navigation-wrap {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	#forms-edit-tabs .sidetalk-navigation-btn {
		flex: 1 1 calc(50% - 8px);
	}

	.step-navigation {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.step-navigation .step-item {
		margin: 0;
	}

	#previewContainer {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	#previewFieldsContainer .preview-field {
		padding: 10px;
	}

	.custom-side-panel .custom-side-panel-content {
		width: 100vw !important;
		max-width: 100vw !important;
		height: 100vh;
		border-radius: 12px 12px 0 0;
	}

	.dynamic-position.is-floating {
		position: static !important;
		margin-top: 12px;
		left: 0 !important;
		width: 100% !important;
	}

	#forms-edit-tabs .sidetalk-navigation-btn {
		flex: 1 1 100%;
	}

	.step-navigation {
		grid-template-columns: 1fr;
	}

	.sidetalk-modal-panel .custom-side-panel-content {
		width: calc(100vw - 24px) !important;
		max-width: calc(100vw - 24px) !important;
		max-height: calc(100vh - 24px);
		padding: 24px 18px;
		border-radius: 20px;
	}

	.sidetalk-template-modal-grid {
		grid-template-columns: 1fr;
	}
}

/* Forms edit tabs link style */
#forms-edit-tabs a.sidetalk-navigation-btn {
	text-decoration: none;
	color: inherit;
	display: flex;
}

#forms-edit-tabs a.sidetalk-navigation-btn .navigation-text {
	text-decoration: none;
}

/* Forms side panels live outside #sidetalk-dashboard-content, so they need their own field styles. */
#ai-keyword-panel .form-field-group label,
#form-template-panel .form-field-group label,
#custom-side-panel .form-field-group label,
#edit-side-panel .form-field-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--st-text-secondary);
	margin-bottom: var(--st-space-2);
}

#ai-keyword-panel .sidetalk-dashboard-input,
#form-template-panel .sidetalk-dashboard-input,
#custom-side-panel .sidetalk-dashboard-input,
#edit-side-panel .sidetalk-dashboard-input,
#ai-keyword-panel .sidetalk-dashboard-select,
#form-template-panel .sidetalk-dashboard-select,
#custom-side-panel .sidetalk-dashboard-select,
#edit-side-panel .sidetalk-dashboard-select {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
}

#custom-side-panel textarea.sidetalk-dashboard-input,
#edit-side-panel textarea.sidetalk-dashboard-input {
	min-height: 88px;
	padding: 12px 14px;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius-xl);
	background: var(--st-bg-primary);
	font-family: var(--st-font-family);
	font-size: var(--st-font-size-base);
	line-height: 1.5;
	color: var(--st-text-primary);
	resize: vertical;
	appearance: none;
	-webkit-appearance: none;
}

#custom-side-panel textarea.sidetalk-dashboard-input:focus,
#edit-side-panel textarea.sidetalk-dashboard-input:focus {
	outline: none;
	border-color: var(--st-primary);
	box-shadow: 0 0 0 3px var(--st-primary-light);
}

#custom-side-panel .custom-side-panel-controls,
#edit-side-panel .custom-side-panel-controls {
	align-items: center;
	flex-wrap: wrap;
}

#custom-side-panel .custom-side-panel-controls .sidetalk-dashboard-button,
#edit-side-panel .custom-side-panel-controls .sidetalk-dashboard-button {
	flex: 1 1 0;
	min-width: 140px;
}

/* ===== Form Builder Page Styles (forms.php) ===== */
.title-left-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

#sidetalk-dashboard-content .title-left-wrap .content-title {
	margin: 0;
	line-height: 1.15;
}

#sidetalk-dashboard-content .title-left-wrap .sidetalk-guide-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	box-shadow: none;
	white-space: nowrap;
}

#sidetalk-dashboard-content .title-left-wrap #resetFormBuilderButton {
	margin-left: 0;
}

#forms-edit-tabs {
	margin-top: 2px;
	margin-bottom: 4px;
}

.sidetalk-forms-list-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 16px;
}

.sidetalk-forms-list-toolbar .sidetalk-button-group {
	width: 100%;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.sidetalk-forms-list-toolbar .page-size-container {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.sidetalk-forms-list-toolbar .sidetalk-dashboard-button {
	flex-shrink: 0;
}

.sidetalk-reset-builder-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0 14px;
	border: 1px solid #dfe7f1;
	border-radius: 999px;
	background: #fff;
	color: #6b7687;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: all 0.2s ease;
	text-decoration: none;
	white-space: nowrap;
}

.sidetalk-reset-builder-button:hover {
	border-color: #c8d6e6;
	background: #f8fafc;
	color: #425466;
}

.sidetalk-reset-builder-button:focus {
	outline: none;
	border-color: #9fc2f2;
	box-shadow: 0 0 0 3px rgba(22, 119, 242, 0.14);
}

.sidetalk-form-row-actions {
	display: flex;
	justify-content: center;
	align-items: center;
}

.sidetalk-form-duplicate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	padding: 0 10px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fbff;
	color: #24507c;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.sidetalk-form-duplicate-button:hover {
	border-color: #b9d3fb;
	background: #eef5ff;
	color: #1b5da8;
}

.sidetalk-form-duplicate-button:focus {
	outline: none;
	border-color: #9fc2f2;
	box-shadow: 0 0 0 3px rgba(22, 119, 242, 0.12);
}

.sidetalk-form-duplicate-button i {
	font-size: 14px;
	line-height: 1;
}

.sidetalk-form-start-guide {
	margin: 0 0 24px;
	padding: 24px;
	background: #fff;
	border-radius: 20px;
	border: 1px solid #eef2f7;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.sidetalk-form-start-guide .guide-header {
	margin-bottom: 20px;
}

.sidetalk-form-start-guide .guide-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1f36;
	margin: 0 0 4px;
}

.sidetalk-form-start-guide .guide-subtitle {
	font-size: 14px;
	color: #697386;
	margin: 0;
}

.sidetalk-start-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.start-card {
	position: relative;
	padding: 20px;
	background: #fff;
	border: 1.5px solid #eef2f7;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.start-card:hover {
	border-color: var(--st-primary);
	background: #f8fbff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(22, 119, 242, 0.08);
}

.start-card.is-active {
	border-color: var(--st-primary);
	background: #f0f7ff;
}

.start-card .card-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #f0f4f8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #4f566b;
	transition: all 0.2s ease;
}

.start-card .card-icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.start-card:hover .card-icon {
	background: var(--st-primary);
	color: #fff;
}

.start-card .card-title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #1a1f36;
	margin-bottom: 4px;
}

.start-card .card-desc {
	font-size: 13px;
	color: #697386;
	line-height: 1.5;
	margin: 0;
}

.start-card .card-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.start-card .card-badge.ai {
	background: #e0f2fe;
	color: #0369a1;
}

.sidetalk-simple-data-toggle-wrap {
	margin-bottom: 14px;
}

.sidetalk-form-auto-mode .sidetalk-advanced-only {
	display: none !important;
}

.sidetalk-form-auto-mode #step-3 {
	display: block !important;
	padding: 18px;
	margin-bottom: 14px;
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 16px;
}

.sidetalk-simple-data-hint-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid #cfe1ff;
	border-radius: 16px;
	background: linear-gradient(135deg, #f3f8ff 0%, #fcfdff 100%);
	box-shadow: 0 8px 20px rgba(17, 110, 230, 0.06);
}

.sidetalk-simple-data-hint-header {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.sidetalk-simple-data-hint-header strong {
	font-size: 15px;
	line-height: 1.45;
	color: #16324f;
}

.sidetalk-simple-data-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 9px;
	border-radius: 999px;
	background: #dcecff;
	color: #1666c5;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sidetalk-simple-data-hint-card .description-text {
	margin: 0;
	font-size: 13px;
	color: #51657d;
}

.sidetalk-simple-data-hint-card #simpleDataSetupToggle {
	align-self: flex-start;
	border-color: #b9d3fb;
	background: #fff;
	color: #24507c;
}

.sidetalk-simple-data-hint-card #simpleDataSetupToggle:hover {
	background: #eef5ff;
	border-color: #8eb8f5;
}

.sidetalk-form-auto-mode .sidetalk-simple-data-toggle-wrap,
.sidetalk-form-manual-mode .sidetalk-simple-data-toggle-wrap {
	display: none;
}

.sidetalk-auto-table-notice {
	margin-bottom: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #eef6ff;
	border: 1px solid #cfe1ff;
}

.sidetalk-auto-table-notice strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #174a7c;
	margin-bottom: 4px;
}

.sidetalk-auto-table-notice p {
	margin: 0;
	font-size: 12px;
	line-height: 1.55;
	color: #51657d;
}

.template-card-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #e3e8ef;
	border-radius: 12px;
	background: #fff;
}

.template-card-main {
	min-width: 0;
	flex: 1;
}

.template-card-main strong {
	display: block;
	margin-bottom: 4px;
}

.template-card-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.sidetalk-template-inline-controls {
	justify-content: flex-start;
	padding: 8px 0 0;
}

.sidetalk-modal-panel {
	position: fixed;
	inset: 0;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 72px 24px 24px;
	background: rgba(15, 23, 42, 0.44);
	backdrop-filter: blur(8px);
	z-index: 10010;
	overflow-y: auto;
}

.sidetalk-modal-panel.open {
	display: flex;
}

.sidetalk-has-banner .sidetalk-modal-panel {
	padding-top: 118px;
}

.admin-bar .sidetalk-modal-panel {
	padding-top: 96px;
}

.admin-bar.sidetalk-has-banner .sidetalk-modal-panel {
	padding-top: 140px;
}

.sidetalk-modal-panel .custom-side-panel-content {
	position: relative;
	width: min(620px, calc(100vw - 48px));
	max-width: 620px;
	height: auto;
	min-height: 0;
	max-height: calc(100vh - 96px);
	max-height: calc(100dvh - 96px);
	overflow-y: auto;
	padding: 32px 32px 28px;
	border-radius: 24px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
	border: 1px solid rgba(222, 231, 243, 0.95);
	margin: 0;
}

.sidetalk-modal-panel .close-btn {
	position: absolute;
	top: 18px;
	right: 18px;
	left: auto;
	margin: 0;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: rgba(248, 250, 252, 0.96);
	border: 1px solid #e2e8f0;
	color: #526274;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sidetalk-modal-panel .close-btn:hover {
	background: #ffffff;
	border-color: #cbd8e6;
	color: #1f3b57;
}

.sidetalk-modal-panel-header {
	margin-bottom: 20px;
}

.sidetalk-modal-eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: #e8f2ff;
	color: #1859a8;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
}

.sidetalk-modal-panel-header .ai-panel-intro {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #5b6475;
}

.sidetalk-template-modal-content {
	max-width: 1080px !important;
	width: min(960px, calc(100vw - 48px)) !important;
}

.sidetalk-template-modal-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 20px;
	align-items: start;
}

.sidetalk-template-modal-section {
	padding: 18px;
	border: 1px solid #e7edf5;
	border-radius: 18px;
	background: #fff;
}

.sidetalk-template-modal-section.is-secondary {
	background: #f8fbff;
	border-color: #d9e7fa;
}

.sidetalk-modal-panel-controls {
	margin-top: 20px;
}

.sidetalk-modal-panel-controls.is-template-modal {
	grid-template-columns: 1fr;
	max-width: 180px;
	margin-left: auto;
}

.sidetalk-ai-feedback {
	display: none;
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 13px;
	line-height: 1.6;
	border: 1px solid transparent;
}

.sidetalk-ai-feedback.is-info {
	background: #eef6ff;
	border-color: #cfe1ff;
	color: #24507c;
}

.sidetalk-ai-feedback.is-warning {
	background: #fff7e8;
	border-color: #ffd591;
	color: #8a5a00;
}

.sidetalk-ai-feedback.is-danger {
	background: #fff1f0;
	border-color: #ffa39e;
	color: #a61d24;
}

.sidetalk-ai-loading {
	margin-top: 16px;
	padding: 18px;
	border-radius: 18px;
	background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
	border: 1px solid #dce8f7;
}

.sidetalk-ai-loading-header strong {
	display: block;
	font-size: 15px;
	font-weight: 800;
	color: #1a1f36;
	margin-bottom: 6px;
}

.sidetalk-ai-loading-header p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #617085;
}

.sidetalk-ai-loading-steps {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.sidetalk-ai-loading-step {
	position: relative;
	padding-left: 28px;
	font-size: 13px;
	font-weight: 600;
	color: #6b7687;
}

.sidetalk-ai-loading-step::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #c5d4e8;
	background: #fff;
	transition: all 0.2s ease;
}

.sidetalk-ai-loading-step.is-active {
	color: #174a7c;
}

.sidetalk-ai-loading-step.is-active::before {
	border-color: #1677f2;
	background: #1677f2;
	box-shadow: 0 0 0 4px rgba(22, 119, 242, 0.14);
}

.sidetalk-ai-loading-step.is-complete::before {
	border-color: #1f9d55;
	background: #1f9d55;
	box-shadow: none;
}

.sidetalk-ai-loading-step.is-hidden {
	display: none;
}

.sidetalk-ai-skeleton-list {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.sidetalk-ai-skeleton-card {
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(90deg, #edf3fa 25%, #ffffff 50%, #edf3fa 75%);
	background-size: 220% 100%;
	animation: sidetalkAiShimmer 1.4s ease-in-out infinite;
	border: 1px solid #e3ebf5;
}

.sidetalk-ai-skeleton-card.is-wide {
	height: 72px;
}

@keyframes sidetalkAiShimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

@media (max-width: 782px) {
	.sidetalk-modal-panel {
		padding: 64px 16px 16px;
	}

	.sidetalk-has-banner .sidetalk-modal-panel {
		padding-top: 108px;
	}

	.admin-bar .sidetalk-modal-panel {
		padding-top: 82px;
	}

	.admin-bar.sidetalk-has-banner .sidetalk-modal-panel {
		padding-top: 126px;
	}

	.sidetalk-modal-panel .custom-side-panel-content {
		width: min(560px, calc(100vw - 32px));
		max-width: 560px;
		max-height: calc(100vh - 80px);
		max-height: calc(100dvh - 80px);
		padding: 24px 20px 22px;
		border-radius: 20px;
	}

	.sidetalk-modal-panel .close-btn {
		top: 14px;
		right: 14px;
	}

	.sidetalk-template-modal-content {
		width: min(720px, calc(100vw - 32px)) !important;
	}
}

.custom-side-panel {
	width: 400px;
	background: #fff;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
	border-left: 1px solid #edf2f7;
}

.custom-side-panel-content {
	padding: 32px 28px;
}

.custom-side-panel h3 {
	font-size: 20px;
	font-weight: 800;
	color: #1a1f36;
	margin: 0 0 24px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.form-field-group label {
	font-size: 13px;
	font-weight: 600;
	color: #4f566b;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.field-help-copy {
	margin: -2px 0 10px;
	font-size: 12px;
	line-height: 1.55;
	color: #7b8496;
}

.field-type-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 20px;
}

.type-item {
	padding: 12px 8px;
	border: 1px solid #eef2f7;
	border-radius: 12px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	background: #fff;
}

.type-item i {
	display: block;
	font-size: 20px;
	margin-bottom: 6px;
	color: #697386;
}

.type-item span {
	font-size: 11px;
	font-weight: 600;
	color: #4f566b;
}

.type-item:hover {
	border-color: var(--st-primary);
	background: #f8fbff;
}

.type-item.selected {
	border-color: var(--st-primary);
	background: #f0f7ff;
	box-shadow: 0 0 0 1px var(--st-primary);
}

.type-item.selected i,
.type-item.selected span {
	color: var(--st-primary);
}

.custom-side-panel-controls {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #f7fafc;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.custom-side-panel-controls .sidetalk-dashboard-button {
	justify-content: center;
	height: 44px;
	border-radius: 10px;
	font-weight: 600;
}

.toggle-switch {
	width: 44px;
	height: 22px;
}

.toggle-switch .slider:before {
	height: 16px;
	width: 16px;
	left: 3px;
	bottom: 3px;
}

.description-text {
	font-size: 12px;
	color: #8792a2;
	margin-top: 6px;
	line-height: 1.5;
}

#previewFieldsContainer {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	background: #fcfdfe;
	border: 1px dashed #d1d9e2;
	border-radius: 16px;
	min-height: 100px;
}

.preview-empty-state {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	padding: 20px;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid #e8eef5;
}

.preview-empty-state strong {
	font-size: 14px;
	font-weight: 700;
	color: #1a1f36;
}

.preview-empty-state p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #697386;
}

.preview-field {
	position: relative;
	padding: 20px;
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 12px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
	transition: all 0.2s ease;
	cursor: grab;
}

.preview-field:hover {
	border-color: var(--st-primary);
	box-shadow: 0 4px 12px rgba(22, 119, 242, 0.08);
}

.preview-field .field-name {
	font-size: 14px;
	font-weight: 700;
	color: #1a1f36;
	margin-bottom: 10px;
	display: block;
}

.preview-field .preview-control {
	width: 100%;
	pointer-events: none;
	background: #f9fafb !important;
	border: 1px solid #eaebf0 !important;
	border-radius: 8px !important;
	height: 40px !important;
	padding: 0 12px !important;
	font-size: 13px !important;
}

.preview-field textarea.preview-control {
	height: 80px !important;
	padding-top: 10px !important;
}

.preview-field select.preview-control {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23697386' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

.preview-field .delete-button {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 6px;
	border-radius: 6px;
	background: #fff5f5;
	color: #e03131;
	border: 1px solid #ffc9c9;
	font-size: 11px;
	font-weight: 600;
	opacity: 0;
	transition: all 0.2s ease;
}

.preview-field:hover .delete-button {
	opacity: 1;
}

.preview-field .delete-button:hover {
	background: #fa5252;
	color: #fff;
	border-color: #fa5252;
}

.preview-field.dragging {
	opacity: 0.5;
	cursor: grabbing;
	border: 2px solid var(--st-primary);
}

.drop-indicator {
	height: 4px;
	background: var(--st-primary);
	border-radius: 2px;
	margin: -2px 0;
}

.add-field-button {
	width: 100%;
	padding: 14px;
	background: #fff;
	border: 1.5px dashed #d1d9e2;
	border-radius: 12px;
	color: #4f566b;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.add-field-button:hover {
	background: #f8fbff;
	border-color: var(--st-primary);
	color: var(--st-primary);
}
