/* TranslatePress switcher inside authentication cards — v1.0.53 */

body.ep-auth-template .ep-auth-card .ep-auth-language-switcher {
	position: relative;
	z-index: 50;
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin: 0 0 16px;
	box-sizing: border-box;
}

body.ep-auth-template .ep-auth-card .ep-auth-language-switcher .trp-language-switcher {
	margin: 0 !important;
}

body.ep-auth-template .ep-auth-card .ep-auth-language-switcher .trp-language-switcher > div {
	z-index: 60 !important;
}

/* Remove the separate Elementor language-switcher widget on authentication pages.
   The switcher rendered inside the plugin card remains visible because it is nested deeper. */
body.ep-auth-template .elementor-widget-shortcode > .elementor-widget-container > .trp-language-switcher,
body.ep-auth-template .elementor-widget-shortcode > .elementor-widget-container > .elementor-shortcode > .trp-language-switcher {
	display: none !important;
}

body.ep-auth-template .ep-auth-card .ep-auth-language-switcher .trp-language-switcher {
	display: block !important;
}

@media (max-width: 620px) {
	body.ep-auth-template .ep-auth-card .ep-auth-language-switcher {
		margin-bottom: 14px;
	}

	body.ep-auth-template .ep-auth-card .ep-auth-language-switcher .trp-language-switcher {
		max-width: 100%;
	}
}
