.catcash-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  padding: 3px;
  margin-left: 10px;
  border: 1px solid #d9e5d5;
  border-radius: 999px;
  background: #f7faf5;
  box-shadow: 0 2px 8px rgba(18, 18, 18, 0.06);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.catcash-language-switcher__link {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #485245;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.catcash-language-switcher__link:hover,
.catcash-language-switcher__link:focus-visible {
  color: #238d15;
  background: #e8f4e4;
  outline: none;
}

.catcash-language-switcher__link.is-active {
  color: #fff;
  background: #36bc22;
}

.catcash-language-switcher__link[aria-current="page"] {
  pointer-events: none;
}

.catcash-chat .app-header .catcash-language-switcher {
  margin-left: 4px;
  border-color: var(--border-color, #e5e7eb);
  background: #fff;
}

@media (max-width: 991px) {
  .catcash-home .catcash-language-switcher {
    order: 2;
    margin-left: auto;
    margin-right: 8px;
  }

  .catcash-home .catcash-mobile-menu-btn {
    order: 3;
    margin-left: 0 !important;
  }

  .catcash-home .catcash-mobile-nav {
    order: 4;
  }
}

@media (max-width: 700px) {
  .catcash-chat .app-header {
    gap: 8px;
  }

  .catcash-chat .header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .catcash-chat .header-actions .header-link,
  .catcash-chat .header-actions .header-btn {
    display: none;
  }

  .catcash-language-switcher__link {
    min-width: 31px;
    padding: 6px;
    font-size: 11px;
  }
}
