/* ============ ECA WELCOME (signin/signup) ============ */
/* Brand palette overrides on top of elengine.css structure */

.fr_welcome {
	min-height: 100vh;
	min-height: 100dvh;
	background-color: #2f503e !important;
	color: #fff;
}
body.night-mode .fr_welcome {
	background-color: #1f3a2c !important;
}

/*Sign Form*/
.fr_welcome_mid { margin: auto 0; }
.fr_welcome_sign { max-width: 540px; }
.fr_welcome_sign_head { text-align: center; }
.fr_welcome_sign_head h5 { display: none; }
.fr_welcome_sign .logo-wrapper {
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	color: #d4a62a;
}
.fr_welcome_sign .logo-wrapper img {
	max-width: 150px;
	max-height: 45px;
	transform: translateZ(0px);
}
.fr_welcome_sign img.logo-light { display: inline-block; }
.fr_welcome_sign img.logo-dark { display: none; }
body.night-mode .fr_welcome_sign img.logo-light { display: none; }
body.night-mode .fr_welcome_sign img.logo-dark { display: inline-block; }

/* Auth form card */
.fr_auth_form {
	background-color: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(212, 166, 42, 0.25);
	padding: 28px;
	border-radius: 24px;
	color: #fff;
	backdrop-filter: blur(8px);
}
body.night-mode .fr_auth_form {
	background-color: rgba(255, 255, 255, 0.04) !important;
	border-color: rgba(212, 166, 42, 0.2);
}

.fr_welcome_title {
	font-family: 'Gilroy', Roboto, sans-serif;
	font-weight: 700;
	color: #fff !important;
}

/* Social buttons */
.fr_welcome_social .btn {
	border-radius: 14px;
	border: 2px solid rgba(255, 255, 255, 0.18) !important;
	background-color: rgba(255, 255, 255, 0.06) !important;
	color: #fff !important;
	padding: 10px 18px;
	gap: 14px;
	font-size: 14px;
	font-weight: 500;
	transition: all .2s ease-in-out;
}
.fr_welcome_social .btn:hover {
	background-color: rgba(212, 166, 42, 0.18) !important;
	border-color: #d4a62a !important;
	color: #fff !important;
}
.fr_welcome_social .btn svg, .fr_welcome_social .btn img {
	width: 23px;
	height: 23px;
	flex: 0 0 auto;
}

/* Input fields */
.fr_welcome_field { position: relative; display: block; margin: 0 0 20px; }
.fr_welcome_field input,
.fr_welcome_field select {
	border-radius: 14px;
	border: 2px solid rgba(255, 255, 255, 0.18) !important;
	background-color: rgba(255, 255, 255, 0.06) !important;
	color: #fff !important;
	padding: 10px 55px;
	font-size: 14px;
	width: 100%;
	height: 56px;
	display: block;
	margin: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: all .2s ease-in-out;
	outline: none;
}
.fr_welcome_field input::placeholder,
.fr_welcome_field select::placeholder {
	color: rgba(255, 255, 255, 0.55) !important;
}
.fr_welcome_field input:focus,
.fr_welcome_field select:focus {
	border-color: #d4a62a !important;
	background-color: rgba(255, 255, 255, 0.1) !important;
	color: #fff !important;
}
.fr_welcome_field input:-webkit-autofill,
.fr_welcome_field input:-webkit-autofill:hover,
.fr_welcome_field input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.06) inset;
	transition: background-color 5000s ease-in-out 0s;
}
.fr_welcome_field svg {
	top: 0;
	margin: 16px;
	opacity: 0.6;
	pointer-events: none;
	transition: all .2s ease-in-out;
	width: 24px;
	height: 24px;
	color: #d4a62a;
}
.fr_welcome_field input:focus + svg,
.fr_welcome_field select:focus + svg {
	opacity: 1;
	color: #d4a62a;
}
.fr_welcome_field > .js_toggle-password {
	top: 0;
	right: 0;
	color: rgba(255, 255, 255, 0.7);
}

/* Submit button — gold */
.fr_welcome_btn {
	border-radius: 14px;
	font-size: 17px;
	font-weight: 600;
	padding: 15px 18px;
	border: 0;
	background-color: #d4a62a !important;
	color: #1f3a2c !important;
	transition: all .2s ease-in-out;
}
.fr_welcome_btn:hover,
.fr_welcome_btn:focus {
	background-color: #e0b53d !important;
	color: #1f3a2c !important;
	box-shadow: 0 8px 20px rgba(212, 166, 42, 0.35);
}

/* Switch (sign up / sign in / forgot) */
.fr_welcome_switch {
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
}
.fr_welcome_switch a {
	color: #d4a62a !important;
	text-decoration: underline;
	text-underline-offset: 6px;
}
.fr_welcome_switch a:hover {
	color: #f0c244 !important;
}

