/* Language switcher */
.aria-lang { display: flex !important; align-items: center; margin-left: 14px; list-style: none; }
.aria-lang-switch { display: inline-flex; align-items: center; gap: 6px; }
.aria-lang-switch a.aria-lang-btn {
	display: inline-block !important;
	padding: 4px 10px !important;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 4px;
	color: #fff !important;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4 !important;
	letter-spacing: .03em;
	background: transparent;
	text-decoration: none;
	height: auto !important;
}
.aria-lang-switch a.aria-lang-btn:hover,
.aria-lang-switch a.aria-lang-btn.active { background: #531126; border-color: #531126; color: #fff !important; }

/* Mobile / light menus */
.nav-mobile .aria-lang, .offcanvas .aria-lang, .header-mobile .aria-lang, #nav-mobile .aria-lang { margin: 14px 16px; }
.nav-mobile .aria-lang-switch a.aria-lang-btn,
.offcanvas .aria-lang-switch a.aria-lang-btn,
#nav-mobile .aria-lang-switch a.aria-lang-btn { color: #2f3e46 !important; border-color: #2f3e46; }
.nav-mobile .aria-lang-switch a.aria-lang-btn.active,
.offcanvas .aria-lang-switch a.aria-lang-btn.active,
#nav-mobile .aria-lang-switch a.aria-lang-btn.active { color: #fff !important; border-color: #531126; }

/* 999 connect box */
.aria999-box { max-width: 720px; background: #fff; border: 1px solid #dce0e0; border-radius: 6px; padding: 24px; margin: 20px 0; }
.aria999-box h3 { margin-top: 0; }
.aria999-form label { display: block; font-weight: 600; margin: 12px 0 6px; }
.aria999-form input[type=password] { width: 100%; max-width: 480px; padding: 8px 10px; border: 1px solid #dce0e0; border-radius: 4px; }
.aria999-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.aria999-msg { padding: 10px 12px; border-radius: 4px; margin: 12px 0; }
.aria999-ok { background: #e8f5ec; color: #1e5a32; }
.aria999-err { background: #fbeaea; color: #8a1c1c; }
.aria999-progress { margin-top: 8px; font-size: 13px; color: #2f3e46; }

/* Admin */
.aria-admin .aria-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; background: #531126; color: #fff; font-size: 11px; }
.aria-admin .aria-badge.aria-wait { background: #a1a7a8; }
.aria-admin .aria-badge.aria-err { background: #cc232a; }
.aria-admin .aria-tr-table td { vertical-align: top; }

/* Russian: theme font lacks Cyrillic; fall back per glyph to Manrope */
html:lang(ru) body, html:lang(ru) body *:not(i):not([class*="icon"]):not([class*="fa-"]):not(.fa) {
	font-family: "Plus Jakarta Sans", "Manrope", "Helvetica Neue", Arial, sans-serif !important;
}
