/* ==========================================================================
   NoyaForms — front-end form styles
   Customize with CSS variables on .noyaforms (e.g. --nf-accent, --nf-radius).
   ========================================================================== */

.noyaforms {
	--nf-accent: #4f46e5;
	--nf-on-accent: #fff;
	--nf-text: #1d2939;
	--nf-label: #101828;
	--nf-muted: #667085;
	--nf-placeholder: #98a2b3;
	--nf-border: #d0d5dd;
	--nf-border-hover: #98a2b3;
	--nf-control: #98a2b3;
	--nf-line: #eaecf0;
	--nf-input-bg: #fff;
	--nf-soft: #f2f4f7;
	--nf-surface: #fff;
	--nf-error: #d92d20;
	--nf-error-text: #b42318;
	--nf-error-bg: #fef3f2;
	--nf-error-line: #fecdca;
	--nf-success: #079455;
	--nf-radius: 10px;
	--nf-input-h: 48px;
	--nf-gap-x: 16px;
	--nf-gap-y: 22px;
	--nf-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
	--nf-ease: cubic-bezier(.2, .8, .2, 1);
	--nf-check: var(--nf-accent);
	--nf-focus: rgba(79, 70, 229, .18);
	--nf-tint: rgba(79, 70, 229, .06);
	--nf-tint-strong: rgba(79, 70, 229, .1);
	--nf-accent-hover: var(--nf-accent);
	--nf-accent-glow: rgba(79, 70, 229, .4);
	container-type: inline-size;
	max-width: 100%;
	color: var(--nf-text);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.noyaforms {
		--nf-focus: color-mix(in srgb, var(--nf-accent) 20%, transparent);
		--nf-tint: color-mix(in srgb, var(--nf-accent) 6%, transparent);
		--nf-tint-strong: color-mix(in srgb, var(--nf-accent) 11%, transparent);
		--nf-accent-hover: color-mix(in srgb, var(--nf-accent) 86%, #000);
		--nf-accent-glow: color-mix(in srgb, var(--nf-accent) 45%, transparent);
	}
}

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

.noyaforms .nf-form {
	margin: 0;
	padding: 0;
	position: relative;
}

/* Card container (Settings → Style → Background) --------------------------- */

.noyaforms.nf-style-card {
	padding: 40px 44px;
	border: 1px solid var(--nf-line);
	border-radius: 20px;
	background: var(--nf-surface);
	box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 24px 48px -24px rgba(16, 24, 40, .2);
}

@media (max-width: 600px) {
	.noyaforms.nf-style-card {
		padding: 28px 20px;
		border-radius: 16px;
	}
}

.noyaforms.nf-style-card .nf-form-head {
	padding-bottom: 22px;
	border-bottom: 1px solid var(--nf-line);
}

/* Header ------------------------------------------------------------------ */

.noyaforms .nf-form-head {
	margin-bottom: 28px;
}

.noyaforms .nf-form-title {
	margin: 0 0 8px;
	font-size: 1.625em;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: var(--nf-label);
}

.noyaforms .nf-form-title:last-child {
	margin-bottom: 0;
}

.noyaforms .nf-form-description {
	color: var(--nf-muted);
	line-height: 1.6;
}

.noyaforms .nf-form-description p {
	margin: 0 0 .5em;
}

.noyaforms .nf-form-description p:last-child {
	margin-bottom: 0;
}

/* Layout ------------------------------------------------------------------ */

.noyaforms .nf-fields {
	display: flex;
	flex-wrap: wrap;
	gap: var(--nf-gap-y) var(--nf-gap-x);
}

.noyaforms .nf-field {
	flex: 0 0 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.noyaforms .nf-w-half { flex-basis: calc(50% - var(--nf-gap-x) / 2); }
.noyaforms .nf-w-third { flex-basis: calc(33.333% - var(--nf-gap-x) * 2 / 3); }
.noyaforms .nf-w-two-thirds { flex-basis: calc(66.666% - var(--nf-gap-x) / 3); }

@container (max-width: 520px) {
	.noyaforms .nf-w-half,
	.noyaforms .nf-w-third,
	.noyaforms .nf-w-two-thirds {
		flex-basis: 100%;
	}
}

.noyaforms fieldset.nf-field {
	min-inline-size: 0;
}

.noyaforms legend.nf-label {
	float: left;
	width: 100%;
	padding: 0;
}

.noyaforms legend.nf-label + * {
	clear: both;
}

/* Labels & help ------------------------------------------------------------ */

.noyaforms .nf-label {
	display: block;
	margin: 0 0 8px;
	font-size: .9375em;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -.005em;
	color: var(--nf-label);
}

.noyaforms .nf-required {
	margin-left: 4px;
	color: var(--nf-error);
	font-weight: 600;
}

.noyaforms .nf-sublabel {
	display: block;
	margin-top: 6px;
	font-size: .8125em;
	color: var(--nf-muted);
}

.noyaforms .nf-description {
	margin-top: 7px;
	font-size: .875em;
	line-height: 1.5;
	color: var(--nf-muted);
}

.noyaforms .nf-description p {
	margin: 0;
}

.noyaforms .nf-sr-only,
.noyaforms .nf-hp {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.noyaforms .nf-hp {
	left: -9999px !important;
}

/* Inputs ------------------------------------------------------------------ */

.noyaforms .nf-input {
	display: block;
	width: 100%;
	max-width: none;
	min-height: var(--nf-input-h);
	height: auto;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--nf-border);
	border-radius: var(--nf-radius);
	background-color: var(--nf-input-bg);
	box-shadow: var(--nf-shadow-xs);
	color: var(--nf-text);
	font: inherit;
	font-size: 1em;
	line-height: 1.5;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
	-webkit-appearance: none;
	appearance: none;
}

.noyaforms .nf-input::placeholder {
	color: var(--nf-placeholder);
	opacity: 1;
}

.noyaforms .nf-input:hover {
	border-color: var(--nf-border-hover);
}

/* Full border on focus: some themes (e.g. Astra) switch focused inputs to a thin dotted border. */
.noyaforms .nf-input:focus {
	border-style: solid;
	border-width: 1px;
	border-color: var(--nf-accent);
	box-shadow: 0 0 0 4px var(--nf-focus);
	outline: none;
}

.noyaforms .nf-input[disabled],
.noyaforms .nf-input[readonly] {
	background-color: var(--nf-soft);
	color: var(--nf-muted);
	cursor: not-allowed;
}

.noyaforms .nf-textarea {
	min-height: 128px;
	line-height: 1.55;
	resize: vertical;
}

.noyaforms .nf-select {
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	background-size: 18px;
	cursor: pointer;
}

/* "— Select —" placeholder option looks like a placeholder. */
.noyaforms .nf-select:has(option[value=""]:checked) {
	color: var(--nf-placeholder);
}

.noyaforms .nf-select option {
	color: var(--nf-text);
}

.noyaforms input[type="date"].nf-input,
.noyaforms input[type="time"].nf-input,
.noyaforms input[type="datetime-local"].nf-input {
	min-height: var(--nf-input-h);
}

.noyaforms .nf-input.nf-empty:not(:focus) {
	color: var(--nf-placeholder);
}

.noyaforms .nf-input::-webkit-calendar-picker-indicator {
	opacity: .55;
	cursor: pointer;
	transition: opacity .15s;
}

.noyaforms .nf-input:hover::-webkit-calendar-picker-indicator {
	opacity: .9;
}

/* Valid: a soft green tick once a filled field passes its checks. */
.noyaforms:not(.nf-theme-inherit) .nf-input.nf-input-ok {
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23079455' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12.5 2.8 2.8L16.5 9.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}

.noyaforms .nf-row {
	display: flex;
	gap: var(--nf-gap-x);
}

.noyaforms .nf-subfield {
	flex: 1 1 0;
	min-width: 0;
}

@container (max-width: 420px) {
	.noyaforms .nf-row {
		flex-direction: column;
		gap: 12px;
	}
}

/* Date & time pickers (assets/js/datepicker.js) ----------------------------- */

.noyaforms .nf-picker {
	position: relative;
}

.noyaforms .nf-picker-datetime {
	display: flex;
	gap: 10px;
}

.noyaforms .nf-picker-part {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
}

.noyaforms .nf-picker-datetime .nf-picker-part-date {
	flex-grow: 1.4;
}

@container (max-width: 420px) {
	.noyaforms .nf-picker-datetime {
		flex-direction: column;
	}
}

/* The native input keeps the value, name and limits, out of sight. */
.noyaforms .nf-picker-native {
	position: absolute !important;
	left: 0;
	bottom: 0;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0;
	pointer-events: none;
}

.noyaforms .nf-picker-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	text-align: left;
	font-weight: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}

.noyaforms .nf-picker-value {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.noyaforms .nf-picker-trigger.is-empty .nf-picker-value {
	color: var(--nf-placeholder);
}

.noyaforms .nf-picker-icon {
	display: inline-flex;
	flex: none;
	color: var(--nf-muted);
	transition: color .15s;
}

.noyaforms .nf-picker-trigger:hover .nf-picker-icon,
.noyaforms .nf-picker-part.is-open .nf-picker-icon {
	color: var(--nf-accent);
}

.noyaforms .nf-picker-part.is-open .nf-picker-trigger {
	border-color: var(--nf-accent);
	box-shadow: 0 0 0 4px var(--nf-focus);
}

.noyaforms .nf-pop {
	position: absolute;
	z-index: 60;
	top: calc(100% + 6px);
	left: 0;
	border: 1px solid var(--nf-line);
	border-radius: 14px;
	background: var(--nf-surface);
	box-shadow: 0 18px 40px -12px rgba(16, 24, 40, .28), 0 2px 6px rgba(16, 24, 40, .06);
	color: var(--nf-text);
	font-size: 15px;
	animation: nf-drop .15s var(--nf-ease);
}

.noyaforms .nf-pop.nf-pop-up {
	top: auto;
	bottom: calc(100% + 6px);
}

.noyaforms .nf-pop.nf-pop-right {
	left: auto;
	right: 0;
}

.noyaforms .nf-pop button {
	margin: 0;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
}

.noyaforms .nf-pop button:focus-visible {
	outline: 2px solid var(--nf-accent);
	outline-offset: 1px;
}

/* Calendar */
.noyaforms .nf-cal {
	width: 316px;
	max-width: calc(100vw - 32px);
	padding: 12px;
}

.noyaforms .nf-cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 8px;
}

.noyaforms .nf-cal-nav {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--nf-text);
}

.noyaforms .nf-cal-nav:hover {
	background: var(--nf-soft);
}

.noyaforms .nf-cal-nav[disabled] {
	opacity: .3;
	cursor: default;
	background: transparent;
}

.noyaforms .nf-cal-title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--nf-label);
	font-weight: 700;
}

