/* Apex Lead Forms - front-end styles
   Colors approximate the reference mockups (navy / orange). Override any
   of this from your theme's stylesheet - every selector is prefixed .alf-
   so it won't collide with theme styles. */

.alf-form-wrap {
	--alf-navy: #0f2557;
	--alf-orange: #ef6c2e;
	--alf-gray: #8a8f98;
	--alf-border: #d7dbe0;
	margin: 0 auto;
	color: #1c1c1c;
	box-sizing: border-box;
}
.alf-form-wrap * {
	box-sizing: border-box;
}

.alf-sample-wrap {
    background: #99939300;
	padding: 40px 32px;
	border-radius: 10px;
}

/* No max-width here (unlike .alf-quote-wrap's 980px cap) - this form is
   meant to stretch to fill whatever container it's placed in. */
.alf-contact-wrap {
	background: transparent;
	padding: 40px 32px;
	border-radius: 10px;
	width: 100%;
}

/* Newsletter Signup - a pill-shaped email input + button on a soft card.
   [apex_news_form] alone renders just the pill (.alf-news-plain); adding
   title/subtitle attributes adds a heading next to it (.alf-news-has-copy).
   layout="row" (default) sits the heading beside the pill; layout="column"
   stacks the heading above it - e.g. a narrow footer widget column. Fills
   whatever container it's dropped into rather than centering as a fixed
   card, so width is controlled by that container. */
.alf-news-wrap {
	width: 100%;
	max-width: none;
}
.alf-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.alf-news-card {
    background: #e9edf7;
    border-radius: 20px;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 28px;
	margin-bottom: 21px;
}
.alf-news-plain .alf-news-card {
	justify-content: center;
}
.alf-news-copy {
    flex: 1 1 20px;
    min-width: 0;
}
.alf-news-title {
    margin: 0 0 6px;
    color: var(--alf-navy);
    font-weight: 800;
    font-size: 20px !important;
    font-size: 19px;
    line-height: 1.3 !important;
}
.alf-news-subtitle {
	margin: 0;
	color: #5b6472;
	font-size: 14px;
	line-height: 1.5;
}
.alf-news-pillwrap {
	flex: 0 0 auto;
	width: 100%;
	max-width: 420px;
}
.alf-news-plain .alf-news-pillwrap {
	max-width: 480px;
}
.alf-news-pill {
	display: flex;
	align-items: stretch;
	background: #ffffff;
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 37, 87, 0.08);
	transition: box-shadow 0.15s ease;
}
.alf-news-pill:focus-within {
	box-shadow: 0 0 0 3px rgba(15, 37, 87, 0.15);
}
.alf-news-pill input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	border: none;
	background: transparent;
	padding: 15px 22px;
	font-size: 15px;
	color: #1c1c1c;
	outline: none;
}
.alf-news-pill input[type="email"]::placeholder {
	color: #9aa1ac;
}
.alf-news-btn {
    display:flex;
    align-items: center;
    margin: 0;
    padding: 11px !important;
    margin-top: 0px !important;
    flex: 0 0 auto;
    border: none;
    background: var(--alf-orange);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px !important;
    line-height: 1.3;
    padding: 15px 30px;
    cursor: pointer;
    white-space: nowrap;
}
.alf-news-btn:hover {
	background: #d95f26;
}
.alf-news-btn:disabled {
	opacity: 0.7;
	cursor: default;
}
.alf-news-pillwrap > .alf-error-text {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	color: #c0392b;
}

/* layout="column" (or a narrow container in the row layout) - heading
   breaks onto its own line above the pill instead of sitting beside it. */
.alf-news-layout-column .alf-news-card {
	flex-direction: column;
	align-items: stretch;
}
.alf-news-layout-column .alf-news-copy,
.alf-news-layout-column .alf-news-pillwrap {
	max-width: none;
}
@media (max-width: 640px) {
	.alf-news-layout-row .alf-news-card {
		flex-direction: column;
		align-items: stretch;
	}
	.alf-news-layout-row .alf-news-pillwrap {
		max-width: none;
	}
}

.alf-title {
	color: var(--alf-navy);
	font-weight: 800;
	font-size: 30px;
	margin: 0 0 4px;
}
.alf-title-center {
	text-align: center;
}
.alf-subtitle {
	text-align: center;
	color: #555b64;
	max-width: 560px;
	margin: 10px auto 28px;
	line-height: 1.5;
}
.alf-section-title {
	color: var(--alf-navy);
	font-weight: 800;
	font-size: 22px;
	margin: 0 0 20px;
}

