
@font-face {
  font-family: Shabnam-Bold;
  src: url('fonts/Shabnam-Bold-FD.eot');
  src: url('fonts/Shabnam-Bold-FD.eot?#iefix') format('embedded-opentype'),
       url('fonts/Shabnam-Bold-FD.woff2') format('woff2'),
       url('fonts/Shabnam-Bold-FD.woff') format('woff'),
       url('fonts/Shabnam-Bold-FD.ttf') format('truetype');
  font-weight: bold;
}

html, body, * {
  box-sizing: border-box;
  font-size: 14px;
}
iframe {
    border: none;
}
html, body {
  height: 100%;
  text-align: center;
}

body {
  font-family: "Shabnam-Bold", sans-serif;
  padding: 2rem;
  background: #f8f8f8;
}


/* این کد را به بخش style هر سه صفحه اضافه کنید */
body {
  -webkit-user-select: none;  /* برای مرورگرهای مبتنی بر WebKit مانند Chrome, Safari */
  -moz-user-select: none;     /* برای Firefox */
  -ms-user-select: none;      /* برای Internet Explorer/Edge */
  user-select: none;          /* استاندارد جدید */
}

/* استثنا برای عناصر تعاملی که نیاز به انتخاب متن دارند */
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

h2 {
  font-family: "Shabnam-Bold", sans-serif;
  font-size: 21px;
  line-height: 1;
  color: #454cad;
  margin-bottom: 0;
}

.lead {
  font-family: "Shabnam-Bold", sans-serif;
  font-size: 26px;!
}

p {
  font-family: "Shabnam-Bold", sans-serif;
  font-size: 18px;
  color: #5f6982;
}


