/**
 * اعمال یکپارچه تم، فونت و بهبود موبایل در کل اپ (RTL)
 */
:root {
  --app-radius-sm: 0.5rem;
  --app-radius: 0.75rem;
  --app-radius-lg: 1rem;
  --app-shadow-soft: 0 0.125rem 0.375rem rgba(67, 89, 113, 0.1);
  --app-font-stack: Vazir, "Segoe UI", Tahoma, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--app-font-stack);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* دسترسی‌پذیری: فوکوس قابل مشاهده */
:focus-visible {
  outline: 2px solid rgba(105, 108, 255, 0.55);
  outline-offset: 2px;
}

/* کارت‌ها و فرم‌ها */
.card,
.authentication-wrapper .card {
  border-radius: var(--app-radius-lg);
  box-shadow: var(--app-shadow-soft);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(105, 108, 255, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.12);
}

.btn {
  border-radius: var(--app-radius-sm);
}

/* نوار بالا در موبایل */
@media (max-width: 1199.98px) {
  .layout-navbar .container-xxl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.text-heading {
  letter-spacing: -0.02em;
}

.page-invoice-search .invoice-user-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .page-invoice-search .invoice-user-card:hover {
    box-shadow:
      0 0.125rem 0.375rem rgba(67, 89, 113, 0.12),
      0 0.75rem 1.5rem rgba(79, 70, 229, 0.08);
    transform: translateY(-2px);
  }
}