.alf-section-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 18px;
}
.alf-step-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--alf-navy);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	flex: 0 0 auto;
}
.alf-section-heading h3 {
	color: var(--alf-navy);
	font-weight: 800;
	font-size: 19px;
	margin: 0;
}

.alf-row {
	display: flex;
	gap: 24px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
/* A lone field in its own row still only needs half the width, not the
   full row - matches the paired fields (First/Last, Email/Phone, etc.)
   beside it rather than stretching edge to edge. Full width again under
   600px, same breakpoint the paired .alf-row fields wrap at. */
.alf-row-1col .alf-field {
	flex: 0 1 50%;
	max-width: 50%;
}

/* Explicit exception to the 50% rule above - Request Pack (needs room for
   all 3 options on one line) and Street (a full address line, not a short
   value) both stay the genuine 100% full width. */
.alf-sample-form .alf-row-full .alf-field {
	flex: 1 1 100%;
	max-width: 100%;
}
@media (max-width: 600px) {
	.alf-row-1col .alf-field {
		max-width: 100%;
	}
}
.alf-field {
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.alf-field label {
	font-size: 13px;
	color: #6b7280;
	font-weight: 600;
	letter-spacing: 0.01em;
}
.alf-required {
	color: var(--alf-orange);
	font-weight: 600;
}

.alf-field input[type="text"],
.alf-field input[type="email"],
.alf-field input[type="tel"],
.alf-field input[type="url"],
.alf-field input[type="password"],
.alf-field select {
	width: 100%;
	padding: 10px 4px;
	font-size: 15px;
	border: none;
	border-bottom: 1.5px solid var(--alf-border);
	background: transparent;
	color: #1c1c1c;
	transition: border-color 0.15s ease;
}
.alf-sample-wrap .alf-field select {
	border: 1.5px solid var(--alf-border);
	border-radius: 8px;
	padding: 10px 12px;
	background: transparent;
}
.alf-field input:focus,
.alf-field select:focus {
	outline: none;
	border-color: var(--alf-navy);
}
.alf-field input::placeholder {
	color: #b7bcc4;
}

/* --- Dropdowns -----------------------------------------------------------
   Themes very often style bare <select> with their own arrow as a
   background-image. If we don't pin down repeat/position/size, that image
   tiles across the whole control (rows of little chevrons). So: kill the
   native + theme appearance entirely and draw one arrow ourselves.

   The selectors are deliberately over-specific and the background props use
   !important, because this has to hold up inside whatever theme the site is
   running - a plugin can't assume it wins the cascade. */

.alf-form-wrap .alf-form .alf-field select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230f2557' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 8px center !important;
	background-size: 12px 8px !important;
	padding-right: 30px !important;
	border-radius: 0;
	line-height: 1.4;
	height: auto;
	min-height: 0;
	text-indent: 0;
}

/* Edge/IE would otherwise draw its own arrow on top of ours. */
.alf-form-wrap .alf-form .alf-field select::-ms-expand {
	display: none;
}

/* Quote form: match the underline style of the text inputs beside it,
   rather than the theme's boxed select. */
.alf-form-wrap .alf-quote-form .alf-field select {
	border: none !important;
	border-bottom: 1.5px solid var(--alf-border) !important;
	padding-left: 4px !important;
	box-shadow: none !important;
}
.alf-form-wrap .alf-quote-form .alf-field select:focus {
	border-bottom-color: var(--alf-navy) !important;
	outline: none;
}

/* The sample form's boxed style keeps its rounded border, but stays
   transparent like the text inputs next to it rather than a solid white fill. */
.alf-form-wrap .alf-sample-form .alf-field select {
	background-color: transparent !important;
	border: 1.5px solid var(--alf-border);
	border-radius: 8px;
	padding: 10px 30px 10px 12px !important;
}


/* All 3 sample packs on one full-width line. */
.alf-radio-group {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 18px;
	padding-top: 4px;
}
@media (max-width: 700px) {
	.alf-radio-group {
		grid-template-columns: 1fr;
	}
}

/* Invisible cell used to hold a half-width field in the left column. */
.alf-field-spacer {
	visibility: hidden;
}
@media (max-width: 600px) {
	.alf-field-spacer {
		display: none;
	}
}
.alf-radio {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: #6b7280;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
}
.alf-radio input {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	accent-color: var(--alf-navy);
}

.alf-submit-btn {
	display: inline-block;
	margin-top: 12px;
	background: var(--alf-orange);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	border: none;
	border-radius: 999px;
	padding: 14px 32px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.alf-submit-btn:hover {
	opacity: 0.9;
}
.alf-submit-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Empty by default - no stray padding/border before there's a message. */
.alf-message {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	white-space: pre-line;
}
.alf-message.alf-success,
.alf-message.alf-error {
	margin-top: 22px;
	padding: 14px 18px;
	border-radius: 8px;
	border-left: 4px solid currentColor;
}
.alf-message.alf-success {
	color: #1a7f37;
	background: #eaf6ec;
}
.alf-message.alf-error {
	color: #b32d2e;
	background: #fbeaea;
}

/* NOTE: the form deliberately stays visible after a successful submit - the
   confirmation appears below it instead of replacing it. The .alf-submitted
   class is still applied, so it's available as a styling hook if you ever
   want to hide or grey out the form again. */

/* =========================================================================
   Multi-step wizard (Request a Quote)
   ========================================================================= */

.alf-quote-wrap {
	max-width: 980px;
}

.alf-step-label {
	font-size: 14px;
	font-weight: 700;
	color: #4b5563;
	margin: 0 0 10px;
}

.alf-progress {
	height: 10px;
	background: #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 34px;
}
.alf-progress-bar {
	height: 100%;
	background: var(--alf-orange);
	border-radius: 999px;
	transition: width 0.25s ease;
}

/* Only the active step is visible. */
.alf-step {
	display: none;
}
.alf-step.alf-step-active {
	display: block;
}

.alf-row-3col .alf-field {
	flex: 1 1 200px;
}

/* --- Helper + inline error text ------------------------------------------ */

.alf-help {
	font-size: 13px;
	color: #6b7280;
	font-weight: 400;
	line-height: 1.4;
}

.alf-error-text {
	display: none;
	font-size: 13px;
	color: #c0392b;
	font-weight: 500;
	line-height: 1.4;
}
.alf-field.alf-has-error .alf-error-text,
.alf-checkbox-block.alf-has-error .alf-error-text {
	display: block;
}
.alf-field.alf-has-error input[type="text"],
.alf-field.alf-has-error input[type="email"],
.alf-field.alf-has-error input[type="tel"],
.alf-field.alf-has-error input[type="url"],
.alf-field.alf-has-error select,
.alf-field.alf-has-error textarea {
	border-color: #c0392b;
}

/* --- Checkbox grid (Step 2 products) ------------------------------------- */

.alf-checkbox-block {
	border: none;
	margin: 0 0 28px;
	padding: 0;
	min-width: 0;
}
.alf-checkbox-block legend {
	font-size: 15px;
	color: #6b7280;
	font-weight: 600;
	padding: 0;
	margin-bottom: 16px;
}

.alf-checkbox-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px 20px;
}
@media (max-width: 900px) {
	.alf-checkbox-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 520px) {
	.alf-checkbox-grid {
		grid-template-columns: 1fr;
	}
}

/* Sample form's two qualification checkbox lists sit side by side as
   direct children of a plain .alf-row (same flex row every paired
   text/select field on this form uses), rather than the quote form's
   full-width 4-column product grid - a single stacked column per list
   reads better than cramming multiple columns into half the space. */
.alf-row > .alf-checkbox-block {
	flex: 1 1 260px;
	max-width: 50%;
	margin-bottom: 0;
}
.alf-row > .alf-checkbox-block .alf-checkbox-grid {
	grid-template-columns: 1fr;
}
@media (max-width: 600px) {
	.alf-row > .alf-checkbox-block {
		max-width: 100%;
	}
}

/* "Other / Not Currently Producing" reveal field - hidden by default via
   the [hidden] attribute, shown by the toggle script in class-alf-shortcodes.php. */
.alf-other-input {
	margin-top: 10px;
	padding-left: 30px;
}
.alf-other-input label {
	display: block;
	font-size: 13px;
	color: #6b7280;
	font-weight: 600;
	margin-bottom: 6px;
}
.alf-other-input input[type="text"] {
	width: 100%;
	padding: 8px 10px;
	font-size: 14px;
	border: 1.5px solid var(--alf-border);
	border-radius: 6px;
	background: transparent;
}
.alf-other-input input[type="text"]:focus {
	outline: none;
	border-color: var(--alf-navy);
}

.alf-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: #6b7280;
	font-weight: 500;
	cursor: pointer;
}
.alf-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	accent-color: #2563eb;
	cursor: pointer;
	margin: 0;
}

