/* DID Banner Program inquiry form. Colors match the theme's brand tokens. */
.did-bi {
	--did-bi-green: #176545;
	--did-bi-green-dark: #145138;
	--did-bi-navy: #1c2b39;
	--did-bi-line: #cbd5e1;
	--did-bi-muted: #475569;
	--did-bi-error: #b91c1c;
	scroll-margin-top: 2rem;
	color: #0f172a;
}
.did-bi [hidden] { display: none !important; }
.did-bi__sr,
.did-bi__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.did-bi__note { margin: 0 0 1rem; font-size: 0.875rem; color: var(--did-bi-muted); }
.did-bi__req { color: var(--did-bi-error); font-weight: 700; }

.did-bi__section { margin: 0 0 2rem; padding: 0; border: 0; min-width: 0; }
.did-bi__section > legend {
	display: block;
	width: 100%;
	margin: 0 0 1.25rem;
	padding: 0 0 0.5rem;
	border-bottom: 2px solid #1d7e54;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--did-bi-navy);
}
.did-bi__grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
	.did-bi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.did-bi__field { grid-column: 1 / -1; }
	.did-bi__field--half { grid-column: auto; }
}

.did-bi__field > label:not(.did-bi__choice),
.did-bi__group > legend {
	display: block;
	margin: 0 0 0.375rem;
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
}
.did-bi__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.did-bi__group--inline { display: flex; flex-wrap: wrap; column-gap: 2rem; }
.did-bi__group--inline > legend { float: left; width: 100%; }

.did-bi input[type="text"],
.did-bi input[type="email"],
.did-bi input[type="tel"],
.did-bi input[type="number"],
.did-bi input[type="date"],
.did-bi textarea {
	display: block;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.625rem 0.75rem;
	border: 1px solid #64748b;
	border-radius: 0.375rem;
	background: #fff;
	color: #0f172a;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
}
.did-bi textarea { resize: vertical; }
.did-bi input[type="file"] { display: block; max-width: 100%; font-size: 0.9375rem; }
.did-bi input:focus-visible,
.did-bi textarea:focus-visible,
.did-bi__submit:focus-visible {
	outline: 3px solid #ffbe2e;
	outline-offset: 2px;
	border-color: var(--did-bi-navy);
}

.did-bi__choice {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	padding: 0.375rem 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #1e293b;
	cursor: pointer;
}
.did-bi__choice input {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.1875rem 0 0;
	accent-color: #1d7e54;
}

.did-bi__help { margin: 0.375rem 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--did-bi-muted); }
.did-bi__help--warn { color: #92400e; font-weight: 600; }
.did-bi__error { margin: 0.375rem 0 0; font-size: 0.875rem; font-weight: 700; color: var(--did-bi-error); }
.did-bi__field--invalid input[type="text"],
.did-bi__field--invalid input[type="email"],
.did-bi__field--invalid input[type="tel"],
.did-bi__field--invalid input[type="number"],
.did-bi__field--invalid input[type="date"],
.did-bi__field--invalid textarea { border-color: var(--did-bi-error); box-shadow: inset 0 0 0 1px var(--did-bi-error); }

.did-bi__summary {
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--did-bi-error);
	border-radius: 0.5rem;
	background: #fef2f2;
	font-size: 0.9375rem;
	color: #7f1d1d;
}
.did-bi__summary p { margin: 0; font-weight: 700; }
.did-bi__summary ul { margin: 0.5rem 0 0; padding-left: 1.25rem; list-style: disc; }
.did-bi__summary a { color: inherit; text-decoration: underline; }

.did-bi__actions { margin-top: 0.5rem; }
.did-bi__submit,
.did-bi__next,
.did-bi__back {
	display: inline-block;
	min-height: 3rem;
	padding: 0.75rem 1.75rem;
	border: 0;
	border-radius: 0.375rem;
	background: var(--did-bi-green);
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}
.did-bi__submit:hover,
.did-bi__next:hover { background: var(--did-bi-green-dark); }
.did-bi__back { background: #fff; color: var(--did-bi-green); box-shadow: inset 0 0 0 1px #1d7e54; }
.did-bi__back:hover { background: #effaf3; }
.did-bi__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.did-bi__next:focus-visible,
.did-bi__back:focus-visible,
.did-bi__step button:focus-visible { outline: 3px solid #ffbe2e; outline-offset: 2px; }
.did-bi__section > legend:focus { outline: none; }

/* Step indicator */
.did-bi__steps {
	display: flex;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.did-bi__step { flex: 1 1 0; min-width: 0; }
.did-bi__step button {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	width: 100%;
	padding: 0.75rem 0 0;
	border: 0;
	border-top: 4px solid var(--did-bi-line);
	background: none;
	color: var(--did-bi-muted);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.did-bi__step button[disabled] { cursor: default; }
.did-bi__step-num {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background: #e2e8f0;
	color: #334155;
	font-size: 0.875rem;
	font-weight: 700;
}
.did-bi__step-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.did-bi__step--current button { border-top-color: #1d7e54; color: var(--did-bi-navy); font-weight: 800; }
.did-bi__step--current .did-bi__step-num { background: var(--did-bi-green); color: #fff; }
.did-bi__step--done button { border-top-color: #1d7e54; color: var(--did-bi-green); }
.did-bi__step--done .did-bi__step-num { background: #d8f3e1; color: var(--did-bi-green-dark); }
.did-bi__step--done button:hover .did-bi__step-name { text-decoration: underline; }
@media (max-width: 479px) {
	.did-bi__step:not(.did-bi__step--current) .did-bi__step-name { display: none; }
	.did-bi__step:not(.did-bi__step--current) { flex: 0 0 2.75rem; }
}
.did-bi__submit[disabled] { opacity: 0.65; cursor: progress; }
.did-bi__hint { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--did-bi-muted); }

.did-bi__done {
	padding: 1.5rem;
	border-left: 4px solid #1d7e54;
	border-radius: 0.5rem;
	background: #effaf3;
}
.did-bi__done:focus { outline: none; }
.did-bi__done h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--did-bi-navy); }
.did-bi__done p { margin: 0.5rem 0 0; color: #334155; line-height: 1.6; }
.did-bi__done a { color: var(--did-bi-green); font-weight: 600; text-decoration: underline; }