.noyaforms button.nf-cal-title:hover {
	background: var(--nf-soft);
}

.noyaforms .nf-cal-title svg {
	color: var(--nf-muted);
}

.noyaforms .nf-cal-week,
.noyaforms .nf-cal-days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 2px;
}

.noyaforms .nf-cal-week span {
	padding: 6px 0;
	color: var(--nf-muted);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.noyaforms .nf-cal-day {
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--nf-text);
	font-variant-numeric: tabular-nums;
	transition: background-color .12s, color .12s;
}

.noyaforms .nf-cal-day:hover {
	background: var(--nf-tint-strong);
}

.noyaforms .nf-cal-day.is-out {
	color: var(--nf-placeholder);
}

.noyaforms .nf-cal-day.is-today {
	box-shadow: inset 0 0 0 1.5px var(--nf-accent);
	font-weight: 600;
}

.noyaforms .nf-cal-day.is-selected,
.noyaforms .nf-cal-cell.is-selected,
.noyaforms .nf-time.is-selected {
	background: var(--nf-accent);
	color: var(--nf-on-accent);
	font-weight: 600;
}

.noyaforms .nf-cal-day[aria-disabled="true"],
.noyaforms .nf-cal-cell[aria-disabled="true"] {
	background: transparent;
	color: var(--nf-placeholder);
	opacity: .45;
	cursor: not-allowed;
	box-shadow: none;
}