.alf-optin {
	align-items: flex-start;
	margin: 4px 0 20px;
}
.alf-optin input[type="checkbox"] {
	margin-top: 3px;
}

.alf-no-website {
	margin-top: 8px;
	font-size: 13px;
}

/* --- Textarea ------------------------------------------------------------ */

.alf-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	color: #1c1c1c;
	border: 1.5px solid var(--alf-border);
	border-radius: 6px;
	background: #fff;
	resize: vertical;
	min-height: 180px;
	transition: border-color 0.15s ease;
}
.alf-field textarea:focus {
	outline: none;
	border-color: var(--alf-navy);
}

/* --- File input ---------------------------------------------------------- */

.alf-field input[type="file"] {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	border: 1.5px solid var(--alf-border);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}
.alf-field input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 8px 16px;
	border: 1px solid var(--alf-border);
	border-radius: 3px;
	background: #f3f4f6;
	color: #1c1c1c;
	font-size: 14px;
	cursor: pointer;
}
.alf-field input[type="file"]::file-selector-button:hover {
	background: #e5e7eb;
}

.alf-filelist {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: #4b5563;
}
.alf-filelist li {
	padding: 3px 0;
}
.alf-filelist li.alf-file-bad {
	color: #c0392b;
}

/* --- Step navigation buttons --------------------------------------------- */

