/* A.B.M. Intel – Forms */
.abmf {
	--abmf-accent: #005aee;
	--abmf-accent-text: #ffffff;
	--abmf-ink: #13213c;
	--abmf-text: #3e4a60;
	--abmf-muted: #667085;
	--abmf-border: #cbd2de;
	--abmf-bg: #ffffff;
	--abmf-radius: 10px;
	--abmf-btn-radius: 999px;
	--abmf-error: #c41230;
	--abmf-ok: #1a7f4b;
	font-family: inherit;
	color: var(--abmf-text);
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}

.abmf *,
.abmf *::before,
.abmf *::after {
	box-sizing: border-box;
}

.abmf-form {
	margin: 0;
	padding: 0;
}

.abmf-form[hidden],
.abmf [hidden] {
	display: none !important;
}

.abmf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 16px;
}

.abmf-field {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
}

.abmf-field.abmf-half {
	grid-column: span 1;
}

/* Thirds: the grid has 6 columns when a form uses them. */
.abmf-grid.abmf-has-thirds {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.abmf-has-thirds .abmf-field.abmf-half {
	grid-column: span 3;
}

.abmf-has-thirds .abmf-field.abmf-third {
	grid-column: span 2;
}

@media (max-width: 640px) {
	.abmf-grid,
	.abmf-grid.abmf-has-thirds {
		grid-template-columns: minmax(0, 1fr);
	}

	.abmf-field.abmf-half,
	.abmf-field.abmf-third,
	.abmf-has-thirds .abmf-field.abmf-half,
	.abmf-has-thirds .abmf-field.abmf-third {
		grid-column: 1 / -1;
	}
}

/* Section headings */
.abmf-type-section {
	margin-top: 10px;
	padding-top: 18px;
	border-top: 1px solid #e6e9ef;
}

.abmf-grid > .abmf-type-section:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.abmf .abmf-section-title {
	margin: 0;
	padding: 0;
	color: var(--abmf-section, var(--abmf-ink));
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.abmf-type-section .abmf-desc {
	margin-top: 4px;
	font-size: 13.5px;
}

/* A highlighted information box (e.g. the chosen session) */
.abmf-note {
	padding: 12px 14px;
	border-left: 4px solid var(--abmf-accent);
	border-radius: 6px;
	background: #f7f8fb;
	color: var(--abmf-ink);
	font-size: 14.5px;
	line-height: 1.5;
}

.abmf-note strong {
	font-weight: 700;
}

.abmf-note .abmf-flag {
	display: inline-block;
	margin: 0 0 4px;
	color: var(--abmf-accent);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.abmf-label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	color: var(--abmf-ink);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
}

.abmf-req {
	margin-left: 3px;
	color: var(--abmf-error);
	font-weight: 600;
}

.abmf .abmf-input {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--abmf-border);
	border-radius: var(--abmf-radius);
	background: var(--abmf-bg);
	box-shadow: none;
	color: var(--abmf-ink);
	font-family: inherit;
	font-size: 16px; /* 16px stops phones from zooming in */
	line-height: 1.4;
	transition: border-color 0.15s, box-shadow 0.15s;
	-webkit-appearance: none;
	appearance: none;
}

.abmf textarea.abmf-input {
	min-height: 120px;
	resize: vertical;
}

.abmf select.abmf-input {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 15px center;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	cursor: pointer;
}

.abmf .abmf-input::placeholder {
	color: #98a2b3;
	opacity: 1;
}

.abmf .abmf-input:hover {
	border-color: #aab4c4;
}

.abmf .abmf-input:focus {
	border-color: var(--abmf-accent);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--abmf-accent) 22%, transparent);
}

.abmf-desc {
	margin-top: 6px;
	color: var(--abmf-muted);
	font-size: 12.5px;
	line-height: 1.45;
}

/* Checkboxes and radio buttons */
.abmf-choices {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px 16px;
	margin: 2px 0 0;
}

.abmf-choices.abmf-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 480px) {
	.abmf-choices.abmf-cols-2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.abmf-choice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	color: var(--abmf-text);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
}

.abmf-choice input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--abmf-accent);
	cursor: pointer;
}

.abmf-choice input:focus-visible {
	outline: 2px solid var(--abmf-accent);
	outline-offset: 2px;
}

.abmf-consent {
	padding: 12px 14px;
	border: 1px solid var(--abmf-border);
	border-radius: var(--abmf-radius);
	background: #f7f8fb;
}

/* Errors */
.abmf-error {
	margin-top: 6px;
	color: var(--abmf-error);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.abmf .abmf-invalid .abmf-input,
.abmf .abmf-invalid .abmf-input:hover,
.abmf .abmf-invalid .abmf-consent {
	border-color: var(--abmf-error);
}

.abmf .abmf-invalid .abmf-input:focus {
	box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.16);
}