.noyaforms .nf-cal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	padding: 4px 0 2px;
}

.noyaforms .nf-cal-cell {
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--nf-text);
}

.noyaforms .nf-cal-cell:hover {
	background: var(--nf-tint-strong);
}

.noyaforms .nf-cal-foot {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--nf-line);
}

.noyaforms .nf-cal-link {
	padding: 6px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--nf-accent);
	font-weight: 600;
}

.noyaforms .nf-cal-link:hover {
	background: var(--nf-tint);
}

.noyaforms .nf-cal-link[disabled] {
	color: var(--nf-placeholder);
	background: transparent;
	cursor: default;
}

/* Time list */
.noyaforms .nf-times {
	right: 0;
	min-width: 200px;
	max-height: 280px;
	padding: 6px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.noyaforms .nf-times.nf-pop-right {
	left: 0;
}

.noyaforms .nf-time {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--nf-text);
	text-align: left;
	font-variant-numeric: tabular-nums;
}

.noyaforms .nf-pop .nf-time:hover,
.noyaforms .nf-pop .nf-time:focus,
.noyaforms .nf-pop .nf-time:focus-visible {
	background: var(--nf-tint-strong);
	outline: none;
}

.noyaforms .nf-pop .nf-time.is-selected:focus,
.noyaforms .nf-pop .nf-time.is-selected:focus-visible {
	background: var(--nf-accent);
	box-shadow: 0 0 0 3px var(--nf-focus);
}

@media (prefers-reduced-motion: reduce) {
	.noyaforms .nf-pop {
		animation: none;
	}
}

/* Choices ------------------------------------------------------------------ */

.noyaforms .nf-choices {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.noyaforms .nf-layout-inline {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.noyaforms .nf-layout-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@container (max-width: 420px) {
	.noyaforms .nf-layout-columns {
		grid-template-columns: 1fr;
	}
}

.noyaforms .nf-choice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-weight: 400;
	font-size: 1em;
	line-height: 1.5;
	cursor: pointer;
	color: var(--nf-text);
}

.noyaforms .nf-choice input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--nf-check);
	cursor: pointer;
}

.noyaforms .nf-choice-label a {
	color: var(--nf-accent);
}

/* Custom check boxes and radio buttons (real inputs, restyled). */
.noyaforms:not(.nf-theme-inherit) .nf-choice input:is([type="checkbox"], [type="radio"]) {
	position: relative;
	display: inline-grid;
	place-content: center;
	flex: none;
	width: 20px;
	height: 20px;
	min-width: 20px;
	margin: 2px 0 0;
	padding: 0;
	border: 1.5px solid var(--nf-control);
	border-radius: 6px;
	background: var(--nf-input-bg);
	box-shadow: none;
	color: var(--nf-on-accent);
	cursor: pointer;
	transition: background-color .15s, border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}

.noyaforms:not(.nf-theme-inherit) .nf-choice input[type="radio"] {
	border-radius: 50%;
}

.noyaforms:not(.nf-theme-inherit) .nf-choice input:is([type="checkbox"], [type="radio"])::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	transform: scale(0);
	transition: transform .18s var(--nf-ease);
}

.noyaforms:not(.nf-theme-inherit) .nf-choice input[type="radio"]::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	-webkit-mask: none;
	mask: none;
}

.noyaforms:not(.nf-theme-inherit) .nf-choice input:is([type="checkbox"], [type="radio"])::after {
	content: none;
	display: none;
}

.noyaforms:not(.nf-theme-inherit) .nf-choice:hover input:is([type="checkbox"], [type="radio"]):not(:checked) {
	border-color: var(--nf-check);
}

.noyaforms:not(.nf-theme-inherit) .nf-choice input:is([type="checkbox"], [type="radio"]):checked {
	border-color: var(--nf-check);
	background: var(--nf-check);
}

