/*    FLUFFYTECH: CRM popup / form - Sean match (862px version) - Amended Sean 17.04.26
--------------------------------------------------------------------------------------- */

/* base */
.ftcrm-form-wrap,
.ftcrm-form-wrap * {
	box-sizing: border-box;
	font-family: "Open Sans", sans-serif;
}

.ftcrm-form-wrap {
	width: 100%;
	max-width: 862px;
	margin: 0 auto;
	color: #111;
}

/* popup shell */
.boxzilla,
.boxzilla-content,
.boxzilla-container {
	background: #FFDC00 !important;
}

.boxzilla-content {
	padding: 18px 18px 18px !important;
}

.boxzilla .boxzilla-close-icon,
.boxzilla-close-icon,
.boxzilla-close {
	color: #111 !important;
	opacity: 1 !important;
}

.boxzilla-close {
	top: 18px !important;
	right: 18px !important;
}

/* layout */
.ftcrm-sean-layout {
	width: 100%;
}

/* hero */
.ftcrm-popup-title {
	margin: 0 0 34px;
	max-width: 760px;
}

.ftcrm-popup-title h2 {
	margin: 0 !important;
	font-size: 250% !important;
	line-height: 0.95 !important;
	font-weight: 600 !important;
	letter-spacing: -0.035em !important;
	word-spacing: -0.06em !important;
	color: #111 !important;
}

/* grids */
.ftcrm-grid {
	display: grid;
	row-gap: 16px;
	column-gap: 12px;
}

.ftcrm-grid-2 {
	grid-template-columns: 1fr 1fr;
}

.ftcrm-grid-gap-top {
	margin-top: 32px;
}

.ftcrm-grid-visit {
	display: grid;
	row-gap: 16px;
	column-gap: 12px;
	margin-top: 32px;
}

/* sections */
.ftcrm-section-block {
	display: grid;
	row-gap: 16px;
	column-gap: 12px;
	align-content: start;
}

.ftcrm-section-title {
	margin: 0;
	font-size: 15px;
	line-height: 1.1;
	font-weight: 600 !important;
	letter-spacing: -0.02em;
	color: #111 !important;
	word-spacing: -0.03em;
}

.ftcrm-section-title-full {
	grid-column: 1 / -1;
}

/* fields */
.ftcrm-field {
	margin: 0;
}

.ftcrm-field input,
.ftcrm-field select,
.ftcrm-field textarea,
.ftcrm-submit {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-radius: 0;
	padding: 15px 16px;
	height: 54px;
	font-size: 15px;
	line-height: 1.2;
	background: #fff;
	color: #111;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.ftcrm-field input::placeholder,
.ftcrm-field textarea::placeholder {
	color: #111;
	opacity: 1;
	font-weight: 400;
}

.ftcrm-field select {
	background-color: #fff;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 12 8'%3E%3Cpolygon points='0,0 12,0 6,8' fill='%23FFDC00'/%3E%3C/svg%3E");

	background-repeat: no-repeat;
	background-position: calc(100% - 14px) 50%;
	background-size: 16px 12px;

	padding-right: 44px;
	cursor: pointer;

	-webkit-appearance: none;
	appearance: none;
}

.ftcrm-visit-date input,
.ftcrm-start-date input {
	height: 56px;
}

/* time buttons */
.ftcrm-time-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.ftcrm-time-button {
	border: 0;
	border-radius: 2px;
	background: #fff;
	padding: 0 14px;
	min-width: 78px;
	height: 26px;
	font-size: 80%;
	line-height: 26px;
	text-align: center;
	color: #111;
	cursor: pointer;
	font-weight: 400;
}

.ftcrm-time-button.is-selected {
	background: #111;
	color: #fff;
}

/* footer */
.ftcrm-footer-row {
	align-items: end;
	margin-top: 40px;
}

.ftcrm-field-policy a {
	font-size: 14px;
	color: #111 !important;
	text-decoration: underline;
	font-weight: 400;
}

.ftcrm-field-submit {
	display: flex;
	justify-content: flex-end;
}

.ftcrm-submit {
	background: #111;
	color: #fff !important;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.02em;
	height: 48px;
	font-size: 80%;
	max-width: 420px;
	margin-left: auto;
}

.ftcrm-field-hidden {
	display: none;
}

/* messages */
.ftcrm-message {
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 14px;
}

.ftcrm-message-success {
	background: #e8f7e8;
}

.ftcrm-message-error {
	background: #fdeaea;
}

/* success screen */
.ftcrm-success-screen {
	width: 100%;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

.ftcrm-success-screen h2 {
	margin: 0;
	font-size: 54px !important;
	line-height: 0.95 !important;
	font-weight: 600 !important;
	letter-spacing: -0.035em !important;
	word-spacing: -0.06em !important;
	color: #111 !important;
}

/*    FLUFFYTECH: SUCCESS WIDTH LOCK (critical fix)
---------------------------------------------------------------------------------------
Boxzilla shrinks popup when content is replaced with "See you soon".
This forces the popup container to retain the original 862px width.
*/

.boxzilla,
.boxzilla-container,
.boxzilla-content {
	max-width: 862px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* responsive */
@media screen and (max-width: 900px) {
	.boxzilla-content {
		padding: 28px 28px 34px !important;
	}

	.ftcrm-grid-2 {
		grid-template-columns: 1fr;
	}

	.ftcrm-popup-title h2 {
		font-size: 200% !important;
	}

	.ftcrm-submit {
		max-width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.ftcrm-popup-title h2 {
		font-size: 160% !important;
	}

	.ftcrm-field input,
	.ftcrm-field select,
	.ftcrm-field textarea,
	.ftcrm-submit {
		font-size: 14px;
		height: 50px;
	}

	.ftcrm-time-button {
		min-width: 72px;
		height: 40px;
		line-height: 40px;
		font-size: 13px;
	}
}