/* Fixed language switcher on every guest page (mirrors in RTL). */
.guest-language-switcher {
	position: fixed;
	top: 12px;
	inset-inline-end: 16px;
	z-index: 1050;
}

/* RTL: Bootstrap 4's physical margins on the switcher flag and caret. */
[dir="rtl"] .guest-language-switcher img.mr-2 {
	margin-right: 0 !important;
	margin-left: 0.5rem !important;
}

[dir="rtl"] .guest-language-switcher .dropdown-toggle::after {
	margin-left: 0;
	margin-right: 0.4em;
}

[dir="rtl"] .guest-language-switcher .dropdown-menu-right {
	right: auto;
	left: 0;
}

.toggle-password {
	position: absolute;
	top: 15px;
	right: 20px;
	cursor: pointer;
}

.toggle-password i {
	font-size: 15px;
	color: #494949;
}

.toggle-password:hover i {
	color: #000;
}

.login-signup .toggle-password {
	position: absolute;
	right: 25px;
}

/* Mobile */
@media (max-width: 769px) {
	.toggle-password {
		top: 13px;
	}
}

.select2-results__option {
	border-radius: 50rem;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #333;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	color: #333;
}

.select2-container--default .select2-dropdown {
	background-color: #fff;
	color: #333;
	border-radius: 1rem;
}

.select2-selection.select2-selection--single {
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	padding: 1rem 2rem;
	color: #333;
	border: 0;
	border-radius: 50rem !important;
}

.select2-container--default .select2-dropdown {
	background-color: #fff;
	color: #333;
	border-radius: 1rem;
}

/*
 * Simplified Chinese: same CJK font stack as public/assets/css/style.css.
 * Duplicated because the guest layout loads guest.css while the authenticated
 * layout loads style.css. Scoped to [lang="zh"], so inert for other locales.
 */
html[lang="zh"] body,
html[lang="zh"] .btn,
html[lang="zh"] input,
html[lang="zh"] select,
html[lang="zh"] textarea,
html[lang="zh"] .form-control {
	font-family: Poppins, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
		"Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", Helvetica, sans-serif;
}

/*
 * Japanese: deliberately a DIFFERENT stack from [lang="zh"] above (Han
 * unification — Chinese faces draw many kanji with the wrong glyph variants).
 * Duplicated here because the guest layout loads guest.css, not style.css.
 */
html[lang="ja"] body,
html[lang="ja"] .btn,
html[lang="ja"] input,
html[lang="ja"] select,
html[lang="ja"] textarea,
html[lang="ja"] .form-control {
	font-family: Poppins, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
		"Yu Gothic UI", Meiryo, "Noto Sans JP", "Source Han Sans JP", Helvetica, sans-serif;
}