.language-selector {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.language-btn {
  background: none;
  border: none;
  color: #8186a0;
  cursor: pointer;
  font-size: 11px;
  padding: 2px 5px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.language-btn:hover, .language-btn.active {
  opacity: 1;
  text-decoration: underline;
}

/* Hide on smaller screens to avoid clutter */
@media (max-width: 480px) {
  .language-selector {
    gap: 5px;
  }
  
  .language-btn {
    font-size: 10px;
    padding: 1px 3px;
  }
}

/* RTL language adjustments */
body.rtl .language-selector {
  flex-direction: row-reverse;
}

body.rtl .footer {
  direction: rtl;
}
