/* DreamFast Commerce Float - Admin */

.df-sf-admin {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: -0.01em;
}

.df-sf-admin input,
.df-sf-admin select,
.df-sf-admin textarea,
.df-sf-admin button,
.df-sf-admin .button {
	font-family: inherit;
}

.df-sf-admin .df-sf-pro-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	margin: 16px 0;
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	border: 1px solid #bae6fd;
	border-radius: 8px;
}

.df-sf-pro-badge {
	display: inline-block;
	padding: 2px 8px;
	margin-right: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background: #2563eb;
	border-radius: 4px;
	vertical-align: middle;
}

.df-sf-pro-locked {
	opacity: 0.85;
}

.df-sf-compat-card {
	max-width: 760px;
	margin: 16px 0;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.df-sf-compat-card p {
	margin: 8px 0 0;
	color: #64748b;
}

.df-sf-status {
	display: inline-flex;
	align-items: center;
	margin-inline-start: 8px;
	padding: 3px 8px;
	color: #475569;
	background: #f1f5f9;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.df-sf-status--ok {
	color: #166534;
	background: #dcfce7;
}

.df-sf-inline-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0;
}

.df-sf-inline-fields input,
.df-sf-inline-fields select {
	max-width: 180px;
}

.df-sf-savebar {
	position: sticky;
	bottom: 18px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 22px 0 0;
	padding: 12px 14px 12px 18px;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(124, 58, 237, 0.26)),
		#0f172a;
	border: 1px solid rgba(147, 197, 253, 0.28);
	border-radius: 20px;
	box-shadow: 0 18px 46px rgba(15, 23, 42, 0.28);
	backdrop-filter: blur(16px);
}

.df-sf-savebar::before {
	content: "";
	align-self: stretch;
	width: 4px;
	background: linear-gradient(180deg, #60a5fa, #a78bfa);
	border-radius: 999px;
}

.df-sf-savebar__text strong,
.df-sf-savebar__text span {
	display: block;
}

.df-sf-savebar__text strong {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.df-sf-savebar__text span {
	margin-top: 2px;
	color: #cbd5e1;
	font-size: 12px;
}

.df-sf-save-button.button.button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px;
	color: #0f172a;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 999px;
	box-shadow: 0 14px 28px rgba(2, 6, 23, 0.22);
	font-weight: 700;
	text-shadow: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.df-sf-save-button.button.button-primary span {
	color: #0f172a;
	font-size: 13px;
}

.df-sf-save-button.button.button-primary:hover,
.df-sf-save-button.button.button-primary:focus {
	background: #eff6ff;
	box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28);
	color: #0f172a;
	filter: saturate(1.05);
	transform: translateY(-1px);
}

.df-sf-save-button svg {
	flex: 0 0 auto;
}

.df-sf-dashboard-hero,
.df-sf-license-card,
.df-sf-changelog-card,
.df-sf-dashboard-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.df-sf-dashboard-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 980px;
	margin: 20px 0;
	padding: 22px;
}

.df-sf-dashboard-hero h2,
.df-sf-license-card h2,
.df-sf-dashboard-card h2 {
	margin: 10px 0 8px;
	font-size: 18px;
}

.df-sf-dashboard-hero p,
.df-sf-license-card p,
.df-sf-dashboard-card p {
	margin: 0;
	color: #64748b;
}

.df-sf-dashboard-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.df-sf-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	max-width: 980px;
	margin: 18px 0;
}

.df-sf-dashboard-card,
.df-sf-license-card,
.df-sf-changelog-card {
	padding: 18px;
}

.df-sf-dashboard-card {
	display: flex;
	flex-direction: column;
	min-height: 92px;
}

.df-sf-dashboard-card a {
	display: inline-block;
	width: fit-content;
	margin-top: auto;
	padding-top: 12px;
	font-weight: 700;
	text-decoration: none;
}

.df-sf-dashboard-card--support {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.07)),
		#fff;
	border-color: #bfdbfe;
}

