.dark-mode-switcher .dark-mode-switcher__toggle {
  direction: ltr;
}

.ntable {
  width: 100%;
}
.ntable th {
  background: #1e40af;
  color: #fff;
}
.ntable th,
.ntable td {
  border: 1px solid #00000038;
  font-size: 11px;
  text-align: center;
  padding: 5px;
}
.loading .dataTables_wrapper,
.loading table,
.loading div {
  display: none;
}
.progress-bar {
  min-height: 16px;
  font-size: 13px;
}
.d-users {
  height: 389px;
  overflow: auto;
}
.d-req {
  height: 425px;
  overflow: auto;
}
.d-req td,
.d-req th {
  font-size: 10px;
}
#rlist .align-center {
  display: inline-block;
  margin: 10px;
}
.loginlogo {
  width: 120px;
}
.dnone {
  display: none !important;
}
.logomobile {
  display: none;
}
@media (max-width: 1060px) {
  .logomobile {
    display: block;
  }

  .mobileloginlogo {
    display: inline-block;
    margin-top: -37vh;
    width: 140px;
    background: #1d40b0;
    border-radius: 30px;
    padding: 10px;
  }
  .login {
    overflow: auto !important;
    padding: 10px;
  }
  .dnone-mobile {
    display: none !important;
  }
  #myTable,
  .ntable {
    display: block;
    overflow: auto;
  }
}
@media print {
  .side-nav,
  .mobile-menu,
  .top-bar,
  .dark-mode-switcher {
    display: none;
  }
  .content {
    margin-top: -1.7rem;
    height: auto !important;
    padding: 0 !important;
    background: none !important;
    min-height: auto !important;
  }
  .lg\:col-span-6 {
    grid-column: span 6 / span 6;
  }
  .lg\:col-span-4 {
    grid-column: span 4 / span 4;
  }
  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
}
@media only screen and (max-width: 600px) {
  .mobiletable {
    display: block;
    width: 100%;
  }
  .mobiletable thead {
    display: none;
  }
  .mobiletable tr {
    margin-bottom: 10px;
    display: block;
    border-bottom: 2px solid #ddd;
  }
  .mobiletable td {
    display: block;
    text-align: right;
    font-size: 13px;
    border-bottom: 1px dotted #ccc;
  }
  .mobiletable td:last-child {
    border-bottom: 0;
  }
}
.hiddennote {
  background: #d1d1d1 !important;
}
.captcha_text {
  position: absolute;
  right: 0px;
  z-index: 999;
  padding: 2px;
  margin-top: 17px;
  opacity: 0.9;
}
input,
select,
textarea,
select,
.tom-select .ts-input,
span.select2-selection.select2-selection--single {
  border: 1px solid #d1d1d1 !important;
}

.captcha_text img {
  width: 80px;
  border-radius: 5px;
}
div#reqcodebtn {
  padding: 1px;
  font-size: 10px;
  border-radius: 5px;
  opacity: 0.6;
}
.alert {
  padding: 5px 10px;
  margin: 5px 0;
}
.dropdown .dropdown-menu {
  transform: none !important;
}
.dirltr {
  direction: ltr !important;
}

#myTable th,
#myTable td {
  border: 1px solid #00000038;
  font-size: 12px;
  text-align: center;
  padding: 4px !important;
}
#myTable {
  margin: 20px auto;
  padding: 10px 0;
  overflow: auto;
  width: 100%;
}
.dataTables_filter input {
  background: #fff !important;
  margin: 5px;
  border-radius: 10px !important;
}
.dt-buttons button {
  border-radius: 10px;
  padding: 5px 20px;
}
@media print {
  body,
  html {
    background-color: #ffffff !important;
    text-align: center;
  }
  td,
  th {
    border: 1px solid #000;
    font-size: 11px !important;
    background-color: #ffffff !important;
    text-align: center !important;
  }
  #myTable thead tr {
    background-color: #ffffff !important; /* تغییر رنگ پس‌زمینه سربرگ به سفید */
  }
  .dt-button {
    display: none; /* مخفی کردن دکمه‌ها در حالت چاپ */
  }
  /* تنظیم دیگر الزامات برای حالت چاپ */
}
.f-r {
  float: right;
}
.f-r svg {
  width: 50px !important;
  height: 80px !important;
}
.mobile-menu ul li {
  width: 95% !important;
  background: #0b2165;
  margin: 10px 0;
  border-radius: 10px 0 0 10px;
}
.align-center {
  text-align: center !important;
}
.align-justify {
  text-align: justify !important;
}

