/* -----------------------------------------------
   Ninja Forms – Currency Field
   ----------------------------------------------- */

.nf-currency-wrap {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.nf-currency-symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 1em;
	background: rgba(236,239,247,.5) !important;
	border: 1px solid rgba(48,55,62,.55) !important;
	border-right: none !important;
	border-radius: 3px 0 0 3px;
	font-size: 1em;
	height: 50px !important;
	line-height: 1;
	margin-top: 7px;
	color: #444;
	white-space: nowrap;
	flex-shrink: 0;
	user-select: none;
}

.nf-currency-input {
	flex: 1 1 auto;
	min-width: 0;
	margin-left: -1px;
	border-radius: 0 3px 3px 0 !important;
	border-left: none !important;
	text-align: left;
}

/* Ensure the input border meets the symbol border cleanly on focus. */
.nf-currency-wrap:focus-within .nf-currency-symbol {
	border-color: #5b9dd9;
}

/* Remove browser-default number arrows that may appear on some themes. */
.nf-currency-input::-webkit-outer-spin-button,
.nf-currency-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.nf-currency-input[type=number] {
	-moz-appearance: textfield;
}