.uploader {
  display: block;
  clear: both;
  margin: 0 auto;
  width: 100%;
  max-width: 670px;
}
.uploader label {
  float: left;
  clear: both;
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  border-radius: 7px;
  border: 3px solid #eee;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.uploader label:hover {
  border-color: #454cad;
}
.uploader label.hover {
  border: 3px solid #454cad;
  box-shadow: inset 0 0 0 6px #eee;
}
.uploader label.hover #start i.fa {
  transform: scale(0.8);
  opacity: 0.3;
}
.uploader #start {
  float: left;
  clear: both;
  width: 100%;
}
.uploader #start.hidden {
  display: none;
}
.uploader #start i.fa {
  font-size: 50px;
  margin-bottom: 1rem;
  transition: all 0.2s ease-in-out;
}
.uploader #response {
  float: left;
  clear: both;
  width: 100%;
}
.uploader #response.hidden {
  display: none;
}
.uploader #response #messages {
  margin-bottom: 0.5rem;
}
.uploader #file-image {
  display: inline;
  margin: 0 auto 0.5rem auto;
  width: auto;
  height: auto;
  max-width: 180px;
}
.uploader #file-image.hidden {
  display: none;
}
.uploader #notimage {
  display: block;
  float: left;
  clear: both;
  width: 100%;
}
.uploader #notimage.hidden {
  display: none;
}
.uploader progress,
.uploader .progress {
  display: inline;
  clear: both;
  margin: 0 auto;
  width: 100%;
  max-width: 180px;
  height: 8px;
  border: 0;
  border-radius: 4px;
  background-color: #eee;
  overflow: hidden;
}
.uploader .progress[value]::-webkit-progress-bar {
  border-radius: 4px;
  background-color: #eee;
}
.uploader .progress[value]::-webkit-progress-value {
  background: linear-gradient(to right, #393f90 0%, #454cad 50%);
  border-radius: 4px;
}
.uploader .progress[value]::-moz-progress-bar {
  background: linear-gradient(to right, #393f90 0%, #454cad 50%);
  border-radius: 4px;
}
.uploader input[type=file] {
  display: none;
}
.uploader div {
  margin: 0 0 0.5rem 0;
  color: #5f6982;
}
.uploader .btn {
  display: inline-block;
  margin: 0.5rem 0.5rem 1rem 0.5rem;
  clear: both;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: initial;
  border: none;
  border-radius: 0.2rem;
  outline: none;
  padding: 0 1rem;
  height: 36px;
  line-height: 36px;
  color: #fff;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
  background: #454cad;
  border-color: #454cad;
  cursor: pointer;
}

.loader {
  --c1:#454cad;
  --c2:#5baded;
  width: 40px;
  height: 80px;
  border-top: 4px solid var(--c1);
  border-bottom: 4px solid var(--c1);
  background: linear-gradient(90deg, var(--c1) 2px, var(--c2) 0 5px,var(--c1) 0) 50%/7px 8px no-repeat;
  display: grid;
  overflow: hidden;
  animation: l5-0 2s infinite linear;
}
.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  width: 75%;
  height: calc(50% - 4px);
  margin: 0 auto;
  border: 2px solid var(--c1);
  border-top: 0;
  box-sizing: content-box;
  border-radius: 0 0 40% 40%;
  -webkit-mask:
    linear-gradient(#000 0 0) bottom/4px 2px no-repeat,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
          mask-composite: exclude;
  background:
    linear-gradient(var(--d,0deg),var(--c2) 50%,#0000 0) bottom /100% 205%,
    linear-gradient(var(--c2) 0 0) center/0 100%;
  background-repeat: no-repeat;
  animation: inherit;
  animation-name: l5-1;
}
.loader::after {
  transform-origin: 50% calc(100% + 2px);
  transform: scaleY(-1);
  --s:3px;
  --d:180deg;
}
@keyframes l5-0 {
  80%  {transform: rotate(0)}
  100% {transform: rotate(0.5turn)}
}
@keyframes l5-1 {
  10%,70%  {background-size:100% 205%,var(--s,0) 100%}
  70%,100% {background-position: top,center}
}


.tbls {
  display: block;
  clear: both;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}
.tbls label {
  float: left;
  clear: both;
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  border-radius: 7px;
  border: 3px solid #eee;
  transition: all 0.2s ease;
  -webkit-user-select: auto;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: auto;
}
.tbls label:hover {
  border-color: #454cad;
}
.tbls label.hover {
  border: 3px solid #454cad;
  box-shadow: inset 0 0 0 6px #eee;
}
.tbls label.hover #start i.fa {
  transform: scale(0.8);
  opacity: 0.3;
}
.tbls #start {
  float: left;
  clear: both;
  width: 100%;
}
.tbls #start.hidden {
  display: none;
}
.tbls #start i.fa {
  font-size: 50px;
  margin-bottom: 1rem;
  transition: all 0.2s ease-in-out;
}
.tbls #response {
  float: left;
  clear: both;
  width: 100%;
}
.tbls #response.hidden {
  display: none;
}
.tbls #response #messages {
  margin-bottom: 0.5rem;
}
.tbls #file-image {
  display: inline;
  margin: 0 auto 0.5rem auto;
  width: auto;
  height: auto;
  max-width: 180px;
}
.tbls #file-image.hidden {
  display: none;
}
.tbls #notimage {
  display: block;
  float: left;
  clear: both;
  width: 100%;
}
.tbls #notimage.hidden {
  display: none;
}
.tbls progress,
.tbls .progress {
  display: inline;
  clear: both;
  margin: 0 auto;
  width: 100%;
  max-width: 180px;
  height: 8px;
  border: 0;
  border-radius: 4px;
  background-color: #eee;
  overflow: hidden;
}
.tbls .progress[value]::-webkit-progress-bar {
  border-radius: 4px;
  background-color: #eee;
}
.tbls .progress[value]::-webkit-progress-value {
  background: linear-gradient(to right, #393f90 0%, #454cad 50%);
  border-radius: 4px;
}
.tbls .progress[value]::-moz-progress-bar {
  background: linear-gradient(to right, #393f90 0%, #454cad 50%);
  border-radius: 4px;
}
.tbls input[type=file] {
  display: none;
}
.tbls div label {
  float: right !important;
  clear: none !important;
  width: auto !important;
  padding: 0.5rem 0.5rem !important;
  text-align: center !important;
  background: #fff !important;
  border-radius: 7px !important;
  border: 0px solid #eee !important;
  transition: all 0.2s ease !important;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin: 0 0 0 0 !important;
  color: #5f6982 !important;
  font-weight: normal !important;
}
.tbls .btn {
  display: inline-block;
  margin: 0.5rem 0.5rem 1rem 0.5rem;
  clear: both;
  font-family: inherit;
  font-weight: normal;
  font-size: 14px;
  text-decoration: none;
  text-transform: initial;
  border: none;
  border-radius: 0.2rem;
  outline: none;
  padding: 0 1rem;
  height: 36px;
  line-height: 36px;
  color: #fff;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
  background: #454cad;
  border-color: #454cad;
  cursor: pointer;
}

.ex-container-btn-file {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  background-color: #307750;
  color: #fff;
  border-style: none;
  padding: 1em 2em;
  border-radius: 0.5em;
  overflow: hidden;
  z-index: 1;
  box-shadow: 4px 8px 10px -3px rgba(0, 0, 0, 0.356);
  transition: all 250ms;
  cursor: pointer;
}
.ex-container-btn-file input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.ex-container-btn-file > svg {
  margin-left: 1em;
}
.ex-container-btn-file::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0;
  border-radius: 0.5em;
  background-color: #469b61;
  z-index: -1;
  transition: all 350ms;
}
.ex-container-btn-file:hover::before {
  width: 100%;
}

  .notify-container {
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 10001;
    font-family: 'Shabnam-Bold', sans-serif;
    direction: rtl;
    width: 400px;
    font-size: 14px;
    text-align: justify;
    line-height: 1.5;
  }
  .notify {
    min-width: 250px;
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .notify.show {
    opacity: 1;
    transform: translateX(0);
  }
  .notify.success { background-color: #28a745; }
  .notify.error   { background-color: #dc3545; }
  .notify.info    { background-color: #17a2b8; }
  .notify.warning { background-color: #ffc107; color: #333; }
  .notify .close-btn {
    float: right;
    cursor: pointer;
    font-weight: bold;
    margin-left: 8px;
  }

.alert-info {
      background-color: #e8f4fd;
      border-color: #82a9c1;
      color: #31708f;
    }
    .alert-info-red {
      background-color: #fde6f0;
      border-color: #e9b6cd;
      color: #bf3847;
    }
    .alert-info-green {
      background-color: #edfde6;
      border-color: #3dd95b;
      color: #3e8439;
    }
    .alert-info-orange {
      background-color: #fffbeb;
      border-color: #EF9400;
      color: #92400e;
    }
    .status-active {
      color: #2e7d32;
    }

    .status-completed {
      color: #000000;
    }

    .status-void {
      color: #c62828;
    }

    .status-cancelled {
      color: #000000;
    }

    .status-extendable {
      color: #c62828;
    }

    .status-extended {
      color: #2e7d32;
    }

    .status-unknown {
      color: #f5f5f5;
    }
    
    .status-expired {
     color: #ff9800;
    }

    .status-archived {
     color: #9e9e9e;
    }

    .action-buttons {
     display: flex;
     align-items: center;
    }

    .icons-container {
     display: flex;
    }

    .btn-view, .btn-list, .btn-copy, .btn-healthcard, .btn-extendtime, .btn-novisitwhy, .btn-nopaid, .btn-check {
      background: none;
      border: none;
      cursor: pointer;
      color: #454cad;
      padding: 5px;
      font-size: 16px;
      transition: all 0.3s;
    }

    .btn-view:hover {
      color: #e74c3c;
    }

    .btn-copy:hover {
      color: #e74c3c;
    }

    .btn-list:hover {
      color: #e74c3c;
    }

    .btn-healthcard:hover {
      color: #e74c3c;
    }

    .btn-extendtime:hover {
      color: #e74c3c;
    }

    .btn-novisitwhy:hover {
      color: #e74c3c;
    }

    .btn-nopaid:hover {
      color: #e74c3c;
    }

    .btn-check:hover {
      color: #e74c3c;
    }

    .tabs-container {
      margin: 0 auto;
      width: 100%;
      text-align: right;
      position: relative;
    }
    .tabs {
      display: inline-flex;
      margin-bottom: 2px;
      margin-top: 15px;
      border-bottom: 2px solid #eee;
      background-color: #f8f9fa;
      border-radius: 8px 8px 0 0;
      padding: 0;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .tab {
      padding: 16px 5.1px;
      cursor: pointer;
      background-color: #fff;
      border: none;
      border-radius: 5px 5px 0 0;
      margin-left: 0;
      transition: all 0.3s;
      color: #000;
      position: relative;
      border-right: 1px solid #e0e0e0;
    }
    .tab:last-child {
      border-right: 1px solid #e0e0e0;
    }
    .tab:hover {
      background-color: #eee;
      color: #000;
    }
    .tab.active {
      background-color: #454cad;
      color: white;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .tab.active::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #454cad;
    }
    .table-container {
      display: none;
      animation: fadeIn 0.5s;
      width: 100%;
      overflow-x: auto;
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    .table-container.active {
      display: block;
    }
    .dataTables_wrapper {
      position: relative;
      width: 100% !important;
    }
    table.dataTable thead th,
    table.dataTable tbody td {
      text-align: center;
      vertical-align: middle;
    }
    .persian-number {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      direction: ltr;
      display: inline-block;
      unicode-bidi: embed;
    }
    .dataTables_length {
      margin-top: -2px;
    }
    .dataTables_length select {
      font-size: 16px;
      margin: 0 5px;
    }
    .dataTables_info {
      font-weight: normal;
      float: left;
      padding-top: 12px;
      margin-bottom: 5px;
    }
    .dataTables_filter {
      float: right;
      margin-bottom: 15px;
    }
    div.top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
      clear: both;
      width: 100%;
    }
    .dataTables_wrapper .bottom {
      margin-top: 10px;
    }
    div.dataTables_scrollHead {
    z-index: 100 !important;
    }
    .dataTables_paginate {
      margin-top: 10px !important;
    }
    table.dataTable tbody tr {
      background-color: white;
    }
    table.dataTable tbody tr:hover {
      background-color: #f5f5f5;
    }
    .dropdown-menu {
      text-align: right !important;
    }
    .dataTables_filter input {
      direction: rtl;
      text-align: right;
    }
    .tbls {
      width: 100%;
      overflow-x: auto;
    }
    .tbls table {
      width: 100% !important;
      max-width: 100% !important;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .topmenu {
      background: none;
      border: none;
      cursor: pointer;
      color: #000;
      font-size: 40px;
      transition: all 0.3s;
    }

    .topmenu:hover {
      color: #454cad;
    }
    
    .custom-topmenu {
      font-size: 44px;
    }

    
    .custom-tooltip {
  position: relative;
}

.custom-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-5%);
  background: #454cad;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9999;
}


.custom-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  z-index: 9999;

}

.custom-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #454cad transparent transparent transparent;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
}

.custom-tooltip:hover::before {
  opacity: 1;
  bottom: calc(100% - 5px);
  z-index: 9999;
}

.custom-tooltip.no-tooltip::before {
    display: none !important;
}

.btn-novisitwhy.tab5-only {
  display: none;
}

.tab5-table .btn-novisitwhy.tab5-only {
  display: inline-block;
}

.btn-extendtime.tab6-only {
  display: none;
}

.tab6-table .btn-extendtime.tab6-only {
  display: inline-block;
}

.btn-nopaid.tab12-only {
  display: none;
}

.tab12-table .btn-nopaid.tab12-only {
  display: inline-block;
}


  /* استایل‌های اصلی نمودار */
  #chartWindow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    background: white;
    z-index: 99999;
    padding: 25px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    border-radius: 10px;
    direction: rtl;
    font-family: "Shabnam-Bold", sans-serif;
  }
  
  /* عنوان نمودار */
  .chart-header {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .chart-title {
    color: #2c3e50;
    margin: 0;
    font-family: "Shabnam-Bold", sans-serif;
  }
  
  .chart-subtitle {
    color: #00000;
    margin: 15px 0 0;
    font-family: "Shabnam-Bold", sans-serif;
  }
  
  /* بخش نمودار */
  .chart-body {
    position: relative;
    height: 65vh;
    margin: 10px 0;
    font-family: "Shabnam-Bold", sans-serif;
  }
  
  /* دکمه بستن */
  .chart-footer {
    text-align: center;
    margin-top: 10px;
    font-family: "Shabnam-Bold", sans-serif;
  }
  
  .close-chart-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Shabnam-Bold";
    transition: all 0.3s;
  }
  
  .close-chart-btn:hover {
    background: #c0392b;
    font-family: "Shabnam-Bold", sans-serif;
  }
  
  /* پیام خطا */
  .chart-error {
    color: #e74c3c;
    text-align: center;
    padding: 30px;
    font-family: "Shabnam-Bold", sans-serif;
  }

    input.input-sm {
    width: 120px !important;;
  }

#tab2 .btn-chart,
#tab3 .btn-chart,
#tab4 .btn-chart,
#tab5 .btn-chart,
#tab6 .btn-chart,
#tab7 .btn-chart,
#tab8 .btn-chart,
#tab9 .btn-chart,
#tab10 .btn-chart,
#tab12 .btn-chart,
#tab11 .btn-chart {
    display: none !important;
}

#tab2 .btn-reports,
#tab3 .btn-reports,
#tab4 .btn-reports,
#tab5 .btn-reports,
#tab6 .btn-reports,
#tab7 .btn-reports,
#tab8 .btn-reports,
#tab9 .btn-reports,
#tab10 .btn-reports,
#tab12 .btn-reports,
#tab11 .btn-reports {
    display: none !important;
}

#tab1 .btn-refund,
#tab2 .btn-refund,
#tab3 .btn-refund,
#tab5 .btn-refund,
#tab6 .btn-refund,
#tab7 .btn-refund,
#tab8 .btn-refund,
#tab9 .btn-refund,
#tab10 .btn-refund,
#tab11 .btn-refund,
#tab12 .btn-refund {
    display: none !important;
}
.dt-buttons {
        margin-top: -12px !important;
}