.df-sf-dashboard-card--support::after {
	content: "";
	position: absolute;
	right: -28px;
	bottom: -28px;
	width: 96px;
	height: 96px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 65%);
	border-radius: 50%;
	pointer-events: none;
}

.df-sf-dashboard-card__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	color: #1d4ed8;
	background: #dbeafe;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

.df-sf-support-button.button {
	position: relative;
	z-index: 1;
	margin-top: 18px;
	padding: 4px 14px;
	color: #1d4ed8;
	background: #fff;
	border-color: #bfdbfe;
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.df-sf-support-button.button:hover,
.df-sf-support-button.button:focus {
	color: #fff;
	background: #2563eb;
	border-color: #2563eb;
}

.df-sf-dashboard-card--wide {
	max-width: 940px;
}

.df-sf-dashboard-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.df-sf-dashboard-stats span {
	padding: 8px 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
}

.df-sf-license-card {
	max-width: 720px;
	margin-top: 20px;
}

.df-sf-license-card .button {
	margin-top: 14px;
}

.df-sf-changelog-card {
	max-width: 980px;
	margin-top: 20px;
}

.df-sf-changelog-card pre {
	max-height: 620px;
	margin: 0;
	overflow: auto;
	white-space: pre-wrap;
	font-size: 13px;
	line-height: 1.6;
}

.df-sf-colors label {
	display: inline-block;
	margin-left: 16px;
	margin-bottom: 8px;
}

.df-sf-colors label:first-child {
	margin-left: 0;
}

.df-sf-multiselect {
	min-width: 240px;
}

.df-sf-preset-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	max-width: 760px;
}

.df-sf-preset-card {
	position: relative;
	display: block;
	cursor: pointer;
}

.df-sf-preset-card input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0;
	pointer-events: none;
}

.df-sf-preset-card__visual {
	display: block;
	padding: 12px;
	background: #fff;
	border: 2px solid #dcdcde;
	border-radius: 14px;
	box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.df-sf-preset-card:hover .df-sf-preset-card__visual {
	border-color: #94a3b8;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.df-sf-preset-card input:checked + .df-sf-preset-card__visual {
	border-color: #2563eb;
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16), 0 10px 24px rgba(15, 23, 42, 0.08);
}

.df-sf-preset-card input:focus-visible + .df-sf-preset-card__visual {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.df-sf-preset-card__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 44px;
	padding: 8px 10px;
	color: var(--df-preset-text);
	background: var(--df-preset-bg);
	border-radius: 10px;
}

.df-sf-preset-card__bar span {
	width: 42%;
	height: 8px;
	background: currentColor;
	border-radius: 999px;
	opacity: 0.8;
}

.df-sf-preset-card__bar i {
	width: 46px;
	height: 22px;
	background: var(--df-preset-btn);
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--df-preset-btn-text) 18%, transparent);
}

.df-sf-preset-card__dots {
	display: flex;
	gap: 6px;
	margin-top: 9px;
}

.df-sf-preset-card__dots b {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--df-preset-bg);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.48), 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.df-sf-preset-card__dots b:nth-child(2) {
	background: var(--df-preset-btn);
}

.df-sf-preset-card__dots b:nth-child(3) {
	background: var(--df-preset-text);
}

.df-sf-preset-card__label {
	display: block;
	margin-top: 8px;
	font-weight: 600;
	color: #1d2327;
}

.df-sf-preset-card__contact-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: var(--df-preset-text);
	background: var(--df-preset-bg);
	border-radius: 50%;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.df-sf-preset-card--contact .df-sf-preset-card__visual {
	min-height: 92px;
}

.df-sf-analytics {
	max-width: 480px;
	margin-top: 12px;
}

.df-sf-tabs {
	margin-bottom: 20px;
}

.df-sf-preview-card {
	max-width: 760px;
	margin: 24px 0;
	padding: 18px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.df-sf-preview-card h2 {
	margin: 0 0 14px;
	font-size: 16px;
}

.df-sf-preview-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: -4px 0 12px;
	color: #475569;
	font-weight: 600;
}

