/* Language switcher — compact SVG flag + code dropdown */
.ie-lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ie-lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  min-height: 28px;
  border: 1px solid rgba(125, 128, 135, 0.28);
  border-radius: 6px;
  background: #fff;
  color: #0b0d28;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ie-lang-switcher__btn:hover,
.ie-lang-switcher__btn:focus-visible {
  border-color: rgba(11, 13, 40, 0.35);
  background: #f8f9fa;
  outline: none;
}

.ie-lang-switcher__flag {
  display: block;
  width: 16px;
  height: 11px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.ie-lang-switcher__code {
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 11px;
}

.ie-lang-switcher__caret {
  font-size: 9px;
  color: #6c757d;
}

.ie-lang-switcher__menu {
  min-width: 128px;
  padding: 4px 0;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 6px !important;
}

.ie-lang-switcher__item {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 5px 10px !important;
  font-size: 11px;
  color: #0b0d28;
  line-height: 1.2;
}

.ie-lang-switcher__item:hover {
  background-color: #f8f9fa;
}

.ie-lang-switcher__item.is-active {
  background-color: #f0f4ff;
  font-weight: 600;
}

.ie-lang-switcher__native {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
}

.ie-lang-switcher__check {
  font-size: 10px;
  color: #3461ff;
}

/* Account header — same height as Ir al sitio / Cerrar sesión / bell */
.ie-lang-switcher--account .ie-lang-switcher__btn {
  min-height: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  gap: 5px;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .ie-lang-switcher__code {
    display: none;
  }
}
