/* Gravity Forms Preview - utility-like classes */
.gfp-preview {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1.5rem;
	margin-top: 1rem;
}

.gfp-preview-header {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 1rem;
	line-height: 1.4;
}

.gfp-preview-body {
	margin-bottom: 1.5rem;
}

.gfp-preview-list {
	margin: 0;
	padding: 0;
}

.gfp-preview-item {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid #eee;
}
.gfp-preview-item:last-child {
	border-bottom: none;
}

.gfp-preview-label {
	flex: 0 0 140px;
	font-weight: 600;
	font-size: 0.875rem;
	color: #333;
}
.gfp-preview-value {
	flex: 1 1 auto;
	font-size: 0.875rem;
	color: #555;
	word-break: break-word;
}

.gfp-preview-footer {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
}

/* Default button styling - only when no custom classes (just gform-theme__disable) */
[data-gfp-action="back"].gform-theme__disable:not([class*=" "]),
[data-gfp-action="confirm"].gform-theme__disable:not([class*=" "]) {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	border-radius: 4px;
	cursor: pointer;
	border: 1px solid transparent;
	line-height: 1;
}

[data-gfp-action="back"].gform-theme__disable:not([class*=" "]) {
	background-color: #f7f7f7;
	color: #333;
	border-color: #ccc;
}
[data-gfp-action="back"].gform-theme__disable:not([class*=" "]):hover {
	background-color: #eaeaea;
}

[data-gfp-action="confirm"].gform-theme__disable:not([class*=" "]) {
	background-color: #0073aa;
	color: #fff;
}
[data-gfp-action="confirm"].gform-theme__disable:not([class*=" "]):hover {
	background-color: #005a87;
}

/* Hide original form fields/footer while preview is shown */
.gfp-screen-hidden {
	display: none !important;
}