.d-block {
  display: block;
}
.largetable th,
.largetable td {
  font-size: 9px !important;
  padding: 2px !important;
}
.largetable th::before {
  display: none !important;
}
.largetable th::after {
  display: none !important;
}
#myTable th {
  background: #1d40b0;
  color: #fff;
}
.intro-y {
  text-align: justify;
}
.alert {
  text-align: center;
}
.wd-100 {
  width: 100%;
}
.light .n2table tr td:first-child {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 15%,
    rgba(241, 241, 241, 1) 87%
  );
  border-radius: 10px;
  padding-right: 15px;
  border-bottom: 10px solid #fff;
}

div#reqcodebtn {
  padding: 2px;
  font-size: 10px;
  border-radius: 5px;
  opacity: 0.6;
}
#reqcodebtn a {
  font-size: 8.5px !important;
}
#reqcodebtn a:hover {
  background: green;
}
.modal {
  right: auto !important;
  left: 0 !important;
}
.mobile-menu-bar {
  direction: ltr;
}
.mobile-menu-bar .mr-auto {
  width: 100%;
}
.recdatas .recdata {
  margin: 0;
  padding: 0;
}
.recdatas label {
  width: 50%;
  float: right;
  font-size: 10px;
  background: #1d40b0;
  color: #fff;
  margin: 0 !important;
  padding: 0;
  text-align: center;
  height: 100%;
}
.recdatas .progress {
  width: 45%;
  display: inline-block;
  text-align: center;
  margin: 2%;
}
.recdatas p {
  font-size: 11px;
  text-align: center;
}
.light .recdatas p {
  color: #000;
}
.recdata {
  border-style: solid;
  border-width: 1px;
}
.side-menu__sub-open .side-menu--active .side-menu__title {
  text-shadow: 0px 0px 3px #000;
  font-weight: bold !important;
}
* > .zindex-1 .intro-y:nth-child(1) {
  z-index: auto !important;
}
[type="file"] {
  border: 2px solid #1111110f;
}
label.reqed::after {
  content: "*";
  color: red;
  margin-right: 5px;
}
.listli li {
  list-style: auto;
}
.light .loading {
  background: url(../images/loading.gif);
  min-height: 200px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.dark .loading {
  background: url(../images/loading-dark.gif);
  height: 200px;
  background-size: 20%;
  background-repeat: no-repeat;
  background-position: center;
}
.loadinbody {
  position: relative;
  background-size: auto;
}

.loadingpage {
  position: absolute;
  top: 25vh;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  animation: spin 2s linear infinite;
  background-image: url(../images/iloading.gif);
  height: 200px;
  width: 300px;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: top center;
}
.loginswitcher {
  border-radius: 0 0 30px 30px !important;
}
.side-nav {
  position: relative;
}
.table2 th {
  background: #a3a3a3 !important;
}
.side-nav .phone {
  color: #fff;
  position: absolute;
  bottom: 0;
  padding: 10px;
}
.side-nav .copyright {
  font-size: 10px;
  color: #999;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}
.dark-mode-switcher {
  top: 50%;
  transform: rotate(270deg);
  left: -103px;
  border-radius: 30px 30px 0 0;
  padding: 0 !important;
  background: #f0f4f8;
  height: 30px;
  opacity: 0.9;
  box-shadow: none !important;
}
.tozihat {
  text-align: right !important;
  background: #e3e3e3;
}
.loadingpage p {
  animation: blink 2s linear infinite;

  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
}
/* Tooltip container */
.tgtooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
.alert:not(.show) {
  display: block;
}
/* Tooltip text */
.tgtooltip .tgtooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

.tgtooltip .tgtooltiptext {
  width: 300px;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  text-align: justify;
  padding: 5px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tgtooltip:hover .tgtooltiptext {
  visibility: visible;
}
.select2-container--default li {
  text-align: right !important;
  direction: rtl;
}
span.select2-selection.select2-selection--single {
  padding: 4px;
  height: auto;
  border: 1px solid #e3e3e3;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  direction: rtl;
}
.noborder {
  border: none !important;
}
.select2-container {
  width: 100% !important;
}

/* استایل‌های CSS برای تب‌ها */
.tab {
  display: none;
  border-top: 5px solid #1c3fb0;
}

.tab-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tab-button.active {
  background-color: #0056b3;
}
.notmyth th {
  background: #000 !important;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  color: #fff;
  font-size: 35px;
}

.progress-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
input[type='checkbox']:disabled {
  background: #a9a9a9;
}
