/* Import Persian Vazirmatn font from Google Fonts and native fallback families */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

body {
  font-family: "Vazirmatn", "Inter", ui-sans-serif, system-ui, sans-serif;
  direction: rtl;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Custom modern scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Grayscale Print Stylesheet for window.print() */
@media print {
  body {
    background: white !important;
    color: black !important;
    font-size: 11pt !important;
  }
  
  /* Hide unnecessary items from print view */
  header,
  .no-print,
  button,
  select,
  input,
  textarea,
  .modal-overlay {
    display: none !important;
  }

  /* Main printed branch section */
  .print-branch-only {
    display: block !important;
    border: 2px solid #111111 !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    page-break-inside: avoid;
  }

  /* Specific high contrast coloring for events during printing */
  .event-card-print {
    border: 1px solid #333333 !important;
    background: #ffffff !important;
    color: #000000 !important;
    margin-bottom: 1rem !important;
    padding: 0.75rem !important;
    border-radius: 4px !important;
  }
}