.abmf-alert {
	margin: 0 0 20px;
	padding: 12px 14px;
	border: 1px solid rgba(196, 18, 48, 0.35);
	border-left: 4px solid var(--abmf-error);
	border-radius: 8px;
	background: #fdf2f4;
	color: #7a0c1f;
	font-size: 14.5px;
}

/* Button */
.abmf-actions {
	margin-top: 24px;
}

.abmf .abmf-submit {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 14px 28px;
	border: 0;
	border-radius: var(--abmf-btn-radius);
	background: var(--abmf-accent);
	color: var(--abmf-accent-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: filter 0.15s, transform 0.05s;
}

.abmf .abmf-submit:hover {
	filter: brightness(0.94);
}

.abmf .abmf-submit:active {
	transform: translateY(1px);
}

.abmf .abmf-submit:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--abmf-accent) 40%, transparent);
	outline-offset: 2px;
}

.abmf .abmf-submit[disabled] {
	cursor: progress;
	opacity: 0.7;
}

@media (max-width: 480px) {
	.abmf .abmf-submit {
		width: 100%;
	}
}

/* Hidden spam trap */
.abmf-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.abmf-turnstile {
	margin-top: 20px;
}

.abmf-noscript {
	margin-top: 12px;
	color: var(--abmf-error);
}

/* After sending */
.abmf-success {
	padding: 18px 20px;
	border: 1px solid rgba(26, 127, 75, 0.3);
	border-left: 4px solid var(--abmf-ok);
	border-radius: 10px;
	background: #f0f9f4;
	color: #10462a;
	font-size: 16px;
	line-height: 1.5;
	outline: none;
}

.abmf-success p {
	margin: 0 0 8px;
	padding: 0;
}

.abmf-success p:last-child {
	margin-bottom: 0;
}

.abmf-field.abmf-type-html p {
	margin: 0 0 8px;
}

/* Card: a small boxed form (e.g. a sign-up on a dashboard) */
.abmf.abmf-card {
	padding: 20px 22px;
	border: 1px solid var(--abmf-border);
	border-radius: 8px;
	background: #f7f8fb;
}

.abmf.abmf-card .abmf-grid {
	gap: 12px 16px;
}

.abmf.abmf-card .abmf-actions {
	margin-top: 14px;
}

.abmf .abmf-card-title {
	margin: 0 0 4px;
	padding: 0;
	color: var(--abmf-ink);
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.abmf.abmf-card .abmf-type-html p {
	margin: 0;
	color: var(--abmf-text);
	font-size: 14.5px;
}

.abmf.abmf-card .abmf-note {
	border-left: 0;
	padding: 0;
	background: transparent;
}

.abmf.abmf-card .abmf-success {
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 15px;
}

/* File uploads */
.abmf-files {
	position: relative;
}

.abmf .abmf-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.abmf .abmf-file-drop {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	margin: 0;
	padding: 16px;
	border: 1.5px dashed var(--abmf-border);
	border-radius: var(--abmf-radius);
	background: #f7f8fb;
	color: var(--abmf-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}

.abmf .abmf-file-drop:hover,
.abmf .abmf-drag .abmf-file-drop {
	border-color: var(--abmf-accent);
	background: color-mix(in srgb, var(--abmf-accent) 6%, #ffffff);
}

.abmf .abmf-file-input:focus-visible + .abmf-file-drop {
	outline: 2px solid var(--abmf-accent);
	outline-offset: 2px;
}

.abmf .abmf-file-btn {
	display: inline-block;
	padding: 8px 16px;
	border-radius: var(--abmf-btn-radius);
	background: var(--abmf-accent);
	color: var(--abmf-accent-text);
	font-size: 14px;
	font-weight: 600;
}

.abmf-file-hint {
	margin-top: 6px;
	color: var(--abmf-muted);
	font-size: 12.5px;
	line-height: 1.45;
}

.abmf .abmf-file-list {
	margin: 10px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.abmf .abmf-file-list:empty {
	display: none;
}

.abmf .abmf-file-list li {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 6px;
	padding: 8px 12px;
	border: 1px solid var(--abmf-border);
	border-radius: var(--abmf-radius);
	background: var(--abmf-bg);
	font-size: 14px;
	line-height: 1.4;
	list-style: none;
}

.abmf .abmf-file-list li::before {
	content: none;
}

.abmf-file-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: var(--abmf-ink);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.abmf-file-size {
	flex: 0 0 auto;
	color: var(--abmf-muted);
	font-size: 12.5px;
}

.abmf .abmf-file-remove {
	flex: 0 0 auto;
	margin: 0;
	padding: 4px 6px;
	border: 0;
	background: none;
	color: var(--abmf-error);
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.abmf .abmf-invalid .abmf-file-drop {
	border-color: var(--abmf-error);
}

/* A narrow, centered form (e.g. one email box) */
.abmf.abmf-narrow {
	max-width: 520px;
	margin-right: auto;
	margin-left: auto;
}

.abmf-desc.abmf-desc-top {
	margin: -2px 0 8px;
}
