.cif-form-wrapper {
	max-width: 560px;
	margin: 0 auto;
	font-family: inherit;
}

.cif-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.cif-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cif-field label {
	font-weight: 600;
	font-size: 14px;
	color: #1f2328;
}

.cif-req {
	color: #e63946;
}

.cif-field input,
.cif-field select {
	padding: 12px 14px;
	border: 1px solid #d7dbe0;
	border-radius: 8px;
	font-size: 15px;
	width: 100%;
	box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease;
	background: #fff;
}

.cif-field input:focus,
.cif-field select:focus {
	outline: none;
	border-color: #9750eb;
	box-shadow: 0 0 0 3px rgba(151,80,235,0.15);
}

.cif-field input.cif-invalid,
.cif-field select.cif-invalid {
	border-color: #e63946;
}

.cif-error {
	color: #e63946;
	font-size: 13px;
	min-height: 16px;
	display: block;
}

.cif-conditional {
	overflow: hidden;
	transition: all .25s ease;
}

.cif-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.cif-submit-row {
	margin-top: 8px;
}

.cif-submit-btn {
	background: #9750eb;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	transition: background .2s ease, opacity .2s ease;
}

.cif-submit-btn:hover {
	background: #823fd1;
}

.cif-submit-btn:disabled {
	opacity: .7;
	cursor: not-allowed;
}

.cif-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: cif-spin .7s linear infinite;
}

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

.cif-message {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
}

.cif-message.cif-success {
	background: #e7f8ee;
	color: #1a7f4e;
	border: 1px solid #b6ebd0;
}

.cif-message.cif-error {
	background: #fdeceb;
	color: #c4291c;
	border: 1px solid #f6c4bf;
}