.noyaforms:not(.nf-theme-inherit) .nf-choice input:is([type="checkbox"], [type="radio"]):checked::before {
	transform: scale(1);
}

.noyaforms:not(.nf-theme-inherit) .nf-choice input:is([type="checkbox"], [type="radio"]):focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--nf-focus);
}

.noyaforms:not(.nf-theme-inherit) .nf-has-error .nf-choice input:is([type="checkbox"], [type="radio"]):not(:checked) {
	border-color: var(--nf-error);
}

/* Icon choices ------------------------------------------------------------- */

.noyaforms .nf-icon-choices {
	--nf-icon-color: var(--nf-accent);
	--nf-check: var(--nf-icon-color);
	--nf-icon-size: 48px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px 22px;
}

.noyaforms .nf-icon-choices.nf-icon-small { --nf-icon-size: 34px; }
.noyaforms .nf-icon-choices.nf-icon-large { --nf-icon-size: 64px; }

.noyaforms .nf-icon-choices.nf-layout-columns {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.noyaforms .nf-icon-choices.nf-layout-inline {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

@container (max-width: 420px) {
	.noyaforms .nf-icon-choices.nf-layout-columns {
		grid-template-columns: minmax(0, 1fr);
	}
}

.noyaforms .nf-icon-choices .nf-icon-choice {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	cursor: pointer;
	text-align: center;
}

.noyaforms .nf-icon-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: calc(var(--nf-icon-size) + 70px);
	padding: 20px 16px;
	border: 1px solid var(--nf-border);
	border-radius: calc(var(--nf-radius) + 2px);
	background: var(--nf-input-bg);
	box-shadow: var(--nf-shadow-xs);
	transition: border-color .15s, box-shadow .2s, background-color .15s, transform .2s var(--nf-ease);
}

.noyaforms .nf-icon {
	display: inline-flex;
	color: var(--nf-icon-color);
	line-height: 0;
}

.noyaforms .nf-icon-svg {
	width: var(--nf-icon-size);
	height: var(--nf-icon-size);
	object-fit: contain;
}

.noyaforms .nf-icon-choice input {
	margin: 0;
	width: 20px;
	height: 20px;
	accent-color: var(--nf-icon-color);
}

.noyaforms .nf-icon-choice .nf-choice-label {
	padding: 0 6px;
	line-height: 1.5;
}

.noyaforms .nf-icon-choice:hover .nf-icon-card {
	border-color: var(--nf-icon-color);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -14px rgba(16, 24, 40, .35);
}

.noyaforms .nf-icon-choice:has(input:checked) .nf-icon-card {
	border-color: var(--nf-icon-color);
	box-shadow: inset 0 0 0 1px var(--nf-icon-color);
}

.noyaforms .nf-icon-choice:has(input:focus-visible) .nf-icon-card {
	box-shadow: 0 0 0 4px var(--nf-focus);
}

/* Modern: label inside the card, control hidden, whole card selects. */
.noyaforms .nf-icon-modern .nf-icon-choice {
	position: relative;
	gap: 8px;
	padding: 22px 14px 18px;
	border: 1px solid var(--nf-border);
	border-radius: calc(var(--nf-radius) + 2px);
	background: var(--nf-input-bg);
	box-shadow: var(--nf-shadow-xs);
	transition: border-color .15s, box-shadow .2s, background-color .15s, transform .2s var(--nf-ease);
}

.noyaforms .nf-icon-modern .nf-icon-choice .nf-icon-card,
.noyaforms .nf-icon-modern .nf-icon-choice:hover .nf-icon-card,
.noyaforms .nf-icon-modern .nf-icon-choice:has(input:checked) .nf-icon-card {
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	transform: none;
}

.noyaforms .nf-icon-modern .nf-icon-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.noyaforms .nf-icon-modern .nf-icon-choice .nf-choice-label {
	font-weight: 600;
}

.noyaforms .nf-icon-modern .nf-icon-choice:hover {
	border-color: var(--nf-icon-color);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -14px rgba(16, 24, 40, .35);
}

.noyaforms .nf-icon-modern .nf-icon-choice:has(input:checked) {
	border-color: var(--nf-icon-color);
	box-shadow: inset 0 0 0 1px var(--nf-icon-color);
	background: var(--nf-tint);
}

.noyaforms .nf-icon-modern .nf-icon-choice:has(input:focus-visible) {
	box-shadow: 0 0 0 4px var(--nf-focus);
}

.noyaforms .nf-icon-modern .nf-icon-choice:has(input:checked)::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--nf-icon-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
	animation: nf-pop .3s var(--nf-ease);
}

/* Submit ------------------------------------------------------------------- */

.noyaforms .nf-submit-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 30px;
}

.noyaforms .nf-align-center { justify-content: center; }
.noyaforms .nf-align-right { justify-content: flex-end; }
.noyaforms .nf-align-full .nf-submit { flex: 1 1 100%; }

.noyaforms .nf-submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	margin: 0;
	padding: 12px 26px;
	border: 0;
	border-radius: var(--nf-radius);
	background: var(--nf-accent);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 8px 20px -10px var(--nf-accent-glow);
	color: var(--nf-on-accent);
	font: inherit;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background-color .2s, box-shadow .2s, transform .15s var(--nf-ease);
}

.noyaforms .nf-submit:hover {
	background: var(--nf-accent-hover);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 14px 26px -12px var(--nf-accent-glow);
	color: var(--nf-on-accent);
	transform: translateY(-1px);
}

