/* Legacy (v2) discreet controls: v1/v2 + EN/FR/AR */

.nav-content {
  position: relative;
}

.top-right-controls {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-switch,
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.version-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.62);
}

.version-link:hover {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.78);
}

.version-link.is-current {
  background: rgba(245, 124, 0, 0.16);
  color: rgba(0, 0, 0, 0.78);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.lang-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.76);
}

.lang-btn.is-current {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.8);
}

/* Keep legacy mobile menu usable: hide controls on small screens */
@media (max-width: 980px) {
  .top-right-controls {
    display: none;
  }
}

/* Arabic: basic RTL support for key text blocks */
html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .nav-links {
  direction: rtl;
}

html[dir="rtl"] .award-content {
  text-align: right;
}

