/* =============================================================================
   Aviatop - استایل‌های اصلی
   مشابه reference UI با تم تیره + تصاویر، آیکن‌ها و انیمیشن‌ها
   ============================================================================= */

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes thanksGradient {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}
@keyframes thanksShine {
  0% { transform: translateX(-100%) skewX(-12deg); opacity: 0.15; }
  60% { opacity: 0.08; }
  100% { transform: translateX(200%) skewX(-12deg); opacity: 0; }
}
@keyframes thanksFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-15px) scale(1.05); opacity: 0.7; }
}
@keyframes thanksFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes thanksGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}
.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}
.animate-slide-up {
  animation: slideUp 0.7s ease-out 0.15s forwards;
  opacity: 0;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .animate-fade-in,
  .animate-slide-up,
  .animate-float,
  .result-card-animate,
  .login-card-animate,
  .faq-section-animate .faq-answer,
  .flight-card,
  .flight-card-accent { animation: none; }
  .primary-btn:hover,
  .result-card:hover,
  .stat-item:hover,
  .flight-card:hover,
  .nav-mega-trigger:hover { transform: none; }
  .flight-card:hover .flight-card-arrow-icon { animation: none; }
}

/* Google Translate widget – مخفی؛ انتخاب زبان از طریق LanguageSwitcher انجام می‌شود */
.google-translate-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
}
body .skiptranslate iframe.skiptranslate { display: none !important; }

/* Icon base */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon svg { display: block; }

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;
  background: radial-gradient(circle at top left, #0f2d42 0, #020617 40%, #020617 100%);
  min-height: 100vh;
}

/* =============================================================================
   Scrollbars - اسکرول‌های یکدست و زیبا در کل برنامه
   ============================================================================= */
/* Firefox */
html,
body,
.app-root,
[class*="-wrap"],
[class*="-scroll"],
.overflow-auto,
.overflow-x-auto,
.overflow-y-auto {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) rgba(15, 45, 66, 0.25);
}
/* WebKit (Chrome, Safari, Edge) */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.app-root::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: rgba(15, 45, 66, 0.25);
  border-radius: 4px;
}
*::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:active {
  background: rgba(6, 182, 212, 0.5);
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner {
  background: transparent;
}

/* Layout */
.app-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}
.header-inner .nav-mega.nav-desktop {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
  /* No overflow here so the More dropdown panel is not clipped */
  -webkit-overflow-scrolling: touch;
}
/* Optional: horizontal scroll only on a wrapper if needed later; dropdown must stay in overflow:visible area */

.logo {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.currency-selector-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.currency-selector-label {
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
}
.currency-selector-select {
  padding: 6px 10px 6px 8px;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 14px;
  padding-right: 28px;
  min-width: 72px;
}
.currency-selector-select:hover,
.currency-selector-select:focus {
  border-color: rgba(59, 130, 246, 0.5);
  outline: none;
}

.nav-mega {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-mega-trigger {
  color: #94a3b8;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.nav-more-trigger {
  padding: 10px 12px;
}
.nav-mega-trigger:hover,
.nav-mega-trigger.open {
  color: #e5e7eb;
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

.nav-dropdown-wrap { position: relative; overflow: visible; }
/* Bridge: when open, extend hover area so mouse can move from trigger to panel without leaving wrap */
.nav-dropdown-wrap.open::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 400px;
  z-index: 1;
}
.nav-dropdown-trigger {
  border: none; background: none; color: inherit; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-more-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: #0f172a;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 10px;
  margin-left: 4px;
}
.nav-dropdown-panel {
  position: absolute; top: 100%; right: 0; left: auto; margin-top: 6px; padding-top: 0; box-sizing: border-box; z-index: 2;
  min-width: 560px; max-width: min(720px, calc(100vw - 48px)); padding: 20px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.04);
  z-index: 25;
  animation: navDropdownFade 0.2s ease-out;
}
@keyframes navDropdownFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-panel:has(.nav-dropdown-grid-double) {
  position: fixed;
  left: 24px;
  right: 24px;
  top: 76px;
  bottom: 0;
  margin: 0;
  min-width: 0;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  overflow-y: auto;
  padding: 0;
  z-index: 10000;
}
.nav-dropdown-header {
  padding: 18px 24px 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nav-dropdown-header-icon {
  font-size: 1rem;
  color: rgba(59, 130, 246, 0.9);
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
}
.nav-dropdown-header-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.02em;
}
.nav-dropdown-header-sub {
  font-size: 0.8rem;
  color: #64748b;
  margin-left: auto;
}
.nav-dropdown-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 36px; }
.nav-dropdown-col { display: flex; flex-direction: column; gap: 10px; }
/* More menu: 5 columns so content fits on screen */
.nav-dropdown-grid-double {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 28px;
  padding: 16px 24px 20px;
}
.nav-dropdown-col-double {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 0 8px;
}
.nav-dropdown-grid-double .nav-dropdown-link {
  white-space: nowrap;
}
.nav-dropdown-col-double:not(:last-child) {
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

/* More menu: full-screen overlay (click to open) */
.nav-more-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  animation: navMoreFadeIn 0.2s ease-out;
}
@keyframes navMoreFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.nav-more-fullscreen-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  flex: 1;
  min-height: 100%;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  animation: navMoreSlideIn 0.25s ease-out;
}
@keyframes navMoreSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-more-fullscreen-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
  flex-shrink: 0;
  background: #0f172a;
}
.nav-more-fullscreen-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.02em;
}
.nav-more-fullscreen-sub {
  font-size: 0.9rem;
  color: #94a3b8;
}
.nav-more-fullscreen-close {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.8);
  color: #f1f5f9;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.nav-more-fullscreen-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fff;
}
.nav-more-fullscreen-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 40px;
  padding: 28px 32px 40px;
  flex: 1;
}
.nav-more-fullscreen-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav-more-fullscreen-col:not(:last-child) {
  border-right: 1px solid rgba(148, 163, 184, 0.2);
}
.nav-more-fullscreen-block-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.nav-more-fullscreen-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-more-fullscreen-link:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
}
@media (max-width: 1100px) {
  .nav-more-fullscreen-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 28px; padding: 24px 28px 32px; }
  .nav-more-fullscreen-col:not(:last-child) { border-right: none; }
}
@media (max-width: 680px) {
  .nav-more-fullscreen-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; padding: 20px 24px 28px; }
  .nav-more-fullscreen-header { padding: 16px 20px; }
  .nav-more-fullscreen-close { right: 20px; width: 40px; height: 40px; }
}

/* More page (standalone /more) – redesigned */
.more-page {
  min-height: 100vh;
  background: #0f172a;
  padding-bottom: 48px;
}
.more-hero {
  position: relative;
  padding: 32px 24px 48px;
  overflow: hidden;
}
.more-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6, 182, 212, 0.12) 0%, rgba(59, 130, 246, 0.08) 40%, rgba(15, 23, 42, 0.98) 100%);
  pointer-events: none;
}
.more-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.more-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.more-back:hover {
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(30, 41, 59, 0.8);
}
.more-back-icon { font-size: 1.1rem; }
.more-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(6, 182, 212, 0.95);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.more-hero-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.more-hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
  max-width: 540px;
}
.more-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 24px;
}
.more-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin: 0 0 24px;
  padding-left: 4px;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.more-card {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.25s, box-shadow 0.25s;
  animation: moreCardFade 0.4s ease-out backwards;
}
.more-card:nth-child(1) { animation-delay: 0.05s; }
.more-card:nth-child(2) { animation-delay: 0.1s; }
.more-card:nth-child(3) { animation-delay: 0.15s; }
.more-card:nth-child(4) { animation-delay: 0.2s; }
.more-card:nth-child(5) { animation-delay: 0.25s; }
@keyframes moreCardFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.more-card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.08);
}
.more-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.more-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(59, 130, 246, 0.2));
  border-radius: 12px;
  font-size: 1.1rem;
  color: #e2e8f0;
  flex-shrink: 0;
}
.more-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  letter-spacing: 0.02em;
}
.more-card-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.more-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.more-link:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #fff;
  transform: translateX(4px);
}
@media (max-width: 680px) {
  .more-hero { padding: 24px 16px 36px; }
  .more-hero-title { font-size: 1.75rem; }
  .more-page-inner { padding: 0 16px 20px; }
  .more-grid { grid-template-columns: 1fr; gap: 20px; }
  .more-card { padding: 20px; }
}

.nav-dropdown-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-dropdown-block .nav-dropdown-title {
  margin-bottom: 0;
}
.nav-dropdown-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.nav-dropdown-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.nav-dropdown-link:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(6, 182, 212, 0.08));
  color: #fff;
  transform: translateX(2px);
}
.nav-dropdown-link:active {
  transform: translateX(0);
}

/* Auth dropdown: یک دکمه «حساب کاربری» با منوی ورود / ثبت‌نام */
.nav-auth-dropdown-wrap {
  position: relative;
  overflow: visible;
}
.nav-auth-dropdown-wrap.open::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 120px;
  z-index: 1;
}
.nav-auth-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-auth-dropdown-arrow {
  font-size: 0.65rem;
  opacity: 0.85;
  transition: transform 0.2s;
}
.nav-auth-dropdown-wrap.open .nav-auth-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-auth-dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 6px;
  min-width: 160px;
  padding: 6px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 25;
  animation: navDropdownFade 0.2s ease-out;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-auth-dropdown-link {
  display: block;
  padding: 10px 14px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-align: left;
}
.nav-auth-dropdown-link:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
}
.nav-auth-dropdown-link-primary {
  font-weight: 600;
  color: #93c5fd;
}
[dir="rtl"] .nav-auth-dropdown-panel { right: auto; left: 0; }
[dir="rtl"] .nav-auth-dropdown-link { text-align: right; }

/* User menu (logged-in): نام کاربری + منوی آبشاری Dashboard, Top up, Sign out */
.nav-user-dropdown-wrap {
  position: relative;
  overflow: visible;
}
.nav-user-dropdown-wrap.open::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 140px;
  z-index: 1;
}
.nav-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.nav-user-trigger:hover,
.nav-user-dropdown-wrap.open .nav-user-trigger {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.12);
}
.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.nav-user-trigger .nav-user-name {
  max-width: 140px;
  margin: 0;
  color: #e2e8f0;
  font-weight: 500;
}
.nav-user-trigger .nav-auth-dropdown-arrow {
  margin-left: 2px;
  flex-shrink: 0;
}
.nav-user-dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 6px;
  min-width: 200px;
  padding: 6px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 25;
  animation: navDropdownFade 0.2s ease-out;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-user-dropdown-header {
  padding: 10px 14px 8px;
  font-size: 0.8rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-user-dropdown-link {
  display: block;
  padding: 10px 14px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}
.nav-user-dropdown-link:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
}
.nav-user-dropdown-signout {
  color: #f87171;
  margin-top: 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 12px;
}
.nav-user-dropdown-signout:hover {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
}
[dir="rtl"] .nav-user-dropdown-panel { right: auto; left: 0; }
[dir="rtl"] .nav-user-dropdown-link { text-align: right; }
[dir="rtl"] .nav-user-trigger .nav-auth-dropdown-arrow { margin-left: 0; margin-right: 2px; }

.nav-notifications-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px;
  margin-right: 8px;
  color: #94a3b8;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-notifications-link:hover { color: #e2e8f0; background: rgba(51, 65, 85, 0.5); }