.noyaforms .nf-submit:active {
	transform: translateY(0);
}

.noyaforms .nf-submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--nf-focus);
}

.noyaforms .nf-submit[disabled] {
	cursor: wait;
	opacity: .85;
	transform: none;
}

/* Arrows: forward on Submit / Next, back on Previous. */
.noyaforms .nf-submit[type="submit"]::after,
.noyaforms .nf-page-next::after,
.noyaforms .nf-page-prev::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s var(--nf-ease);
}

.noyaforms .nf-page-prev::before {
	transform: scaleX(-1);
}

.noyaforms .nf-submit[type="submit"]:hover::after,
.noyaforms .nf-page-next:hover::after {
	transform: translateX(3px);
}

.noyaforms .nf-page-prev:hover::before {
	transform: scaleX(-1) translateX(3px);
}

.noyaforms .nf-is-submitting .nf-submit[type="submit"]::after {
	display: none;
}

.noyaforms .nf-is-submitting .nf-submit[type="submit"]::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	opacity: .9;
	animation: nf-spin .7s linear infinite;
}

/* Secondary (Previous) buttons keep their outline in every theme. */
.noyaforms .nf-submit.nf-btn-secondary {
	background: transparent;
	color: var(--nf-text);
	box-shadow: inset 0 0 0 1px var(--nf-border), var(--nf-shadow-xs);
}

.noyaforms .nf-submit.nf-btn-secondary:hover {
	background: var(--nf-soft);
	color: var(--nf-label);
	box-shadow: inset 0 0 0 1px var(--nf-border-hover);
}

/* Feedback ----------------------------------------------------------------- */

.noyaforms .nf-error {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-top: 7px;
	font-size: .875em;
	font-weight: 500;
	line-height: 1.4;
	color: var(--nf-error-text);
	animation: nf-drop .2s var(--nf-ease);
}

.noyaforms .nf-error::before,
.noyaforms .nf-form-error::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7.5v5M12 16.5h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7.5v5M12 16.5h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.noyaforms .nf-error:empty {
	display: none;
}

.noyaforms .nf-has-error .nf-input {
	border-color: var(--nf-error);
	background-color: #fffbfa;
}

.noyaforms .nf-has-error .nf-input:focus {
	box-shadow: 0 0 0 4px rgba(217, 45, 32, .14);
}

.noyaforms .nf-form-error {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 22px;
	padding: 13px 16px;
	border: 1px solid var(--nf-error-line);
	border-radius: var(--nf-radius);
	background: var(--nf-error-bg);
	color: var(--nf-error-text);
	font-size: .9375em;
	font-weight: 500;
	line-height: 1.45;
	animation: nf-drop .25s var(--nf-ease);
}

.noyaforms .nf-form-error::before {
	width: 18px;
	height: 18px;
	margin-top: 1px;
}

.noyaforms .nf-form-error[hidden] {
	display: none;
}

/* Success: a calm panel with a tick that draws itself. */
.noyaforms .nf-confirmation {
	position: relative;
	padding: 102px 28px 34px;
	border: 1px solid #abefc6;
	border-radius: calc(var(--nf-radius) + 6px);
	background: #f6fef9;
	color: #085d3a;
	font-size: 1.0625em;
	line-height: 1.6;
	text-align: center;
	outline: none;
	animation: nf-in .35s var(--nf-ease);
}

.noyaforms .nf-confirmation::before,
.noyaforms .nf-confirmation::after {
	content: "";
	position: absolute;
	top: 32px;
	left: 50%;
	width: 52px;
	height: 52px;
	margin-left: -26px;
}

.noyaforms .nf-confirmation::before {
	border-radius: 50%;
	background: var(--nf-success);
	box-shadow: 0 0 0 8px rgba(7, 148, 85, .12);
	animation: nf-pop .45s var(--nf-ease) both;
}

.noyaforms .nf-confirmation::after {
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat;
	animation: nf-draw .35s .25s ease-out both;
}

.noyaforms .nf-confirmation + .nf-form {
	margin-top: 24px;
}

.noyaforms .nf-confirmation p,
.noyaforms .nf-message p {
	margin: 0 0 .5em;
}

.noyaforms .nf-confirmation p:last-child,
.noyaforms .nf-message p:last-child {
	margin-bottom: 0;
}

.noyaforms .nf-confirmation a {
	color: inherit;
	font-weight: 600;
}

.noyaforms .nf-confirmation strong,
.noyaforms .nf-confirmation b {
	font-weight: 700;
}

/* A bold first line reads as the headline. */
.noyaforms .nf-confirmation > p:first-child:has(> strong:only-child) {
	margin-bottom: .35em;
	font-size: 1.125em;
	color: #074d31;
}

.noyaforms .nf-message {
	padding: 16px 18px;
	border: 1px solid #b2ddff;
	border-radius: var(--nf-radius);
	background: #f5faff;
	color: #194185;
	animation: nf-in .3s var(--nf-ease);
}

.noyaforms .nf-counter {
	margin-top: 6px;
	text-align: right;
	font-size: .75em;
	font-variant-numeric: tabular-nums;
	color: var(--nf-muted);
}

.noyaforms .nf-counter.is-over {
	color: var(--nf-error);
}

.noyaforms .nf-noscript {
	color: var(--nf-error);
}

