@font-face {
  font-family: Vazir;
  src: url(../../font/Vazir.woff2);
}
@font-face {
  font-family: Samim;
  src: url(../../font/Samim.tff);
}
@font-face {
  font-family: Iransans;
  src: url(../../font/IranianSans.ttf);
}
@font-face {
  font-family: Yekan;
  src: url(../../font/Yekan.woff);
}

* {
  font-family: "Vazir", "sans-serif";
  direction: rtl;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.fs-sm {
  font-size: 14px;
}
.fs-xsm {
  font-size: 12px;
}

.selectable {
  cursor: pointer;
}

.jalali-datepicker-container {
  z-index: 1100 !important;
}

/* رنگ پس‌زمینه در حالت فعال */
.custom-switch:checked {
  background-color: green !important;
  border-color: green !important;
}

.height-limited {
  max-height: 600px;
  overflow-y: scroll;
}

.collateral-info .document img {
  max-width: 250px;
  height: auto;
}

.loading {
  background-color: white;
  z-index: 99999999;
}

.sidebar {
  max-height: 100%;
}

.top-logo {
  width: 80px;
  height: auto;
}

@media print {
  #print {
    height: auto !important; /* محدودیت ارتفاع را بردار */
    overflow: visible !important; /* حذف کردن overflow */
  }
}