#status-content.active ~ #filterTabsContainer {
    display: none;
}

#tab2 .btn-visitedreports,
#tab3 .btn-visitedreports,
#tab4 .btn-visitedreports,
#tab5 .btn-visitedreports,
#tab6 .btn-visitedreports,
#tab7 .btn-visitedreports,
#tab8 .btn-visitedreports,
#tab9 .btn-visitedreports,
#tab10 .btn-visitedreports,
#tab12 .btn-visitedreports,
#tab1 .btn-visitedreports {
    display: none !important;
}


/* عرض اسکرول‌بار */
::-webkit-scrollbar {
  width: 20px;
}

/* پس‌زمینه اسکرول‌بار (track) */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

/* قسمت قابل حرکت (thumb) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(#3498db, #2ecc71);
  border-radius: 10px;
}

/* هنگام هاور روی thumb */
::-webkit-scrollbar-thumb:hover {
  background: #2980b9;
}


.login-tooltip {
  position: absolute;
  font-family: "Shabnam-Bold", sans-serif;
}

.login-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  font-family: "Shabnam-Bold", sans-serif;
  top: 120%;
  left: 50%;
  transform: translateX(-8%);
  background: #454cad;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9999;
}


.login-tooltip:hover::after {
  opacity: 1;
  font-family: "Shabnam-Bold", sans-serif;
  visibility: visible;
  z-index: 9999;

}


