/* SCCA Site Feedback Button */

.scca-sf-btn {
	position: fixed;
	bottom: var(--scca-sf-bottom, 30px);
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--scca-sf-bg, #1a1a1a);
	color: var(--scca-sf-fg, #fff);
	font-family: inherit;
	font-size: var(--scca-sf-fs, 15px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease, right 0.2s ease;
}

.scca-sf-btn:hover,
.scca-sf-btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	background: var(--scca-sf-bg, #1a1a1a);
	color: var(--scca-sf-fg, #fff);
}

.scca-sf-btn:focus-visible,
.scca-sf-close:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--scca-sf-bg, #1a1a1a);
}

.scca-sf-btn svg {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
}

.scca-sf-btn .scca-sf-ico--mobile {
	display: none;
}

.scca-sf-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.55);
	overflow-y: auto;
}

.scca-sf-overlay[hidden] {
	display: none;
}

.scca-sf-dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px 28px 24px;
	border-radius: 8px;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.scca-sf-dialog:focus {
	outline: none;
}

.scca-sf-title {
	margin: 0 32px 8px 0;
	font-size: 22px;
	line-height: 1.25;
}

.scca-sf-intro {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
}

.scca-sf-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.scca-sf-close:hover {
	background: rgba(0, 0, 0, 0.08);
}

/* Keep the embedded Elementor template from adding its own outer spacing. */
.scca-sf-form .elementor-section,
.scca-sf-form .e-con {
	padding-left: 0;
	padding-right: 0;
}

body.scca-sf-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	/* Round button, same size as the back-to-top button (48px), sitting in its spot. */
	.scca-sf-btn {
		bottom: var(--scca-sf-bottom, 24px);
		width: 48px;
		height: 48px;
		padding: 0;
		justify-content: center;
		gap: 0;
		transition: transform 0.15s ease, box-shadow 0.15s ease, bottom 0.2s ease;
	}
	.scca-sf-btn .scca-sf-ico--desktop {
		display: none;
	}
	.scca-sf-btn .scca-sf-ico--mobile {
		display: block;
		width: 24px;
		height: 24px;
	}
	.scca-sf-btn__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.scca-sf-dialog {
		padding: 22px 18px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.scca-sf-btn {
		transition: none;
	}
}

@media print {
	.scca-sf-btn,
	.scca-sf-overlay {
		display: none !important;
	}
}
