/* Nitancara Forms — frontend */
.nitf-form {
	--nitf-ink:       #ece5d6;
	--nitf-ink-soft:  #9a917f;
	--nitf-blue:      #2b8fc4;
	--nitf-blue-deep: #1c6ea3;
	--nitf-line:      rgba(236, 226, 209, .14);
	--nitf-bg:        #1e2128;
	--nitf-radius:    12px;
	--nitf-ease:      cubic-bezier(.22, .61, .36, 1);

	background: var(--nitf-bg);
	border: 1px solid var(--nitf-line);
	border-radius: 20px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	color: var(--nitf-ink);
	box-shadow: 0 18px 40px -28px rgba(28, 20, 12, .25);
}

.nitf-honey {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

.nitf-alert {
	padding: .9rem 1.1rem;
	border-radius: 10px;
	margin-bottom: 1.2rem;
	font-size: .95rem;
	line-height: 1.5;
}
.nitf-alert--ok {
	background: rgba(108, 156, 96, .16);
	border: 1px solid rgba(108, 156, 96, .4);
	color: #bcd9b0;
}
.nitf-alert--err {
	background: rgba(207, 90, 90, .14);
	border: 1px solid rgba(207, 90, 90, .4);
	color: #f0b3aa;
}
.nitf-alert strong { display: inline; margin-right: .25rem; }

.nitf-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
}
.nitf-field {
	margin-bottom: 1.1rem;
}
.nitf-row .nitf-field {
	margin-bottom: 0;
}
.nitf-row + .nitf-field {
	margin-top: 1.1rem;
}
.nitf-field label {
	display: block;
	font-size: .85rem;
	font-weight: 600;
	color: var(--nitf-ink);
	margin-bottom: .45rem;
	letter-spacing: .01em;
}
.nitf-field input,
.nitf-field select,
.nitf-field textarea {
	width: 100%;
	padding: .85rem 1rem;
	border-radius: 10px;
	font: inherit;
	font-size: .98rem;
	color: var(--nitf-ink);
	background: #15171b;
	border: 1px solid var(--nitf-line);
	transition: border-color .2s var(--nitf-ease), box-shadow .2s var(--nitf-ease), background-color .2s var(--nitf-ease);
}
.nitf-field input::placeholder,
.nitf-field textarea::placeholder {
	color: var(--nitf-ink-soft);
	opacity: .75;
}
.nitf-field input:focus,
.nitf-field select:focus,
.nitf-field textarea:focus {
	outline: none;
	border-color: var(--nitf-blue);
	box-shadow: 0 0 0 3px rgba(43, 143, 196, .22);
	background: #15171b;
}
.nitf-field input:invalid:not(:placeholder-shown),
.nitf-field textarea:invalid:not(:placeholder-shown) {
	border-color: rgba(184, 64, 50, .5);
}
.nitf-field textarea {
	resize: vertical;
	min-height: 130px;
	line-height: 1.5;
}
.nitf-field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--nitf-ink-soft) 50%), linear-gradient(135deg, var(--nitf-ink-soft) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.2rem;
}

.nitf-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: 100%;
	padding: 1rem 1.5rem;
	margin-top: .25rem;
	border-radius: 0;
	border: 0;
	font-family: inherit;
	font-weight: 400;
	font-size: 1rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #181a1f;
	background: linear-gradient(180deg, #a6b85c 0%, #8fa247 100%);
	box-shadow: 0 4px 14px -8px rgba(28, 20, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
	cursor: pointer;
	transition: transform .25s var(--nitf-ease), box-shadow .25s var(--nitf-ease), opacity .25s ease;
}
.nitf-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -18px rgba(28, 20, 12, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.nitf-submit:disabled,
.nitf-form.is-loading .nitf-submit {
	cursor: not-allowed;
	opacity: .75;
	transform: none;
}
.nitf-submit__loading { display: none; }
.nitf-form.is-loading .nitf-submit__label    { display: none; }
.nitf-form.is-loading .nitf-submit__loading  { display: inline; }

.nitf-privacy {
	margin-top: .9rem;
	font-size: .8rem;
	color: var(--nitf-ink-soft);
	text-align: center;
}

@media (max-width: 560px) {
	.nitf-row { grid-template-columns: 1fr; gap: 0; }
	.nitf-row .nitf-field { margin-bottom: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
	.nitf-field input, .nitf-field select, .nitf-field textarea, .nitf-submit { transition: none; }
}
