/* Vazirmatn font (loaded via stylesheets registration) */
html, body {
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Tahoma, sans-serif;
}

/* Ensure RTL aligns right where needed (Orchid sets dir automatically) */
html[dir="rtl"] body {
  text-align: right;
}

/* Sidebar gradient: darker blue → green for energetic startup feel */
.aside.bg-dark {
  background: linear-gradient(0deg, #1e293b 0%, #0f172a 40%, #134e4a 100%) !important; /* slate-800 → slate-900 → teal-800 */
}
.aside .nav-link,
.aside .text-body-emphasis,
.aside .link-body-emphasis {
  color: #f1f5f9 !important; /* slate-100 for readability */
}
.aside .nav-link.active,
.aside .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}
.aside .form-control::placeholder {
  color: rgba(255,255,255,0.7);
}
.aside .form-control,
.aside .form-control:focus {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background-color: rgba(255,255,255,0.05);
}

/* Tweak primary buttons to fit palette slightly (keeps Bootstrap variables) */
.btn-primary {
  background-color: #0ea5e9;
  border-color: #0ea5e9;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #0284c7;
  border-color: #0284c7;
}

/* General fine-tuning for RTL tables */
html[dir="rtl"] table th, 
html[dir="rtl"] table td {
  text-align: right;
}

/* TourGuideJS dialog RTL + theme */
.tg-rtl {
  direction: rtl;
  text-align: right;
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Tahoma, sans-serif;
}
.tg-rtl h1,
.tg-rtl h2,
.tg-rtl h3,
.tg-rtl h4,
.tg-rtl h5 {
  font-weight: 600;
}
.tg-rtl button {
  font-family: inherit;
}

/* Auth pages (login / verify / register) background - light, with subtle blobs */
.form-signin {
  background:
      radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 55%),
      radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.18), transparent 55%),
      #f8fafc;
}

.form-signin .bg-white {
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* Workspace header profile (light) */
.workspace .profile-container {
  background: transparent !important;
  color: var(--bs-body-color) !important;
}
.workspace .profile-container .text-ellipsis {
  color: var(--bs-body-color) !important;
}
.workspace .profile-container .btn-link {
  color: var(--bs-body-color) !important;
}
.workspace .profile-container .btn-link:hover {
  color: var(--bs-primary) !important;
}


