/* Sendy Widget Pro newsletter form: matches the previous Fluent Forms layout. */

.swp-bs .swp-form .swp-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 15px;
	margin: 0;
}

.swp-bs .swp-form .swp-col,
.swp-bs .swp-form .swp-col-1 {
	float: none;
	margin: 0 0 20px;
	min-width: 0;
}

.swp-bs .swp-form .swp-colsize-1 {
	flex: 1 1 0;
}

.swp-bs .swp-form .swp-colsize-2 {
	flex: 1 1 100%;
	width: 100%;
}

.swp-bs .swp-form .swpclear {
	display: none;
}

/* Labels (font sizes in rem so they follow the browser font setting, WCAG 1.4.4) */
.swp-bs .swp-field-wrap > label {
	display: block;
	margin: 0 0 5px;
	padding-top: 4.5px;
	color: #fff;
	font-size: 0.9375rem;
	line-height: 1.3333;
	cursor: pointer;
}

.swp-bs .swp-required {
	margin-left: 3px;
	color: #f56c6c;
}

/* Text fields: same look as the theme fields used by Fluent Forms */
.swp-bs .swp-form input[type="text"],
.swp-bs .swp-form input[type="email"] {
	display: block;
	width: 100%;
	min-height: 2.8125rem;
	margin: 0;
	padding: 0 15px;
	color: #fff;
	font-size: 1rem;
	background-color: rgba(31, 30, 30, 0.64);
	border: 1px solid #f5eeef;
	border-radius: 4px;
}

/* Visible keyboard focus on the dark background */
.swp-bs .swp-form input:focus-visible {
	outline: 2px solid #cbab74;
	outline-offset: 2px;
}

/* Consent checkbox */
.swp-bs .swp-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.swp-bs .swp-consent input[type="checkbox"] {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	min-width: 24px;
	min-height: 24px;
	margin: 1px 0 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent center / 16px no-repeat;
	border: 1px solid #f5eeef;
	border-radius: 3px;
	cursor: pointer;
}

.swp-bs .swp-consent input[type="checkbox"]:checked {
	background-color: #cbab74;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%231c1a19' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	border-color: #cbab74;
}

.swp-bs .swp-consent label {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.65;
	cursor: pointer;
}

.swp-bs .swp-consent a {
	color: #d4af37;
	text-decoration: underline;
}

/* Submit button */
.swp-bs .swp-form .field-submit {
	min-height: 50px;
	padding: 5px 20px;
	color: #1c1a19;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	background-color: #cbab74;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}

.swp-bs .swp-form .field-submit:hover {
	color: #1c1a19;
	background-color: #d9bf91;
}

.swp-bs .swp-form .swp-spinner {
	vertical-align: middle;
}

/* Status messages */
.swp-bs .swp-email-valid-error,
.swp-bs .swp-email-duplicate-error,
.swp-bs .swp-captcha-error,
.swp-bs .swp-success {
	margin-top: -5px;
	color: #fff;
	font-size: 1rem;
}

.swp-bs .swp-email-valid-error,
.swp-bs .swp-email-duplicate-error,
.swp-bs .swp-captcha-error {
	color: #f8a5a5;
}

@media (max-width: 640px) {
	.swp-bs .swp-form .swp-colsize-1 {
		flex-basis: 100%;
	}
}
