/* Mobile Other Menu Language Switcher Styles */

.mobile-other-menu__lang-wrapper {
    position: relative;
    margin-top: 12px;
}

.mobile-other-menu__lang-inline {
    width: 100%;
    border: 1px solid #d7d7dc;
    background: #ffffff;
    border-radius: 10px;
    height: 44px;
    font: 700 15px/1 "Rubik", "Inter", sans-serif;
    color: #1a1a22;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

html:not([data-vc-rail="light"]) .mobile-other-menu__lang-inline {
    background: #202435;
    border-color: rgba(255, 255, 255, 0.16);
    color: #f5f7ff;
}

.mobile-other-menu__lang-inline:hover {
    background: rgba(139, 92, 246, 0.05);
}

html:not([data-vc-rail="light"]) .mobile-other-menu__lang-inline:hover {
    background: rgba(139, 92, 246, 0.1);
}

.mobile-other-menu__lang-caret {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mobile-other-menu__lang-inline[aria-expanded="true"] .mobile-other-menu__lang-caret {
    transform: rotate(180deg);
}

.mobile-other-menu__lang-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1f1f26;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.mobile-other-menu__lang-menu.open {
    display: block;
}

html[data-vc-rail="light"] .mobile-other-menu__lang-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mobile-other-menu__lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-other-menu__lang-option:hover {
  background: rgba(139, 92, 246, 0.15);
  color: #ffffff;
}

.mobile-other-menu__lang-option.is-active {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

html[data-vc-rail="light"] .mobile-other-menu__lang-option {
  color: rgba(20, 20, 24, 0.9);
}

html[data-vc-rail="light"] .mobile-other-menu__lang-option:hover {
  background: rgba(139, 92, 246, 0.1);
  color: #111118;
}

html[data-vc-rail="light"] .mobile-other-menu__lang-option.is-active {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.mobile-other-menu__lang-option-flag {
  width: 24px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.mobile-other-menu__lang-option-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mobile-other-menu__lang-option-label {
  font-size: 14px;
  font-weight: 500;
}