.visitreport-tooltip {
  position: relative;
}

.visitreport-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -95%;
  left: 0%;
  transform: translateX(-30%);
  background: #454cad;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9999;
}


.visitreport-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  z-index: 9999;

}

.visitreport-tooltip::before {
  content: "";
  position: absolute;
  top: -16%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #454cad transparent transparent transparent;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
}

.visitreport-tooltip:hover::before {
  opacity: 1;
  bottom: calc(100% - 5px);
  z-index: 9999;
}

.visitreport-tooltip.no-tooltip::before {
    display: none !important;
}


td.copy { position: relative; }  /* برای جایگذاری ::after */
td.copy::after {
    content: 'برای ذخیره کلیک کنید';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;
    font-size: 0.5rem;
    color: #94a3b8;
    opacity: 0;
    transition: opacity .2s;
    white-space: nowrap;

}
td.copy:hover::after { opacity: 1; }


/* loading Code */
    /* loading Code */
    .loading-overlay {
      display: flex;
      justify-content: center;
      align-items: center;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.95);
      z-index: 9999;
    }
    .loading-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      margin-bottom:15%;
    }

@keyframes ldio-wd0tfznac7 {
    0%    { transform: translate(2px,2px) }
   33.33% { transform: translate(102px,2px) }
   66.66% { transform: translate(42px,102px) }
  100%    { transform: translate(2px,2px) }
}


