/* DigiSphere audit form. Works with any theme, styled for the DigiSphere Night design. */
.dsa { --dsa-gold: #FFC93C; --dsa-base: #081226; font-family: "DM Sans", system-ui, sans-serif; max-width: 580px; width: 100%; color: #EEF2FA; }
.dsa--full { max-width: none; }
.dsa *, .dsa *::before, .dsa *::after { box-sizing: border-box; }
.dsa__form { margin: 0; }
.dsa__sr,
.dsa__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	padding: 0;
	margin: -1px;
	border: 0;
}
.dsa__hp { left: -9999px; }

/* Step 1, hero variant */
.dsa__callout { display: flex; align-items: flex-end; gap: 6px; margin: 0 0 4px 18px; }
.dsa__callout span {
	font-family: Outfit, system-ui, sans-serif;
	font-weight: 700;
	font-size: 17px;
	color: var(--dsa-gold);
	transform: rotate(-3deg);
	margin-bottom: 14px;
}
.dsa__callout svg { flex: none; }
.dsa__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	background: #0F1D38;
	border: 2px solid var(--dsa-gold);
	box-shadow: 0 0 0 6px rgba(255, 201, 60, 0.14);
	border-radius: 16px;
	padding: 10px;
}
.dsa__barlabel { position: absolute; }
.dsa__bar .dsa__input { flex: 1 1 260px; min-width: 0; }
.dsa__btn--bar { flex: 1 1 200px; }

/* Step 1, full variant */
.dsa__stack { display: flex; flex-direction: column; gap: 6px; }
.dsa__stack .dsa__btn { margin-top: 6px; }

/* Fields */
.dsa__label { display: block; font-weight: 700; font-size: 14px; color: #C3CDE2; margin: 6px 0 0; }
.dsa__label--light { color: #fff; margin: 0; }
.dsa__input {
	font: inherit;
	font-size: 16px;
	width: 100%;
	padding: 16px;
	border: 1px solid #C8D3EA;
	border-radius: 10px;
	background: #fff;
	color: var(--dsa-base);
	min-height: 54px;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
}
.dsa__input--sm { padding: 15px 16px; min-height: 52px; }
.dsa__select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081226' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}
.dsa__input::placeholder { color: #6B7891; opacity: 1; }
.dsa__input:focus { outline: 3px solid var(--dsa-gold); outline-offset: 2px; border-color: var(--dsa-gold); }
.dsa--full .dsa__step--1 .dsa__input:focus { outline-color: var(--dsa-base); }
.dsa__input[aria-invalid="true"] { border: 2px solid #FF3D5A; }

.dsa__btn {
	font: inherit;
	font-weight: 800;
	font-size: 17px;
	line-height: 1.2;
	background: var(--dsa-gold);
	color: var(--dsa-base);
	border: none;
	border-radius: 10px;
	padding: 16px 24px;
	cursor: pointer;
	min-height: 54px;
	width: 100%;
	margin: 0;
	transition: background-color 0.15s ease;
}
.dsa__btn--bar { width: auto; }
.dsa__btn:hover { background: #FFD866; }
.dsa__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.dsa--full .dsa__step--1 .dsa__btn:focus-visible { outline-color: var(--dsa-base); }
.dsa__btn[disabled] { opacity: 0.7; cursor: progress; }

/* Step 2 card */
.dsa__step--2 {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #0F1D38;
	border: 1px solid #2A3D63;
	border-radius: 16px;
	padding: 20px;
	margin-top: 16px;
}
.dsa--full .dsa__step--2 { background: var(--dsa-base); border: 0; }
.dsa__step--2 .dsa__label { margin: 0 0 -6px; }
.dsa__kicker { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--dsa-gold); }
.dsa__title { font-family: Outfit, system-ui, sans-serif; font-weight: 800; font-size: 20px; color: #fff; line-height: 1.25; outline: none; }
.dsa__note { font-size: 13px; color: #C3CDE2; opacity: 0.85; }
.dsa__fine { font-size: 12px; color: #A9B6CF; margin-top: -6px; }
.dsa__fine a { color: #C3CDE2; }
.dsa__captcha { min-height: 65px; }
.dsa__back {
	display: none;
	align-self: flex-start;
	background: none;
	border: 0;
	color: #A9B6CF;
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	min-height: 44px;
	padding: 0;
}
.dsa__back:hover { color: #fff; }

.dsa__msg:empty { display: none; }
.dsa__msg {
	margin: 10px 0 0;
	background: #2A0F1E;
	border: 1px solid #FF3D5A;
	color: #FFD6DD;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.45;
}
.dsa__step--2 .dsa__msg { margin: 0; }
.dsa__msg--top { margin: 0 0 12px; }

/* JavaScript on: one step at a time, like the design. */
.dsa:not(.is-js) [data-dsa-next] { display: none; }
.dsa.is-js .dsa__step--2 { display: none; margin-top: 0; }
.dsa.is-js.is-step2 .dsa__step--1 { display: none; }
.dsa.is-js.is-step2 .dsa__step--2 { display: flex; }
.dsa.is-js .dsa__back { display: inline-flex; align-items: center; }

@media (prefers-reduced-motion: no-preference) {
	.dsa.is-js.is-step2 .dsa__step--2 { animation: dsa-in 0.25s ease-out; }
}
@keyframes dsa-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}
