.lang-switcher {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.375rem 2rem 0.375rem 0.625rem; /* top-right-bottom-left */
  border-radius: 0.5rem;
  backdrop-filter: saturate(140%) blur(6px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  cursor: pointer;

  /* custom caret */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7l5 6 5-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.9rem;
}

.lang-switcher:hover {
  background-color: rgba(255, 255, 255, 0.24);
}

.lang-switcher:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.lang-switcher:active {
  transform: translateY(1px);
}

/* Ensure dropdown options are readable */
.lang-switcher option {
  color: #111827; /* gray-900 */
}

/* Small screens refinement */
@media (max-width: 768px) {
  .lang-switcher {
    padding-right: 1.75rem;
    font-size: 0.875rem;
  }
}


