/* ===== LANGUAGE SWITCHER - Kivo Mark Tech ===== */
/* Add this CSS to the end of your style.css or link this file */

.lang-switcher {
  position: relative;
  margin-right: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #e2e8f0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.lang-btn:hover {
  background: rgba(212,160,23,0.15);
  border-color: #d4a017;
  color: #d4a017;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #121a2e;
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 8px;
  min-width: 150px;
  padding: 6px;
  display: none;
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #e2e8f0;
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.lang-dropdown button:hover {
  background: rgba(212,160,23,0.15);
  color: #d4a017;
}

/* RTL Support for Urdu & Arabic */
html[dir="rtl"] .header-inner,
html[dir="rtl"] .nav,
html[dir="rtl"] .header-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .logo {
  flex-direction: row-reverse;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .lang-switcher {
    margin-right: 4px;
  }
  .lang-btn {
    padding: 7px 10px;
    font-size: 12px;
  }
}