@keyframes nf-spin {
	to { transform: rotate(360deg); }
}

@keyframes nf-in {
	from { opacity: 0; transform: translateY(8px); }
}

@keyframes nf-drop {
	from { opacity: 0; transform: translateY(-3px); }
}

@keyframes nf-pop {
	0% { opacity: 0; transform: scale(.5); }
	60% { opacity: 1; transform: scale(1.08); }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes nf-draw {
	from { clip-path: inset(0 100% 0 0); }
	to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
	.noyaforms *,
	.noyaforms *::before,
	.noyaforms *::after {
		animation-duration: .01ms !important;
		animation-delay: 0s !important;
		transition-duration: .01ms !important;
	}

	.noyaforms .nf-submit:hover,
	.noyaforms .nf-icon-choice:hover .nf-icon-card,
	.noyaforms .nf-icon-modern .nf-icon-choice:hover {
		transform: none;
	}
}

/* Section divider ---------------------------------------------------------- */

.noyaforms .nf-field-divider {
	padding: 10px 0 12px;
	border-bottom: 1px solid var(--nf-line);
}

.noyaforms .nf-divider-title {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.125em;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--nf-label);
}

.noyaforms .nf-field-divider .nf-description {
	margin-top: 4px;
}

.noyaforms .nf-content > :first-child { margin-top: 0; }
.noyaforms .nf-content > :last-child { margin-bottom: 0; }

/* International phone (intl-tel-input) ------------------------------------- */

.noyaforms .iti {
	--iti-border-color: var(--nf-line);
	--iti-hover-color: var(--nf-tint);
	--iti-icon-color: var(--nf-muted);
	--iti-spacer-horizontal: 12px;
	display: block;
	width: 100%;
}

.noyaforms .iti .nf-input {
	width: 100%;
}

.noyaforms .iti__selected-country {
	padding: 0 4px 0 14px;
	border-radius: var(--nf-radius) 0 0 var(--nf-radius);
	color: var(--nf-text);
	cursor: pointer;
	transition: background-color .15s;
}

.noyaforms .iti__selected-country:hover,
.noyaforms .iti__selected-country:focus-visible,
.noyaforms .iti__selected-country[aria-expanded="true"] {
	background-color: var(--nf-tint);
	outline: none;
}

.noyaforms .iti__selected-dial-code {
	margin-left: 6px;
	color: var(--nf-text);
	font-weight: 500;
}