.ldio-wd0tfznac7 > div {
  transform: scale(1);
  transform-origin: 0px 0px;
}

.ldio-wd0tfznac7 > div > div {
  animation: ldio-wd0tfznac7 1s linear infinite;
  position: absolute
}

.ldio-wd0tfznac7 > div > div div:nth-child(1) {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 12px solid #454cad;
  background: none
}

.ldio-wd0tfznac7 > div > div div:nth-child(2) {
  width: 17px;
  height:  51px;
  transform: rotate(-45deg);
  background: #454cad;
  border-radius: 0 0 8px 8px;
  position: absolute;
  top: 68px;
  left: 85px
}
.loadingio-spinner-magnify-oot7eymf2wg {
  width: auto;
  height: 200px;
  display: inline-block;
  overflow: visible;
  background: none;
  margin:auto;
}
.ldio-wd0tfznac7 {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-wd0tfznac7 div { box-sizing: content-box; }

#loadingMessage {
  font-size: 16px;
  color: #454cad;
  font-weight: bold;
  direction: rtl;
}

/* برای ریسپانسیو بودن */
@media screen and (max-width: 768px) {
  .loadingio-spinner-magnify-oot7eymf2wg {
    transform: scale(0.6);
    margin-bottom: 15px;
  }
  
  #loadingMessage {
    font-size: 16px;
  }
}