/* Generic links */
.fr_welcome_sign a:not(.btn):not(.logo-wrapper):not(.fr_welcome_btn) {
	color: #d4a62a;
}
.fr_welcome_sign a:not(.btn):not(.logo-wrapper):not(.fr_welcome_btn):hover {
	color: #f0c244;
}

/* Remember me checkbox */
.fr_welcome_sign .custom-control-label {
	color: rgba(255, 255, 255, 0.85);
}
.fr_welcome_sign .custom-control-label::before {
	background-color: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.3);
}
.fr_welcome_sign .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #d4a62a;
	border-color: #d4a62a;
}

/* Right side image area */
.fr_welcome_bg { position: relative; }
.fr_welcome_bg_img {
	top: 0; right: 0; bottom: 0; left: 0;
	border-radius: 70px 0 0 70px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
}
.fr_welcome_img {
	position: relative;
	overflow: hidden;
	border-radius: 70px 0 0 70px;
	min-height: 700px;
	box-shadow: 0 0 30px 0 rgb(0 0 0 / 12%);
}
.fr_welcome_img:before {
	content: '';
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background-color: #234b36;
	opacity: 0.35;
	border-radius: 70px 0 0 70px;
}
.fr_welcome_img > .svg_blur {
	position: absolute;
	top: 0; left: 0; right: 0;
	opacity: 0.15;
	width: 100%;
	pointer-events: none;
	user-select: none;
}
.fr_welcome_img > .svg_lines {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	opacity: 0.2;
	width: 100%;
	pointer-events: none;
	user-select: none;
	color: #d4a62a;
	height: auto;
}
.fr_welcome_img_innr {
	background: linear-gradient(transparent, rgba(31, 58, 44, 0.85));
	padding: 150px 60px 60px;
	color: #fff;
	font-family: 'Gilroy', Roboto, sans-serif;
}
.fr_welcome_img_innr h2 {
	line-height: 1.5;
	font-weight: 600;
	color: #fff;
}
.fr_welcome_img_innr h5 {
	color: #d4a62a;
}
.fr_welcome_img_innr p { font-size: 16px; }
.mx-n2 { margin-left: -0.5rem; margin-right: -0.5rem; }

/* Footer */
.fr_welcome_bottom { color: rgba(255, 255, 255, 0.7); }
.fr_welcome_bottom a { color: rgba(255, 255, 255, 0.85); }
.fr_welcome_bottom a:hover { color: #d4a62a; }
.fr_welcome_bottom .container { max-width: none; width: 100%; }
.fr_welcome_bottom .footer {
	margin: 0;
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
}
.fr_welcome_apps .huwei svg {
	background: #fff;
	border-radius: 6px;
}

/* Top bar Sign Up button */
.ele_welcome_top .btn-primary,
.fr_welcome .main-header .btn-primary {
	background-color: #d4a62a !important;
	border-color: #d4a62a !important;
	color: #1f3a2c !important;
}
.ele_welcome_top .btn-primary:hover,
.fr_welcome .main-header .btn-primary:hover {
	background-color: #e0b53d !important;
	border-color: #e0b53d !important;
}

/* Responsive */
@media (max-width: 992px) {
	.fr_welcome_img, .fr_welcome_bg_img { border-radius: 40px 0 0 40px; }
	.fr_welcome_img, .fr_welcome_bg_img { min-height: 560px; }
	.fr_welcome_img_innr { padding: 90px 30px 30px; }
}

@media (max-width: 900px) {
	.fr_welcome_mid .row .col-md-6 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		position: static;
	}
	.fr_welcome_sign {
		position: relative;
		z-index: 1;
		max-width: none;
		padding: 0 !important;
	}
	.fr_welcome_sign_head { padding: 20px; }
	.fr_welcome_sign_head h5 {
		display: block;
		margin: 20px 0 16px;
		font-size: 1.5rem;
		color: #d4a62a;
	}
	.fr_welcome_bg { position: static; }
	.fr_welcome_bg_img,
	.fr_welcome_img > .svg_blur,
	.fr_welcome_img_innr h5,
	.fr_welcome_img_innr h2,
	.fr_welcome_img_innr p {
		display: none;
	}
	.fr_welcome_img {
		min-height: auto;
		border-radius: 0;
		position: static;
		box-shadow: none;
	}
	.fr_welcome_img:before {
		opacity: 0.35;
		border-radius: 0;
		margin-top: -1.5rem;
		bottom: auto;
		height: 180px;
	}
	.fr_welcome_img > .svg_lines {
		bottom: auto;
		top: 0;
		color: #d4a62a;
		margin-top: -1.5rem;
		height: 180px;
		width: auto;
		opacity: 0.4;
	}
	.fr_welcome_img_innr {
		padding: 20px;
		background: transparent;
		color: inherit;
	}
	.fr_welcome_apps {
		text-align: center;
		scale: 0.85;
		margin: 0 !important;
	}
}
/* ============ END ECA WELCOME ============ */
