/*!
 * Custom Asset: active
 * Priority: 2212
 * Context: frontend
 */

/*
 * WPCode export ID: 2212
 * Original title: Login and Lost Password Form Style
 * Original location: site_wide_header
 * Temporary child-theme drop-in file.
 */

/* =========================================================
   Auth komponenta - společné proměnné
   ========================================================= */

.account-auth-component {
	--auth-link-color: var(--site-color-primary-dark);
	--auth-link-hover-color: var(--site-color-accent-alt);
}


/* =========================================================
   Login form - remember me vlevo, lost password vpravo
   ========================================================= */

#login_form .elementor-field-group-remember_user,
#login_form .elementor-field-type-html {
	display: flex;
	align-items: center;
	padding-bottom: 0;
}

#login_form .elementor-field-group-remember_user {
	justify-content: flex-start;
}

#login_form .elementor-field-type-html {
	justify-content: flex-end;
	text-align: right;
}

#login_form .elementor-field-group-remember_user .elementor-field-subgroup,
#login_form .elementor-field-group-remember_user .elementor-field-option {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

#login_form .e-form__buttons {
	width: 100% !important;
	flex-basis: 100% !important;
	margin-top: 10px;
}


/* =========================================================
   Auth odkazy / buttony
   ========================================================= */

.account-auth-component .account-auth-toggle-password,
.account-auth-component .account-auth-toggle-login {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	color: var(--auth-link-color);
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	text-align: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: color .2s ease;
}

.account-auth-component .account-auth-toggle-password:hover,
.account-auth-component .account-auth-toggle-password:focus,
.account-auth-component .account-auth-toggle-login:hover,
.account-auth-component .account-auth-toggle-login:focus {
	color: var(--auth-link-hover-color);
	text-decoration: underline;
}


/* =========================================================
   Auth komponenta - přepínání login / obnova hesla
   ========================================================= */

body:not(.elementor-editor-active) .account-auth-component .account-auth-view {
	display: none !important;
}

body:not(.elementor-editor-active) .account-auth-component .account-auth-view.is-active {
	display: block !important;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
	#login_form .elementor-field-group-remember_user,
	#login_form .elementor-field-type-html {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		justify-content: flex-start;
		text-align: left;
	}

	#login_form .elementor-field-type-html {
		margin-top: -6px;
	}
}
