/* Override your style here */

/* Language Switcher Dropdown */
.xb-lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.xb-lang-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}

.xb-lang-dropdown__trigger:hover {
  border-color: #999;
  background-color: rgba(0, 0, 0, 0.03);
}

.xb-lang-dropdown__trigger i:first-child {
  font-size: 16px;
}

.xb-lang-dropdown__trigger i:last-child {
  font-size: 12px;
  opacity: 0.6;
}

.xb-lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 1000;
  min-width: 160px;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.xb-lang-dropdown__menu li {
  margin: 0;
  padding: 0;
}

.xb-lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background-color 0.15s;
}

.xb-lang-dropdown__item:hover {
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
}

.xb-lang-dropdown__item.active {
  background-color: #f0f4ff;
  font-weight: 600;
}

.xb-lang-dropdown__code {
  font-weight: 600;
  min-width: 24px;
}

.xb-lang-dropdown__name {
  flex: 1;
}

.xb-lang-dropdown__item i.bi-check2 {
  margin-left: auto;
  color: #1a73e8;
}
