/* NICHO Trabalho · todos os kits (usa as variáveis --nx-* e as peças base do style.css do kit. */

/* Informe seu salário ------------------------------------------------------ */
.nx-env .nx-tool-body {
	padding-bottom: 96px;
}

.nx-env-box {
	grid-column: span 8;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 32px;
	border: 0;
	box-shadow: var(--float);
	border-radius: 20px;
	background: var(--nx-bg);
	scroll-margin-top: 24px;
}

.nx-env-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.nx-env-form input.nx-tool-select {
	cursor: text;
}

.nx-env-fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.nx-env-fieldset legend {
	margin-bottom: 8px;
	padding: 0;
}

/* Botões de escolha (modelo e benefícios): rádio/checkbox com cara de botão */
.nx-env-choice {
	position: relative;
	display: inline-flex;
	align-items: center;
	user-select: none;
}

.nx-env-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nx-env-choice:has(input:checked) {
	background: var(--nx-ink);
	color: #fff;
}

.nx-env-choice:has(input:focus-visible) {
	outline: 3px solid var(--nx-tint-14);
	outline-offset: 2px;
}

.nx-env-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.5;
	cursor: pointer;
}

.nx-env-consent input {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	margin: 0;
	accent-color: var(--nx-ink);
	cursor: pointer;
}

.nx-env-consent a {
	font-weight: 700;
	color: var(--nx-ink);
}

.nx-env-error {
	padding: 12px 14px;
	border-radius: 12px;
	background: #FDECEC;
	color: #8A1C1C;
	font-size: 14px;
	font-weight: 600;
}

.nx-env-error[hidden] {
	display: none;
}

.nx-env-submit {
	align-self: flex-start;
	padding: 0 32px;
	font-size: 17px;
	font-weight: 800;
}

.nx-env-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.nx-env-sent {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px;
	border-radius: 18px;
	background: var(--nx-tint-10);
	font-size: 16px;
	line-height: 1.6;
}

.nx-env-sent strong {
	font-size: 26px;
	line-height: 1.2;
}

.nx-env-sent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.nx-env-sent__primary,
.nx-env-sent__secondary {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 20px;
	line-height: 1.3;
	text-align: center;
	border: 0;
	box-shadow: var(--float);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.nx-env-sent__primary {
	background: var(--nx-ink);
	color: #fff !important;
}

.nx-env-sent__secondary {
	background: #fff;
	color: var(--nx-ink) !important;
}

.nx-env-side {
	grid-column: span 4;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	border: 0;
	box-shadow: var(--float);
	border-radius: 20px;
	background: #fff;
	font-size: 15px;
	line-height: 1.6;
	color: var(--nx-muted);
}

/* h3 no bloco [Rocket] Ferramenta dos artigos (lá os títulos descem um nível) */
.nx-env-side h2,
.nx-env-side h3 {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--nx-ink);
}

.nx-env-side a {
	font-weight: 700;
	color: var(--nx-ink);
}

@media (max-width: 860px) {
	.nx-env-box {
		padding: 22px;
	}

	.nx-env-sent {
		padding: 24px;
	}
}

@media (max-width: 560px) {
	.nx-env-submit {
		align-self: stretch;
	}
}
