/* ============================
   Language Switcher Button
   ============================ */

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a6b63, #37958e);
  color: white;
  font-size: 1.35rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(10, 107, 99, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
  z-index: 1001;
  /* Desktop: position at end of nav using order */
  order: 99;
  margin-left: 12px;
}

.lang-switcher-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(10, 107, 99, 0.4);
  background: linear-gradient(135deg, #064f49, #0a6b63);
}

.lang-switcher-btn:focus-visible {
  outline: 3px solid #f4cb64;
  outline-offset: 2px;
}

/* ---- Responsive: Tablets ---- */
@media (max-width: 991px) {
  .lang-switcher-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-left: 0;
    margin-right: 12px;
    /* Reset order for mobile - appear before hamburger */
    order: 0;
  }

  .lang-switcher-btn:hover {
    transform: scale(1.08);
  }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 600px) {
  .lang-switcher-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    margin-right: 8px;
  }
}
