/* ── TranslatePress Language Switcher – dropdown variant ── */

.trp_custom_language_switcher {
  position: relative;
  display: inline-block;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase;
}

/* Toggle button */
button.trp-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  background: none;
border: none;
  padding: 5px 10px !important;
  margin: 0;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  text-transform: uppercase;
  color: inherit;
  line-height: 1;
}

.trp-switcher__toggle:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 1px;
  border-radius: 2px;
}

.trp-switcher__globe {
  display: flex;
  align-items: center;
}

.trp-switcher__chevron {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.trp-switcher--open .trp-switcher__chevron {
  transform: rotate(180deg);
}

/* Dropdown list */
.trp-switcher__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  list-style: none !important;
  margin: 0;
  padding: 4px 0;
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;

  /* Animate in */
  animation: trp-dropdown-in 0.15s ease both;
}

@keyframes trp-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trp-switcher__dropdown li {
  list-style: none !important;
}

.trp-switcher__dropdown a {
  display: block;
  padding: 6px 14px;
  text-decoration: none !important;
  color: #111111 !important;
  white-space: nowrap;
  transition: background 0.15s;
}

.trp-switcher__dropdown a:hover,
.trp-switcher__dropdown a:focus {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}