@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-RD[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BNazaninFont';
  src: url('../fonts/BNazanin/Bahij Nazanin-Bold.ttf'); /* IE9 Compat Modes */
}

* {
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}

html {
  direction: rtl;
  font-size: 13px;
  letter-spacing: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.star label::after {
  content: ' *';
  color: var(--v-error-base);
}

.v-list-group--sub-group.v-list-group--active
  .v-list-item__icon.v-list-group__header__prepend-icon
  .v-icon {
  transform: none !important;
}

.font-vazir {
  font-family: Vazirmatn !important;
  letter-spacing: 0 !important;
  font-weight: normal;
}

.font-nazanin {
  font-family: 'BNazaninFont' !important;
  letter-spacing: 0 !important;
}

.font-times {
  font-family: 'Times New Roman', 'serif';
}

.v-label {
  font-size: 14px !important;
}

.v-btn {
  letter-spacing: 0 !important;
  font-weight: normal !important;
}

.myPointer {
  cursor: pointer !important;
}


/* برای اسکرول کل سایت*/

/* For WebKit browsers (Chrome, Safari, Edge) */
body::-webkit-scrollbar {
  width: 6px; /* Width of the scrollbar */
}

body::-webkit-scrollbar-thumb {
  background-color: #888; /* Color of the scrollbar handle */
  border-radius: 10px; /* Rounded edges */
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Darker color on hover */
}

body::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* Background of the scrollbar track */
}

/* For Firefox */
body {
  scrollbar-width: thin !important;/* Makes the scrollbar thin */
  scrollbar-color: var(--v-secondary-lighten3) var(--v-background-base) !important; /* Handle color and track color */
}

/* Optional: To target all scrollable areas, use this */
* {
  scrollbar-width: thin !important;/* Makes the scrollbar thin */
  scrollbar-color: var(--v-secondary-lighten3) var(--v-background-base) !important; /* Handle color and track color */
}
/*برای تغییر رنگ بنفش که مررورگر در زمان پر کردن خودکار فیلد ها می انداخت*/
/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  /* -webkit-box-shadow: 0 0 0 30px white inset !important; */
}

/*برای متن هایی که طولانی هست و نمی خواهیم کل متن را نمایش بدیم*/
.longText {
  width: auto;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.font80 {
  font-size: 0.8rem !important;
  letter-spacing: 0;
}

.tapItemText {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dataGridFormulaView {
  text-align: left !important;
  direction: ltr;
  display: flex;
}

.textAlignCenter {
  text-align: center;
}

.textAlignLeft {
  text-align: left;
}

.tableBorder {
  border: 1px solid black;
  border-collapse: collapse;
  font-family: Vazirmatn;
  font-size: 14px;
  font-weight: normal;
  width: 100%;
}

.tableBorder td,
.tableBorder th {
  border: 1px solid black;
  padding: 5px;
}

.tableBorder thead,
.tableBorder tfoot {
  background-color: rgba(0, 0, 0, 0.1);
}

.tableBorder thead th,
.tableBorder tfoot td {
  padding: 5px;
}

/*.tableBorder tr:nth-child(even) {*/
/*  background-color: rgba(0, 0, 0, 0.05);*/
/*}*/

.pr-1 {
  padding-right: 2px;
}

.pl-2 {
  padding-left: 4px;
}

.v-card__title {
  padding: 8px 0px !important;
}

.v-dialog {
  background-color: var(--v-background-base);
}

/* calendar darkmode */
.vpd-content,
.vpd-addon-list,
.vpd-addon-list-item.selected {
  background: var(--v-background-base) !important;
}

.vpd-addon-list-item {
  border-color: var(--v-background-base) !important;
}

.vpd-addon-list-item.selected,
.vpd-addon-list-item:hover {
  background-color: var(--v-info-base) !important;
  color: var(--v-background-base) !important;
}

.vpd-icon-btn {
  color: var(--v-background-base) !important;
  background-color: var(--v-primary-base) !important;
}

.v-dialog > .v-card > .v-card__text {
  padding: 5px 10px;
}

.v-dialog {
  overflow-y: clip !important;
}

#notification-badge .v-badge__badge {
  margin-top: -5px !important;
  margin-left: -5px !important;
}

.v-alert--prominent .v-alert__icon {
  align-self: start !important;
  height: 42px;
  min-width: 42px;
}

b,
strong {
  font-weight: bold !important;
}

.width-full {
  width: 100%;
}

.height-full {
  height: 100%;
}

.border {
  border: 1px solid black;
}

.border-l {
  border-left: 1px solid black;
}

.border-r {
  border-right: 1px solid black;
}

.border-t {
  border-top: 1px solid black;
}

.border-b {
  border-bottom: 1px solid black;
}

.border-x {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.border-y {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

.dash-border {
  border: 1px dashed black;
}

.dash-border-r {
  border-right: 1px dashed black;
}

.dash-border-l {
  border-left: 1px dashed black;
}

.dash-border-b {
  border-bottom: 1px dashed black;
}

.dash-border-t {
  border-top: 1px dashed black;
}

.dash-border-x {
  border-left: 1px dashed black;
  border-right: 1px dashed black;
}

.dash-border-y {
  border-top: 1px dashed black;
  border-bottom: 1px dashed black;
}

.form-checkbox {
  margin-right: 2px;
  margin-left: 20px;
  display: inline-block;
  position: relative;
}

.form-checkbox:after {
  content: '';
  height: 1em;
  width: 1em;
  border: 1px solid black;
  display: inline-block;
  margin: 0 2px;
  border-radius: 4px;
  position: absolute;
}

.form-checkbox.checked:after {
  background-color: black;
}

.page {
  width: 26cm;
  min-height: 35cm;
  padding-left: 1cm;
  padding-right: 1cm;
  margin: 0.5cm auto;
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  .page {
    margin: 0;
    border: initial;
    border-radius: initial;
    width: initial;
    min-height: initial;
    box-shadow: initial;
    background: initial;
    page-break-after: always;
  }

  @page {
    size: A4;
  }
}

.border-radius {
  border-radius: 4px;
}

.v-select__selections {
  flex-wrap: nowrap !important;
}

.v-text-field fieldset {
  text-align: center;
  background-color: #f9f9f9;
  border-color: #dbdfd3 !important;
}

.pulse-alert {
  transform: scale(1);
  animation: pulse 0.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
  }

  70% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(0.9);
  }
}