.alf-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 34px;
}

.alf-btn {
	background: var(--alf-orange);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	border: none;
	border-radius: 999px;
	padding: 14px 42px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.alf-btn:hover {
	opacity: 0.9;
}
.alf-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

@media (max-width: 600px) {
	.alf-nav {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	.alf-btn {
		width: 100%;
	}
}

/* [apex_sample_verify] - email verification / set-password page. */
.alf-verify-wrap {
	max-width: 520px;
	margin-top: 0;
	padding-top: 0;
	text-align: center;
}
.alf-verify-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #eaf1ff;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* This form reuses the shared .alf-row/.alf-row-1col markup, which elsewhere
   caps a single-column field at 50% width (see line ~230) so a lone field
   doesn't stretch edge to edge next to nothing. That's wrong here - these
   fields need the full 100% width shown in the design. */
.alf-verify-form .alf-row.alf-row-1col .alf-field {
	flex: 1 1 100%;
	max-width: 100%;
}
.alf-verify-heading {
	text-align: center;
}
.alf-verify-subtitle {
	max-width: 420px;
}
.alf-verify-form .alf-field-icon label {
	text-align: left;
}
.alf-input-icon-wrap {
	position: relative;
}
.alf-input-icon-wrap .alf-input-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	pointer-events: none;
}
.alf-verify-form .alf-field-icon input[type="password"] {
	border: 1.5px solid var(--alf-border);
	border-radius: 8px;
	padding: 12px 14px 12px 38px;
	width: 100%;
}
.alf-verify-requirements {
	text-align: left;
	background: #f5f6f8;
	border-radius: 10px;
	padding: 16px 18px;
	margin: 6px 0 18px;
}
.alf-verify-requirements-title {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--alf-navy);
	margin-bottom: 10px;
}
.alf-verify-requirements ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.alf-verify-requirements li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #555b64;
	font-size: 14px;
	padding: 4px 0;
}
.alf-req-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
	flex: none;
}
.alf-req-icon .alf-req-check {
	display: none;
}
li.alf-req-met .alf-req-icon .alf-req-uncheck {
	display: none;
}
li.alf-req-met .alf-req-icon .alf-req-check {
	display: block;
}
.alf-verify-submit {
	width: 100%;
}
.alf-verify-login-hint {
	margin-top: 18px;
	font-size: 14px;
	color: #555b64;
}
.alf-verify-login-hint a {
	color: var(--alf-orange);
	font-weight: 700;
	text-decoration: none;
}

/* WooCommerce My Account: verification badges + My Samples tab. */
.alf-verify-badges {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
	margin: 0 0 28px;
}
.alf-verify-badge {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 18px;
	border-radius: 10px;
	border: 1.5px solid var(--alf-border);
	background: #fff;
}
.alf-verify-badge-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--alf-navy);
}
.alf-verify-badge-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 5px 12px 5px 8px;
	border-radius: 999px;
}
.alf-verify-badge-status svg {
	flex: none;
}
.alf-badge-yes .alf-verify-badge-status {
	color: #1a7f37;
	background: #eaf6ec;
}
.alf-badge-no .alf-verify-badge-status {
	color: #8a8f98;
	background: #f1f2f4;
}