.noyaforms .iti__flag {
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.noyaforms .iti__country-selector {
	overflow: hidden;
	margin-top: 6px;
	border: 1px solid var(--nf-line);
	border-radius: 12px;
	box-shadow: 0 16px 36px -12px rgba(16, 24, 40, .25), 0 2px 6px rgba(16, 24, 40, .06);
}

.noyaforms .iti__country-list {
	font-size: .9375em;
}

.noyaforms .iti__country {
	padding-top: 9px;
	padding-bottom: 9px;
}

.noyaforms .iti__country.iti__highlight {
	background-color: var(--nf-tint);
}

.noyaforms .iti__search-input {
	min-height: 44px;
	font: inherit;
	font-size: .9375em;
	color: var(--nf-text);
}

.noyaforms .iti__search-input:focus {
	outline: none;
	box-shadow: none;
}

.noyaforms .iti input[type="tel"].nf-input:focus {
	border-color: var(--nf-accent);
	box-shadow: 0 0 0 4px var(--nf-focus);
}

.noyaforms .nf-has-error .iti input.nf-input {
	border-color: var(--nf-error);
}

/* CAPTCHA ------------------------------------------------------------------ */

.noyaforms .nf-captcha {
	flex: 0 0 100%;
	min-width: 0;
}

.noyaforms .nf-captcha-recaptcha-invisible,
.noyaforms .nf-captcha-recaptcha-v3 {
	order: 10;
}

.noyaforms .nf-captcha-widget {
	max-width: 100%;
	overflow: hidden;
}

.noyaforms .nf-captcha.nf-has-error .nf-captcha-widget iframe {
	outline: 2px solid var(--nf-error);
	outline-offset: 2px;
	border-radius: 3px;
}

.noyaforms .nf-captcha-note {
	margin: 0;
	font-size: .75em;
	color: var(--nf-muted);
}

.noyaforms .nf-captcha-note a {
	color: inherit;
	text-decoration: underline;
}

/* reCAPTCHA v3 shows a text notice instead of the floating badge (allowed by Google's terms). */
.grecaptcha-badge {
	visibility: hidden;
}

/* Theme: Modern (default) -------------------------------------------------- */

.noyaforms.nf-theme-modern .nf-field-radio .nf-choice:not(.nf-icon-choice),
.noyaforms.nf-theme-modern .nf-field-checkbox .nf-choice:not(.nf-icon-choice) {
	padding: 13px 16px;
	border: 1px solid var(--nf-border);
	border-radius: var(--nf-radius);
	background: var(--nf-input-bg);
	box-shadow: var(--nf-shadow-xs);
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.noyaforms.nf-theme-modern .nf-field-radio .nf-choice:not(.nf-icon-choice):hover,
.noyaforms.nf-theme-modern .nf-field-checkbox .nf-choice:not(.nf-icon-choice):hover {
	border-color: var(--nf-border-hover);
}

.noyaforms.nf-theme-modern .nf-field-radio .nf-choice:not(.nf-icon-choice):has(input:checked),
.noyaforms.nf-theme-modern .nf-field-checkbox .nf-choice:not(.nf-icon-choice):has(input:checked) {
	border-color: var(--nf-accent);
	background: var(--nf-tint);
	box-shadow: inset 0 0 0 1px var(--nf-accent);
}

.noyaforms.nf-theme-modern .nf-field-radio .nf-choice:not(.nf-icon-choice):has(input:focus-visible),
.noyaforms.nf-theme-modern .nf-field-checkbox .nf-choice:not(.nf-icon-choice):has(input:focus-visible) {
	box-shadow: 0 0 0 4px var(--nf-focus);
}

.noyaforms.nf-theme-modern .nf-field-radio .nf-choice:not(.nf-icon-choice) input:focus-visible,
.noyaforms.nf-theme-modern .nf-field-checkbox .nf-choice:not(.nf-icon-choice) input:focus-visible {
	box-shadow: none;
}

.noyaforms.nf-theme-modern .nf-has-error .nf-choice:not(.nf-icon-choice) {
	border-color: var(--nf-error-line);
}

.noyaforms.nf-theme-modern .nf-layout-inline .nf-choice:not(.nf-icon-choice) {
	flex: 1 1 auto;
}

.noyaforms.nf-theme-modern .nf-choice:has(input:checked) .nf-choice-label {
	color: var(--nf-label);
}

/* Theme: Soft (filled inputs) ---------------------------------------------- */

.noyaforms.nf-theme-soft {
	--nf-input-bg: #f2f4f7;
	--nf-radius: 12px;
	--nf-gap-y: 22px;
}

.noyaforms.nf-theme-soft .nf-input {
	border-color: transparent;
	box-shadow: none;
}

.noyaforms.nf-theme-soft .nf-input:hover {
	border-color: transparent;
	background-color: #eaecf0;
}

.noyaforms.nf-theme-soft .nf-input:focus {
	border-color: var(--nf-accent);
	background-color: #fff;
	box-shadow: 0 0 0 4px var(--nf-focus);
}

.noyaforms.nf-theme-soft .nf-has-error .nf-input {
	border-color: var(--nf-error-line);
	background-color: var(--nf-error-bg);
}

.noyaforms.nf-theme-soft .nf-choice input:is([type="checkbox"], [type="radio"]) {
	background-color: #fff;
}

.noyaforms.nf-theme-soft .nf-field-radio .nf-choice:not(.nf-icon-choice),
.noyaforms.nf-theme-soft .nf-field-checkbox .nf-choice:not(.nf-icon-choice) {
	padding: 13px 16px;
	border: 1px solid transparent;
	border-radius: var(--nf-radius);
	background: var(--nf-input-bg);
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.noyaforms.nf-theme-soft .nf-field-radio .nf-choice:not(.nf-icon-choice):hover,
.noyaforms.nf-theme-soft .nf-field-checkbox .nf-choice:not(.nf-icon-choice):hover {
	background: #eaecf0;
}

.noyaforms.nf-theme-soft .nf-field-radio .nf-choice:not(.nf-icon-choice):has(input:checked),
.noyaforms.nf-theme-soft .nf-field-checkbox .nf-choice:not(.nf-icon-choice):has(input:checked) {
	border-color: var(--nf-accent);
	background: var(--nf-tint-strong);
	color: var(--nf-label);
}

.noyaforms.nf-theme-soft .nf-field-radio .nf-choice:not(.nf-icon-choice):has(input:focus-visible),
.noyaforms.nf-theme-soft .nf-field-checkbox .nf-choice:not(.nf-icon-choice):has(input:focus-visible) {
	box-shadow: 0 0 0 4px var(--nf-focus);
}

.noyaforms.nf-theme-soft .nf-has-error .nf-choice:not(.nf-icon-choice) {
	border-color: var(--nf-error-line);
}

.noyaforms.nf-theme-soft .nf-layout-inline .nf-choice:not(.nf-icon-choice) {
	flex: 1 1 auto;
}

.noyaforms.nf-theme-soft .nf-icon-card,
.noyaforms.nf-theme-soft .nf-icon-modern .nf-icon-choice {
	border-color: transparent;
	box-shadow: none;
}

.noyaforms.nf-theme-soft .nf-icon-modern .nf-icon-choice:hover {
	border-color: var(--nf-icon-color);
}

.noyaforms.nf-theme-soft .nf-submit {
	min-height: 52px;
	padding-left: 30px;
	padding-right: 30px;
}

/* Theme: Classic ----------------------------------------------------------- */

.noyaforms.nf-theme-classic {
	--nf-radius: 6px;
	--nf-input-h: 44px;
	--nf-input-bg: #f9fafb;
	--nf-gap-y: 18px;
}

.noyaforms.nf-theme-classic .nf-input {
	padding: 9px 12px;
	box-shadow: none;
}

.noyaforms.nf-theme-classic .nf-input:focus {
	background-color: #fff;
	box-shadow: 0 0 0 3px var(--nf-focus);
}

.noyaforms.nf-theme-classic .nf-label {
	margin-bottom: 6px;
	font-size: .875em;
}

.noyaforms.nf-theme-classic .nf-textarea {
	min-height: 112px;
}

.noyaforms.nf-theme-classic .nf-choice input[type="checkbox"] {
	border-radius: 4px;
}

.noyaforms.nf-theme-classic .nf-choice input:is([type="checkbox"], [type="radio"]) {
	background-color: #fff;
}

.noyaforms.nf-theme-classic .nf-submit {
	min-height: 44px;
	padding: 10px 22px;
	box-shadow: var(--nf-shadow-xs);
}

.noyaforms.nf-theme-classic .nf-submit:hover {
	transform: none;
	box-shadow: var(--nf-shadow-xs);
}

.noyaforms.nf-theme-classic .nf-submit.nf-btn-secondary {
	box-shadow: inset 0 0 0 1px var(--nf-border);
}

.noyaforms.nf-theme-classic .nf-confirmation {
	padding-top: 92px;
}

.noyaforms.nf-theme-classic .nf-confirmation::before,
.noyaforms.nf-theme-classic .nf-confirmation::after {
	top: 28px;
	width: 46px;
	height: 46px;
	margin-left: -23px;
}

/* Theme: Minimal ----------------------------------------------------------- */

.noyaforms.nf-theme-minimal {
	--nf-radius: 0;
	--nf-gap-y: 28px;
}

.noyaforms.nf-theme-minimal .nf-input {
	border-width: 0 0 1.5px;
	border-color: var(--nf-border);
	padding-left: 0;
	padding-right: 0;
	background-color: transparent;
	box-shadow: none;
}

.noyaforms.nf-theme-minimal .nf-input:hover {
	border-color: var(--nf-border-hover);
}

.noyaforms.nf-theme-minimal .nf-input:focus {
	border-width: 0 0 1.5px;
	border-color: var(--nf-accent);
	box-shadow: 0 1.5px 0 0 var(--nf-accent);
}

.noyaforms.nf-theme-minimal .nf-has-error .nf-input {
	background-color: transparent;
}

.noyaforms.nf-theme-minimal .nf-has-error .nf-input:focus {
	box-shadow: 0 1.5px 0 0 var(--nf-error);
}

.noyaforms.nf-theme-minimal .nf-select {
	padding-right: 30px;
	background-position: right 0 center;
}

.noyaforms.nf-theme-minimal .nf-input.nf-input-ok {
	padding-right: 28px;
	background-position: right 0 center;
}

.noyaforms.nf-theme-minimal .nf-textarea {
	min-height: 96px;
}

.noyaforms.nf-theme-minimal .nf-label {
	font-size: .75em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--nf-muted);
}

.noyaforms.nf-theme-minimal legend.nf-label {
	margin-bottom: 12px;
}

.noyaforms.nf-theme-minimal .nf-choice input[type="checkbox"] {
	border-radius: 4px;
}

.noyaforms.nf-theme-minimal .nf-submit {
	border-radius: 999px;
	padding-left: 32px;
	padding-right: 32px;
}

.noyaforms.nf-theme-minimal .nf-form-error,
.noyaforms.nf-theme-minimal .nf-confirmation,
.noyaforms.nf-theme-minimal .nf-message {
	border-radius: 12px;
}

.noyaforms.nf-theme-minimal .iti__selected-country {
	padding-left: 2px;
}

/* Theme: inherit (use the theme's styles) ---------------------------------- */

.noyaforms.nf-theme-inherit {
	color: inherit;
	font-size: inherit;
	--nf-text: inherit;
	--nf-label: inherit;
}

.noyaforms.nf-theme-inherit .nf-input,
.noyaforms.nf-theme-inherit .nf-select,
.noyaforms.nf-theme-inherit .nf-submit {
	all: revert;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	font: inherit;
}

.noyaforms.nf-theme-inherit .nf-submit {
	width: auto;
	cursor: pointer;
}

.noyaforms.nf-theme-inherit .nf-submit::before,
.noyaforms.nf-theme-inherit .nf-submit::after {
	content: none;
}

.noyaforms.nf-theme-inherit .nf-align-full .nf-submit {
	width: 100%;
}

/* Preview page ------------------------------------------------------------- */

body.noyaforms-preview-body {
	margin: 0;
	min-height: 100vh;
	background: #f2f4f7;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.nf-preview-bar {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 20px;
	background: #101828;
	color: #e5e7eb;
	font-size: 13px;
}

.nf-preview-badge {
	padding: 3px 8px;
	border-radius: 6px;
	background: #4f46e5;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.nf-preview-text {
	flex: 1;
	opacity: .8;
}

.nf-preview-back {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	padding: 6px 12px;
	border-radius: 7px;
	background: rgba(255, 255, 255, .12);
}

.nf-preview-back:hover {
	background: rgba(255, 255, 255, .2);
	color: #fff;
}

.nf-preview-main {
	max-width: 720px;
	margin: 48px auto;
	padding: 40px 44px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 24px 48px -24px rgba(16, 24, 40, .25);
}

/* A card form is its own panel, so the preview frame steps aside. */
.nf-preview-main:has(> .nf-style-card) {
	padding: 0;
	background: none;
	box-shadow: none;
}

@media (max-width: 760px) {
	.nf-preview-main {
		margin: 0;
		border-radius: 0;
		padding: 28px 20px;
	}

	.nf-preview-main:has(> .nf-style-card) {
		padding: 16px;
	}

	.nf-preview-text {
		display: none;
	}
}

.noyaforms-missing {
	padding: 12px 16px;
	border: 1px dashed #f59e0b;
	border-radius: 8px;
	background: #fffbeb;
	color: #92400e;
	font-size: 14px;
}
