/* هنا التعديلات المضافة على المكتبات المستخدمة */
/* !--- adminLTE lib ---*/
.navbar {
    position: fixed;
    z-index: 50;
    width: 100%;
    height: 93px !important;
    background-image: var(--primary) !important;
}
.navbar .navbar-nav {
  height: 100% !important;
}
.navbar .links-container {
  gap: 2em !important;
}
.navbar .header-logo {
  display: flex;
  align-items: center;
/*  gap: 1em;*/
/*  padding-inline: 1em 3em;*/
  padding-left: 1em;
}
    .navbar .header-logo img {
        width: 232.4px;
        height: auto;
    }
.navbar .nav-link {
  color: #fff !important;
  font-size: 1.25em;
  padding-block: 1.4em;
  padding-inline: 8px !important;
  border-radius: 0rem;
}
.navbar .nav-link:is(:focus, :active, .active) {
  color: #39aae1 !important;
  background-color: #fff;
  padding-block: 0.5em;
  padding-inline: 1.2em !important;
  border-radius: 4rem;
  transition: padding 0.25s linear, border-radius 0.4s ease-out;
}
    .navbar .custom-nav-action {
        display: flex;
        align-items: center;
        gap: 60px;
    }
/* 
/* !--- /.adminLTE lib ---*/
/* **--------- bootstrap------------ */
/* bootstrap-dropdown */
.navbar .nav-actions .dropdown-toggle {
    color: #fff;
    display: flex;
    gap: 0.5em;
    padding-inline: 1em;
    padding-block: 0.8em !important;
}
.navbar .nav-actions .dropdown-toggle::after {
  display: none !important;
}
.navbar .nav-actions .thumbnail-img {
  width: 40px;
  height: 40px;
  border-radius: 50rem;
  border: 3px solid #fff;
}
.navbar .nav-actions .user-data {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  font-weight: 600;
  font-size: 13px;
  text-align: right;
}
.navbar .nav-actions .user-data .user-name {
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
}

/* /.dropdown bootstrap */
/* bootstrap-tabs */
.tabs-nav {
    gap: 3em;
    row-gap: 1em;
}

.tabs-nav .nav-link {
  font-family: cairo-semibold;
  font-weight: 600;
  font-size: 18px;
  color: #6f858a;
  padding: 0.5em 0em;
  position: relative;
}

.tabs-nav .nav-link:active::before,
.tabs-nav .nav-link.active::before {
  content: "";
  height: 2px;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  /* z-index: 2; */
  background: var(--primary);
  border-radius: inherit;
  /* display: none; */
}
.tabs-nav .nav-link:active,
.tabs-nav .nav-link.active {
  background: var(--primary);
  background-clip: text;
  color: transparent;
  /* border-bottom: 2px solid #139fbfc4; */
}

/* bootstrap-tabs */
/* **--------- /.bootstrap------------ */

/* ~-- select2-lib -*/
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  /* height: fit-content !important; */
  height: 100% !important;
  padding: 8px;
}
.select2-container .select2-search--inline .select2-search__field {
  margin-top: 0px !important;
  line-height: 0.8em;
  font-family: cairo-regular;
  font-weight: 600 !important;
  font-size: 16px;
}
.select2-container {
  min-width: 220px;
  width: 100% !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  top: 60% !important;
  right: 80%;
}

.select2-container--default .select2-dropdown .select2-search__field:focus,
.select2-container--default
  .select2-search--inline
  .select2-search__field:focus {
  outline: 0;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected],
.select2-container--default
  .select2-results__option--highlighted[aria-selected]:hover {
  background: var(--primary) !important;
}

.select2-container--default .select2-results__option--selected {
  background-color: #b0ddf3 !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  color: #000;
}

