/* Ziyaretçi dil seçici + RTL (hoş geldiniz, giriş, hesaplama) */

.visitor-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.visitor-lang-btn {
  min-width: 2.35rem;
  padding: 0.28rem 0.55rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease;
}

.visitor-lang-btn:hover {
  color: #334155;
  background: rgba(255, 255, 255, 0.7);
}

.visitor-lang-btn.is-active {
  background: #fff;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

#view_login .visitor-lang-switch {
  background: rgba(241, 245, 249, 0.92);
}

html[dir="rtl"] #view_welcome .welcome-shell,
html[dir="rtl"] #view_login .login-shell {
  direction: rtl;
}

html[dir="rtl"] #view_calc .calc-mode-chips,
html[dir="rtl"] #view_calc .calc-subchips-btns,
html[dir="rtl"] #view_calc .picker-cerceve-filters {
  direction: rtl;
}

html[dir="rtl"] #view_welcome .welcome-brand-points li,
html[dir="rtl"] #view_login .login-brand-points li,
html[dir="rtl"] #view_welcome .welcome-info-item {
  text-align: right;
}

html[dir="rtl"] .visitor-lang-switch {
  direction: ltr;
}

html[dir="rtl"] #app_sidebar .app-sidebar-nav {
  direction: rtl;
}

html[dir="rtl"] #app_sidebar .app-sidebar-link {
  text-align: right;
}

html[dir="rtl"] #app_sidebar .app-sidebar-footer {
  direction: rtl;
}

html[dir="rtl"] #view_profil .profile-grid,
html[dir="rtl"] #view_begendiklerim .begendiklerim-page-card,
html[dir="rtl"] #price_request_contact_modal .pr-contact-form {
  direction: rtl;
}

html[dir="rtl"] #view_profil .profile-form label,
html[dir="rtl"] #price_request_contact_modal .login-field {
  text-align: right;
}

#view_calc .calc-lang-switch {
  margin-bottom: 0.65rem;
}