.alf-my-samples {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 16px;
}
.alf-sample-card {
	flex: 1 1 260px;
	border: 1.5px solid var(--alf-border);
	border-radius: 10px;
	padding: 18px 20px;
	background: #fff;
}
.alf-sample-card-type {
	font-weight: 700;
	color: var(--alf-navy);
	margin-bottom: 6px;
}
.alf-sample-card-status {
	font-size: 14px;
	color: #555b64;
	margin-bottom: 14px;
}
.alf-sample-card-ack {
	font-size: 14px;
	font-weight: 600;
	color: #1a7f37;
}
.alf-ack-received-btn {
	width: 100%;
}

/* Sample form: final Thank You step */
.alf-thanks {
	text-align: center;
	max-width: 640px;
	margin: 8px auto 0;
	padding: 36px 28px;
	background: #fff;
	border: 1px solid #e3e7ef;
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(15, 37, 87, 0.08);
}
.alf-thanks[hidden] { display: none; }
.alf-thanks-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #22a05b;
	color: #fff;
	margin-bottom: 16px;
	box-shadow: 0 0 0 8px rgba(34, 160, 91, 0.15);
}
.alf-thanks-title {
	font-size: 24px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--alf-navy, #0f2557);
	margin: 0 0 10px;
}
.alf-thanks-text,
.alf-thanks-declined p {
	font-size: 16px;
	line-height: 1.6;
	color: #4b5563;
	margin: 0 0 12px;
}
/* Disqualified / declined screen - clean, centred notice (no card). */
.alf-step-thanks .alf-section-heading[hidden] { display: none; }
.alf-thanks.alf-thanks-declined {
	max-width: none;
	width: 100%;
	font-family: 'Poppins', sans-serif;
	padding: 28px 16px 8px;
	background: transparent;
	border: 0;
	box-shadow: none;
}
.alf-decl-icon {
	display: inline-flex;
	margin-bottom: 22px;
}
.alf-decl-icon svg {
	display: block;
}
.alf-decl-title {
	max-width: 900px;
	font-family: 'Poppins', sans-serif;
	margin: 0 auto 26px;
	font-size: 30px;
	line-height: 1.3;
	font-weight: 800;
	color: var(--alf-navy, #0f2557);
}
.alf-thanks-declined p {
	max-width: 900px;
	font-family: 'Poppins', sans-serif;
	margin: 0 auto 22px;
	font-size: 17px;
	line-height: 1.6;
	color: #7b8190;
}
.alf-decl-actions {
	display: flex;
	gap: 18px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 34px;
}
.alf-decl-actions .alf-btn {
	font-family: 'Poppins', sans-serif;
	display: inline-block;
	min-width: 230px;
	padding: 17px 30px;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}
.alf-decl-contact {
	background: #f7941d;
	border: 2px solid #f7941d;
	color: #fff !important;
}
.alf-decl-contact:hover {
	background: #e0850f;
	border-color: #e0850f;
}
.alf-decl-call {
	background: #fff;
	border: 2px solid var(--alf-navy, #0f2557);
	color: var(--alf-navy, #0f2557) !important;
}
.alf-decl-call:hover {
	background: #f3f6fc;
}
@media (max-width: 600px) {
	.alf-decl-title { font-size: 24px; }
	.alf-thanks-declined p { font-size: 16px; }
	.alf-decl-actions .alf-btn { width: 100%; min-width: 0; }
}
.alf-thanks-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 20px;
}
.alf-thanks-actions .alf-btn {
	text-decoration: none;
	display: inline-block;
}
.alf-thanks-call {
	background: #0f2557;
	color: #fff !important;
}
.alf-thanks-contact {
	background: #ef6c2e;
	color: #fff !important;
}

.alf-thanks-heading:empty { display: none; }


/* Success popup shown after a sample request is submitted. */
.alf-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 20, 50, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 99999;
}
.alf-modal-overlay[hidden] { display: none; }
.alf-modal {
	position: relative;
	background: #fff;
	border-radius: 20px;
	max-width: 640px;
	width: 100%;
	padding: 44px 48px 40px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.alf-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	padding: 6px;
	background: none;
	border: 0;
	color: #8a93a6;
	cursor: pointer;
	box-shadow: none;
}
.alf-modal-close:hover { color: #0f2557; background: none; }
.alf-modal-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: #22a05b;
	color: #fff;
}
.alf-modal-title {
	margin: 0 0 12px;
	font-size: 28px !important;
	line-height: 1.25 !important;
	font-weight: 800;
	color: var(--alf-navy, #0f2557);
}
.alf-modal-p { display: block; margin: 0 0 12px; }
.alf-modal-p:last-child { margin-bottom: 0; }
.alf-modal-p--strong { font-weight: 700; color: var(--alf-navy, #0f2557); }
.alf-modal-text {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.65;
	color: #5b6475;
}