.select2-container--default
  .select2-search--inline
  .select2-search__field:focus {
  border: none !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: unset;
  margin-top: 0.8px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__clear,
.select2-container--default
  .select2-selection--multiple
  .select2-selection__clear {
  position: absolute;
  left: 0.5em !important;
  top: 0.35em;
}
.select2-container--default .select2-dropdown .select2-search__field:focus,
.select2-container--default
  .select2-search--inline
  .select2-search__field:focus {
  border: 1px solid #34c1e0;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  right: 30% !important;
}
/* ~-- /.select2-lib -*/
/** --modal-- */

.modal-dialog {
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  transform: translateY(-55%) !important;
}

.modal-content {
  width: auto;
  border-radius: 12px;
  border: var(--border-secondary);
  /* box-shadow: 0px 0px 30px 0px #004e470d; */
  box-shadow: -6px 4px 6px 0px #00000017;
  background-color: #ffffff;
}
.modal-body {
  padding: 1rem 1.5rem;
}

.modal-header .close,
.modal-header .mailbox-attachment-close {
  margin: 0;
  padding: 0;
}

.modal-header {
  border-bottom: 1px dashed #e2e2e2;
  padding: 0px 0;
  margin: auto 1.5rem;
}

.modal-footer {
  border-top: 0;
}

.modal-title {
  font-family: cairo-semibold;
  font-size: 16px;
  font-weight: 600;
  color: var(--light-gray);
  display: flex;
  align-items: center;
}

.modal-backdrop.show {
  opacity: 0.3;
}

/* .confirmation-modal .modal-header {
  padding: 1rem 0;
} */

/** --/.modal-- */

/*!---- datatable ----*/
.page-item.previous a,
.input-search {
  border-radius: 0 8px 8px 0 !important;
}
.page-item.next a,
.btn-search {
  border-radius: 8px 0 0 8px !important;
}
.input-search,
.btn-search {
  border: 1px solid var(--gray) !important;
  outline: none !important;
}
.input-search {
  padding-right: 16px;
  width: 18rem;
  font-size: 14px;
}

.remove-search {
  left: 40px;
  top: 12px;
  width: 8px;
}
.btn-search {
  padding: 4px 9px 5px 9px;
}
.table-container {
  position: relative;
}

.table-container .col-sm-12:has(.table) {
  width: 100%;
  border: var(--border-secondary);
  border-radius: 12px;
  overflow-x: auto;
}
    .table-container .col-sm-12:has(.table)::-webkit-scrollbar {
        height: 7px;
    }
.table {
  width: 100% !important;
}

.table th {
  color: #6f858a;
}
.table td {
  color: #000000;
}

.table th,
.table td {
  border-top: 1px dashed var(--sec-border-color);
  font-weight: 500;
  font-family: "cairo-semibold";
  font-size: 14px;
  padding: 15px 20px;
  min-width: 100px;
  max-width: 300px;
  word-wrap: break-word;
}

.table .unreaded td {
  font-family: "cairo-extra-bold";
  font-weight: 500;
}
.table thead td,
.table thead th {
  border-bottom-width: 0px;
  border-top-width: 0px;
}
.table td a,
.table td button {
  font-weight: 600;
}
.table-title {
  font-size: 24px;
  font-weight: 700;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin-top: 1rem;
  margin-left: 5.5rem;
}
.dataTables_wrapper div.row:first-of-type {
  position: absolute;
  z-index: 1;
  left: -1rem;
  bottom: 0.63rem;
  /* bottom: -2.2rem; */
  /* left: 12rem;
  bottom: 0.6rem; */
}
.dataTables_wrapper div.row:first-of-type select,
.page-link {
  color: #90adab !important;
  border-color: var(--sec-border-color);
  background-color: #fafcfd;
  font-size: 14px;
  height: 42px;
  display: flex;
  align-items: center;
}
.page-item.active .page-link {
  background: var(--primary);
  border-color: var(--dark-primary);
  color: white !important;
  box-shadow: none !important;
}
.dropdown-menu {
  border-radius: 12px;
  overflow: hidden;
  border: var(--border-light);
  min-width: 132px;
}
.dropdown-item:not(:last-child) {
  border-bottom: var(--border-light);
}
.dropdown-item {
  padding: 8px 16px;
  color: var(--dark-gray);
  outline: none;
}
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > td:first-child:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > th:first-child:before {
  background: var(--primary) !important;
}

/* .filters-container {
  display: none;
  animation: fadeIn 0.8s ease-in-out;
  margin-top: 1rem;
  border: var(--border-secondary);
  border-radius: 0.5rem;
  padding: 1rem;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
} */

div.dataTables_wrapper div.dataTables_paginate {
  margin: 10px 0 !important;
}
.dataTables_wrapper div.row:first-of-type select,
.page-link {
  font-size: 14px;
}
.custom-select {
  padding-right: 1.75rem;
}

.table-info,
.table-info > td,
.table-info > th {
  font-weight: 900;
  background-color: transparent;
  font-family: "cairo-extra-bold";
}

/*!---- /.datatable ----*/
@media (max-width: 1300px) {
    .navbar {
        height: auto !important;
    }
    .navbar .navbar-nav {
        flex-wrap: wrap;
    }
        .navbar .links-container {
            flex-wrap: wrap;
            gap: 0.5em !important;
        }

        .navbar .nav-link {
            font-size: 1.1em;
            padding-block: 0.5em;
        }

        .navbar .custom-nav-action {
            width: 100% !important;
            justify-content: end;
            height: 50px;
        }
}
/*@media (max-width: 1200px) {
}*/
@media (max-width: 992px) {
 
}
@media (max-width: 768px) {
  .dataTables_wrapper div.row:first-of-type {
    position: absolute;
    z-index: 1;
    left: 0rem;
    bottom: -3rem;
    width: 100%;
  }
  .navbar .nav-actions .dropdown-toggle {
    padding-block: 0px;
  }
}
