/* Floating Switcher Container (including shortcode & floater) */
#fourofour-floating-language-switcher,
.floating-switcher {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;                     /* more spacious padding */
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);             /* glassy look */
  transition: transform .2s ease, opacity .2s ease;
  z-index: 9999;
}

/* Hover “lift” effect */
#fourofour-floating-language-switcher:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Dropdown styling */
#fourofour-floating-language-switcher .et-language-dropdown,
.floating-switcher select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  transition: border-color .2s ease, box-shadow .2s ease;
}

/* Dropdown focus & hover */
#fourofour-floating-language-switcher .et-language-dropdown:hover,
#fourofour-floating-language-switcher .et-language-dropdown:focus,
.floating-switcher select:hover,
.floating-switcher select:focus {
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
  outline: none;
}

/* Language list “buttons” */
#fourofour-floating-language-switcher .language-list li a,
.floating-switcher .language-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  transition: background .2s ease, border-color .2s ease, transform .1s ease;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* Hover & active */
#fourofour-floating-language-switcher .language-link:hover,
.floating-switcher .language-link:hover {
  transform: translateY(-1px);
}

/* Flags */
#fourofour-floating-language-switcher .language-link img,
.floating-switcher .language-link img {
  width: 24px;
  height: auto;
  object-fit: cover;
}
