/* Front-end form styling for WHMCS pages rendered through the bridge. */
#bridge #registration .prepend-icon {
	position: relative;
	display: block;
}
#bridge #registration .prepend-icon .field-icon {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 34px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #aaa;
	font-size: 14px;
	line-height: 1;
	pointer-events: none;
	z-index: 3;
}
#bridge #registration .prepend-icon .field-icon i {
	display: block;
	margin: 0;
	width: auto;
	line-height: 1;
	text-align: center;
}
#bridge #registration .prepend-icon > .field,
#bridge #registration .prepend-icon > .form-control {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 34px;
	margin: 0;
	/* The saved bridge CSS sets .form-control padding with !important. */
	padding: 6px 12px 6px 40px !important;
	border: 1px solid #ccc;
	border-radius: 2px;
	background-color: #fff;
	color: #555;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: none;
}
#bridge #registration .prepend-icon .field:focus,
#bridge #registration .prepend-icon .form-control:focus {
	border-color: #66afe9;
	outline: 0;
}

/* Plain (non-icon) fields, e.g. custom fields such as SMS Number */
#bridge #registration .form-group:not(.prepend-icon) input.form-control {
	box-sizing: border-box;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-radius: 2px;
	background-color: #fff;
}

/* Preserve WHMCS country/state switching despite the saved display override. */
#bridge #registration .form-control[style*="display: none"],
#bridge #registration .form-control[style*="display:none"],
#bridge #registration .form-control[hidden] {
	display: none !important;
}

/* Password strength */
#bridge #registration .progress {
	height: 20px;
	margin-bottom: 8px;
}