.df-sf-admin-preview-canvas {
	position: relative;
	min-height: 180px;
	padding: 28px;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(236, 72, 153, 0.08)),
		#f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
}

.df-sf-preview-cart {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	box-sizing: border-box;
	width: min(100%, 620px);
	max-width: 100%;
	margin: 54px auto 0;
	padding: 12px 16px;
	color: #fff;
	background: #111;
	border-radius: 0;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
	transition: all 0.2s ease;
}

.df-sf-preview-cart__product {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.df-sf-preview-cart__thumb {
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	background: linear-gradient(135deg, #fecdd3, #f472b6);
	border-radius: 8px;
}

.df-sf-preview-cart__product strong,
.df-sf-preview-cart__product span {
	display: block;
}

.df-sf-preview-cart__product span {
	margin-top: 3px;
	opacity: 0.82;
}

.df-sf-preview-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	min-height: 40px;
	padding: 10px 18px;
	color: #111;
	background: #fff;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	cursor: default;
	transition: all 0.2s ease;
}

.df-sf-preview-cart__icon {
	display: inline-flex;
	line-height: 0;
}

.df-sf-preview-coupon {
	position: absolute;
	left: 50%;
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	max-width: calc(100% - 36px);
	box-sizing: border-box;
	margin: 0;
	padding: 8px 12px;
	color: #fff;
	background: #1d4ed8;
	border-radius: 999px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
	transform: translateX(-50%);
	z-index: 2;
}

.df-sf-preview-coupon[data-position="top"] {
	top: 18px;
	bottom: auto;
}

.df-sf-preview-coupon[data-position="bottom"] {
	top: auto;
	bottom: 18px;
}

.df-sf-preview-coupon:empty {
	display: none;
}

.df-sf-preview-coupon span {
	font-size: 12px;
	font-weight: 700;
}

.df-sf-preview-coupon__text {
	min-width: 0;
	max-width: 150px;
	line-height: 1.15;
}

.df-sf-preview-coupon strong {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
	padding: 4px 8px;
	border: 1px dashed currentColor;
	border-radius: 999px;
	font-size: 11px;
}

.df-sf-preview-coupon strong svg {
	display: block;
	fill: currentColor;
	opacity: 0.82;
}

.df-sf-preview-cart__icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.df-sf-preview-cart[data-style="pill"] {
	width: auto;
	max-width: 560px;
	border-radius: 999px;
}

.df-sf-preview-cart[data-style="glass"] {
	backdrop-filter: blur(16px);
	background: rgba(17, 24, 39, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 18px;
}

.df-sf-preview-cart[data-style="card"] {
	max-width: 520px;
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.df-sf-admin-preview-canvas--contact {
	min-height: 220px;
}

.df-sf-preview-contact {
	position: absolute;
	right: 28px;
	bottom: 28px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.df-sf-preview-contact__tooltip {
	position: absolute;
	right: calc(100% + 12px);
	bottom: 10px;
	padding: 8px 11px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.df-sf-preview-contact__tooltip::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -5px;
	width: 9px;
	height: 9px;
	background: #fff;
	border-top: 1px solid #e2e8f0;
	border-right: 1px solid #e2e8f0;
	transform: translateY(-50%) rotate(45deg);
}

.df-sf-preview-contact__menu {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.df-sf-preview-contact__menu span {
	min-width: 124px;
	padding: 9px 14px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
	font-weight: 600;
}

.df-sf-preview-contact__fab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	color: #fff;
	background: #25d366;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 8px 26px rgba(15, 23, 42, 0.2);
	cursor: default;
	transition: all 0.2s ease;
}

.df-sf-preview-contact__fab svg {
	fill: currentColor;
}

.df-sf-preview-contact[data-style="pill"] .df-sf-preview-contact__fab {
	width: 92px;
	border-radius: 999px;
}

.df-sf-preview-contact[data-style="square"] .df-sf-preview-contact__fab {
	border-radius: 16px;
}

.df-sf-preview-contact[data-style="soft"] .df-sf-preview-contact__fab {
	border-radius: 50%;
	box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.14), 0 10px 30px rgba(15, 23, 42, 0.22);
}

/* Settings screen polish */

.df-sf-admin {
	--df-admin-card: #ffffff;
	--df-admin-border: #e2e8f0;
	--df-admin-muted: #64748b;
	--df-admin-text: #0f172a;
	--df-admin-primary: #2563eb;
	--df-admin-bg: #f6f8fb;
	max-width: 1320px;
	margin-inline-end: 24px;
	color: var(--df-admin-text);
}

.df-sf-admin h1 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 22px 0 6px;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.df-sf-admin h1::before {
	content: "";
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background:
		radial-gradient(circle at 68% 30%, #60a5fa 0 18%, transparent 19%),
		linear-gradient(135deg, #111827, #2563eb);
	box-shadow: 0 8px 22px rgba(37, 99, 235, 0.24);
}

.df-sf-admin > .description {
	max-width: 760px;
	margin: 0 0 18px;
	color: var(--df-admin-muted);
	font-size: 14px;
}

.df-sf-admin .df-sf-pro-banner {
	max-width: 1080px;
	padding: 14px 16px;
	background: linear-gradient(135deg, #eff6ff, #f8fafc);
	border-color: #bfdbfe;
	border-radius: 16px;
	box-shadow: 0 8px 26px rgba(37, 99, 235, 0.08);
}

.df-sf-tabs.nav-tab-wrapper {
	display: inline-flex;
	gap: 6px;
	margin: 8px 0 18px;
	padding: 5px;
	background: #eaf0f7;
	border: 0;
	border-radius: 999px;
}

.df-sf-tabs .nav-tab {
	margin: 0;
	padding: 9px 16px;
	color: #475569;
	background: transparent;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	line-height: 1.2;
	transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.df-sf-tabs .nav-tab:hover,
.df-sf-tabs .nav-tab:focus {
	color: #0f172a;
	background: rgba(255, 255, 255, 0.6);
}

.df-sf-tabs .nav-tab-active,
.df-sf-tabs .nav-tab-active:focus,
.df-sf-tabs .nav-tab-active:hover {
	color: #0f172a;
	background: #fff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.df-sf-form {
	display: grid;
	grid-template-columns: minmax(0, 820px) minmax(300px, 420px);
	gap: 22px;
	align-items: start;
}

.df-sf-form > input[type="hidden"] {
	display: none;
}

.df-sf-form > .form-table {
	grid-column: 1;
	display: block;
	margin: 0;
	padding: 8px 18px;
	background: var(--df-admin-card);
	border: 1px solid var(--df-admin-border);
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.df-sf-form > .form-table tbody {
	display: block;
}

.df-sf-form > .form-table tr {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid #edf2f7;
}

.df-sf-form > .form-table tr:last-child {
	border-bottom: 0;
}

.df-sf-form > .form-table th,
.df-sf-form > .form-table td {
	display: block;
	width: auto;
	padding: 0;
}

.df-sf-form > .form-table th {
	color: #1e293b;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.df-sf-form .description {
	margin-top: 7px;
	color: var(--df-admin-muted);
	font-size: 12px;
}

.df-sf-form select,
.df-sf-form input[type="text"],
.df-sf-form input[type="email"],
.df-sf-form input[type="url"],
.df-sf-form textarea {
	min-height: 38px;
	border-color: #cbd5e1;
	border-radius: 10px;
	box-shadow: none;
}

.df-sf-form select:focus,
.df-sf-form input:focus,
.df-sf-form textarea:focus {
	border-color: var(--df-admin-primary);
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
}

.df-sf-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	border-color: #94a3b8;
	border-radius: 5px;
}

.df-sf-form input[type="checkbox"]:checked {
	background: var(--df-admin-primary);
	border-color: var(--df-admin-primary);
}

.df-sf-preview-card {
	grid-column: 2;
	position: sticky;
	top: 46px;
	max-width: none;
	margin: 0;
	padding: 16px;
	border-color: var(--df-admin-border);
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.df-sf-preview-card h2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
}

.df-sf-preview-card h2::after {
	content: "Live";
	padding: 3px 8px;
	color: #0369a1;
	background: #e0f2fe;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

.df-sf-preview-card[data-preview="cart"] .df-sf-admin-preview-canvas {
	min-height: 230px;
}

.df-sf-admin-preview-canvas {
	min-height: 150px;
	padding: 18px;
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(236, 72, 153, 0.07)),
		#f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
}

.df-sf-preview-cart {
	width: 100%;
	margin: 42px auto 0;
	padding: 10px 12px;
	border-radius: 12px;
}

.df-sf-preview-card[data-preview="cart"] .df-sf-admin-preview-canvas--coupon-top {
	min-height: 260px;
}

.df-sf-admin-preview-canvas--coupon-top .df-sf-preview-cart {
	margin-top: 88px;
}

.df-sf-preview-cart__thumb {
	width: 42px;
	height: 42px;
}

.df-sf-preview-cart__product strong {
	font-size: 12px;
}

.df-sf-preview-cart__product span {
	font-size: 12px;
}

.df-sf-preview-cart__button {
	min-height: 34px;
	padding: 8px 12px;
	font-size: 12px;
}

.df-sf-admin-preview-canvas--contact {
	min-height: 180px;
}

.df-sf-preview-contact {
	right: 18px;
	bottom: 18px;
}

.df-sf-preview-contact__menu span {
	min-width: 100px;
	padding: 7px 10px;
	font-size: 12px;
}

.df-sf-preview-contact__fab {
	width: 50px;
	height: 50px;
}

.df-sf-form > p.submit {
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
}

.df-sf-form > p.submit .button-primary {
	min-height: 40px;
	padding-inline: 22px;
	background: var(--df-admin-primary);
	border-color: var(--df-admin-primary);
	border-radius: 999px;
	font-weight: 700;
}

/* Compact preset cards */

.df-sf-preset-grid {
	grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
	gap: 10px;
	max-width: 620px;
}

.df-sf-preset-card__visual {
	padding: 7px;
	border-width: 1px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.df-sf-preset-card:hover .df-sf-preset-card__visual {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.df-sf-preset-card input:checked + .df-sf-preset-card__visual {
	border-color: var(--df-admin-primary);
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
}

.df-sf-preset-card__bar {
	min-height: 28px;
	padding: 5px 6px;
	border-radius: 8px;
}

.df-sf-preset-card__bar span {
	width: 38%;
	height: 5px;
}

.df-sf-preset-card__bar i {
	width: 30px;
	height: 15px;
}

.df-sf-preset-card__dots {
	gap: 4px;
	margin-top: 6px;
}

.df-sf-preset-card__dots b {
	width: 10px;
	height: 10px;
}

.df-sf-preset-card__label {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.df-sf-preset-card__contact-dot {
	width: 34px;
	height: 34px;
}

.df-sf-preset-card__contact-dot svg {
	width: 14px;
	height: 14px;
}

.df-sf-preset-card--contact .df-sf-preset-card__visual {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 54px;
}

.df-sf-preset-card--contact .df-sf-preset-card__dots {
	margin-top: 0;
}

@media (max-width: 1280px) {
	.df-sf-form {
		grid-template-columns: 1fr;
	}

	.df-sf-preview-card,
	.df-sf-form > .form-table,
	.df-sf-form > p.submit {
		grid-column: 1;
	}

	.df-sf-preview-card {
		position: static;
	}
}

@media (max-width: 782px) {
	.df-sf-admin {
		margin-inline-end: 10px;
	}

	.df-sf-form > .form-table tr {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.df-sf-preset-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