/* ردیف‌های هشدار (غیرفعال/معلق) */
.row-warning-light {
  background-color: #fffbeb !important;
}

.row-warning-light:hover {
  background-color: #ffe8a1 !important;
}

.row-warning-light td {
  background-color: inherit !important;
}

/* ستون چهارم علامت سوال بگیرد */
.row-warning-light td:nth-child(4) {
  position: relative;
  background-color: inherit;
  height: auto;  /* یا هر ارتفاعی که دارید */
}

.row-warning-light td:nth-child(4)::after {
  content: '?';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  /* استفاده از vh برای ارتفاع سلول */
  font-size: min(8vh, 40px);
  
  font-weight: bold;
  color: #d97706;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  
  /* جلوگیری از بریدگی */
  white-space: nowrap;
  line-height: 1;
}

.row-warning-light td:nth-child(4) {
  line-height: 1.5;  /* تنظیم ارتفاع خط */
  padding: 8px;      /* فاصله داخلی */
}

.row-danger-red {
  position: relative;
  background-color: #fae1e2 !important;
  overflow: hidden;
}

.row-danger-red:hover {
  background-color: #E86C4D !important;
}

/* ردیف اتمام یافته - فقط ستون چهارم ضربدر بخورد */
.row-danger-red td:nth-child(4) {
  position: relative;
  background-color: inherit;
}

.row-danger-red td:nth-child(4)::before,
.row-danger-red td:nth-child(4)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
}

/* خط اول مورب (\) */
.row-danger-red td:nth-child(4)::before {
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), #d32f2f calc(50% - 1px), #d32f2f calc(50% + 1px), transparent calc(50% + 1px));
}

/* خط دوم مورب (/) */
/* .row-danger-red td:nth-child(4)::after {
  background: linear-gradient(to bottom left, transparent calc(50% - 1px), #d32f2f calc(50% - 1px), #d32f2f calc(50% + 1px), transparent calc(50% + 1px));
} */

/* متن داخل سلول روی ضربدر باشد */
.row-danger-red td:nth-child(4) > * {
  position: relative;
  z-index: 1;
}

  /* غیرفعال کردن انتخاب متن در کل صفحه */
  body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  /* اجازه انتخاب متن فقط در فیلدهای ورودی */
  input, textarea, [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
  }