/**
 * Noblessa Catalogue Request Form — frontend
 */

.ncf {
	position: relative;
	max-width: 720px;
	margin: 0;
	padding: 0;
	color: #000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}

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

.ncf-hp-wrap {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ncf-form {
	margin: 0;
	padding: 0;
}

.ncf-field {
	position: relative;
	width: 450px;
	max-width: 100%;
	margin: 0;
	padding-top: 18px;
}

.ncf-input {
	display: block;
	width: 450px;
	max-width: 100%;
	height: 35px;
	margin: 0;
	padding: 0;
	color: #000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 26px;
	font-weight: 300;
	font-style: normal;
	line-height: 35px;
	letter-spacing: 0;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-bottom: 1px solid #000 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.ncf-field--select .ncf-input {
	width: 450px;
	max-width: 100%;
	height: 35px;
	padding-right: 28px;
	cursor: pointer;
	background-image: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.ncf-field--select::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 32px;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #000;
	border-bottom: 1.5px solid #000;
	transform: rotate(45deg);
	pointer-events: none;
}

.ncf-label {
	position: absolute;
	left: 0;
	top: 18px;
	margin: 0;
	padding: 0;
	color: #000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 26px;
	font-weight: 300;
	line-height: 35px;
	letter-spacing: 0;
	pointer-events: none;
	transform: translateY(0);
	transform-origin: left top;
	transition: transform 0.18s ease, font-size 0.18s ease;
}

.ncf-req {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.ncf-input:focus + .ncf-label,
.ncf-input:not(select):not(:placeholder-shown) + .ncf-label,
.ncf-field--has-value > .ncf-label,
.ncf-label--active {
	transform: translateY(-30px);
	font-size: 13px;
}

.ncf-input:focus {
	border-bottom-width: 2px !important;
	border-bottom-color: #a38b5d !important;
}

.ncf-input:hover,
.ncf-input:focus-visible {
	outline: 2px solid transparent;
}

@keyframes ncf-on-autofill {
	from {
		opacity: 0.99;
	}
	to {
		opacity: 1;
	}
}

.ncf-input:-webkit-autofill {
	animation-name: ncf-on-autofill;
}

.ncf-checks {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 8px 0 36px;
}

.ncf-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	color: #4a4a4a;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.55;
	cursor: pointer;
}

.ncf-checkbox,
.ncf-check input[type="checkbox"] {
	flex-shrink: 0;
	width: auto;
	height: auto;
	margin: 0.2em 0 0;
	padding: 0;
}

.ncf-check-text a,
.ncf-check a {
	color: inherit;
	text-decoration: underline;
}

.ncf-submit {
	display: inline-block;
	width: 197px;
	height: 40px;
	margin: 0;
	padding: 10px 20px;
	gap: 10px;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	background: #a38b5d;
	border: none;
	border-radius: 100px;
	transform: rotate(0deg);
	opacity: 1;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	white-space: nowrap;
}

.ncf-submit:hover,
.ncf-submit:focus {
	background: #8f784e;
	color: #fff;
}

.ncf-submit:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

.ncf-submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.ncf-success {
	margin: 0;
	color: #000;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.65;
	white-space: pre-line;
}

.ncf-error {
	margin: 0 0 28px;
	color: #b00020;
	font-size: 15px;
	line-height: 1.5;
}

.ncf-unconfigured {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (max-width: 640px) {
	.ncf-field,
	.ncf-input,
	.ncf-field--select .ncf-input {
		width: 100%;
	}

	.ncf-input,
	.ncf-label {
		font-size: 16px;
		line-height: 1.4;
	}

	.ncf-input:focus + .ncf-label,
	.ncf-input:not(select):not(:placeholder-shown) + .ncf-label,
	.ncf-field--has-value > .ncf-label,
	.ncf-label--active {
		font-size: 12px;
		transform: translateY(-24px);
	}

	.ncf-submit {
		width: 100%;
		text-align: center;
	}
}