.nav-notifications-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: #ef4444;
  border-radius: 8px;
}
.notifications-preferences-link { margin-bottom: 20px; }
.notifications-list { display: flex; flex-direction: column; gap: 12px; }
.notification-card { margin-bottom: 0; }
.notification-card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.notification-card-body { margin: 0 0 8px; color: #cbd5e1; line-height: 1.5; font-size: 0.9375rem; }
.notification-card-meta { margin: 0; font-size: 0.8rem; color: #94a3b8; }
.notification-read .notification-card-body { color: #94a3b8; }
.notification-mark-read { font-size: 0.8rem; padding: 4px 8px; }
.notifications-more { margin-top: 20px; }
.notification-pref-row { margin-bottom: 12px; }
.notification-pref-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9375rem; color: #cbd5e1; }

.nav-drawer-auth-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.nav-drawer-auth-btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

@media (max-width: 1280px) {
  .nav-dropdown-panel:has(.nav-dropdown-grid-double) { min-width: 800px; max-width: min(100vw - 48px, 1100px); }
  .nav-dropdown-grid-double { grid-template-columns: repeat(4, 1fr); gap: 14px 22px; padding: 14px 20px 18px; }
}
@media (max-width: 1100px) {
  .nav-dropdown-panel:has(.nav-dropdown-grid-double) { min-width: 640px; max-width: min(100vw - 48px, 900px); }
  .nav-dropdown-grid-double { grid-template-columns: repeat(4, 1fr); gap: 14px 20px; padding: 14px 18px 18px; }
}
@media (max-width: 900px) {
  .nav-dropdown-panel { min-width: 480px; }
  .nav-dropdown-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 24px; }
  .nav-dropdown-panel:has(.nav-dropdown-grid-double) { min-width: 480px; }
  .nav-dropdown-grid-double { grid-template-columns: repeat(3, 1fr); gap: 14px 18px; padding: 14px 16px 16px; }
  .nav-dropdown-col-double:not(:last-child) { border-right: none; }
  .nav-dropdown-header-sub { display: none; }
}
@media (max-width: 680px) {
  .nav-dropdown-panel { min-width: 320px; right: 0; }
  .nav-dropdown-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
  .nav-dropdown-grid-double { grid-template-columns: repeat(2, 1fr); gap: 12px 16px; padding: 12px 14px 16px; }
  .nav-dropdown-header { padding: 14px 18px 12px; }
}

/* Buttons */
.primary-btn {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35); }
.primary-btn.btn-animate:hover { transform: translateY(-2px) scale(1.02); }
.primary-btn.small { padding: 6px 12px; font-size: 0.875rem; }
.ghost-btn {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

/* Home page */
.home-page { padding: 0 24px 48px; }
.home-hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: visible;
}
.hero-with-bg {
  background-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (prefers-reduced-motion: reduce) {
  .hero-with-bg { background-attachment: scroll; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.85) 0%, rgba(15, 45, 66, 0.75) 50%, rgba(2, 6, 23, 0.7) 100%);
  z-index: 0;
}
.hero-left {
  position: relative;
  z-index: 1;
}
.hero-badge {
  color: #06b6d4;
  font-size: 0.875rem;
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 16px;
}
.hero-subtitle {
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.5;
}

.page-hero {
  padding: 40px 24px 56px;
}
.page-hero .hero-subtitle { margin-bottom: 0; }

.search-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  padding: 28px 32px;
  width: 100%;
}
.search-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.search-tab-emoji {
  font-size: 1.1em;
  margin-right: 6px;
  line-height: 1;
}
.search-tab {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.search-tab:hover { background: rgba(59, 130, 246, 0.1); color: #e5e7eb; }
.search-tab.active {
  background: rgba(59, 130, 246, 0.2);
  color: #e5e7eb;
  border-color: #3b82f6;
}
.form-field-icon label,
.form-field label { display: inline-flex; align-items: center; gap: 8px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; }
.hero-badge-icon { color: #06b6d4; }
.trip-type-row { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.trip-type-chip {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
}
.trip-type-chip.active {
  background: rgba(59, 130, 246, 0.2);
  color: #e5e7eb;
}
.search-validation-summary { margin-bottom: 12px; padding: 10px 14px; background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4); border-radius: 8px; color: #fca5a5; font-size: 0.875rem; list-style: none; }
.search-validation-summary ul { margin: 0; padding: 0; }
.search-main-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  align-items: flex-end;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label { font-size: 0.875rem; color: #94a3b8; }
.form-field input,
.form-field select {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  min-height: 44px;
  padding: 12px 16px;
  box-sizing: border-box;
  border-radius: 10px;
  min-width: 140px;
}
/* LocationAutocomplete – مبدا/مقصد با جستجو و انتخاب */
.location-autocomplete {
  position: relative;
  min-width: 140px;
}
.location-autocomplete-input-wrap {
  display: flex;
  align-items: center;
  min-height: 44px;
  height: 44px; /* هماهنگ با سایر کنترل‌های RC مثل RCInputText و RCDatePicker */
  padding: 12px 16px;
  box-sizing: border-box;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.location-autocomplete-input-wrap:hover {
  border-color: rgba(59, 130, 246, 0.5);
}
.location-autocomplete.autocomplete-open .location-autocomplete-input-wrap,
.location-autocomplete-input-wrap:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.location-autocomplete-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 0.9375rem;
  outline: none;
}
.location-autocomplete-input::placeholder {
  color: #64748b;
}
.location-autocomplete-dropdown {
  position: absolute;
  /* روی خود کنترل باز شود، نه پایین آن */
  top: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  max-height: 280px;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: autocompleteOpen 0.2s ease-out;
}
@keyframes autocompleteOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.location-autocomplete-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.location-autocomplete-item:hover {
  background: rgba(59, 130, 246, 0.15);
}
.location-autocomplete-item-main {
  font-weight: 500;
  color: #f1f5f9;
}
.location-autocomplete-item-sub {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-top: 2px;
}
.location-autocomplete-item-type {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}
.location-autocomplete-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #94a3b8;
}
.search-submit-btn { align-self: flex-end; }

/* LocationDropdown – مبدا/مقصد؛ بالای بقیه المنت‌ها و هماهنگ با کارت جستجو */
.location-dropdown {
  position: relative;
  min-width: 140px;
}
.location-dropdown.open {
  z-index: 10000;
}
/* همان اندازه و ارتفاع فیلدهای input و datepicker */
.location-dropdown-toggle {
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 10px;
  color: #e5e7eb;
  font-size: 0.9375rem;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 140px;
}
.location-dropdown-loading {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-loading-spinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.5);
  border-top-color: #3b82f6;
  animation: locationSpinner 0.6s linear infinite;
}

@keyframes locationSpinner {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.location-dropdown-toggle:hover,
.location-dropdown.open .location-dropdown-toggle {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.location-dropdown-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.location-dropdown-placeholder {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #64748b;
}
.location-dropdown-icon {
  font-size: 0.8rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.location-dropdown.open .location-dropdown-icon {
  transform: rotate(180deg);
}
.location-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 100%;
  max-height: 340px;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(59, 130, 246, 0.08);
  z-index: 10001;
  animation: locationDropdownOpen 0.2s ease-out;
}
@keyframes locationDropdownOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.location-dropdown-search {
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.location-dropdown-search-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9375rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.6);
  color: #e5e7eb;
  outline: none;
  transition: border-color 0.2s ease;
}
.location-dropdown-search-input::placeholder {
  color: #64748b;
}
.location-dropdown-search-input:focus {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}
.location-dropdown-list {
  padding: 6px 0;
  overflow-y: auto;
  max-height: 220px;
}
.location-dropdown-item {
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #e5e7eb;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s ease;
  border-radius: 0;
}
.location-dropdown-item:hover {
  background: rgba(59, 130, 246, 0.12);
}
.location-dropdown-item-main {
  font-weight: 500;
  color: #f1f5f9;
}
.location-dropdown-item-sub {
  font-size: 0.8125rem;
  color: #94a3b8;
}
.location-dropdown-item-type {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: capitalize;
}
.location-dropdown-empty {
  padding: 16px 16px 20px;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Home trust strip (Why Aviatop) */
.home-trust { padding: 32px 0 40px; }
.home-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-left));
}
.home-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.home-trust-item:hover { border-color: rgba(6, 182, 212, 0.35); box-shadow: 0 4px 16px rgba(6, 182, 212, 0.08); }
.home-trust-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.home-trust-icon-svg { color: #06b6d4; }
.home-trust-label { font-weight: 600; font-size: 0.95rem; color: #e2e8f0; margin-bottom: 4px; }
.home-trust-desc { font-size: 0.8rem; color: #94a3b8; line-height: 1.4; }
@media (max-width: 900px) {
  .home-trust-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .home-trust-inner { grid-template-columns: 1fr; gap: 12px; }
  .home-trust-item { padding: 16px 12px; }
  .home-trust-desc { font-size: 0.75rem; }
}

/* Stats */
.section-stats { padding: 56px 0 64px; }
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 32px 48px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 28px 36px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  min-width: 160px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-item:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, 0.4); }
.stat-icon { color: #06b6d4; margin-bottom: 12px; display: block !important; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 700; color: #3b82f6; margin-bottom: 4px; }
.stat-label { font-size: 0.875rem; color: #94a3b8; }

/* Discover (Countries, Cities, POIs) */
.discover-section { padding: 48px 0 56px; }
.discover-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  margin: 0 0 28px;
  color: #e5e7eb;
}
.discover-heading-icon { color: #3b82f6; }
.discover-meta-label { color: #94a3b8; font-size: 0.8rem; margin-right: 6px; }

.discover-countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.discover-country-card {
  position: relative;
  min-height: 220px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: rgba(15, 23, 42, 0.9);
  overflow: hidden;
}
.discover-country-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.6) 45%, transparent 70%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.discover-country-name { margin: 0 0 4px; font-size: 1.2rem; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.discover-country-official { margin: 0 0 10px; font-size: 0.8rem; color: #cbd5e1; }
.discover-country-meta { margin: 4px 0; font-size: 0.875rem; color: #e2e8f0; }
.discover-country-meta .discover-meta-label { color: #94a3b8; }

.discover-cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.discover-city-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.discover-city-card:hover { border-color: rgba(59, 130, 246, 0.4); transform: translateY(-2px); }
.discover-city-name { margin: 0 0 6px; font-size: 1.15rem; color: #e5e7eb; }
.discover-city-country { margin: 0 0 12px; font-size: 0.9rem; color: #06b6d4; }
.discover-city-meta { margin: 6px 0; font-size: 0.875rem; color: #cbd5e1; }
.discover-city-desc { margin: 10px 0 0; font-size: 0.85rem; color: #94a3b8; line-height: 1.45; }

.discover-pois-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.discover-poi-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.discover-poi-card:hover { border-color: rgba(59, 130, 246, 0.4); transform: translateY(-2px); }
.discover-poi-image-wrap { aspect-ratio: 16/10; overflow: hidden; background: rgba(2, 6, 23, 0.5); }
.discover-poi-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.discover-poi-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.discover-poi-title { margin: 0; font-size: 1.1rem; color: #e5e7eb; }
.discover-poi-location { margin: 0; font-size: 0.85rem; color: #06b6d4; }
.discover-poi-desc { margin: 0; font-size: 0.875rem; color: #94a3b8; line-height: 1.5; flex: 1; }
.discover-poi-link { color: #60a5fa; text-decoration: none; font-size: 0.9rem; font-weight: 600; margin-top: 8px; }
.discover-poi-link:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .discover-countries-grid { grid-template-columns: repeat(2, 1fr); }
  .discover-cities-grid { grid-template-columns: repeat(2, 1fr); }
  .discover-pois-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .discover-section { padding: 32px 0 40px; }
  .discover-heading { font-size: 1.25rem; margin-bottom: 20px; }
  .discover-countries-grid,
  .discover-cities-grid { grid-template-columns: 1fr; gap: 16px; }
  .discover-country-card { min-height: 180px; }
  .discover-pois-grid { grid-template-columns: 1fr; }
}

/* Results */
.results-page { padding: 32px 24px 72px; max-width: 900px; margin: 0 auto; }
.page-title {
  font-size: 1.5rem;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-title-icon { color: #3b82f6; }
.results-page-nav { margin: -8px 0 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.results-back-link { color: #94a3b8; text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.results-back-link:hover { color: #3b82f6; }
.results-back-icon { opacity: 0.8; }
.results-toolbar { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.results-toolbar-btn { font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }
.results-sort-select { padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(148,163,184,0.3); background: rgba(15,23,42,0.8); color: #e2e8f0; font-size: 0.85rem; cursor: pointer; }
.results-copy-toast { font-size: 0.8rem; color: #06b6d4; padding: 4px 8px; }

/* Results filters – فیلترهای نتایج با کنترل‌های RC */
.results-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 20px;
  padding: 14px 18px 16px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
}
.results-filter-item { min-width: 0; }
.results-filter-rc.form-field {
  gap: 6px;
  margin-bottom: 0;
}
.results-filter-rc .rc-select-label,
.results-filter-rc label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
}
.results-filter-rc .rc-select-label-icon,
.results-filter-rc .rc-input-label-icon {
  color: #60a5fa;
  opacity: 0.9;
}
.results-filter-rc .rc-select-inner { min-width: 140px; }
.results-filter-rc .rc-select {
  width: 100%;
  min-height: 40px;
  padding: 10px 14px 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.6);
  color: #e5e7eb;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.results-filter-rc .rc-select:hover {
  border-color: rgba(148, 163, 184, 0.5);
}
.results-filter-rc .rc-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.results-filter-rc .rc-select option {
  background: #0f172a;
  color: #e5e7eb;
}
.results-filter-rc input,
.results-filter-input {
  min-height: 40px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  background: rgba(2, 6, 23, 0.6) !important;
  color: #e5e7eb !important;
  font-size: 0.9rem !important;
  min-width: 100px;
  max-width: 140px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.results-filter-rc input:hover,
.results-filter-input:hover {
  border-color: rgba(148, 163, 184, 0.5) !important;
}
.results-filter-rc input:focus,
.results-filter-input:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}

.card-list { display: flex; flex-direction: column; gap: 20px; }
.result-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.result-card:hover {
  transform: translateX(4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.result-card-animate { animation: slideUp 0.5s ease-out forwards; }
.result-airports { display: flex; align-items: center; gap: 10px; }
.result-icon { color: #94a3b8; }
.result-arrow { color: #3b82f6; }
.result-main { flex: 1; min-width: 200px; }
.result-airports { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.result-airline { font-size: 0.875rem; color: #94a3b8; margin-top: 6px; }
.result-time { font-size: 0.875rem; color: #94a3b8; margin-top: 6px; }
.result-title-row { display: flex; justify-content: space-between; align-items: center; }
.result-hotel-name { font-weight: 600; }
.result-stars { color: #fbbf24; }
.result-subtitle { font-size: 0.875rem; color: #94a3b8; margin-top: 6px; }
.result-description { font-size: 0.875rem; color: #94a3b8; margin: 10px 0 0; line-height: 1.5; }
.result-meta { text-align: right; }
.result-price { font-weight: 600; color: #3b82f6; margin-bottom: 10px; }
.result-submeta { font-size: 0.875rem; color: #94a3b8; margin-bottom: 10px; }

/* Ticket details – بار مجاز، قوانین استرداد، کلاس و نرخ */
.result-ticket-details {
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.result-ticket-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.result-ticket-label {
  flex-shrink: 0;
  color: #94a3b8;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.result-ticket-icon { color: #94a3b8; }
.result-ticket-value {
  color: #cbd5e1;
  flex: 1;
}
.result-ticket-refund .result-ticket-value {
  color: #94a3b8;
  font-style: italic;
}

/* Flight result card – کارت پرواز با آیکن و انیمیشن */
@keyframes flightCardEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes flightAccentShine {
  from { opacity: 0.85; }
  to { opacity: 1; }
}
@keyframes flightArrowFloat {
  from, to { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

.flight-card-list { display: flex; flex-direction: column; gap: 14px; }
.flight-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: flightCardEnter 0.4s ease-out backwards;
}
.flight-card:nth-child(1) { animation-delay: 0.02s; }
.flight-card:nth-child(2) { animation-delay: 0.06s; }
.flight-card:nth-child(3) { animation-delay: 0.1s; }
.flight-card:nth-child(4) { animation-delay: 0.14s; }
.flight-card:nth-child(5) { animation-delay: 0.18s; }
.flight-card:nth-child(n+6) { animation-delay: 0.22s; }
.flight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.15);
}
.flight-card:hover .flight-card-arrow-icon { animation: flightArrowFloat 0.6s ease-in-out; }
.flight-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3b82f6, #06b6d4);
  border-radius: 12px 0 0 12px;
  animation: flightAccentShine 2s ease-in-out infinite alternate;
}
.flight-card-body {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: wrap;
  padding: 14px 18px 12px 20px;
}
.flight-card-route {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.flight-card-place-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.flight-card-place-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #f1f5f9;
  line-height: 1.3;
}
.flight-card-place-icon { color: #60a5fa; flex-shrink: 0; opacity: 0.95; }
.flight-card-datetime {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #94a3b8;
}
.flight-card-datetime-icon { color: #64748b; flex-shrink: 0; }
.flight-card-arrow {
  flex-shrink: 0;
  display: inline-flex;
  padding: 0 4px;
}
.flight-card-arrow-icon {
  color: #3b82f6;
  opacity: 0.95;
  transition: transform 0.3s ease;
}
.flight-card-info {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #94a3b8;
}
.flight-card-info-icon { color: #64748b; margin-right: 2px; vertical-align: middle; flex-shrink: 0; }
.flight-card-duration { color: #93c5fd; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.flight-card-airline { color: #cbd5e1; display: inline-flex; align-items: center; gap: 4px; }
.flight-card-seats { color: #64748b; display: inline-flex; align-items: center; gap: 4px; }
.flight-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}
.flight-card-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: -0.02em;
}
.flight-card-price-icon { color: #22d3ee; opacity: 0.9; flex-shrink: 0; }
.flight-card-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.flight-card-select-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}
.flight-card-select-icon { flex-shrink: 0; opacity: 0.95; }
.flight-card-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 18px 12px 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}
.flight-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.flight-detail-chip-icon { color: #64748b; flex-shrink: 0; }
.flight-detail-refund-chip {
  color: #94a3b8;
  max-width: 100%;
}

/* Booking passengers page – کارت پرواز کامل، اطلاعات مقصد، فرم RC، POI */
.booking-passengers-page .results-loading { padding: 48px; text-align: center; color: #94a3b8; }
.booking-summary-card { margin-bottom: 24px; }
.booking-flight-card { margin-bottom: 24px; }
.booking-flight-card .flight-card-meta .flight-card-select-btn { display: none; }
.booking-summary-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 12px;
}
.booking-section-icon { color: #60a5fa; opacity: 0.9; }

/* دو ستون: فرم مسافر (چپ) و اطلاعات مقصد (راست). در موبایل اطلاعات مقصد و POI زیر فرم */
.booking-form-and-dest-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .booking-form-and-dest-row {
    grid-template-columns: 1fr;
  }
  .booking-dest-col { position: static; }
}
.booking-form-col { min-width: 0; }
.booking-dest-col { position: sticky; top: 24px; min-width: 0; }

/* مقصد و POI به سبک Discover صفحه اول — داخل ستون راست */
.booking-dest-discover.discover-section,
.booking-poi-discover.discover-section {
  padding: 0 0 28px;
}
.booking-dest-discover .discover-heading,
.booking-poi-discover .discover-heading {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.booking-dest-country-single { display: block; }
.booking-dest-country-card.discover-country-card {
  min-height: 180px;
  background-image: none;
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.5) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* کارت زیبای مقصد */
.booking-dest-beautiful-card {
  background: linear-gradient(160deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.92) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.booking-dest-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.booking-dest-row:last-of-type { margin-bottom: 0; }
.booking-dest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}
.booking-dest-badge-icon { color: #60a5fa; opacity: 0.95; }
.booking-dest-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 14px;
}
.booking-dest-city-row { margin-top: 4px; }
.booking-dest-row-icon { color: #06b6d4; flex-shrink: 0; }
.booking-dest-city-name { font-size: 1rem; font-weight: 600; color: #cbd5e1; }
.booking-dest-city-desc { margin-bottom: 12px; }
.booking-dest-currency-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(148, 163, 184, 0.2); }
.booking-dest-currency-text { font-size: 0.875rem; color: #94a3b8; line-height: 1.45; }

/* کارت جداگانه آب‌وهوا */
.booking-weather-section.discover-section { padding: 0 0 28px; }
.booking-weather-section .discover-heading { font-size: 1.2rem; margin-bottom: 16px; }
.booking-weather-card {
  background: linear-gradient(165deg, rgba(6, 182, 212, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.booking-weather-summary {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0 0 12px;
}
.booking-weather-temps {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.booking-weather-temp { font-size: 0.9rem; color: #94a3b8; }
.booking-weather-daterange { font-size: 0.8rem; color: #64748b; margin: 0; }

.booking-pois-in-col.discover-pois-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 901px) {
  .booking-pois-in-col.discover-pois-grid {
    grid-template-columns: 1fr;
  }
}

.booking-form-card { margin-bottom: 0; }
.booking-form-hint { font-size: 0.875rem; color: #94a3b8; margin: -4px 0 16px; }
.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 20px;
}
.booking-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}
.booking-form-group.full-width { grid-column: 1 / -1; }
.booking-form-group .form-field { min-width: 0; }
.booking-rc-field.form-field { margin-bottom: 0; gap: 6px; }
.booking-rc-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.booking-form-group label .optional { font-weight: 400; color: #64748b; font-size: 0.8rem; }
.booking-input {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  font-size: 0.9375rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.booking-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
.booking-form-actions { margin-top: 24px; }
.booking-submit-btn { display: inline-flex; align-items: center; gap: 8px; }
.booking-submit-icon { flex-shrink: 0; }
.info-banner.success {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.booking-poi-card { margin-bottom: 32px; }
.booking-poi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px 16px;
}
.booking-poi-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.booking-poi-name { font-weight: 600; font-size: 0.9rem; color: #e5e7eb; }
.booking-poi-desc { font-size: 0.8rem; color: #94a3b8; line-height: 1.4; }

/* Booking payment – انتخاب درگاه یا اعتبار */
.booking-payment-page .results-loading { padding: 48px; text-align: center; color: #94a3b8; }
.booking-payment-layout {
  display: grid;
  gap: 24px;
  max-width: 900px;
}
@media (min-width: 720px) {
  .booking-payment-layout { grid-template-columns: 280px 1fr; align-items: start; }
}
.booking-payment-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.booking-payment-summary-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking-payment-label { font-size: 0.9rem; color: #94a3b8; }
.booking-payment-amount { font-size: 1.5rem; font-weight: 700; color: #e5e7eb; }
.booking-payment-actions-sticky {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.booking-payment-actions-sticky .full-width { width: 100%; }
.booking-stripe-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
.booking-stripe-label { font-size: 0.9rem; color: #94a3b8; margin: 0; }
.stripe-card-mount { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.6); min-height: 44px; }
.booking-stripe-cta { margin-top: 16px; padding: 18px; border-radius: 12px; border: 1px solid rgba(59, 130, 246, 0.4); background: rgba(59, 130, 246, 0.08); }
.booking-stripe-cta-text { margin: 0 0 14px; font-size: 0.95rem; color: #cbd5e1; }
.booking-stripe-form-main { margin-top: 16px; padding: 18px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.5); }
.booking-stripe-form-main .stripe-card-mount { margin-bottom: 14px; }
.booking-payment-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  align-content: start;
}
.booking-payment-main .booking-payment-methods-title {
  grid-column: 1 / -1;
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: #cbd5e1;
}
.booking-payment-option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.5);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.booking-payment-option-card:hover { border-color: rgba(59, 130, 246, 0.5); background: rgba(59, 130, 246, 0.08); }
.booking-payment-option-card.selected { border-color: #3b82f6; background: rgba(59, 130, 246, 0.15); }
.booking-payment-option-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  margin-bottom: 10px;
}
.booking-payment-option-card strong { font-size: 0.95rem; color: #e5e7eb; margin: 0 0 4px; }
.booking-payment-option-desc { font-size: 0.82rem; color: #94a3b8; margin: 0 0 8px; line-height: 1.35; }
.booking-payment-gateways-title { font-size: 0.95rem; margin: 20px 0 10px; color: #94a3b8; }
.booking-payment-option-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}
.booking-payment-option-disabled .booking-payment-option-desc { color: #64748b; }
.booking-payment-gateway-badge-inactive {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(100, 116, 139, 0.3);
  border-radius: 6px;
}
.booking-payment-wallet-guest {
  cursor: default;
  border-style: dashed;
}
.booking-payment-wallet-guest:hover { border-color: rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.5); }
.booking-payment-login-btn { display: inline-block; margin-top: 6px; padding: 8px 14px; font-size: 0.85rem; }
.booking-payment-main .full-width { grid-column: 1 / -1; }
.booking-submit-icon { margin-right: 6px; vertical-align: middle; }
.success-banner { padding: 14px 18px; margin-bottom: 16px; border-radius: 10px; background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; }
.booking-invoice-flow { margin: 16px 0; padding: 16px; border: 1px dashed rgba(148, 163, 184, 0.4); border-radius: 12px; }
.booking-invoice-how-it-works { margin-bottom: 20px; padding: 16px; background: rgba(15, 23, 42, 0.5); border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.2); }
.booking-invoice-how-title { font-size: 1rem; margin: 0 0 12px; color: #e2e8f0; }
.booking-invoice-how-steps { margin: 0; padding-left: 1.4rem; color: #cbd5e1; font-size: 0.9rem; line-height: 1.65; }
.booking-invoice-how-steps li { margin-bottom: 8px; }
.booking-payment-client-info { grid-column: 1 / -1; margin-top: 20px; padding: 12px 16px; background: rgba(30, 41, 59, 0.6); border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.2); font-size: 0.85rem; }
.booking-payment-client-info summary { cursor: pointer; color: #94a3b8; user-select: none; }
.booking-payment-client-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; margin-top: 10px; }
.booking-payment-client-info .client-info-label { color: #64748b; margin-right: 6px; }
.booking-payment-client-info .client-info-value { color: #e2e8f0; word-break: break-word; }
.booking-payment-client-info .client-info-ua { font-size: 0.8rem; max-height: 3em; overflow: hidden; text-overflow: ellipsis; }
.booking-invoice-hint { font-size: 0.9rem; color: #94a3b8; margin-bottom: 12px; }
.booking-invoice-html { margin: 12px 0; padding: 16px; background: rgba(15, 23, 42, 0.6); border-radius: 8px; font-size: 0.9rem; }
.booking-invoice-rep-hint { font-size: 0.875rem; color: #94a3b8; margin-bottom: 12px; }
.booking-representatives { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.booking-rep-option {
  padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.5);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.booking-rep-option:hover { border-color: rgba(59, 130, 246, 0.5); background: rgba(59, 130, 246, 0.08); }
.booking-rep-option.selected { border-color: #3b82f6; background: rgba(59, 130, 246, 0.15); }
.booking-rep-origin-dest { border-right: 3px solid #22c55e; }
.booking-rep-nearest { border-left: 3px solid #eab308; }
.booking-rep-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.booking-rep-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.booking-rep-badge.origin-dest { background: rgba(34, 197, 94, 0.25); color: #86efac; }
.booking-rep-badge.nearest { background: rgba(234, 179, 8, 0.25); color: #fde047; }
.booking-rep-badge.head-office { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.booking-rep-phone, .booking-rep-city, .booking-rep-email, .booking-rep-local-time { font-size: 0.85rem; color: #94a3b8; margin: 2px 0; }
.booking-rep-local-time { font-weight: 500; color: #cbd5e1; }
.booking-invoice-view-standalone { margin: 12px 0; font-size: 0.9rem; }
.booking-invoice-standalone-link { color: #60a5fa; text-decoration: none; }
.booking-invoice-standalone-link:hover { text-decoration: underline; }

/* Booking invoice – صفحه جداگانه فاکتور رسمی */
.booking-invoice-page .results-loading { padding: 48px; text-align: center; color: #94a3b8; }
.booking-invoice-standalone-card {
  max-width: 640px; margin-bottom: 24px; padding: 24px;
  background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 14px;
}
.booking-invoice-standalone-card .booking-invoice-html.standalone { margin: 0 0 24px; padding: 20px; background: rgba(15, 23, 42, 0.8); border-radius: 10px; font-size: 0.95rem; }
.booking-invoice-rep-block { margin: 24px 0; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, 0.25); }
.booking-invoice-rep-title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 8px; color: #e5e7eb; }
.booking-invoice-rep-icon { color: #60a5fa; }
.booking-invoice-rep-desc { font-size: 0.9rem; color: #94a3b8; margin-bottom: 14px; line-height: 1.5; }
.booking-invoice-rep-card {
  padding: 16px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.5);
}
.booking-invoice-rep-name { display: block; font-size: 1rem; color: #e5e7eb; margin-bottom: 8px; }
.booking-invoice-rep-line { font-size: 0.9rem; color: #94a3b8; margin: 6px 0; display: flex; align-items: center; gap: 8px; }
.booking-invoice-rep-line .icon { flex-shrink: 0; color: #64748b; }
.booking-invoice-rep-time { color: #cbd5e1; }
.booking-invoice-instructions { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(148, 163, 184, 0.25); }
.booking-invoice-instructions-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 20px; color: #e5e7eb; }
.booking-invoice-instructions-icon { color: #60a5fa; }
.booking-invoice-instruction-block { margin-bottom: 22px; }
.booking-invoice-instruction-block h3 { font-size: 1rem; margin-bottom: 8px; color: #cbd5e1; }
.booking-invoice-instruction-block p, .booking-invoice-instruction-block ul, .booking-invoice-instruction-block ol { font-size: 0.9rem; color: #94a3b8; line-height: 1.6; margin: 0 0 8px; }
.booking-invoice-instruction-block ul, .booking-invoice-instruction-block ol { padding-left: 1.4rem; }
.booking-invoice-instruction-block a { color: #60a5fa; text-decoration: none; }
.booking-invoice-instruction-block a:hover { text-decoration: underline; }

/* 1C Invoice document (API-rendered): ensure readability on dark theme and in print */
.invoice-1c { border-radius: 8px; overflow: hidden; }
.invoice-1c table { font-size: 0.9rem; }
.invoice-placeholder { background: rgba(15, 23, 42, 0.8) !important; }
@media print {
  body * { visibility: hidden; }
  #invoice-print-area, #invoice-print-area * { visibility: visible; }
  #invoice-print-area { position: absolute; left: 0; top: 0; width: 100%; background: #fff; padding: 16px; }
  .invoice-1c { box-shadow: none; border: 1px solid #ccc; }
  .booking-invoice-instructions { break-before: page; }
}

/* Booking confirmation – بلیط و کد مرجع */
.booking-confirmation-page .results-loading { padding: 48px; text-align: center; color: #94a3b8; }
.booking-confirmation-card { max-width: 560px; margin-bottom: 24px; }
.booking-confirmation-ref { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(148, 163, 184, 0.25); }
.booking-confirmation-ref-label { display: block; font-size: 0.85rem; color: #94a3b8; margin-bottom: 6px; }
.booking-confirmation-ref-code {
  display: inline-block; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.08em;
  color: #34d399; font-family: ui-monospace, monospace;
}
.booking-confirmation-ref-hint { font-size: 0.85rem; color: #94a3b8; margin: 10px 0 0; }
.booking-confirmation-ref-hint a { color: #60a5fa; }
.booking-confirmation-pnr { margin-bottom: 12px; }
.booking-confirmation-pnr-label { font-size: 0.85rem; color: #94a3b8; margin-right: 8px; }
.booking-confirmation-pnr-value { font-weight: 600; color: #e5e7eb; }
.booking-confirmation-summary { margin-top: 12px; }
.booking-confirmation-summary-label { font-size: 0.9rem; color: #94a3b8; margin-right: 8px; }
.booking-confirmation-summary-value { font-weight: 600; color: #e5e7eb; }
.booking-ticket-card { max-width: 560px; margin-bottom: 24px; }
.booking-ticket-title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 16px; color: #cbd5e1; }
.booking-ticket-title-icon { color: #60a5fa; }
.booking-ticket-body { padding: 4px 0; }
.booking-ticket-route { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.booking-ticket-place { display: flex; flex-direction: column; gap: 2px; }
.booking-ticket-place strong { color: #e5e7eb; }
.booking-ticket-place span { font-size: 0.85rem; color: #94a3b8; }
.booking-ticket-arrow { color: #64748b; font-size: 1.2rem; }
.booking-ticket-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #94a3b8; }
.booking-ticket-raw { font-size: 0.8rem; white-space: pre-wrap; word-break: break-all; color: #94a3b8; margin: 0 0 12px; }
.booking-confirmation-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Booking lookup */
.booking-lookup-page { max-width: 420px; }
.booking-lookup-desc { font-size: 0.95rem; color: #94a3b8; margin-bottom: 24px; }
.booking-lookup-card { margin-bottom: 20px; }
.booking-lookup-input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase;
  box-sizing: border-box;
}
.booking-lookup-input:focus {
  outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
.booking-lookup-footer { font-size: 0.9rem; color: #94a3b8; }
.booking-lookup-footer a { color: #60a5fa; }

/* Flight price calendar – بهترین قیمت‌ها در ۷ روز آینده */
.results-calendar-bar {
  margin: 12px 0 20px;
  padding: 10px 14px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 55%),
              rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}
.results-calendar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #e5e7eb;
  margin-bottom: 8px;
}
.results-calendar-icon {
  color: #38bdf8;
}
.results-calendar-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 2px;
}
.results-calendar-day {
  min-width: 110px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.75rem;
  color: #cbd5f5;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.results-calendar-day:hover {
  border-color: rgba(56, 189, 248, 0.5);
}
.results-calendar-day.selected {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}
.results-calendar-day.empty {
  opacity: 0.55;
}
.results-calendar-date {
  font-weight: 500;
  margin-bottom: 4px;
  color: #e5e7eb;
}
.results-calendar-price {
  font-size: 0.8rem;
}
.results-calendar-count {
  margin-top: 2px;
  color: #94a3b8;
}
.results-calendar-no-flights,
.results-calendar-loading {
  margin-top: 4px;
  color: #94a3b8;
}
.results-calendar-loading {
  font-style: italic;
}

.error-banner {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.info-banner {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  padding: 16px 20px;
  border-radius: 10px;
}
/* Loading – زیبا و جذاب با اطلاع‌رسانی وضعیت */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  animation: loadingFadeIn 0.3s ease-out;
}
.loading-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  min-height: 180px;
}
.loading-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.loading-rings {
  position: relative;
  width: 64px;
  height: 64px;
}
.loading-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}
.loading-ring-outer {
  border-top-color: #3b82f6;
  border-right-color: rgba(59, 130, 246, 0.4);
  animation: loadingSpin 0.9s linear infinite;
}
.loading-ring-inner {
  inset: 8px;
  border-bottom-color: #06b6d4;
  border-left-color: rgba(6, 182, 212, 0.4);
  animation: loadingSpin 0.7s linear infinite reverse;
}
.loading-message {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #e5e7eb;
  letter-spacing: 0.02em;
}
.loading-submessage {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
}
@keyframes loadingSpin { to { transform: rotate(360deg); } }
@keyframes loadingFadeIn { from { opacity: 0; } to { opacity: 1; } }

.loading-spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 20px;
  color: #e5e7eb;
  background: radial-gradient(circle at top left, #0f2d42 0, #020617 40%, #020617 100%);
}
.loading-brand-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.loading-screen .loading-spinner { animation: spin 0.8s linear infinite, pulse 1.5s ease-in-out infinite; }
.loading-screen .loading-status { font-size: 0.9rem; color: #94a3b8; margin-top: 8px; animation: loadingPulse 2s ease-in-out infinite; }
.loading-progress-wrap {
  width: 220px;
  margin-top: 16px;
  text-align: center;
}
.loading-progress-bar {
  height: 6px;
  background: rgba(59, 130, 246, 0.25);
  border-radius: 3px;
  overflow: hidden;
}
.loading-progress-fill {
  height: 100%;
  background: #3b82f6;
  border-radius: 3px;
  transition: width 0.2s ease-out;
}
.loading-percent {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

/* RC ProgressBar – نوار پیشرفت در کنترل‌ها */
.rc-progress-wrap {
  width: 100%;
}
.rc-progress-bar {
  height: 4px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.rc-progress-bar .rc-progress-fill {
  height: 100%;
  background: #3b82f6;
  border-radius: 2px;
  transition: width 0.2s ease-out;
}
.rc-progress-bar-indeterminate {
  position: relative;
}
.rc-progress-bar-indeterminate .rc-progress-fill-indeterminate {
  position: absolute;
  height: 100%;
  width: 40%;
  min-width: 80px;
  background: #3b82f6;
  border-radius: 2px;
  animation: rcProgressIndeterminate 1.2s ease-in-out infinite;
}
@keyframes rcProgressIndeterminate {
  0% { left: -40%; }
  100% { left: 100%; }
}
.rc-progress-message {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 6px 0 0 0;
}

.loading-error-box {
  max-width: 360px;
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 8px;
  text-align: left;
}
.loading-error-title {
  font-weight: 600;
  color: #fca5a5;
  margin: 0 0 8px 0;
}
.loading-error-message {
  font-size: 0.9rem;
  color: #fecaca;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.loading-error-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 8px 0 0 0;
}
@keyframes loadingPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================================
   AviatopDatePicker – کنترل انتخاب تاریخ (میلادی، شمسی، قمری) – Portal
   ============================================================================= */
.datepicker-portal-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483646;
  pointer-events: none;
}
.datepicker-portal-root .datepicker-backdrop-portal {
  pointer-events: auto;
}
.datepicker-portal-root .datepicker-dropdown-portal {
  pointer-events: auto;
}
.aviatop-datepicker {
  position: relative;
  min-width: 160px;
}
.aviatop-datepicker.datepicker-open {
  z-index: 2147483647;
  position: relative;
}
.datepicker-dropdown-fixed {
  position: fixed;
  z-index: 2147483647;
}
.datepicker-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
  box-sizing: border-box;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.datepicker-input-wrap:hover {
  border-color: rgba(59, 130, 246, 0.5);
}
.datepicker-input-wrap:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.datepicker-icon {
  display: flex;
  align-items: center;
  color: #06b6d4;
}
.datepicker-icon-svg { flex-shrink: 0; }
.datepicker-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  outline: none;
}
.datepicker-input::placeholder {
  color: #64748b;
}
.datepicker-chevron {
  font-size: 0.65rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.datepicker-chevron.open {
  transform: rotate(180deg);
}
.datepicker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  background: rgba(0, 0, 0, 0.25);
}
.datepicker-dropdown {
  margin-top: 0;
  min-width: 300px;
  max-width: 320px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.1);
  padding: 16px;
  animation: datepickerOpen 0.2s ease-out;
}
@keyframes datepickerOpen {
  from { opacity: 0; }
  to { opacity: 1; }
}
.datepicker-calendar-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.datepicker-tab {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.datepicker-tab:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #e5e7eb;
}
.datepicker-tab.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(6, 182, 212, 0.2));
  color: #fff;
  border-color: rgba(59, 130, 246, 0.5);
}
.datepicker-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
}
.datepicker-nav-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.15);
  color: #e5e7eb;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.datepicker-nav-btn:hover {
  background: rgba(59, 130, 246, 0.3);
  color: #fff;
}
.datepicker-month-select,
.datepicker-year-select {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e5e7eb;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  outline: none;
  min-width: 0;
}
.datepicker-month-select {
  max-width: 120px;
}
.datepicker-year-select {
  max-width: 80px;
  margin-left: 6px;
}
.datepicker-month-select:hover,
.datepicker-year-select:hover,
.datepicker-month-select:focus,
.datepicker-year-select:focus {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.1);
}
.datepicker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.datepicker-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.datepicker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.datepicker-day {
  aspect-ratio: 1;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.datepicker-day.empty {
  cursor: default;
  visibility: hidden;
}
.datepicker-day:not(.empty):hover {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
}
.datepicker-day.selected {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.4);
}
.datepicker-day.today {
  border: 1px solid rgba(6, 182, 212, 0.6);
  color: #06b6d4;
}
.datepicker-day.today.selected {
  border-color: transparent;
  color: #fff;
}
.datepicker-footer {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.datepicker-today-btn,
.datepicker-clear-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.datepicker-today-btn {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}
.datepicker-today-btn:hover {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
}
.datepicker-clear-btn {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}
.datepicker-clear-btn:hover {
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

/* Footer */
.app-footer {
  margin-top: auto;
  padding: 48px 24px 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 56px;
  justify-content: space-between;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 8px;
  object-fit: contain;
}
.footer-subtext { color: #94a3b8; font-size: 0.875rem; margin-top: 8px; line-height: 1.5; }
.footer-trust-line { color: #64748b; font-size: 0.8rem; margin-top: 6px; line-height: 1.4; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; flex-direction: column; gap: 4px; font-size: 0.875rem; }
.footer-contact-label { font-weight: 600; color: #94a3b8; }
.footer-contact-item a { color: #60a5fa; text-decoration: none; }
.footer-contact-item a:hover { text-decoration: underline; }
.footer-columns { display: flex; gap: 40px 56px; flex-wrap: wrap; }
.footer-title { font-weight: 600; margin-bottom: 16px; }
.footer-link {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.footer-link:hover { color: #e5e7eb; }
.footer-contact-with-icon .footer-contact-label { display: inline-flex; align-items: center; gap: 8px; }
.footer-icon { color: #60a5fa; }
.footer-faq-block { min-width: 140px; }
.footer-faq-link { font-weight: 600; }
.footer-faq-more { color: #60a5fa; margin-top: 4px; }

/* Support FAB - آیکن شناور Support پایین راست */
.support-fab {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.support-fab:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.support-fab-icon { color: inherit; display: block; }

/* FAQ page */
.faq-page { max-width: 720px; margin: 0 auto; padding: 48px 24px 72px; }
.faq-title { font-size: 1.75rem; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
.faq-title-icon { color: #3b82f6; }
.faq-intro { color: #94a3b8; margin-bottom: 40px; line-height: 1.6; }
.faq-sections { display: flex; flex-direction: column; gap: 24px; }
.faq-section { background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 14px; overflow: hidden; }
.faq-section-title { margin: 0; padding: 20px 24px; font-size: 1.1rem; border-bottom: 1px solid rgba(148, 163, 184, 0.2); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(148, 163, 184, 0.15); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question { transition: background 0.3s ease; }
.faq-question:hover { background: rgba(59, 130, 246, 0.1); }
.faq-icon { transition: transform 0.3s ease; }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-section-animate .faq-answer { animation: slideUp 0.3s ease-out; }
.faq-icon { flex-shrink: 0; font-size: 1.25rem; color: #60a5fa; }
.faq-answer {
  padding: 0 24px 20px;
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.faq-contact { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(148, 163, 184, 0.3); text-align: center; color: #94a3b8; }
.faq-contact a { color: #60a5fa; text-decoration: none; }
.faq-contact a:hover { text-decoration: underline; }

/* Support page – تیکت پشتیبانی */
.support-page { max-width: 720px; margin: 0 auto; padding: 48px 24px 72px; }
.support-title { font-size: 1.75rem; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
.support-title-icon { color: #3b82f6; }
.support-intro { color: #94a3b8; margin-bottom: 32px; line-height: 1.6; }
.support-login-prompt { padding: 28px; text-align: center; margin-bottom: 24px; }
.support-login-prompt p { margin: 0 0 16px; color: #cbd5e1; }
.support-login-prompt a { color: #60a5fa; text-decoration: none; }
.support-login-prompt a:hover { text-decoration: underline; }
.support-login-prompt .primary-btn { margin-top: 8px; }
.support-tabs { display: flex; gap: 12px; margin-bottom: 24px; }
.support-tab {
  padding: 12px 20px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent; color: #94a3b8; font-size: 0.9375rem; cursor: pointer; transition: all 0.2s;
}
.support-tab:hover { background: rgba(59, 130, 246, 0.1); color: #e5e7eb; }
.support-tab.active { background: rgba(59, 130, 246, 0.2); color: #e5e7eb; border-color: #3b82f6; }
.support-loading, .support-empty { color: #94a3b8; margin: 24px 0; }
.support-ticket-list { display: flex; flex-direction: column; gap: 16px; }
.support-ticket-card {
  padding: 20px; cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.support-ticket-card:hover { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.4); }
.support-ticket-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.support-ticket-code { font-family: ui-monospace, monospace; font-size: 0.875rem; color: #60a5fa; }
.support-status {
  font-size: 0.75rem; padding: 4px 10px; border-radius: 999px; font-weight: 500;
}
.support-status-open { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.support-status-inprogress, .support-status-waitingforcustomer { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.support-status-resolved, .support-status-closed { background: rgba(148, 163, 184, 0.25); color: #94a3b8; }
.support-ticket-card-subject { margin: 0 0 6px; font-size: 1rem; color: #e5e7eb; }
.support-ticket-card-meta { margin: 0; font-size: 0.8125rem; color: #94a3b8; }
.support-new-ticket { padding: 24px; margin-bottom: 24px; }
.support-new-ticket .form-field { margin-bottom: 18px; }
.support-new-ticket .form-select { min-width: 200px; }
.support-back { margin-bottom: 20px; }
.support-detail-section { margin-bottom: 24px; }
.support-ticket-detail { padding: 24px; }
.support-ticket-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.support-tracking { font-family: ui-monospace, monospace; color: #60a5fa; font-size: 0.9375rem; }
.support-ticket-subject { margin: 0 0 8px; font-size: 1.25rem; color: #e5e7eb; }
.support-ticket-meta { margin: 0 0 20px; font-size: 0.875rem; color: #94a3b8; }
.support-ticket-message { margin-bottom: 20px; }
.support-message {
  padding: 16px; border-radius: 10px; margin-bottom: 12px; font-size: 0.9375rem; line-height: 1.6;
}
.support-message-user { background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.25); }
.support-message-staff { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.25); }
.support-message strong { display: block; margin-bottom: 6px; color: #e5e7eb; }
.support-message p { margin: 0; color: #cbd5e1; white-space: pre-wrap; }
.support-reply-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, 0.25); }
.support-reply-form .form-field { margin-bottom: 14px; }
.support-error { color: #f87171; font-size: 0.875rem; margin-top: 10px; }
.support-contact-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(148, 163, 184, 0.3); text-align: center; color: #94a3b8; font-size: 0.9375rem; }
.support-contact-footer a { color: #60a5fa; text-decoration: none; }
.support-contact-footer a:hover { text-decoration: underline; }

/* Help Center page */
.help-center-page { max-width: 860px; margin: 0 auto; padding: 48px 24px 72px; }
.help-search-wrap { margin-top: 24px; max-width: 480px; }
.help-search-inner {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: rgba(15, 23, 42, 0.85); border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s;
}
.help-search-inner:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }
.help-search-icon { flex-shrink: 0; color: #94a3b8; }
.help-search-input { flex: 1; background: transparent; border: none; color: #e5e7eb; font-size: 0.9375rem; outline: none; }
.help-search-input::placeholder { color: #64748b; }
.help-section-title { font-size: 1.35rem; margin: 0 0 24px; color: #e5e7eb; }
.help-topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.help-topic-card {
  display: block; padding: 24px; text-decoration: none; color: inherit;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.help-topic-card:hover { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.35); transform: translateY(-2px); }
.help-topic-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; background: rgba(59, 130, 246, 0.15); }
.help-topic-icon-svg { color: #60a5fa; }
.help-topic-title { font-size: 1.1rem; margin: 0 0 8px; color: #e5e7eb; }
.help-topic-desc { font-size: 0.875rem; margin: 0; color: #94a3b8; line-height: 1.5; }
.help-topics { margin-bottom: 48px; }
.help-popular { margin-bottom: 48px; }
.help-popular-list { display: flex; flex-direction: column; gap: 12px; }
.help-popular-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px; color: #e5e7eb; text-decoration: none; font-size: 0.9375rem;
  transition: background 0.2s, border-color 0.2s;
}
.help-popular-item:hover { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); }
.help-popular-icon { flex-shrink: 0; color: #60a5fa; }
.help-guides { margin-bottom: 48px; }
.help-guides-list { display: flex; flex-direction: column; gap: 20px; }
.help-guide-card { padding: 24px; }
.help-guide-title { font-size: 1.1rem; margin: 0 0 16px; color: #e5e7eb; }
.help-guide-steps { margin: 0; padding-left: 22px; color: #cbd5e1; font-size: 0.9375rem; line-height: 1.75; }
.help-guide-steps li { margin-bottom: 10px; }
.help-guide-steps a { color: #60a5fa; text-decoration: none; }
.help-guide-steps a:hover { text-decoration: underline; }
.help-faq-section { margin-bottom: 48px; }
.help-faq-section .faq-sections { display: flex; flex-direction: column; gap: 24px; }
.help-search-result-count { color: #94a3b8; font-size: 0.9375rem; margin: -8px 0 24px; }
.help-no-results { padding: 32px; text-align: center; }
.help-no-results a { color: #60a5fa; text-decoration: none; }
.help-no-results a:hover { text-decoration: underline; }
.help-contact-section { margin-bottom: 48px; }
.help-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.help-contact-card { padding: 24px; text-align: center; }
.help-contact-icon { color: #60a5fa; margin-bottom: 12px; }
.help-contact-title { font-size: 1rem; margin: 0 0 8px; color: #e5e7eb; }
.help-contact-desc { font-size: 0.875rem; margin: 0 0 16px; color: #94a3b8; line-height: 1.5; }
.help-address { padding: 24px; margin-top: 24px; }
.help-address-title { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin: 0 0 12px; color: #e5e7eb; }
.help-address-icon { color: #60a5fa; }
.help-address-text { margin: 0; font-size: 0.9375rem; color: #94a3b8; line-height: 1.7; }
.help-links { margin-bottom: 0; }
.help-links-list { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.help-link { color: #60a5fa; text-decoration: none; font-size: 0.9375rem; }
.help-link:hover { text-decoration: underline; }

/* Deals page – نمایندگان و نمونه قراردادها */
.deals-page { max-width: 900px; }
.deals-section { margin-bottom: 48px; }
.deals-section-title { font-size: 1.35rem; margin: 0 0 10px; color: #e5e7eb; display: flex; align-items: center; gap: 10px; }
.deals-section-desc { color: #94a3b8; margin: 0 0 24px; line-height: 1.6; font-size: 0.9375rem; }
.deals-section-desc a { color: #60a5fa; text-decoration: none; }
.deals-section-desc a:hover { text-decoration: underline; }
.deals-reps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.deals-rep-card { padding: 22px; text-align: center; }
.deals-rep-logo-wrap { margin-bottom: 14px; }
.deals-rep-logo { max-width: 80px; max-height: 80px; object-fit: contain; }
.deals-rep-logo-placeholder { width: 72px; height: 72px; margin: 0 auto; border-radius: 12px; background: rgba(59, 130, 246, 0.15); display: flex; align-items: center; justify-content: center; }
.deals-rep-logo-icon { color: #3b82f6; }
.deals-rep-name { margin: 0 0 6px; font-size: 1.1rem; color: #e5e7eb; }
.deals-rep-company { margin: 0 0 8px; font-size: 0.875rem; color: #94a3b8; }
.deals-rep-region { margin: 0 0 12px; font-size: 0.875rem; color: #cbd5e1; display: flex; align-items: center; justify-content: center; gap: 6px; }
.deals-rep-meta-icon { color: #64748b; flex-shrink: 0; }
.deals-rep-contact { margin: 0 0 4px; font-size: 0.875rem; }
.deals-rep-contact a { color: #60a5fa; text-decoration: none; }
.deals-rep-contact a:hover { text-decoration: underline; }
.deals-contract-list { display: flex; flex-direction: column; gap: 24px; }
.deals-contract-card { padding: 24px; }
.deals-contract-title { margin: 0 0 10px; font-size: 1.15rem; color: #e5e7eb; }
.deals-contract-summary { margin: 0 0 16px; color: #94a3b8; font-size: 0.9375rem; line-height: 1.5; }
.deals-contract-body { color: #cbd5e1; font-size: 0.9375rem; line-height: 1.65; }
.deals-contract-body p { margin: 0 0 12px; }
.deals-contract-body p:last-child { margin-bottom: 0; }
.deals-contract-body ul { margin: 0 0 12px 20px; padding: 0; }
.deals-contract-body li { margin-bottom: 8px; }
.deals-contract-body a { color: #60a5fa; text-decoration: none; }
.deals-contract-body a:hover { text-decoration: underline; }
.deals-contract-body em { color: #94a3b8; }
.deals-cta { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(148, 163, 184, 0.3); text-align: center; color: #94a3b8; font-size: 0.9375rem; }
.deals-cta a { color: #60a5fa; text-decoration: none; }
.deals-cta a:hover { text-decoration: underline; }

/* Legal pages (Terms, Privacy) */
.legal-page { max-width: 720px; margin: 0 auto; padding: 48px 24px 72px; }
.legal-title { font-size: 1.75rem; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
.legal-title-icon { color: #3b82f6; }
.legal-updated { color: #94a3b8; font-size: 0.9375rem; margin-bottom: 40px; }
.legal-content { display: flex; flex-direction: column; gap: 28px; }
.legal-section { background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 14px; overflow: hidden; padding: 24px 28px; }
.legal-section h2 { font-size: 1.1rem; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(148, 163, 184, 0.2); }
/* Process guides – نمودارهای فرآیند */
.process-guides-page { max-width: 820px; }
.process-guide-section { margin-bottom: 32px; padding: 24px 28px; }
.process-guide-title { font-size: 1.2rem; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(148, 163, 184, 0.25); color: #e2e8f0; }
.process-guide-section p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.65; margin: 0 0 16px; }
.process-guide-section a { color: #60a5fa; }
.process-guide-section code { background: rgba(15, 23, 42, 0.8); padding: 2px 6px; border-radius: 4px; font-size: 0.875rem; }
.mermaid-wrap { margin: 16px 0; padding: 20px; background: rgba(2, 6, 23, 0.6); border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.2); overflow-x: auto; }
.mermaid-wrap .mermaid { display: flex; justify-content: center; }
.process-steps-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.9rem; color: #cbd5e1; }
.process-steps-table th, .process-steps-table td { padding: 10px 14px; text-align: right; border: 1px solid rgba(148, 163, 184, 0.2); }
.process-steps-table th { background: rgba(15, 23, 42, 0.8); color: #e2e8f0; }
.process-steps-table td:first-child { width: 48px; text-align: center; font-weight: 600; color: #94a3b8; }
.process-guides-note { font-size: 0.875rem; color: #64748b; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, 0.2); }
.legal-section p { margin: 0 0 14px; color: #cbd5e1; font-size: 0.9375rem; line-height: 1.65; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 0 0 12px 20px; padding: 0; color: #cbd5e1; font-size: 0.9375rem; line-height: 1.65; }
.legal-section li { margin-bottom: 6px; }
.legal-section a { color: #60a5fa; text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
.legal-address { margin: 12px 0 0; font-style: normal; color: #94a3b8; font-size: 0.9375rem; line-height: 1.7; }
.legal-address a { color: #60a5fa; }
.legal-nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(148, 163, 184, 0.3); display: flex; gap: 20px; flex-wrap: wrap; }
.legal-nav a { color: #60a5fa; text-decoration: none; font-size: 0.9375rem; }
.legal-nav a:hover { text-decoration: underline; }

/* About page */
.about-hero .hero-title { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.about-page { padding: 0 24px 72px; }
.about-container { max-width: 800px; margin: 0 auto; }
.about-intro { margin-bottom: 40px; }
.about-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin: 0 0 20px;
  font-weight: 500;
}
.about-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #cbd5e1;
  margin: 0 0 16px;
}
.about-text:last-child { margin-bottom: 0; }
.about-mission {
  background: linear-gradient(135deg, rgba(15, 45, 66, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.6), transparent);
}
.about-mission-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 14px;
}
.about-mission-icon-svg { color: #22d3ee; }
.about-mission-title {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-mission-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0;
  line-height: 1.4;
}
.about-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.about-values { margin-bottom: 40px; }
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-value-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.about-value-card:hover { border-color: rgba(6, 182, 212, 0.4); transform: translateY(-2px); }
.about-value-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.about-value-icon-svg { color: #06b6d4; }
.about-value-title { font-size: 1rem; font-weight: 600; color: #e5e7eb; margin: 0 0 8px; }
.about-value-desc { font-size: 0.875rem; color: #94a3b8; margin: 0; line-height: 1.5; }
.about-why { margin-bottom: 40px; }
.about-why-list {
  margin: 0;
  padding-left: 1.35rem;
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.about-why-list li { margin-bottom: 10px; }
.about-why-list li:last-child { margin-bottom: 0; }
.about-why-list a { color: #38bdf8; text-decoration: none; }
.about-why-list a:hover { text-decoration: underline; }
.about-legal {
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 8px;
}
.about-legal-text { font-size: 0.9rem; color: #94a3b8; margin: 0; line-height: 1.6; }
.about-legal-text a { color: #38bdf8; text-decoration: none; }
.about-legal-text a:hover { text-decoration: underline; }
.about-services { margin-bottom: 48px; }
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.about-service-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.about-service-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}
.about-service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 12px;
}
.about-service-icon-svg { color: #60a5fa; }
.about-service-title {
  font-size: 1rem;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0 0 8px;
}
.about-service-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}
.about-cta {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}
.about-cta-text {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0 0 20px;
}
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .about-page { padding: 0 16px 48px; }
  .about-mission { padding: 28px 24px; }
  .about-mission-text { font-size: 1.2rem; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-service-card { padding: 20px 16px; }
}

/* ========== Special Thanks page ========== */
.special-thanks-page { min-height: 100vh; }
.thanks-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 56px;
  overflow: hidden;
}
.thanks-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0c1929 0%, #0f2d42 25%, #0a1628 50%, #0f3d5c 75%, #0c1929 100%);
  background-size: 400% 400%;
  animation: thanksGradient 12s ease infinite;
}
.thanks-hero-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(6, 182, 212, 0.06) 45%, transparent 55%);
  animation: thanksShine 4s ease-in-out 1s;
  pointer-events: none;
}
.thanks-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.thanks-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  animation: thanksFloat 6s ease-in-out infinite;
}
.thanks-particle-1 { width: 80px; height: 80px; top: 15%; left: 10%; animation-delay: 0s; }
.thanks-particle-2 { width: 40px; height: 40px; top: 25%; right: 15%; animation-delay: 1s; }
.thanks-particle-3 { width: 60px; height: 60px; bottom: 20%; left: 20%; animation-delay: 2s; }
.thanks-particle-4 { width: 50px; height: 50px; bottom: 30%; right: 10%; animation-delay: 0.5s; }
.thanks-particle-5 { width: 30px; height: 30px; top: 50%; left: 5%; animation-delay: 3s; }
.thanks-particle-6 { width: 45px; height: 45px; top: 60%; right: 25%; animation-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) {
  .thanks-hero-bg { animation: none; }
  .thanks-hero-shine { animation: none; }
  .thanks-particle { animation: none; opacity: 0.5; }
}
.thanks-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}
.thanks-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #22d3ee;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0;
  animation: thanksFadeUp 0.8s ease-out 0.2s forwards;
}
.thanks-badge-icon { font-size: 1rem; }
.thanks-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: thanksFadeUp 0.8s ease-out 0.35s forwards;
}
.thanks-hero-sub {
  color: #94a3b8;
  font-size: 1.1rem;
  margin: 0;
  opacity: 0;
  animation: thanksFadeUp 0.8s ease-out 0.5s forwards;
}
.thanks-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
  position: relative;
  z-index: 1;
}
.thanks-card {
  position: relative;
  border-radius: 20px;
  padding: 40px 36px;
  margin-bottom: 40px;
  overflow: hidden;
}
.thanks-card-main {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 45, 66, 0.4) 100%);
  border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.thanks-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
  animation: thanksGlow 8s ease-in-out infinite;
}
.thanks-name-wrap { margin-bottom: 24px; }
.thanks-name {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.thanks-role {
  color: #06b6d4;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}
.thanks-tagline {
  color: #94a3b8;
  font-size: 1rem;
  margin: 8px 0 0;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.thanks-quote {
  border-left: 3px solid rgba(6, 182, 212, 0.6);
  padding-left: 24px;
  margin-left: 4px;
}
.thanks-quote-text {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}
.thanks-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.thanks-section-icon { color: #06b6d4; font-size: 0.9rem; }
.thanks-bio-intro {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px;
}
.thanks-bio-list { list-style: none; margin: 0; padding: 0; }
.thanks-bio-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.65;
}
.thanks-bio-item:last-child { border-bottom: none; }
.thanks-bio-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 12px;
}
.thanks-bio-icon-svg { color: #06b6d4; }
.thanks-igb { margin: 40px 0; }
.thanks-igb-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}
.thanks-igb-icon-wrap { margin-bottom: 16px; }
.thanks-igb-icon { color: #22d3ee; }
.thanks-igb-title {
  font-size: 1rem;
  font-weight: 600;
  color: #06b6d4;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.thanks-igb-text {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
.thanks-cta {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.thanks-cta-text {
  font-size: 1.1rem;
  color: #94a3b8;
  margin: 0 0 24px;
  font-style: italic;
}
.thanks-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
}

/* Message from the Chairman */
.thanks-vision { margin-bottom: 40px; }
.thanks-vision-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.thanks-vision-icon { color: #06b6d4; font-size: 0.9rem; }
.thanks-vision-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 45, 66, 0.25) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 16px;
  padding: 32px 36px 28px;
  position: relative;
}
.thanks-vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
  border-radius: 16px 16px 0 0;
}
.thanks-vision-lead {
  color: #e2e8f0;
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0 0 20px;
  font-weight: 500;
}
.thanks-vision-lead strong { color: #22d3ee; font-weight: 600; }
.thanks-vision-p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0 0 18px;
}
.thanks-vision-close {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0 0 24px;
  font-style: italic;
}
.thanks-vision-sign {
  color: #06b6d4;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}
.thanks-anim-4b { opacity: 0; animation: thanksFadeUp 0.7s ease-out 0.22s forwards; }
@media (max-width: 640px) {
  .thanks-vision-card { padding: 24px 20px 20px; }
  .thanks-vision-lead, .thanks-vision-p, .thanks-vision-close { font-size: 1rem; }
}

.thanks-anim-4 { opacity: 0; animation: thanksFadeUp 0.7s ease-out 0.15s forwards; }
.thanks-anim-5 { opacity: 0; animation: thanksFadeUp 0.7s ease-out 0.25s forwards; }
.thanks-anim-6 { opacity: 0; animation: thanksFadeUp 0.7s ease-out 0.35s forwards; }
.thanks-anim-7 { opacity: 0; animation: thanksFadeUp 0.7s ease-out 0.45s forwards; }
@media (max-width: 640px) {
  .thanks-hero { min-height: 36vh; padding: 48px 16px 40px; }
  .thanks-content { padding: 0 16px 56px; }
  .thanks-card-main { padding: 28px 20px; }
  .thanks-quote { padding-left: 16px; }
  .thanks-bio-item { flex-direction: column; gap: 12px; padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .thanks-anim-4, .thanks-anim-4b, .thanks-anim-5, .thanks-anim-6, .thanks-anim-7 { animation: fadeIn 0.5s ease-out forwards; }
}

/* ========== Designer page (no nav link) ========== */
.designer-page { min-height: 100vh; }
.designer-hero {
  position: relative;
  min-height: 36vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 48px;
  overflow: hidden;
}
.designer-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a1628 0%, #0f2d42 40%, #0c2235 70%, #0a1628 100%);
}
.designer-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}
.designer-badge {
  color: #38bdf8;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  opacity: 0;
  animation: thanksFadeUp 0.7s ease-out 0.15s forwards;
}
.designer-title {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: thanksFadeUp 0.7s ease-out 0.25s forwards;
}
.designer-hero-sub {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
  opacity: 0;
  animation: thanksFadeUp 0.7s ease-out 0.35s forwards;
}
.designer-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 64px;
  position: relative;
  z-index: 1;
}
.designer-intro-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 45, 66, 0.35) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 16px;
  padding: 32px 32px 28px;
  margin-bottom: 36px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: thanksFadeUp 0.6s ease-out 0.1s forwards;
}
.designer-name {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 4px;
}
.designer-role {
  color: #38bdf8;
  font-size: 1rem;
  margin: 0 0 20px;
}
.designer-intro-text {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 16px;
}
.designer-intro-links { margin: 0; }
.designer-link {
  color: #38bdf8;
  text-decoration: none;
}
.designer-link:hover { text-decoration: underline; }
.designer-sep { color: #64748b; margin: 0 8px; }
.designer-section {
  margin-bottom: 32px;
  opacity: 0;
  animation: thanksFadeUp 0.6s ease-out forwards;
}
.designer-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.designer-section-icon { color: #38bdf8; font-size: 0.75rem; }
.designer-section-intro {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}
.designer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}
.designer-list li {
  padding: 6px 0;
  padding-left: 1.2em;
  position: relative;
}
.designer-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #38bdf8;
}
.designer-list-compact .designer-list li { padding: 4px 0; }
.designer-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.designer-skill-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 20px 20px;
}
.designer-skill-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 10px;
}
.designer-skill-text {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.designer-contact { margin-top: 24px; }
.designer-contact-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 24px 24px;
  text-align: center;
}
.designer-contact-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.designer-contact-item {
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.designer-contact-item a { color: #38bdf8; text-decoration: none; }
.designer-contact-item a:hover { text-decoration: underline; }
.designer-footer-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  text-align: center;
}
.designer-footer-text {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}
.designer-anim-5 { animation-delay: 0.15s; }
.designer-anim-6 { animation-delay: 0.2s; }
.designer-anim-7 { animation-delay: 0.25s; }
.designer-anim-8 { animation-delay: 0.3s; }
.designer-anim-9 { animation-delay: 0.35s; }
@media (max-width: 640px) {
  .designer-hero { min-height: 30vh; padding: 40px 16px 36px; }
  .designer-content { padding: 0 16px 48px; }
  .designer-intro-card { padding: 24px 20px; }
  .designer-skills-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .designer-badge, .designer-title, .designer-hero-sub, .designer-intro-card, .designer-section { animation: fadeIn 0.4s ease-out forwards; }
}

.placeholder-page .placeholder-content { margin-top: 0; }
.placeholder-text { color: #cbd5e1; font-size: 0.9375rem; line-height: 1.65; margin: 0 0 20px; }
.placeholder-content .primary-btn { margin-top: 8px; }
.footer-terms-link { font-weight: 600; }

/* Telegram bot guide page */
.telegram-guide-page .telegram-cta {
  margin-bottom: 40px;
  text-align: center;
}
.telegram-guide-page .telegram-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 1rem;
}
.telegram-cta-icon { flex-shrink: 0; }
.telegram-commands-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.telegram-commands-table th,
.telegram-commands-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.telegram-commands-table th { color: #94a3b8; font-weight: 500; }
.telegram-commands-table code { font-size: 0.875rem; }
.telegram-guide-page .telegram-code {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0 16px;
  overflow-x: auto;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.875rem;
  color: #e2e8f0;
}
.telegram-guide-page .telegram-examples h3 { font-size: 1rem; margin: 20px 0 8px; }
.legal-numbered-list { margin: 0 0 12px 24px; padding: 0; }
.legal-numbered-list li { margin-bottom: 8px; }
.legal-section-note { margin-top: -8px !important; font-size: 0.875rem !important; color: #94a3b8 !important; }
.telegram-footer-cta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Partnership page – forms and track */
.partnership-page .partnership-tabs { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.partnership-tab {
  padding: 12px 20px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent; color: #94a3b8; font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.partnership-tab:hover { background: rgba(59, 130, 246, 0.1); color: #e5e7eb; }
.partnership-tab.active { background: rgba(59, 130, 246, 0.2); color: #e5e7eb; border-color: #3b82f6; }

.partnership-tab-featured {
  border-color: rgba(6, 182, 212, 0.5);
  color: #67e8f9;
  font-weight: 600;
}
.partnership-tab-featured:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.7);
  color: #a5f3fc;
}
.partnership-tab-featured.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(59, 130, 246, 0.25));
  border-color: #06b6d4;
  color: #fff;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
}
.partnership-desc { color: #94a3b8; margin: 0 0 20px; line-height: 1.5; }
.partnership-create-account { margin-bottom: 12px; }
.partnership-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.875rem; color: #94a3b8; margin: 0; }
.partnership-checkbox-label input[type="checkbox"] { width: auto; margin: 0; }
.partnership-account-created { color: #86efac; margin: 0 0 12px; }
.partnership-form .form-field { margin-bottom: 18px; }
.partnership-form .form-field label { display: block; margin-bottom: 6px; font-size: 0.875rem; color: #94a3b8; }
.partnership-input {
  width: 100%; max-width: 400px; padding: 12px 16px; border-radius: 10px;
  background: rgba(2, 6, 23, 0.6); border: 1px solid rgba(148, 163, 184, 0.4); color: #e5e7eb; font-size: 0.9375rem;
}
.partnership-textarea { min-height: 100px; resize: vertical; max-width: 100%; }
.partnership-form .primary-btn { margin-top: 8px; }
.partnership-success { margin-bottom: 24px; }
.partnership-success p { margin: 0 0 12px; }
.partnership-success .primary-btn { margin-right: 12px; }
.partnership-track-link { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(148, 163, 184, 0.2); }
.partnership-track-link a { color: #60a5fa; text-decoration: none; }
.partnership-track-link a:hover { text-decoration: underline; }
.partnership-track-form { margin-bottom: 28px; max-width: 400px; }
.partnership-status-card { max-width: 480px; margin-bottom: 28px; }
.partnership-status-title { font-size: 1.1rem; margin: 0 0 16px; }
.partnership-status-list { margin: 0; display: grid; gap: 8px 16px; grid-template-columns: auto 1fr; font-size: 0.9375rem; }
.partnership-status-list dt { color: #94a3b8; }
.partnership-status-list dd { margin: 0; color: #e5e7eb; }
.partnership-status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.partnership-status-badge.status-pending { background: rgba(148, 163, 184, 0.3); color: #cbd5e1; }
.partnership-status-badge.status-underreview { background: rgba(59, 130, 246, 0.3); color: #93c5fd; }
.partnership-status-badge.status-approved { background: rgba(34, 197, 94, 0.3); color: #86efac; }
.partnership-status-badge.status-rejected { background: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.partnership-status-badge.status-documentsrequested { background: rgba(245, 158, 11, 0.3); color: #fcd34d; }

/* Visa page */
.visa-page { max-width: 800px; }
.visa-tabs { margin-bottom: 28px; }
.visa-section { margin-bottom: 28px; }
.visa-section-title { font-size: 1.1rem; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(148, 163, 184, 0.2); color: #e5e7eb; }
.visa-form .widget-body { padding: 24px; }
.visa-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px 24px; }
.visa-form .form-field { margin-bottom: 0; }
.visa-form .form-field label { display: block; margin-bottom: 6px; font-size: 0.875rem; color: #94a3b8; }
.visa-input, .visa-select { width: 100%; min-height: 44px; padding: 12px 16px; box-sizing: border-box; background: rgba(2, 6, 23, 0.6); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 8px; color: #e5e7eb; font-size: 0.9375rem; }
.visa-input:focus, .visa-select:focus { outline: none; border-color: #3b82f6; }
.visa-textarea { min-height: 80px; resize: vertical; }
.form-field-full { grid-column: 1 / -1; }
.visa-docs-desc { color: #94a3b8; font-size: 0.9375rem; margin: 0 0 16px; line-height: 1.5; }
.visa-docs-list { display: flex; flex-direction: column; gap: 12px; }
.visa-doc-item { display: flex; align-items: center; gap: 12px; cursor: pointer; color: #cbd5e1; font-size: 0.9375rem; }
.visa-doc-item:hover { color: #e5e7eb; }
.partnership-status-message { margin: 16px 0 0; padding: 14px; background: rgba(59, 130, 246, 0.1); border-radius: 10px; color: #cbd5e1; line-height: 1.5; }

/* Insurance page */
.insurance-page { max-width: 900px; }
.insurance-types { margin-bottom: 40px; }
.insurance-types-grid { margin-top: 16px; }
.insurance-checkboxes { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.insurance-suggestions { margin-top: 24px; padding: 20px; background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.3); }
.insurance-suggestions-text { margin: 0; color: #cbd5e1; font-size: 0.9375rem; line-height: 1.65; }

/* eSIM page */
.esim-page { max-width: 900px; }
.esim-cond-title { font-size: 1rem; margin: 20px 0 10px; color: #e5e7eb; }
.esim-cond-title:first-child { margin-top: 0; }
.esim-cond-list { margin: 0 0 16px 20px; padding: 0; color: #cbd5e1; font-size: 0.9375rem; line-height: 1.65; }
.esim-cond-list li { margin-bottom: 6px; }
.esim-cond-list code { background: rgba(15, 23, 42, 0.9); padding: 2px 6px; border-radius: 4px; font-size: 0.875em; }
.esim-cond-p { margin: 0; color: #cbd5e1; font-size: 0.9375rem; line-height: 1.65; }

/* Travel Guide page */
.travel-guide-page { max-width: 900px; }
.travel-guide-link { color: #60a5fa; text-decoration: none; font-weight: 600; }
.travel-guide-link:hover { text-decoration: underline; }
.travel-guide-cta .tour-category-card { cursor: pointer; }

/* Travel Robot page */
.travel-robot-page { max-width: 900px; }
.travel-robot-origin { margin-bottom: 20px; }
.travel-robot-origin label { display: block; margin-bottom: 8px; font-size: 0.875rem; color: #94a3b8; }
.travel-robot-origin-row { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.travel-robot-origin-input { flex: 1; min-width: 200px; }
.travel-robot-geo-btn { white-space: nowrap; flex-shrink: 0; }
.travel-robot-error { margin: 8px 0 0; font-size: 0.875rem; color: #f87171; }
.form-hint { font-size: 0.8rem; color: #94a3b8; margin-top: 4px; display: block; }
.travel-robot-results { margin-top: 32px; }
.travel-robot-card { display: flex; flex-direction: column; text-align: center; }
.travel-robot-card-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.travel-robot-btn { font-size: 0.875rem; padding: 8px 14px; text-decoration: none; display: inline-block; }

/* Tour & Train pages – category cards */
.tour-categories { padding: 48px 0 56px; }
.tour-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tour-category-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tour-category-card:hover { border-color: rgba(59, 130, 246, 0.4); transform: translateY(-2px); }
.tour-cat-emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.tour-category-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: #e5e7eb; }
.tour-category-card p { margin: 0; font-size: 0.85rem; color: #94a3b8; line-height: 1.4; }
@media (max-width: 1024px) { .tour-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tour-cards-grid { grid-template-columns: 1fr; } }

/* API Guide page – code blocks and section headings */
.api-guide-page .legal-section h3 { font-size: 1rem; margin: 16px 0 8px; padding: 0; border: none; }
.api-guide-page .api-code { background: #0f172a; border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 8px; padding: 14px 18px; overflow-x: auto; margin: 8px 0 16px; font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace; font-size: 0.8125rem; line-height: 1.5; color: #e2e8f0; white-space: pre-wrap; word-break: break-word; }
.api-guide-page .api-code code { background: none; padding: 0; font-size: inherit; }
.api-guide-page .legal-section code:not(.api-code code) { background: rgba(15, 23, 42, 0.9); padding: 2px 6px; border-radius: 4px; font-size: 0.875em; }
.sandbox-steps { margin: 12px 0; padding-left: 1.5rem; color: #cbd5e1; }
.sandbox-steps li { margin: 8px 0; }
.sandbox-baseurl { font-size: 1rem; word-break: break-all; }

/* API Documentation page – tables and conditions */
.api-docs-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.9rem; color: #cbd5e1; }
.api-docs-table th, .api-docs-table td { padding: 10px 14px; text-align: left; border: 1px solid rgba(148, 163, 184, 0.25); }
.api-docs-table th { background: rgba(30, 41, 59, 0.8); font-weight: 600; color: #e2e8f0; }
.api-docs-table td code { background: rgba(15, 23, 42, 0.9); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; }
.api-docs-conditions, .api-docs-steps { margin: 12px 0 20px; padding-left: 1.5rem; color: #cbd5e1; }
.api-docs-conditions li, .api-docs-steps li { margin: 10px 0; line-height: 1.6; }
.api-docs-conditions li strong, .api-docs-steps li strong { color: #e2e8f0; }
/* API Guide – table of contents */
.api-guide-toc { margin: 24px 0 32px; padding: 20px 24px; background: linear-gradient(145deg, rgba(59, 130, 246, 0.12), rgba(6, 182, 212, 0.06)); border: 1px solid rgba(59, 130, 246, 0.25); border-radius: 14px; }
.api-guide-toc-title { margin: 0 0 14px; font-size: 1rem; font-weight: 600; color: #e2e8f0; }
.api-guide-toc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px 20px; }
.api-guide-toc-grid a { color: #60a5fa; text-decoration: none; font-size: 0.9rem; padding: 6px 0; }
.api-guide-toc-grid a:hover { text-decoration: underline; color: #93c5fd; }

/* API Guide – highlight section (test API) */
.api-guide-section-highlight { border-color: rgba(59, 130, 246, 0.35); background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.9)); }

/* API Guide – callouts */
.api-guide-callout { margin: 16px 0; padding: 16px 20px; border-radius: 12px; font-size: 0.9375rem; line-height: 1.6; }
.api-guide-callout strong { display: block; margin-bottom: 6px; }
.api-guide-callout a { color: inherit; text-decoration: underline; }
.api-guide-callout-info { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35); color: #e2e8f0; }
.api-guide-callout-info a { color: #93c5fd; }
.api-guide-callout-tip { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3); color: #d1fae5; }
.api-guide-callout-tip a { color: #6ee7b7; }

/* API Guide – bottom quick jump */
.api-guide-nav { margin-top: 40px; padding: 24px 28px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 14px; }
.api-guide-nav-label { margin: 0 0 12px; font-size: 0.85rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; }
.api-guide-nav-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.api-guide-nav-links a { color: #60a5fa; text-decoration: none; font-size: 0.9375rem; }
.api-guide-nav-links a:hover { text-decoration: underline; color: #93c5fd; }

/* Payment methods page */
.payment-page { max-width: 800px; margin: 0 auto; padding: 48px 24px 72px; }
.payment-title { font-size: 1.75rem; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
.payment-title-icon { color: #3b82f6; }
.payment-intro { color: #94a3b8; margin-bottom: 40px; line-height: 1.6; }

.charge-page { max-width: 560px; margin: 0 auto; padding: 32px 24px 64px; }
.charge-form .form-field { margin-bottom: 20px; }
.charge-form .form-field label { display: block; margin-bottom: 6px; color: #94a3b8; font-size: 0.875rem; }
.charge-input { width: 100%; padding: 10px 14px; border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 8px; background: rgba(15, 23, 42, 0.6); color: #e2e8f0; font-size: 1rem; }
.charge-form .form-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.charge-footer-note { margin-top: 20px; font-size: 0.8rem; color: #64748b; }
.charge-message { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; }
.charge-message.success { background: rgba(34, 197, 94, 0.15); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }
.charge-message.error { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

.guide-page { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.guide-content { display: flex; flex-direction: column; gap: 24px; }
.guide-hero .hero-subtitle { max-width: 540px; }
.guide-card { padding: 24px; border-radius: 16px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.guide-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
.guide-card-icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: rgba(59, 130, 246, 0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.guide-card-icon-svg { color: #60a5fa; }
.guide-card-title { font-size: 1.25rem; margin: 0 0 12px; color: #e5e7eb; }
.guide-list, .guide-steps { margin: 0; padding-left: 1.25rem; color: #cbd5e1; line-height: 1.7; }
.guide-list li, .guide-steps li { margin-bottom: 8px; }
.guide-text { margin: 0; color: #cbd5e1; line-height: 1.7; }
.guide-link { color: #60a5fa; text-decoration: none; }
.guide-link:hover { text-decoration: underline; }
.guide-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.guide-cta-btn { display: inline-flex; align-items: center; gap: 8px; }
.guide-cta-icon { flex-shrink: 0; }

.mail-page { max-width: 900px; margin: 0 auto; padding: 32px 24px 64px; }
.mail-toolbar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.mail-table .mail-from, .mail-table .mail-subject { color: #e2e8f0; text-decoration: none; }
.mail-table .mail-from:hover, .mail-table .mail-subject:hover { text-decoration: underline; }
.mail-table tr.mail-unread .mail-subject { font-weight: 600; }
.mail-compose-form .form-field { margin-bottom: 20px; }
.mail-compose-form .mail-body { min-height: 160px; resize: vertical; }
.mail-read-meta { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(148, 163, 184, 0.25); color: #94a3b8; font-size: 0.9rem; }
.mail-read-meta p { margin: 4px 0; }
.mail-read-body { white-space: pre-wrap; word-break: break-word; line-height: 1.6; margin-bottom: 24px; }
.payment-layers { display: flex; flex-direction: column; gap: 32px; }
.payment-layer { background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 16px; padding: 32px; }
.payment-layer-title { font-size: 1.25rem; margin: 0 0 12px; color: #e5e7eb; }
.payment-layer-desc { color: #94a3b8; font-size: 0.9375rem; margin-bottom: 24px; line-height: 1.55; }
.payment-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.payment-gateway-card {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.payment-gateway-card:hover { border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); }
.payment-gateway-card.gateway-highlight { border-color: rgba(0, 184, 148, 0.5); background: rgba(0, 184, 148, 0.05); }
.gateway-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.gateway-name { font-weight: 700; font-size: 1.1rem; color: #e5e7eb; }
.gateway-badge { font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; background: rgba(59, 130, 246, 0.3); color: #93c5fd; font-weight: 600; }
.gateway-badge-green { background: rgba(0, 184, 148, 0.3); color: #5eead4; }
.gateway-badge-gold { background: rgba(245, 158, 11, 0.3); color: #fcd34d; }
.payment-gateway-card p { margin: 0 0 8px; font-size: 0.9375rem; color: #cbd5e1; }
.gateway-fee { font-size: 0.875rem !important; color: #94a3b8 !important; }
.gateway-link { color: #60a5fa; text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
.gateway-link:hover { text-decoration: underline; }
.payment-wallet {
  margin-top: 40px;
  padding: 24px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
}
.payment-wallet h3 { font-size: 1.1rem; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.wallet-icon { color: #3b82f6; }
.payment-wallet p { margin: 0; color: #cbd5e1; font-size: 0.9375rem; line-height: 1.6; }
.payment-nav { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(148, 163, 184, 0.3); display: flex; gap: 24px; flex-wrap: wrap; }
.payment-nav a { color: #60a5fa; text-decoration: none; font-size: 0.9375rem; }
.payment-nav a:hover { text-decoration: underline; }
.footer-partners {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right));
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: flex-start;
  justify-content: center;
}
.footer-partners-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-partners-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.footer-partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: center;
}
.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}
.footer-partner:hover {
  border-color: rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
}
.footer-partner img {
  height: 22px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  vertical-align: middle;
}
.footer-partner-name {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .footer-partners { flex-direction: column; padding-left: 16px; padding-right: 16px; }
  .footer-partners-logos { gap: 8px 14px; }
  .footer-partner { padding: 5px 10px; font-size: 0.75rem; }
  .footer-partner img { height: 18px; max-width: 64px; }
}
.footer-bottom {
  max-width: 1120px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #64748b;
  font-size: 0.875rem;
}

.page-container { flex: 1; padding: 0 0 24px; }
.page-not-found { padding: 48px 20px; text-align: center; }

.app-error-screen {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center; background: var(--bg-page, #0f172a); color: #e2e8f0;
}
.app-error-screen h1 { font-size: 1.5rem; margin: 0 0 12px; }
.app-error-screen p { color: #94a3b8; margin: 0 0 20px; }
.app-error-detail { font-size: 0.8125rem; color: #64748b; word-break: break-word; max-width: 360px; margin-left: auto; margin-right: auto; }
.app-error-hint { font-size: 0.8125rem; color: #64748b; margin-bottom: 8px !important; }
.app-error-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.9; }
.app-error-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.app-error-screen .primary-btn, .app-error-screen .ghost-btn { display: inline-block; }

/* صفحات خطا و عدم دسترسی و 404 */
.app-not-authorized, .app-not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: var(--bg-page, #0f172a);
  color: #e2e8f0;
}
.app-not-authorized h1, .app-not-found h1 { font-size: 1.5rem; margin: 0 0 12px; }
.app-not-authorized p, .app-not-found p { color: #94a3b8; margin: 0 0 20px; max-width: 420px; }
.app-not-authorized-icon, .app-not-found-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.9;
}
.app-not-found-icon { font-size: 2.5rem; font-weight: 700; color: #64748b; }
.app-not-authorized-actions, .app-not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.app-not-authorized-actions .primary-btn, .app-not-authorized-actions .ghost-btn,
.app-not-found-actions .primary-btn, .app-not-found-actions .ghost-btn { display: inline-block; }

/* بنر به‌روزرسانی نسخه */
.version-update-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-bottom: 1px solid rgba(6, 182, 212, 0.4);
  color: #e2e8f0;
  font-size: 0.9rem;
  text-align: center;
}
.version-update-btn {
  padding: 6px 14px;
  background: #06b6d4;
  color: #0f172a;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.version-update-btn:hover { background: #22d3ee; }

.nav-user-name { font-size: 0.875rem; color: #94a3b8; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px; }
.nav-user-name-inline { margin-right: 4px; margin-left: 0; }
.nav-drawer-user-block { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 0; border-top: 1px solid rgba(148, 163, 184, 0.2); }
.nav-drawer-user-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; padding: 0 12px; margin-bottom: 4px; }
.nav-drawer-user { display: block; font-size: 0.9rem; color: #e2e8f0; font-weight: 500; margin-bottom: 4px; padding: 0 12px; }
.nav-drawer-user-link { width: 100%; justify-content: center; text-align: center; }
.nav-signout-btn { margin-left: 4px; }

/* User menu dropdown */
.header-actions { overflow: visible; }
.nav-user-wrap { position: relative; display: inline-flex; align-items: center; overflow: visible; }
.nav-user-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: transparent; border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 8px; color: #e2e8f0; font-size: 0.875rem; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.nav-user-trigger:hover { background: rgba(51, 65, 85, 0.5); border-color: rgba(148, 163, 184, 0.5); }
.nav-user-wrap.open .nav-user-trigger { background: rgba(51, 65, 85, 0.6); border-color: rgba(59, 130, 246, 0.5); }
.nav-user-chevron { transition: transform 0.2s; }
.nav-user-wrap.open .nav-user-chevron { transform: rotate(180deg); }
.nav-user-backdrop { position: fixed; inset: 0; z-index: 26; display: none; }
.nav-user-backdrop.is-open { display: block; }
.nav-user-dropdown { position: absolute; top: 100%; right: 0; margin-top: 6px; min-width: 180px; background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.4); z-index: 27; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; padding: 6px 0; }
.nav-user-wrap.open .nav-user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-user-item { display: block; width: 100%; padding: 10px 16px; text-align: left; color: #e2e8f0; text-decoration: none; font-size: 0.875rem; background: none; border: none; cursor: pointer; transition: background 0.15s; }
.nav-user-item:hover { background: rgba(59, 130, 246, 0.15); }
.nav-user-item.nav-user-signout { color: #f87171; }
.nav-user-item.nav-user-signout:hover { background: rgba(248, 113, 113, 0.12); }
[dir="rtl"] .nav-user-dropdown { right: auto; left: 0; }
[dir="rtl"] .nav-user-item { text-align: right; }
[dir="rtl"] .nav-user-name { margin-right: 0; margin-left: 8px; }

/* Language switcher */
.language-switcher { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-left: 16px; }
.lang-btn { background: none; border: 1px solid rgba(148,163,184,0.4); color: #94a3b8; padding: 4px 10px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; }
.lang-btn:hover { color: #e2e8f0; border-color: rgba(148,163,184,0.6); }
.lang-btn.active { background: rgba(6,182,212,0.2); border-color: #06b6d4; color: #06b6d4; }
.lang-sep { color: #64748b; font-size: 0.8rem; }
.lang-btn-toggle { display: inline-flex; align-items: center; gap: 6px; min-width: 100px; }
.lang-btn-arrow { font-size: 0.65rem; opacity: 0.8; transition: transform 0.2s; }
.lang-btn-toggle.open .lang-btn-arrow { transform: rotate(0deg); }
.lang-dropdown-backdrop { position: fixed; inset: 0; z-index: 9998; }
.lang-dropdown { position: absolute; top: 100%; left: 0; margin-top: 6px; max-height: 280px; overflow-y: auto; background: #0f172a; border: 1px solid rgba(148,163,184,0.3); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); z-index: 9999; min-width: 160px; }
.lang-option { display: block; width: 100%; padding: 8px 14px; background: none; border: none; color: #e2e8f0; font-size: 0.9rem; text-align: left; cursor: pointer; }
.lang-option:hover { background: rgba(6,182,212,0.15); }
.lang-option.active { background: rgba(6,182,212,0.25); color: #06b6d4; }
.footer-bottom { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }

/* RTL */
[dir="rtl"] .hero-left, [dir="rtl"] .search-main-row { direction: rtl; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .result-airports .result-arrow { transform: scaleX(-1); }
[dir="rtl"] .language-switcher { margin-left: 0; margin-right: 16px; }
[dir="rtl"] .lang-dropdown { left: auto; right: 0; }
[dir="rtl"] .lang-option { text-align: right; }

/* Widgets */
.widget {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  overflow: hidden;
}
.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.widget-title { margin: 0; font-size: 1rem; flex: 1; }
.widget-header-actions { display: flex; align-items: center; gap: 8px; }
.widget-help-wrap { position: relative; }
.widget-help-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0; border: none; border-radius: 50%;
  background: rgba(148, 163, 184, 0.2); color: #94a3b8; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.widget-help-btn:hover { background: rgba(59, 130, 246, 0.25); color: #60a5fa; }
.widget-help-btn.is-open { background: rgba(59, 130, 246, 0.3); color: #60a5fa; }
.widget-help-icon { display: block; }
.widget-help-popover {
  position: absolute; top: 100%; right: 0; margin-top: 8px; z-index: 20;
  min-width: 220px; max-width: 320px; padding: 14px 36px 14px 14px;
  background: rgba(15, 23, 42, 0.98); border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-size: 0.875rem; line-height: 1.5; color: #e2e8f0;
}
.widget-help-text { margin: 0; }
.widget-help-close {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; padding: 0;
  border: none; border-radius: 4px; background: transparent; color: #94a3b8;
  font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.widget-help-close:hover { color: #e2e8f0; background: rgba(148, 163, 184, 0.2); }
.widget-body { padding: 22px; }
.stat-widget .stat-widget-value { font-size: 1.75rem; font-weight: 700; color: #3b82f6; }
.stat-widget .stat-widget-label { font-size: 0.875rem; color: #94a3b8; margin-top: 4px; }
.widget-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.widget-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; min-width: 280px; }
.widget-table th, .widget-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(148, 163, 184, 0.2); }
.widget-table th { color: #94a3b8; font-weight: 500; }
.widget-empty { color: #64748b; font-size: 0.875rem; margin: 0; }
.dashboard-load-error {
  padding: 20px;
  margin: 16px 0;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
  text-align: center;
}
.dashboard-load-error p { margin: 0 0 12px; }
.dashboard-load-error .ghost-btn { margin-top: 4px; }
.primary-btn.full-width { width: 100%; }
.referral-hint { color: #94a3b8; font-size: 0.875rem; margin: 0 0 16px; line-height: 1.5; }
.referral-link-row { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.referral-input { flex: 1; background: rgba(2, 6, 23, 0.6); border: 1px solid rgba(148, 163, 184, 0.4); color: #e5e7eb; padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; }
.referral-stats { color: #94a3b8; font-size: 0.8rem; margin: 0; }
.rep-profile-form { display: flex; flex-direction: column; gap: 14px; }
.rep-profile-form .form-field { margin-bottom: 0; }
.dashboard-input {
  width: 100%; max-width: 360px; padding: 10px 14px; border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.4); background: rgba(2, 6, 23, 0.6);
  color: #e5e7eb; font-size: 0.9rem; box-sizing: border-box;
}
.dashboard-input:focus { outline: none; border-color: #3b82f6; }
.profile-message { margin-left: 12px; font-size: 0.875rem; }
.profile-message.success { color: #86efac; }
.profile-message.error { color: #f87171; }
.rep-profile-form .checkbox-label-wrap { margin-bottom: 0; }
.rep-profile-form .checkbox-label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; color: #cbd5e1; }
.rep-1c-reminder { margin-bottom: 20px; padding: 14px 18px; background: rgba(234, 179, 8, 0.15); border: 1px solid rgba(234, 179, 8, 0.4); border-radius: 10px; color: #fde047; font-size: 0.95rem; line-height: 1.5; }
.rep-1c-reminder strong { display: block; margin-bottom: 4px; color: #fef08a; }
.rep-profile-section-title { font-size: 1rem; margin: 20px 0 8px; padding-top: 16px; border-top: 1px solid rgba(148, 163, 184, 0.25); color: #e2e8f0; }
.rep-profile-section-desc { font-size: 0.875rem; color: #94a3b8; margin: 0 0 12px; }
.invoice-requests-list { display: flex; flex-direction: column; gap: 16px; }
.invoice-request-card {
  padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.5);
}
.invoice-request-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 0.9rem; color: #94a3b8; }
.invoice-request-meta strong { color: #e5e7eb; }
.invoice-request-view-link { color: #60a5fa; text-decoration: none; font-size: 0.875rem; }
.invoice-request-view-link:hover { text-decoration: underline; }
.invoice-request-status { padding: 2px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.invoice-request-status.status-rep_selected { background: rgba(234, 179, 8, 0.25); color: #fde047; }
.invoice-request-status.status-completed { background: rgba(34, 197, 94, 0.25); color: #86efac; }
.invoice-request-rep { padding-top: 10px; border-top: 1px solid rgba(148, 163, 184, 0.2); }
.invoice-request-rep strong { color: #e5e7eb; font-size: 0.95rem; }
.rep-contact, .rep-local-time { font-size: 0.85rem; color: #94a3b8; margin: 4px 0; }
.rep-local-time { font-weight: 500; color: #cbd5e1; }
.rep-badge.head-office { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.dashboard-rep-apply-desc { color: #94a3b8; font-size: 0.9rem; margin: 0 0 14px; line-height: 1.5; }
.dashboard-rep-apply-btn { display: inline-flex; align-items: center; gap: 10px; }
.dashboard-rep-apply-icon-wrap { display: inline-flex; }
.partnership-rejection-reason { font-size: 0.875rem; color: #f87171; margin: 10px 0 0; padding: 10px; background: rgba(248, 113, 113, 0.1); border-radius: 8px; }
.partnership-approved-msg { font-size: 0.875rem; color: #86efac; margin: 10px 0 0; }
.partnership-section-title { font-size: 1rem; margin: 20px 0 12px; color: #cbd5e1; }
.partnership-form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .partnership-form-row { grid-template-columns: 1fr; } }
.commission-filters { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.commission-filters select { background: rgba(2, 6, 23, 0.6); border: 1px solid rgba(148, 163, 184, 0.4); color: #e5e7eb; padding: 8px 12px; border-radius: 8px; }
.primary-btn.small { padding: 6px 12px; font-size: 0.8rem; }

/* Admin dashboard – tabs, modals, filters */
.admin-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-tab {
  padding: 10px 20px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent; color: #94a3b8; font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.admin-tab:hover { background: rgba(59, 130, 246, 0.1); color: #e5e7eb; }
.admin-tab.active { background: rgba(59, 130, 246, 0.2); color: #e5e7eb; border-color: #3b82f6; }
.user-filters { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.user-filters select { background: rgba(2, 6, 23, 0.6); border: 1px solid rgba(148, 163, 184, 0.4); color: #e5e7eb; padding: 8px 14px; border-radius: 8px; }
.actions-cell { display: flex; gap: 8px; flex-wrap: wrap; }
.ghost-btn.small { padding: 6px 12px; font-size: 0.8rem; }
.ghost-btn.small.danger { color: #f87171; }
.ghost-btn.small.danger:hover { background: rgba(239, 68, 68, 0.15); }
.ghost-btn.small.success-btn { color: #4ade80; }
.ghost-btn.small.success-btn:hover { background: rgba(34, 197, 94, 0.15); }
.partnership-approval-hint { font-size: 0.9rem; color: #94a3b8; margin: 0 0 16px; padding: 12px; background: rgba(59, 130, 246, 0.1); border-radius: 8px; border: 1px solid rgba(59, 130, 246, 0.25); }
.rep-profile-invoice-heading { font-size: 1rem; margin: 16px 0 10px; color: #e5e7eb; }

.admin-providers-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.admin-provider-row { display: flex; align-items: center; }
.admin-provider-label { display: flex; align-items: center; gap: 10px; cursor: pointer; color: #e5e7eb; font-size: 0.95rem; }
.admin-provider-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: #3b82f6; }
.admin-providers-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-providers-message { font-size: 0.9rem; color: #94a3b8; }
.admin-providers-message.error { color: #f87171; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.6); padding: 24px;
}
.modal-content {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 16px; padding: 28px;
  max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto;
}
.modal-content-wide { max-width: 560px; }
.modal-title { font-size: 1.2rem; margin: 0 0 20px; color: #e5e7eb; }
.dashboard-gateway-hint { font-size: 0.875rem; color: #94a3b8; margin: 0 0 12px; }
.dashboard-gateway-table { margin-top: 12px; }
.dashboard-gateway-table th, .dashboard-gateway-table td { font-size: 0.875rem; }
.ghost-btn.small { padding: 4px 10px; font-size: 0.8rem; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.modal-content .form-field { margin-bottom: 16px; }
.modal-content .form-field label { display: block; margin-bottom: 6px; font-size: 0.875rem; color: #94a3b8; }
.modal-content select, .modal-content input, .modal-content textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  background: rgba(2, 6, 23, 0.6); border: 1px solid rgba(148, 163, 184, 0.4); color: #e5e7eb;
}
.role-checkboxes { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9375rem; color: #e5e7eb; }
.checkbox-label input { width: auto; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.status-badge.status-pending { background: rgba(148, 163, 184, 0.3); color: #cbd5e1; }
.status-badge.status-underreview { background: rgba(59, 130, 246, 0.3); color: #93c5fd; }
.status-badge.status-approved { background: rgba(34, 197, 94, 0.3); color: #86efac; }
.status-badge.status-rejected { background: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.sales-report-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; font-size: 0.9375rem; }
.sales-row { display: flex; justify-content: space-between; gap: 16px; }
.sales-row span { color: #94a3b8; }
.sales-row.total { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(148, 163, 184, 0.2); font-size: 1rem; }

/* Dashboard – منوی کناری با آیکن و حالت فعال، ریسپانسیو */
.dashboard-layout { display: flex; min-height: 100vh; }
.dashboard-sidebar {
  width: 272px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.2);
  padding: 20px 12px 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sidebar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding: 0 12px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.sidebar-brand-icon { font-size: 1.5rem; opacity: 0.95; }
.sidebar-brand-text { letter-spacing: 0.02em; color: #e2e8f0; }
.sidebar-section { margin-bottom: 20px; }
.sidebar-section:last-of-type { margin-bottom: 0; }
.sidebar-section-title {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
  padding: 0 14px 4px;
}

/* آکاردئون منوی داشبورد */
.sidebar-accordion-section {
  margin-bottom: 4px;
  border-radius: 10px;
  overflow: hidden;
}
.sidebar-accordion-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  min-height: 44px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.sidebar-accordion-header:hover { color: #e2e8f0; background: rgba(148, 163, 184, 0.08); }
.sidebar-accordion-header.is-open { color: #cbd5e1; background: rgba(59, 130, 246, 0.1); }
.sidebar-accordion-icon { flex-shrink: 0; width: 20px; height: 20px; color: inherit; opacity: 0.9; }
.sidebar-accordion-title { flex: 1; }
.sidebar-accordion-chevron { flex-shrink: 0; width: 18px; height: 18px; color: inherit; opacity: 0.7; transition: transform 0.2s; }
.sidebar-accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease-out;
}
.sidebar-accordion-body.is-open { max-height: 800px; }
.sidebar-accordion-body .sidebar-link { border-radius: 8px; margin: 0 2px 2px 6px; padding: 8px 12px 8px 14px; min-height: 40px; }
.sidebar-accordion-body .sidebar-link-sub { margin-left: 8px; padding-left: 38px; }

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  text-decoration: none;
  padding: 10px 14px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  font-size: 0.9375rem;
}
.sidebar-link:hover { color: #e2e8f0; background: rgba(59, 130, 246, 0.12); }
.sidebar-link.active {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.18);
  font-weight: 500;
}
.sidebar-link-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: inherit;
  opacity: 0.9;
}
.sidebar-link.active .sidebar-link-icon { opacity: 1; }
.sidebar-link-sub {
  padding-left: 46px;
  font-size: 0.875rem;
  min-height: 40px;
}
.sidebar-link-sub:hover { background: rgba(59, 130, 246, 0.08); }
.sidebar-link-sub.active { background: rgba(59, 130, 246, 0.12); color: #93c5fd; }
.sidebar-link-admin { color: #c4b5fd; }
.sidebar-link-admin:hover { background: rgba(139, 92, 246, 0.15); color: #e9d5ff; }
.sidebar-link-admin.active { color: #a78bfa; background: rgba(139, 92, 246, 0.2); }
.sidebar-link-back { color: #94a3b8; font-size: 0.9rem; }
.sidebar-link-back:hover { color: #cbd5e1; }
.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.sidebar-logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  min-height: 44px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-align: left;
}
.sidebar-logout-btn:hover { color: #f87171; background: rgba(239, 68, 68, 0.1); }
.dashboard-main { flex: 1; padding: 28px; overflow: auto; min-width: 0; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
.dashboard-page { max-width: 1100px; }
.dashboard-title { font-size: 1.5rem; margin-bottom: 28px; }
.dashboard-hero {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0%, rgba(15, 45, 66, 0.7) 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 28px;
}
.dashboard-hero-title { font-size: 1.35rem; margin: 0 0 8px; color: #e5e7eb; font-weight: 600; }
.dashboard-hero-desc { margin: 0 0 20px; color: #94a3b8; font-size: 0.95rem; line-height: 1.5; max-width: 560px; }
.dashboard-hero-cta { display: inline-flex; align-items: center; gap: 8px; }
.dashboard-summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.dashboard-summary-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}
.dashboard-summary-card:hover { border-color: rgba(148, 163, 184, 0.35); }
.dashboard-summary-card-title { font-size: 0.8rem; color: #94a3b8; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.dashboard-summary-card-value { font-size: 1.5rem; font-weight: 700; color: #e5e7eb; letter-spacing: 0.02em; }
.dashboard-summary-card-label { font-size: 0.85rem; color: #64748b; margin-top: 4px; }
.dashboard-summary-card-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-wallet-block { position: relative; }
.dashboard-topup-link { display: inline-block; margin-top: 8px; font-size: 0.875rem; color: #3b82f6; text-decoration: none; }
.dashboard-topup-link:hover { text-decoration: underline; }
.dashboard-topup-link + .dashboard-topup-link { margin-left: 12px; }
.dashboard-wallet-card .dashboard-topup-link + .dashboard-topup-link { margin-left: 0; }
.widget-footer-link { margin-top: 12px; font-size: 0.875rem; }
.widget-footer-link a { color: #60a5fa; text-decoration: none; }
.widget-footer-link a:hover { text-decoration: underline; }
.dashboard-booking-view-link { color: #60a5fa; text-decoration: none; font-size: 0.875rem; }
.dashboard-booking-view-link:hover { text-decoration: underline; }
.dashboard-booking-no-ref { color: #64748b; }
.dashboard-avia-token-block { display: block; text-decoration: none; color: inherit; border-radius: 12px; padding: 16px; background: rgba(30, 58, 95, 0.4); border: 1px solid rgba(251, 191, 36, 0.25); transition: border-color 0.2s; }
.dashboard-avia-token-block:hover { border-color: rgba(251, 191, 36, 0.5); }
.dashboard-avia-token-block .dashboard-topup-link { color: #94a3b8; font-size: 0.875rem; }
.dashboard-ticket-list { display: flex; flex-direction: column; gap: 10px; }
.dashboard-ticket-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(15, 23, 42, 0.5); border: 1px solid rgba(148, 163, 184, 0.2); font-size: 0.9rem; }
.dashboard-ticket-code { font-family: ui-monospace, monospace; font-weight: 600; color: #94a3b8; }
.dashboard-ticket-status { padding: 2px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; }
.dashboard-ticket-status.status-open { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.dashboard-ticket-status.status-inprogress { background: rgba(234, 179, 8, 0.25); color: #fde047; }
.dashboard-ticket-status.status-resolved { background: rgba(34, 197, 94, 0.25); color: #86efac; }
.dashboard-ticket-status.status-closed { background: rgba(100, 116, 139, 0.3); color: #cbd5e1; }
.dashboard-ticket-subject { flex: 1; min-width: 120px; color: #e5e7eb; }
.dashboard-ticket-date { font-size: 0.8rem; color: #94a3b8; }
.dashboard-ticket-link { color: #60a5fa; text-decoration: none; font-size: 0.875rem; }
.dashboard-ticket-link:hover { text-decoration: underline; }
.dashboard-new-ticket-btn { margin-top: 8px; }
.dashboard-page-desc { color: #94a3b8; font-size: 0.95rem; margin: 0 0 12px; }
.dashboard-page-nav { margin-bottom: 20px; font-size: 0.9rem; }
.dashboard-page-nav a {
  display: inline-block;
  color: #60a5fa;
  text-decoration: none;
  padding: 6px 0;
  min-height: 32px;
  line-height: 1.4;
  transition: color 0.2s;
}
.dashboard-page-nav a:hover { color: #93c5fd; text-decoration: underline; }
.dashboard-bookings-table-wrap { overflow-x: auto; margin-top: 12px; }
.dashboard-bookings-table { min-width: 520px; }
.dashboard-ref-code { font-family: ui-monospace, monospace; font-size: 0.9rem; color: #94a3b8; }
.dashboard-view-ticket-btn { padding: 6px 12px; font-size: 0.85rem; text-decoration: none; display: inline-block; }
.dashboard-wallet-summary-block { margin-bottom: 24px; }
.dashboard-section-title { font-size: 1.1rem; margin: 0 0 12px; color: #e5e7eb; }
.dashboard-transactions-wrap { overflow-x: auto; }
.dashboard-transactions-table { min-width: 400px; }
.dashboard-txn-kind { padding: 2px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.dashboard-txn-deposit { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.dashboard-txn-payment { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.dashboard-txn-refund { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.dashboard-txn-withdrawal { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.dashboard-txn-credit { color: #86efac; }
.dashboard-txn-debit { color: #fca5a5; }
.dashboard-txn-kind.status-pending { background: rgba(234, 179, 8, 0.25); color: #fde047; }
.dashboard-txn-kind.status-paid { background: rgba(34, 197, 94, 0.25); color: #86efac; }
.dashboard-txn-kind.status-cancelled { background: rgba(100, 116, 139, 0.3); color: #cbd5e1; }

/* Settings – تنظیمات (بیومتریک و غیره) */
.settings-section { margin-bottom: 32px; }
.settings-section-title { font-size: 1.15rem; margin: 0 0 8px; color: #e5e7eb; }
.settings-section-desc { color: #94a3b8; font-size: 0.9rem; margin: 0 0 16px; line-height: 1.5; }
.settings-actions { margin-bottom: 24px; }
.settings-subtitle { font-size: 1rem; margin: 0 0 12px; color: #cbd5e1; }
.settings-credentials-list { margin-top: 16px; }
.settings-credential-list { list-style: none; padding: 0; margin: 0; }
.settings-credential-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 8px; background: rgba(15, 23, 42, 0.5); border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.15); }
.settings-credential-name { font-weight: 600; color: #e2e8f0; }
.settings-credential-meta { font-size: 0.85rem; color: #94a3b8; }
.settings-credential-remove { margin-left: auto; font-size: 0.85rem; }

/* Avia Token - صفحات توکن آویا */
.avia-token-page .dashboard-title-icon.avia-token-icon { color: #fbbf24; margin-right: 8px; vertical-align: middle; }
.avia-token-summary-block { margin-bottom: 28px; }
.avia-token-balance-card { background: linear-gradient(135deg, rgba(30, 58, 95, 0.6) 0%, rgba(15, 45, 66, 0.8) 100%); border: 1px solid rgba(251, 191, 36, 0.35); border-radius: 16px; padding: 24px; text-align: center; }
.avia-token-balance-icon { color: #fbbf24; margin-bottom: 8px; display: block; }
.avia-token-balance-value { font-size: 2rem; font-weight: 700; color: #fde68a; letter-spacing: 0.02em; }
.avia-token-balance-label { font-size: 0.95rem; color: #94a3b8; margin-top: 4px; }
.avia-token-balance-note { font-size: 0.8rem; color: #64748b; margin-top: 4px; }
.avia-token-actions-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.avia-token-action-card { display: block; padding: 20px; border-radius: 12px; background: rgba(15, 23, 42, 0.5); border: 1px solid rgba(148, 163, 184, 0.2); text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.avia-token-action-card:hover { border-color: rgba(251, 191, 36, 0.4); transform: translateY(-2px); }
.avia-token-action-icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(251, 191, 36, 0.15); margin-bottom: 12px; }
.avia-token-action-icon { color: #fbbf24; }
.avia-token-action-card strong { display: block; font-size: 1rem; color: #e5e7eb; margin-bottom: 6px; }
.avia-token-action-card p { margin: 0; font-size: 0.875rem; color: #94a3b8; line-height: 1.4; }
.widget-card-highlight { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.avia-token-form-row { margin-bottom: 16px; }
.avia-token-form-row label { display: block; font-size: 0.875rem; color: #94a3b8; margin-bottom: 6px; }
.avia-token-input { width: 100%; max-width: 200px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.6); color: #e5e7eb; font-size: 1rem; }
.avia-token-select { padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.6); color: #e5e7eb; font-size: 0.95rem; min-width: 200px; }
.avia-token-earn-content { max-width: 640px; }
.avia-token-earn-list { margin: 0 0 12px; padding-left: 20px; color: #e5e7eb; line-height: 1.6; }
.avia-token-use-cta { margin: 16px 0; }
.avia-token-use-or { margin-left: 8px; color: #94a3b8; font-size: 0.9rem; }
.btn-icon { margin-right: 6px; vertical-align: middle; }

.widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

/* Finance Dashboard – کارت‌بندی و رنگ‌بندی حرفه‌ای */
.finance-dashboard { max-width: 1200px; }

/* Hero */
.finance-hero {
  margin-bottom: 28px;
  padding: 32px 28px;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.85) 40%, rgba(59, 130, 246, 0.06) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.finance-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%);
  opacity: 0.9;
}
.finance-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.25) 0%, rgba(59, 130, 246, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}
.finance-hero-icon-svg { color: #34d399; }
.finance-hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.finance-hero-subtitle {
  font-size: 0.9375rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* کارت‌های آمار – رنگ‌بندی و سایه */
.finance-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.finance-stat-card {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.finance-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.finance-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border-color: rgba(148, 163, 184, 0.35);
}
.finance-stat-revenue {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.7) 100%);
}
.finance-stat-revenue::before { background: linear-gradient(90deg, #10b981, #34d399); }
.finance-stat-revenue .finance-stat-value { color: #34d399; }
.finance-stat-bookings {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, rgba(15, 23, 42, 0.7) 100%);
}
.finance-stat-bookings::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.finance-stat-bookings .finance-stat-value { color: #60a5fa; }
.finance-stat-wallets {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12) 0%, rgba(15, 23, 42, 0.7) 100%);
}
.finance-stat-wallets::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.finance-stat-wallets .finance-stat-value { color: #a78bfa; }
.finance-stat-pending {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1) 0%, rgba(15, 23, 42, 0.7) 100%);
}
.finance-stat-pending::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.finance-stat-pending .finance-stat-value { color: #fbbf24; }
.finance-stat-paid {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.1) 0%, rgba(15, 23, 42, 0.7) 100%);
}
.finance-stat-paid::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.finance-stat-paid .finance-stat-value { color: #22d3ee; }
.finance-stat-label {
  font-size: 0.8125rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.finance-stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.finance-stat-unit {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* کارت‌های بخش (Recent Payments, Sales, Commissions, Gateways) */
.finance-sections { display: flex; flex-direction: column; gap: 22px; }
.finance-dashboard .finance-card.widget {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.finance-dashboard .finance-card .widget-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.5);
}
.finance-dashboard .finance-card .widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
}
.finance-dashboard .finance-card .widget-body {
  padding: 22px;
}

/* فیلترها */
.finance-filters {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.finance-filter-field { margin: 0; min-width: 140px; }
.finance-filter-field label { font-size: 0.8125rem; color: #94a3b8; margin-bottom: 6px; display: block; }
.finance-filter-select {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  min-width: 160px;
}
.finance-filter-select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }
.finance-filter-btn { flex-shrink: 0; }

/* جداول */
.finance-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.3);
}
.finance-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.finance-table th {
  text-align: left;
  padding: 14px 16px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.finance-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: #e2e8f0;
}
.finance-table tbody tr:nth-child(even) { background: rgba(15, 23, 42, 0.25); }
.finance-table tbody tr:hover { background: rgba(59, 130, 246, 0.08); }
.finance-table tbody tr:last-child td { border-bottom: none; }
.finance-table td.positive { color: #6ee7b7; }
.finance-table td.negative { color: #f87171; }

/* گزارش مارکتینگ – فیلترها و KPI */
.report-card .report-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}
.report-card .report-filters .form-group { margin-bottom: 0; }
.report-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.report-kpis .kpi-card {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.5);
  text-align: center;
}
.report-kpis .kpi-card .kpi-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #e2e8f0;
}
.report-kpis .kpi-card .kpi-label {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.report-kpis .kpi-card.positive .kpi-value { color: #6ee7b7; }
.report-kpis .kpi-card.negative .kpi-value { color: #f87171; }
.report-tables h4 {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 1.25rem 0 0.5rem;
}
.report-tables h4:first-child { margin-top: 0; }
.report-by-lang {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.report-by-lang h4 { margin-top: 0; }
.lang-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.lang-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: #e2e8f0;
  font-size: 0.9rem;
}
.lang-list li:last-child { border-bottom: none; }
.lang-list .lang-code {
  display: inline-block;
  min-width: 2rem;
  color: #94a3b8;
  font-family: ui-monospace, monospace;
}
.lang-list li.muted { color: #64748b; }

/* بج‌ها */
.finance-gateway-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
  color: #93c5fd;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.finance-status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 22px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.finance-status-paid, .finance-status-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.4);
}
.finance-status-pending {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.1) 100%);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
}
.finance-status-approved {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.1) 100%);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}
.dashboard-refund-btn { font-size: 0.8125rem; padding: 6px 12px; }
.finance-refunded-label { font-size: 0.8rem; color: #94a3b8; }
.finance-status-refunded { background: rgba(148, 163, 184, 0.2); color: #94a3b8; border-color: rgba(148, 163, 184, 0.3); }
.dashboard-motivation-card { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: 16px; border: 1px solid rgba(59, 130, 246, 0.3); background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0.9) 100%); flex-wrap: wrap; }
.dashboard-motivation-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(59, 130, 246, 0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dashboard-motivation-icon-svg { color: #60a5fa; }
.dashboard-motivation-text { flex: 1; min-width: 200px; margin: 0; color: #cbd5e1; font-size: 0.95rem; line-height: 1.5; }
.dashboard-motivation-cta { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dashboard-motivation-cta-icon { flex-shrink: 0; }
.finance-status-cancelled, .finance-status-inactive {
  background: rgba(100, 116, 139, 0.25);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.3);
}
.finance-commission-paid {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.4);
}
.finance-commission-pending {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.1) 100%);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
}
.finance-commission-approved {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.1) 100%);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}
.finance-commission-cancelled {
  background: rgba(100, 116, 139, 0.25);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.3);
}

/* خلاصه فروش */
.finance-sales-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
  border-radius: 14px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-left: 4px solid #10b981;
}
.finance-sales-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.9375rem;
}
.finance-sales-row span { color: #94a3b8; }
.finance-sales-row strong { color: #f1f5f9; }
.finance-sales-row em { color: #64748b; font-size: 0.875rem; font-style: normal; }
.finance-sales-total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 1.05rem;
}
.finance-sales-total strong { color: #34d399; }
.finance-booking-ref { font-family: ui-monospace, monospace; color: #94a3b8; font-size: 0.875rem; }
.finance-code {
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.finance-cell-muted { color: #94a3b8; font-size: 0.875rem; }
.finance-action-muted { color: #64748b; font-size: 0.875rem; }
.finance-gateway-hint {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 14px;
  line-height: 1.5;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

@media (max-width: 1024px) {
  .finance-stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .finance-stats-row { grid-template-columns: repeat(2, 1fr); }
  .finance-hero { padding: 24px 20px; }
  .finance-hero-title { font-size: 1.35rem; }
  .finance-hero-icon { width: 52px; height: 52px; }
}
@media (max-width: 480px) {
  .finance-stats-row { grid-template-columns: 1fr; }
}

/* Reports Hub & Report pages */
.reports-hub { max-width: 1000px; }
.reports-hub-hero {
  margin-bottom: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
}
.reports-hub-icon { margin-bottom: 8px; }
.reports-hub-icon-svg { color: #60a5fa; }
.reports-hub-title { font-size: 1.4rem; font-weight: 700; color: #f1f5f9; margin: 0 0 6px; }
.reports-hub-subtitle { font-size: 0.9rem; color: #94a3b8; margin: 0; }
.reports-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.reports-hub-card {
  display: block;
  padding: 22px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.reports-hub-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.reports-hub-card-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.reports-hub-card-title { font-size: 1.05rem; font-weight: 700; color: #e2e8f0; margin: 0 0 8px; }
.reports-hub-card-desc { font-size: 0.875rem; color: #94a3b8; margin: 0; line-height: 1.4; }

.report-page-header { margin-bottom: 22px; }
.report-page-title { font-size: 1.35rem; font-weight: 700; color: #f1f5f9; margin: 0 0 6px; }
.report-page-desc { font-size: 0.9rem; color: #94a3b8; margin: 0; }
.report-filters-bar {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.report-filters-bar .form-field { margin: 0; }
.report-filters-bar label { font-size: 0.8125rem; color: #94a3b8; margin-bottom: 6px; display: block; }
.report-select {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  min-width: 120px;
}
.report-loading { color: #94a3b8; margin: 16px 0; }
.report-summary { margin-bottom: 14px; font-size: 0.9rem; color: #94a3b8; }
.report-summary strong { color: #e2e8f0; }
.report-stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.report-stat-box {
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.report-stat-label { font-size: 0.75rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em; }
.report-stat-value { font-size: 1.25rem; font-weight: 700; color: #e2e8f0; }
.report-table-wrap { overflow-x: auto; margin-top: 12px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.2); background: rgba(2, 6, 23, 0.3); }
.report-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.report-table th { text-align: left; padding: 12px 14px; color: #94a3b8; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid rgba(148, 163, 184, 0.3); background: rgba(15, 23, 42, 0.5); }
.report-table td { padding: 11px 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.1); color: #e2e8f0; }
.report-table tbody tr:hover { background: rgba(59, 130, 246, 0.06); }
.report-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.report-badge-confirmed, .report-badge-paid { background: rgba(34, 197, 94, 0.25); color: #86efac; }
.report-badge-pending { background: rgba(234, 179, 8, 0.25); color: #fde047; }
.report-commission-paid { background: rgba(34, 197, 94, 0.25); color: #86efac; }
.report-commission-pending, .report-commission-approved { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.report-link { color: #60a5fa; text-decoration: none; font-size: 0.875rem; }
.report-link:hover { text-decoration: underline; }
.report-by-role { margin-bottom: 20px; padding: 14px 18px; background: rgba(15, 23, 42, 0.4); border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.15); }
.report-by-role h3 { font-size: 0.95rem; margin: 0 0 10px; color: #e2e8f0; }
.report-by-role ul { margin: 0; padding-left: 20px; color: #94a3b8; font-size: 0.9rem; }

/* Login */
.login-page { padding: 56px 24px; display: flex; justify-content: center; align-items: flex-start; min-height: 60vh; }
.login-card {
  max-width: 400px;
  width: 100%;
  padding: 36px 40px;
}
.login-title { font-size: 1.5rem; margin: 0 0 28px; display: flex; align-items: center; gap: 14px; }
.login-title-icon { color: #3b82f6; }
.login-card-animate { animation: slideUp 0.5s ease-out; }
.login-card .form-field { margin-bottom: 20px; }
.login-card .primary-btn { margin-top: 4px; }
.login-hint { font-size: 0.75rem; color: #64748b; margin-top: 24px; }
.login-biometric-divider { margin: 16px 0 8px; text-align: center; color: #64748b; font-size: 0.875rem; }
.login-footer-hint { font-size: 0.9rem; color: #94a3b8; margin-top: 20px; text-align: center; }
.login-footer-hint a { color: #60a5fa; text-decoration: none; }
.login-footer-hint a:hover { text-decoration: underline; }

/* Register page */
.register-page .login-card { max-width: 560px; }
.register-intro { color: #94a3b8; margin: 0 0 24px; font-size: 0.9375rem; line-height: 1.6; }
.register-options { display: flex; flex-direction: column; gap: 20px; }
.register-option { padding: 20px; border-radius: 12px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(148, 163, 184, 0.2); }
.register-option h3 { margin: 0 0 8px; font-size: 1rem; color: #e2e8f0; }
.register-option p { margin: 0 0 14px; color: #94a3b8; font-size: 0.9rem; line-height: 1.5; }
.register-option .primary-btn, .register-option .ghost-btn { margin-right: 8px; }

/* =============================================================================
   Responsive – دسکتاپ، تبلت، موبایل
   Breakpoints: 360, 480, 640, 768, 1024
   ============================================================================= */

/* Touch targets (حداقل 44px برای لمس راحت) */
@media (pointer: coarse) {
  .primary-btn, .ghost-btn, .search-tab, .trip-type-chip,
  .nav-mega-trigger, .nav-auth-btn, .faq-question, .sidebar-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-mega-trigger, .sidebar-link { justify-content: flex-start; padding-left: 14px; }
}

/* Safe area for notched devices */
.app-header, .header-inner { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.app-footer, .footer-inner { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.footer-bottom { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
body { padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }

/* Tablet and below (768px) */
@media (max-width: 768px) {
  .header-inner { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
  .nav-mega { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; gap: 4px; }
  .nav-mega-trigger { padding: 10px 14px; font-size: 0.9rem; white-space: nowrap; }
  .home-page { padding: 0 16px 32px; }
  .home-hero { padding: 32px 0 48px; }
  .hero-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .search-card { padding: 20px 16px; margin: 0; border-radius: 12px; }
  .search-tabs { margin-bottom: 16px; flex-wrap: wrap; }
  .search-tab { padding: 10px 14px; font-size: 0.9rem; }
  .search-main-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-field input, .form-field select { min-width: 0; width: 100%; }
  .search-submit-btn { align-self: stretch; min-height: 44px; }
  .trip-type-row { flex-wrap: wrap; }
  .section-stats { padding: 32px 0; }
  .stats-inner { gap: 24px; }
  .stat-item { min-width: 120px; padding: 16px 20px; }
  .stat-value { font-size: 1.5rem; }
  .results-page { padding: 16px 12px 40px; }
  .page-title { font-size: 1.25rem; flex-wrap: wrap; gap: 8px; }
  .result-card { flex-direction: column; align-items: stretch; padding: 16px; gap: 16px; }
  .flight-card-body { padding: 12px 14px 10px 18px; flex-direction: column; align-items: stretch; gap: 10px; }
  .flight-card-route { flex-wrap: wrap; }
  .flight-card-meta { justify-content: space-between; width: 100%; }
  .flight-card-price { font-size: 1.1rem; }
  .flight-card-details { padding: 8px 14px 10px 18px; gap: 6px 10px; }
  .result-main { min-width: 0; }
  .result-meta { text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .result-meta .primary-btn { margin-top: 4px; }
  .faq-page, .legal-page, .payment-page { padding: 24px 16px 48px; }
  .faq-question { padding: 14px 16px; font-size: 0.95rem; }
  .footer-inner { flex-direction: column; gap: 28px; padding: 0 16px; }
  .footer-columns { gap: 24px; }
  .footer-bottom { padding: 16px 16px max(24px, env(safe-area-inset-bottom)); }
  .login-page { padding: 24px 16px; }
  .login-card { padding: 24px 20px; }
  .payment-cards { grid-template-columns: 1fr; }
  .widget-grid { grid-template-columns: 1fr; }
  .dashboard-summary-cards { grid-template-columns: 1fr; }
  .widget-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Mobile (640px) */
@media (max-width: 640px) {
  .header-inner { padding: 8px 12px; }
  .logo-img { height: 30px; }
  .nav-actions { display: flex; gap: 8px; }
  .currency-selector-label { display: none; }
  .nav-auth-btn { padding: 8px 12px; font-size: 0.875rem; }
  .hero-subtitle { margin-bottom: 24px; font-size: 0.9rem; }
  .stats-inner { gap: 16px; }
  .stat-item { min-width: 100px; padding: 14px 16px; }
  .stat-value { font-size: 1.35rem; }
  .page-title { font-size: 1.1rem; }
  .result-card { padding: 14px; }
  .flight-card-body { padding: 10px 12px 8px 16px; }
  .flight-card-place-name { font-size: 0.875rem; }
  .flight-card-details { padding: 6px 12px 8px 16px; font-size: 0.7rem; }
  .dashboard-main { padding: 16px; }
  .dashboard-title { font-size: 1.25rem; margin-bottom: 16px; }
}

/* Mobile nav: hide desktop nav, show hamburger + drawer */
@media (max-width: 640px) {
  .nav-mega.nav-desktop { display: none !important; }
  .nav-hamburger { display: flex !important; }
}

@media (min-width: 641px) {
  .nav-hamburger { display: none !important; }
  .nav-drawer-backdrop { display: none !important; }
  .nav-drawer { transform: translateX(-100%); pointer-events: none; }
}

.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(59, 130, 246, 0.15);
  color: #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(59, 130, 246, 0.25); }
.nav-hamburger-icon { display: flex; flex-direction: column; gap: 5px; }
.nav-hamburger-icon span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px; transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger.open .nav-hamburger-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .nav-hamburger-icon span:nth-child(2) { opacity: 0; }
.nav-hamburger.open .nav-hamburger-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}
@media (max-width: 640px) {
  .nav-drawer-backdrop.is-open { display: block; }
}
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 19;
  width: min(280px, 85vw);
  max-width: 320px;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.3);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-100%);
  transition: transform 0.25s ease-out;
  overflow-y: auto;
  padding-left: env(safe-area-inset-left);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer .nav-mega-trigger {
  display: flex;
  width: 100%;
  padding: 14px 20px;
  border-radius: 0;
  border-left: 3px solid transparent;
  margin: 0;
}
.nav-drawer .nav-mega-trigger:hover,
.nav-drawer .nav-mega-trigger.open { border-left-color: #3b82f6; }
.nav-drawer-more-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.nav-drawer-more-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  text-decoration: none;
  padding: 8px 0;
  border-radius: 8px;
  transition: color 0.2s;
}
.nav-drawer-more-link:hover { color: #06b6d4; }
.nav-drawer-more-title { font-size: 0.8rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-more-badge-drawer { margin-left: 0; }
.nav-drawer-group { padding: 0 0 16px; }
.nav-drawer-group-title {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: #64748b; padding: 12px 20px 8px; margin: 0;
}
.nav-drawer-group .nav-mega-trigger { padding-left: 20px; }
.nav-drawer-actions { padding: 16px 20px; margin-top: auto; border-top: 1px solid rgba(148, 163, 184, 0.2); display: flex; flex-direction: column; gap: 10px; }
.nav-drawer-actions .primary-btn, .nav-drawer-actions .ghost-btn { width: 100%; justify-content: center; }

/* Dashboard responsive: sidebar به صورت overlay در تبلت و موبایل */
@media (max-width: 1024px) {
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 30;
    width: min(272px, 85vw);
    max-width: 272px;
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: max(20px, env(safe-area-inset-top));
    padding-left: max(12px, env(safe-area-inset-left));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
  }
  .dashboard-sidebar.is-open { transform: translateX(0); }
  .dashboard-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeIn 0.2s ease-out;
  }
  .dashboard-sidebar-backdrop.is-open { display: block; }
  .dashboard-main {
    padding: 20px 16px;
    margin-left: 0;
    padding-left: 56px;
    padding-top: max(20px, env(safe-area-inset-top));
  }
  .dashboard-toggle {
    display: flex !important;
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: 12px;
    z-index: 20;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  }
  .dashboard-toggle:active { transform: scale(0.96); }
}
@media (max-width: 768px) {
  .dashboard-main { padding: 16px 12px; padding-left: 52px; }
  .dashboard-page { padding: 0; }
  .dashboard-title { font-size: 1.35rem; margin-bottom: 20px; }
  .dashboard-hero { padding: 20px 20px; margin-bottom: 20px; border-radius: 14px; }
  .dashboard-hero-title { font-size: 1.2rem; }
  .dashboard-hero-desc { font-size: 0.9rem; }
  .dashboard-summary-cards { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
  .dashboard-summary-card { padding: 16px; }
  .dashboard-summary-card-value { font-size: 1.35rem; }
  .reports-hub-hero { padding: 18px; margin-bottom: 20px; border-radius: 14px; }
  .reports-hub-title { font-size: 1.25rem; }
  .reports-hub-grid { grid-template-columns: 1fr; gap: 12px; }
  .reports-hub-card { padding: 18px; }
  .avia-token-actions-grid { grid-template-columns: 1fr; gap: 12px; }
  .avia-token-balance-card { padding: 20px; border-radius: 14px; }
  .avia-token-balance-value { font-size: 1.75rem; }
  .avia-token-action-card { padding: 18px; }
  .widget-grid { grid-template-columns: 1fr; gap: 16px; }
  .report-filters-bar { flex-direction: column; align-items: stretch; padding: 12px; margin-bottom: 16px; }
  .report-stats-row { gap: 12px; margin-bottom: 16px; }
}
@media (max-width: 480px) {
  .dashboard-sidebar { width: min(280px, 92vw); }
  .dashboard-main { padding: 14px 10px; padding-left: 50px; }
  .dashboard-toggle { left: 8px; width: 42px; height: 42px; }
  .dashboard-title { font-size: 1.25rem; margin-bottom: 16px; }
  .dashboard-hero { padding: 16px; margin-bottom: 16px; border-radius: 12px; }
  .dashboard-hero-title { font-size: 1.1rem; }
  .dashboard-summary-cards { grid-template-columns: 1fr; gap: 10px; }
  .dashboard-summary-card-value { font-size: 1.4rem; }
  .dashboard-page-nav { margin-bottom: 14px; font-size: 0.875rem; }
  .dashboard-page-desc { font-size: 0.9rem; }
  .reports-hub-hero { padding: 14px; }
  .reports-hub-title { font-size: 1.15rem; }
  .reports-hub-card { padding: 16px; }
  .reports-hub-card-icon { font-size: 1.75rem; }
  .avia-token-balance-card { padding: 18px; }
  .avia-token-balance-value { font-size: 1.6rem; }
  .sidebar-link { padding: 10px 12px; min-height: 44px; }
  .sidebar-link-sub { padding-left: 42px; min-height: 40px; }
  .sidebar-brand { font-size: 1.1rem; padding: 0 12px 10px; margin-bottom: 16px; }
  .sidebar-section { margin-bottom: 16px; }
  .sidebar-section-title { font-size: 0.6rem; padding: 0 12px 2px; }
}
@media (min-width: 1025px) {
  .dashboard-toggle { display: none !important; }
}
.dashboard-toggle:hover { background: rgba(59, 130, 246, 0.2); }
.dashboard-toggle:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.sidebar-link:focus-visible,
.sidebar-logout-btn:focus-visible { outline: 2px solid rgba(59, 130, 246, 0.5); outline-offset: 2px; border-radius: 10px; }

/* Very small phones (360px) */
@media (max-width: 360px) {
  .header-inner { padding: 8px 10px; }
  .home-page { padding: 0 10px 24px; }
  .search-card { padding: 16px 12px; }
  .results-page { padding: 12px 10px 32px; }
  .nav-drawer { width: 100%; max-width: none; }
  .dashboard-sidebar { width: 92vw; }
  .dashboard-main { padding: 12px 8px; padding-left: 46px; }
  .dashboard-toggle { left: 6px; width: 40px; height: 40px; }
  .dashboard-title { font-size: 1.15rem; }
  .dashboard-hero { padding: 14px; }
  .reports-hub-card { padding: 14px; }
  .avia-token-balance-value { font-size: 1.5rem; }
}

/* =============================================================================
   World Clock – ساعت دنیا
   ============================================================================= */
.world-clock-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}
.world-clock-hero .hero-overlay {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(2, 6, 23, 0.7) 100%);
}
.world-clock-dates {
  margin-bottom: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.world-clock-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.world-clock-date-card {
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.world-clock-date-gregorian {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.08));
  border-color: rgba(59, 130, 246, 0.35);
}
.world-clock-date-persian {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(22, 163, 74, 0.08));
  border-color: rgba(34, 197, 94, 0.3);
}
.world-clock-date-hijri {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(139, 92, 246, 0.08));
  border-color: rgba(168, 85, 247, 0.3);
}
.world-clock-date-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.world-clock-date-value {
  font-size: 1rem;
  font-weight: 600;
  color: #e5e7eb;
  line-height: 1.3;
}
.world-clock-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.world-clock-search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
  display: flex;
  align-items: center;
}
.world-clock-search-icon {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  opacity: 0.7;
}
.world-clock-search {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  color: #e5e7eb;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.world-clock-search::placeholder { color: #64748b; }
.world-clock-search:focus {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.world-clock-utc-badge {
  padding: 8px 14px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}
.world-clock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.world-clock-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.world-clock-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.world-clock-section {
  margin-top: 28px;
}
.world-clock-section:first-of-type {
  margin-top: 0;
}
.world-clock-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.world-clock-card-location {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.world-clock-pin-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.world-clock-pin-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
}
.world-clock-pin-btn.world-clock-pin-active {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.2);
}
.world-clock-pin-btn.world-clock-pin-active:hover {
  background: rgba(251, 191, 36, 0.3);
  color: #fcd34d;
}
.world-clock-card-flag {
  font-size: 1.5rem;
  line-height: 1;
}
.world-clock-card-flag-img {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  flex-shrink: 0;
}
.world-clock-card-city {
  font-size: 1rem;
  font-weight: 600;
  color: #e5e7eb;
}
.world-clock-card-country {
  font-size: 0.8rem;
  color: #94a3b8;
}
.world-clock-card-time {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #f8fafc;
  margin-bottom: 4px;
}
.world-clock-card-date {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 6px;
}
.world-clock-card-offset {
  font-size: 0.8rem;
  color: #64748b;
}
.world-clock-dawn .world-clock-card-time { color: #fbbf24; }
.world-clock-day .world-clock-card-time { color: #38bdf8; }
.world-clock-dusk .world-clock-card-time { color: #f97316; }
.world-clock-night .world-clock-card-time { color: #a78bfa; }
.world-clock-empty {
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  padding: 48px 24px;
}

/* =============================================================================
   Travel Tools – shared styles for converter, checklist, tracker, etc.
   ============================================================================= */
.tools-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.tools-page .tool-card.widget {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tools-page .tool-card.widget:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* Form fields */
.tool-form-row,
.converter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.tool-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px 20px;
}
.converter-field {
  flex: 1;
  min-width: 120px;
}
.converter-field label {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 6px;
}
.converter-filter {
  margin-bottom: 6px;
  padding: 8px 12px;
  font-size: 0.875rem;
}
.tool-input,
.tool-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-input:focus,
.tool-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.tool-input::placeholder {
  color: #64748b;
}
.tool-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 44px;
}

/* Converter swap button */
.converter-swap-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.converter-swap-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  transform: rotate(180deg);
}

/* Meta, loading, error */
.tool-loading-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 16px 20px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
}
.tool-loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: loadingSpin 0.8s linear infinite;
}
.tool-loading-text {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
}
.tool-loading {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 12px 0 0;
}
.tool-error {
  color: #f87171;
  font-size: 0.9rem;
  margin: 12px 0 0;
}
.tool-meta {
  color: #64748b;
  font-size: 0.8rem;
  margin: 12px 0 0;
}

/* Converter result */
.converter-result {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.08));
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  text-align: center;
  transition: filter 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.converter-result-loading {
  filter: blur(8px);
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}
.converter-result-message {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.converter-result-msg-text {
  margin: 0;
  color: #94a3b8;
  font-size: 1rem;
  text-align: center;
  max-width: 400px;
  line-height: 1.5;
}
.converter-result-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}
.converter-result-currency {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-left: 8px;
}
.converter-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  vertical-align: middle;
}
.converter-result .asset-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
}
.converter-result .asset-symbol {
  font-size: 1.75rem;
  line-height: 1;
}

/* Converter: دو بخش جدا و زیبا — ارزها و رمزارزها */
.converter-divider-wrap {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.converter-divider-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px 0;
  letter-spacing: 0.02em;
}
.converter-divider-sub {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}
.converter-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .converter-sections {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.converter-section-card {
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}
.converter-section-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.converter-section-fiat {
  border-top: 3px solid rgba(59, 130, 246, 0.7);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0.5) 28%, rgba(15, 23, 42, 0.6) 100%);
}
.converter-section-crypto {
  border-top: 3px solid rgba(251, 191, 36, 0.7);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(15, 23, 42, 0.5) 28%, rgba(15, 23, 42, 0.6) 100%);
}
.converter-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px 12px;
}
.converter-section-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 14px;
  flex-shrink: 0;
}
.converter-section-icon-fiat {
  background: rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}
.converter-section-icon-crypto {
  background: rgba(251, 191, 36, 0.2);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.25);
}
.converter-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}
.converter-section-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: 0.02em;
}
.converter-section-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  letter-spacing: 0.03em;
}
.converter-section-badge-crypto {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}
.converter-section-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 24px 18px;
  padding: 0;
  line-height: 1.45;
}
.converter-section-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}
.converter-section-grid-fiat {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}
.converter-section-grid-fiat::-webkit-scrollbar {
  width: 6px;
}
.converter-section-grid-fiat::-webkit-scrollbar-track {
  background: transparent;
}
.converter-section-grid-fiat::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 3px;
}
.converter-section-grid-fiat::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}
.converter-section-grid-crypto {
  gap: 12px;
}
.converter-section-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(30, 41, 59, 0.5);
  color: #e2e8f0;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.converter-section-chip:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-1px);
}
.converter-section-chip.active {
  background: rgba(59, 130, 246, 0.28);
  border-color: rgba(59, 130, 246, 0.65);
  color: #fff;
}
.converter-section-chip-crypto:hover {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.45);
}
.converter-section-chip-crypto.active {
  background: rgba(251, 191, 36, 0.22);
  border-color: rgba(251, 191, 36, 0.65);
}
.converter-section-chip-symbol {
  font-size: 1rem;
  opacity: 0.95;
}
.converter-section-chip-code {
  font-weight: 600;
  letter-spacing: 0.02em;
}
.converter-section-chip-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}
.converter-section-more {
  font-size: 0.8rem;
  color: #64748b;
  margin: 12px 24px 0;
  padding: 0;
}
.converter-select-grouped optgroup {
  font-weight: 700;
  color: #94a3b8;
  padding: 8px 0 4px 0;
  background: rgba(15, 23, 42, 0.4);
}
.converter-select-grouped optgroup[label="💵 Currencies"] {
  color: #60a5fa;
}
.converter-select-grouped optgroup[label="₿ Cryptocurrencies"] {
  color: #fbbf24;
}

/* Checklist */
.checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.checklist-progress {
  font-size: 0.9rem;
  color: #3b82f6;
  font-weight: 600;
}
.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.checklist-item:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
}
.checklist-item.done {
  opacity: 0.75;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
}
.checklist-item.done span {
  text-decoration: line-through;
  color: #94a3b8;
}
.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #3b82f6;
}

/* Quiz (Where to Go) */
.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.quiz-option {
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.6);
  color: #e5e7eb;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}
.quiz-option:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.1);
}
.quiz-option.selected {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}
.quiz-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.quiz-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.quiz-result-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.quiz-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.quiz-result-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}
.quiz-result-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #f8fafc;
}
.quiz-result-card p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Visa check result */
.visa-check-form {
  margin-bottom: 24px;
}
.visa-check-result {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid;
}
.visa-check-result.visa-ok {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
}
.visa-check-result.visa-warn {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
}
.visa-check-result.visa-required {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}
.visa-check-result.visa-check {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.35);
}
.visa-check-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}
.visa-check-result h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #f8fafc;
}
.visa-check-result p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
}
.visa-check-note {
  margin-top: 14px !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
}

/* کارت ویزا در صفحه رزرو (پرواز خارجی) */
.booking-visa-section.discover-section { padding: 0 0 28px; }
.booking-visa-section .discover-heading { font-size: 1.2rem; margin-bottom: 16px; }
.booking-visa-card.visa-check-result {
  padding: 20px 22px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.booking-visa-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}
.booking-visa-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94a3b8;
}
.booking-visa-block {
  margin-bottom: 14px;
}
.booking-visa-block:last-of-type { margin-bottom: 0; }
.booking-visa-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 6px;
}
.booking-visa-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.booking-visa-list li { margin-bottom: 4px; }
.booking-visa-list li:last-child { margin-bottom: 0; }
.booking-visa-docs.booking-visa-list { color: #94a3b8; }
.booking-visa-note {
  margin: 14px 0 0 !important;
  font-size: 0.8rem !important;
  color: #64748b !important;
  line-height: 1.45;
}

/* Car rentals */
.car-rentals-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.car-rentals-intro {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}
.car-country-select-wrap label {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 6px;
}
.car-country-select-wrap .tool-select {
  max-width: 280px;
}
.car-section-title {
  font-size: 1.1rem;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  color: #e5e7eb;
}
.car-rules-section,
.car-price-section,
.car-form-section {
  padding-top: 4px;
}
.car-rules-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
}
.car-rules-list li {
  margin-bottom: 6px;
}
.car-rules-list strong {
  color: #e2e8f0;
}
.car-price-range {
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 0.95rem;
}
.car-types-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.car-types-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.car-types-table th,
.car-types-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.car-types-table th {
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
  font-weight: 600;
}
.car-types-table td {
  color: #cbd5e1;
}
.car-types-table tbody tr:last-child td {
  border-bottom: none;
}
.car-types-table tbody tr:hover td {
  background: rgba(59, 130, 246, 0.05);
}
.car-form-intro {
  margin: 0 0 18px;
  color: #94a3b8;
  font-size: 0.9rem;
}
.car-rental-form .car-form-grid {
  margin-bottom: 18px;
}
.car-rental-form .required {
  color: #f87171;
}
.car-form-message {
  margin-bottom: 20px;
}
.tool-textarea {
  min-height: 88px;
  resize: vertical;
}
.car-form-success {
  padding: 20px 24px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.car-form-success-icon {
  font-size: 1.5rem;
  color: #22c55e;
  flex-shrink: 0;
}
.car-form-success p {
  margin: 0;
  color: #a7f3d0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Flight tracker */
.tracker-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tracker-input {
  flex: 1;
  min-width: 200px;
}
.tracker-result {
  padding: 24px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.tracker-status {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.tracker-status.ok {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}
.tracker-status.boarding {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}
.tracker-status.delay {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.tracker-status.unknown {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}
.tracker-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tracker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #e5e7eb;
}
.tracker-arrow {
  color: #3b82f6;
  font-weight: 600;
}
.tracker-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: #64748b;
}
.tracker-error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}
.tracker-error-text {
  margin: 0;
  color: #fca5a5;
  font-size: 0.95rem;
}
.tracker-label {
  min-width: 120px;
  color: #94a3b8;
}
.tracker-callsign .tracker-label + span {
  font-weight: 600;
  font-size: 1.1rem;
}
.tracker-map-link {
  color: #60a5fa;
  text-decoration: none;
  font-size: 0.9rem;
}
.tracker-map-link:hover {
  text-decoration: underline;
}
.tracker-status.on-ground {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}
.tracker-status.in-flight {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

/* Weather */
.weather-form {
  margin-bottom: 24px;
}
.weather-result {
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.weather-result-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.weather-result-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.weather-result-location {
  margin: 0;
  font-size: 1.25rem;
  color: #f8fafc;
}
.weather-result-time {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}
.weather-result-main {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.weather-temp {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e2e8f0;
}
.weather-desc {
  font-size: 1.1rem;
  color: #94a3b8;
}
.weather-result-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.weather-attribution {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}
.weather-attribution a {
  color: #60a5fa;
  text-decoration: none;
}
.weather-attribution a:hover {
  text-decoration: underline;
}

/* Weather: 7-day and extended forecast */
.weather-section-title {
  margin: 24px 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #e2e8f0;
}
.weather-section-title-small {
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
}
.weather-week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}
.weather-day-card {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.weather-day-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #e2e8f0;
}
.weather-day-date {
  font-size: 0.8rem;
  color: #94a3b8;
}
.weather-day-emoji {
  font-size: 1.75rem;
  line-height: 1;
}
.weather-day-temp {
  font-size: 0.9rem;
  color: #cbd5e1;
}
.weather-extended-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}
.weather-extended-row {
  display: grid;
  grid-template-columns: 44px 72px 2rem 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.35);
  color: #94a3b8;
}
.weather-extended-day {
  font-weight: 500;
  color: #cbd5e1;
}
.weather-extended-date {
  color: #94a3b8;
}
.weather-extended-emoji {
  font-size: 1.1rem;
  line-height: 1;
}
.weather-extended-temp {
  color: #cbd5e1;
  text-align: right;
}

/* Flight distance */
.distance-form {
  margin-bottom: 24px;
}
.distance-field {
  min-width: 200px;
}
.distance-autocomplete {
  position: relative;
}
.distance-autocomplete input {
  width: 100%;
}
.distance-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  margin-top: 4px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.distance-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
}
.distance-dropdown-item:hover {
  background: rgba(59, 130, 246, 0.2);
}
.distance-result {
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.distance-value {
  font-size: 2rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}
.distance-duration {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 8px;
}
.distance-route {
  font-size: 0.95rem;
  color: #60a5fa;
}

/* Budget */
.budget-form {
  margin-bottom: 24px;
}
.budget-result {
  padding: 24px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.budget-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.budget-total-label {
  font-size: 0.9rem;
  color: #94a3b8;
}
.budget-total-value {
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
}
.budget-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.budget-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #e5e7eb;
}
.budget-item span:last-child {
  color: #94a3b8;
}
.budget-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

/* Countdown */
.countdown-form {
  margin-bottom: 24px;
}
.countdown-display {
  padding: 28px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.countdown-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 20px;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.countdown-box {
  padding: 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.countdown-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #3b82f6;
}
.countdown-label {
  font-size: 0.85rem;
  color: #94a3b8;
}
.countdown-date {
  font-size: 0.95rem;
  color: #94a3b8;
}
.countdown-past {
  color: #f87171;
  font-size: 0.95rem;
  margin: 16px 0 0;
}

@media (max-width: 640px) {
  .tools-page { padding: 24px 16px 48px; }
  .tools-page .tool-card.widget { padding: 20px; }
  .converter-row { flex-direction: column; align-items: stretch; }
  .converter-swap-btn { align-self: center; }
  .countdown-grid { grid-template-columns: repeat(2, 1fr); }
}
