@font-face {
  font-family: mainfont;
  src: url(../fonts/Montserrat-Arabic-Regular.ttf);
}

body,
.nav-link,
.breadcrumb,
.card-title,
.breadcrumb-item,
.apexcharts-text {
  font-family: 'El Messiri', sans-serif !important;

}

:is(.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6) {
  font-family: 'El Messiri', sans-serif !important;
}


tbody,
td,
tfoot,
th,
thead,
tr,
h1,
h2,
h3,
h4,
h5,
h6 {
  width: initial;
}


.dataTable thead {
  border-color: var(--vz-border-color);
  --vz-text-opacity: 1;
  color: #878a99 !important;
  --vz-table-color: #000;
  --vz-table-bg: #f3f6f9;
  --vz-table-border-color: #dbdde0;
  --vz-table-striped-bg: #eef1f4;
  --vz-table-striped-color: #000;
  --vz-table-active-bg: black;
  --vz-table-active-color: #fff;
  --vz-table-hover-bg: black;
  --vz-table-hover-color: #fff;
}


div.dt-buttons {
  float: right;
  margin-left: auto;
  margin-right: 0px;
}

.table-card div.dataTables_wrapper div.dataTables_filter input {
  width: 300px;
  padding: 8px 8px;
  margin-right: 5px;
}

.dataTable td,
table.dataTable th {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  max-width: fit-content;
}


div.dataTables_scrollBody>table {
  border-top: none;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}


.tasks.noTask::before {

  background-image: url(../images/empty.svg);

}

.dataTables_scrollBody {
  min-height: 166px !important;
}


.navbar-menu .navbar-nav .nav-link i {
  display: inline-block;
  min-width: 1.75rem;
  font-size: 18px;
  line-height: inherit;
  font-size: 19px;
}

.dropify-wrapper .dropify-message p {
  margin: 5px 0 0;
  font-size: 25px;
}


.navbar-menu {
  background: #151529 !important;
  border-left: #151529ba !important;
}

p, h5 {
  margin-bottom: 0;
}

.top-banner {
  background: linear-gradient(77.88deg, rgba(52, 152, 219, 0.03) 49.24%, rgba(52, 152, 219, 0.08) 80.75%, rgba(52, 152, 219, 0.15) 99.83%);
  border: 1px solid;
  border-image-source: linear-gradient(90deg, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0.15) 100%);
  padding: 16px 16px 0;
  border-radius: 2px;
}

.top-banner .top-details .client-img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
}

.top-banner .top-details h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #1A1A1A;
}

.top-banner .top-details p {
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #4B5563;
}

.tabs-btn {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  color: #ABB7CD;
  border: unset;
  background: transparent;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.tabs-btn svg path{
  fill: #818892;
}

.tabs-btn.active {
  color: #3498DB;
  border-bottom:3px solid #3498DB;
}

.tabs-btn.active svg path {
  fill: #3498DB;
}

.full-detilas {
  display: grid;
  grid-template-columns: 59% 39%;
  grid-gap: 2%;
  margin: 1.5rem 0;
}

.full-detilas .right-detilas,
.full-detilas .left-detilas {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.full-detilas .detilas-section {
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid #F1F1F3;
  background-color: #FFFFFF;
}

.full-detilas .detilas-section .details-section-head {
  font-size: 16px;
  font-weight: 700;
  line-height: 28.8px;
  color: #1A1A1A;
  margin-bottom: 1rem !important;
}

.full-detilas .detilas-section table {
  border: transparent;
}

.full-detilas .detilas-section table tr td{
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #818892;
}

.full-detilas .detilas-section table tr td:nth-of-type(2){
  color: #1A1A1A;
  text-align: left;
}

.full-detilas .detilas-section .details-card {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 16px;
  border-radius: 2px;
  background-color: #FAFAFA;
  border: 1px solid #EDEEEF
}

.full-detilas .detilas-section .details-card img {
  width: 70px;
  height: 70px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .full-detilas {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
}


.dashaboard-cards
{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
}

.dashaboard-cards .dash-crad
{
  display: flex;
  gap: 1rem;
  align-items: center;
  border: 1px solid #EFF1F2;
  box-shadow: 0px 2px 12px 0px #0000000A;
  background-color: #FFFFFF;
  padding: 16px;
  border-radius: 4px;
}

.dashaboard-cards .dash-crad img {
  width: 50px;
  height: 50px;
}

.dashaboard-cards .dash-crad span {
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  color :#1A1A1A;
}

.dashaboard-cards .dash-crad p {
  font-size: 16px;
  font-weight: 700;
  color :#1A1A1A;
  margin-bottom: 0;
}

.attachment-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.attachment-list .attachment-card {
  width: 266px;
  height: 234px;
  padding: 40px 32px;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1px solid #F1F1F3;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.attachmentPage-list .attachmentPage-card img {
  width: 120px;
  height: 120px;
}

.attachment-list .attachment-card .actions-dropdown {
  position: absolute;
  left: 20px;
  top: 15px;
}

.attachment-list .attachment-card .dropdown-toggle::after {
  display: none;
}

.actions-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}

.mouse-pointer {
  cursor: pointer;
}

.delete_element:hover {

  background-color: #F6D9E0;
  color: #C50030 !important;
}

.delete_element:hover svg path {

  fill: #C50030;
}

.cases-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}


.cases-cards .case-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 216px;
  padding: 24px;
  border-radius: 4px;
  background-color: #FFFFFF;
  border: 1px solid #F1F1F3;
}



.case-card  .case-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left section inside case-card-top */
.case-card-top .case-card-top-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Edit icon aligned within .case-card-top */
.case-card-top .edit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding: 5px 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.case-card-top .edit-icon:hover {
  color: #000;
}




.case-card .case-card-top p {
  font-size: 18px;
  font-weight: 700;
  line-height: 28.8px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #1A1A1A;
}

.case-card .case-card-top span {
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color:#4B5563;
}

.case-card  .case-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.case-card-bottom-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.case-card-bottom-right img {
  width: 48px;
  height: 48px;
  border-radius: 100px;
}

.case-card-bottom-left {
  height: 40px;
  padding: 8px 12px;
  border-radius: 100px ;
  background-color: #F6F7F7;
  text-align: center;
}

.case-card  .case-card-bottom p {
  font-size: 14px;
  font-weight: 700;
  line-height: 22.4px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #1A1A1A;
}

.case-card  .case-card-bottom span{
  font-size: 14px;
  font-weight: 700;
  line-height: 22.4px;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #818892;
}

.case-card-bottom-left .session-time-span {
  font-size: 16px !important;
  line-height: 25.6px !important;
  color: #3498DB !important;
}

@media (max-width: 768px) {
  .dashaboard-cards
  {
    grid-template-columns: 1fr 1fr;
  }

  .cases-cards {
    grid-template-columns: 1fr;
  }
}

.general-table table {
  border: 1px solid #E9EBEC;
  margin-top: 1rem;
}

.general-table table thead {
  background-color: #F4F5F6;
}

.general-table table tbody {
  background-color: #FFFFFF;
}

.general-table table th,
.general-table table td {
  vertical-align: middle;
  height: 64px;
}

.sys-select {
  animation-timing-function: linear;
  animation-duration: 100ms;
  min-width: 99px;
  width: auto;
  height: 40px;
  padding: 8px 16px 8px 35px;
  border-radius: 2px ;
  font-size: 16px;
  font-weight: 700;
  line-height: 25.6px;
  background-size: auto;
}

.sys-primary-select {
  border: 1px solid #C2E0F4;
  background-color: #D6EAF8;
  color: #3498DB;
  background-image: url(../../front/img/select-primary-arrow.png);
}

.sys-primary-select:focus,
.sys-primary-select:focus-visible {
  border: 1px solid #C2E0F4 !important;
  -webkit-box-shadow: 0 0 0 0 #C2E0F4;
  box-shadow: 0 0 0 0 #C2E0F4;
}

.sys-danger-select {
  border: 1px solid #FBC7C3;
  background-color: #FCDAD7;
  color: #F04438;
  background-image: url(../../front/img/select-danger-arrow.png);
}

.sys-danger-select:focus,
.sys-danger-select:focus-visible {
  border: 1px solid #FBC7C3 !important;
  -webkit-box-shadow: 0 0 0 0 #FBC7C3;
  box-shadow: 0 0 0 0 #FBC7C3;
}

.sys-add-select {
  border: 1px solid #3498DB;
  background-color: #3498DB;
  color: #fff;
  background-image: url(../../front/img/select-light-arrow.png);
  height: 48px;
}

.status-div {
  width: 129px;
  height: 40px;
  padding: 0 16px;
  border-radius: 100px ;
  font-size: 14px;
  font-weight: 700;
  /* line-height: 28.8px; */
  display: flex;
  align-items: center;
  gap: .5rem;
}

.status-div .fa-circle {
  font-size: 8px;
}

.warning-status {
  color: #FF9900;
  background-color: #FFF3E0;
  border: 1px solid #FFE5BF;
}

.success-status {
  border: 1px solid #D9F1E8;
  background-color: #EBF8F3;
  color: #00A468;
}

.danger-status {
  border: 1px solid #F6D9E0;
  background-color: #FBEBEF;
  color: #C50030;
}

.actions-btn-container {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.action-btn {
  min-width: 84px;
  height: 40px;
  padding: 0 12px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  /* line-height: 25.6px; */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.action-btn .fa {
  font-size: 1rem;
}

.attachmentPage-list {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.attachmentPage-list .attachmentPage-card {
  width: 266px;
  height: 189px;
  padding: 40px 32px;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1px solid #F1F1F3;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.attachmentPage-list .attachmentPage-card h5 {
  font-size: 16px;
  font-weight: 700;
  line-height: 28.8px;
  color: #1A1A1A;
}

.attachmentPage-list .attachmentPage-card .card-span {
  font-size: 14px;
  font-weight: 500;
  line-height: 25.6px;
  color: #666666;
}

.attachmentPage-list .attachmentPage-card img {
  width: 80px;
  height: 80px;
}

.attachmentPage-list .attachmentPage-card .actions-dropdown {
  position: absolute;
  left: 20px;
  top: 15px;
}

.attachmentPage-list .attachmentPage-card .dropdown-toggle::after {
  display: none;
}

.search-container {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.search-btn {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  background-clip: padding-box;
  display: flex;
  align-items: center;
  padding: 0.422rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6f6b7d;
  text-align: center;
  white-space: nowrap;
  background-color: #fff;
  border: 1px solid #E7E9EB;
  border-radius: 0 2px 2px 0 !important;
  border-left: 0;
}

.page-search-input {
  margin-right: -2px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  width: auto;
  height: 48px;
  padding-right: 0;
  border: 1px solid #E7E9EB;
  border-right: unset !important;
  padding-right: 1.4rem;
  border-radius: 2px !important;
}

.page-search-input:focus {
  border-color: #dee2e6;
  box-shadow: unset;
}

.elements-sec {
  display: grid;
  grid-template-columns: 1fr 1fr ;
  column-gap: 5rem;
}

.element-with-icon,
.element-data {
  display: flex;
  align-items: center;
  gap:.5rem;
}
.element-data {
  justify-content: space-between;
  padding: .5rem;
}

.taskes-detilas-banner h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: #1A1A1A;
}

.taskes-detilas-banner .element-data p,
.taskes-detilas-banner .element-data span { 
  font-size: 16px;
  font-weight: 500;
  color: #4B5563;
}

.empty-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: calc(100vh - 175px);
  width: 50%;
  margin: auto;
  text-align: center;
}

.empty-page p {
  font-size: 20px;
  font-weight: 800;
  line-height: 32px;
  color: #1A1A1A;
}

.empty-page span { 
  font-size: 14px;
  font-weight: 500;
  line-height: 25.2px;
  color: #1A1A1A;
}

.empty-page button {
  width: 136px;
  height: 48px;
  padding: 0px 16px;
  gap: 8px;
  border-radius: 2px ;
  border: 1px solid #3498DB;
  font-size: 16px;
  font-weight: 700;
  line-height: 25.6px;
  color: #3498DB;
}

.actions-dropdown button {
  background-color: #EBF5FB;
  color: #3498DB;
  width: 40px;
  height: 40px;
  border-radius: 2px ;
  display: flex;
  align-items: center;
  justify-content: center;
}

.actions-dropdown button:hover {
  background-color: #f1f1f1 !important;
}

.actions-dropdown .dropdown-toggle::after {
  display: none;
}

.checkbox-wrapper-3 input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.checkbox-wrapper-3 .toggle {
  position: relative;
  display: block;
  width: 40px;
  height: 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-3 .toggle:before {
  content: "";
  position: relative;
  top: 3px;
  right: 3px;
  width: 34px;
  height: 14px;
  display: block;
  background: #9A9999;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.checkbox-wrapper-3 .toggle span {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  display: block;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(154, 153, 153, 0.5);
  transition: all 0.2s ease;
}

.checkbox-wrapper-3 .toggle span:before {
  content: "";
  position: absolute;
  display: block;
  margin: -18px;
  width: 56px;
  height: 56px;
  background: rgba(79, 46, 220, 0.5);
  border-radius: 50%;
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
}

.checkbox-wrapper-3 .toggle-input_switch:checked+.toggle:before {
  background: #8EBDFF;
}

.checkbox-wrapper-3 .toggle-input_switch:checked+.toggle span {
  background: #3498db;
  transform: translateX(20px);
  transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
  box-shadow: 0 3px 8px rgba(79, 46, 220, 0.2);
}

.checkbox-wrapper-3 .toggle-input_switch:checked+.toggle span:before {
  transform: scale(1);
  opacity: 0;
  transition: all 0.4s ease;
}

.top-btn {
  width: 111px;
  height: 48px;
  padding: 0px 16px ;
  border-radius: 2px ;
  background-color: #EBF5FB;
  font-size: 16px;
  font-weight: normal;
  line-height: 25.6px;
  color: #3498DB;
  border: unset;
}

.top-btn:hover {
  background-color: #c8e5f7;
}

.main-content {
  background-color: #FCFCFC;
}


.save-btn {
  width: 140px;
  height: 48px;
  padding: 0px 16px;
  border-radius: 2px ;
  background-color: #3498DB;
  font-size: 16px;
  font-weight: 700;
  line-height: 25.6px;
  color: #FFFFFF;
  border: unset;
}

.save-btn:hover {
  background-color: #108bdd;
}

.cancel-btn {
  width: 140px;
  height: 48px;
  padding: 0px 16px;
  border-radius: 2px ;
  border: 1px solid #3498DB;
  font-size: 16px;
  font-weight: 700;
  line-height: 25.6px;
  color: #3498DB;
  background-color: transparent;
}

.cancel-btn:hover {
  background-color: #e4f4ff;
}

.permissions-sec .form-check-input[type=checkbox] {
  border: 1.5px solid #000;
  height: 18px;
  width: 18px;
  border-radius: 0 !important;
}

.topbar-user {
  background-color: unset;
}

body {
  background-color: #fcfcfc;
}

.law-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.law-roles .role-card {
  border: 1px solid #c7c7c7;
  box-shadow: 1px 1px 3px 0 #c9c9c9;
  border-radius: 4px;
  padding: 14px 8px;
}

.law-roles .role-card h3 {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 768px) {
  .law-roles {
    grid-template-columns: 1fr;
  }
}
#show-full-details div,
#show-full-details h1,
#show-full-details h2,
#show-full-details h3,
#show-full-details h4,
#show-full-details h5,
#show-full-details h6,
#show-full-details p,
#show-full-details span {
  font-family: 'El Messiri', sans-serif !important;
  background-color: #ffffff !important;
}

.cases-btns{
  border-bottom: 1px solid #80808017;
  background-color: #ffffff;
}

.cases-btns a .cases-btn-badge {
  padding: 4px 8px;
  border-radius: 100px;
  background-color: #E1F0FA;
  color: #3498DB;
  font-size: 12px;
}

.cases-btns a
{
  font-size: 15px;
  font-weight: 700;
  line-height: 25.6px;
  color: #5B6B79 !important;
  margin-bottom: -2px !important;
  box-shadow: unset;
}

.cases-btns .active {
  border-width: 1px 1px 0px 1px;
  border-style: solid;
  border-color: #EBEDEF;
  border-radius: 0;
  margin-bottom: -1px;
  background: #FCFCFC;
  color: #1A1A1A;
}

.text-primary {
  color: #3498DB !important;
}

.sm-card {
    padding: 20px;
    border: 1px solid rgba(242, 242, 242, 1);
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.04);
    border-radius: 2px;
}


.sm-card .top-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.sm-card .card-element {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .7rem;
}

.sm-card .card-element i {
  font-size: 20px;
  color: #4B5563;
}

.sm-card .card-element h6 ,
.sm-card .card-element h5 {
  margin-bottom: 0 ;
}

.sm-card .card-bage-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.sm-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 0;
}

.sm-card h6 {
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  color: #4B5563;
}

.sm-card .dropdown-menu .sec {
    text-align: center;
    cursor: pointer;
    margin: 5px 0;
    padding: 5px 10px;
    transition: all 0.2s ease;
}

@media screen and (max-width: 768px) {
  .top-btn {
    width: auto;
    padding: 0px 10px;
  }
  .search-sec {
    gap: .6rem !important;
  } 
  .add-section {
    position: fixed;
    right: 0;
    padding: 10px;
    top: calc(100% - 67px);
    background: #fff;
    width: 100%;
    z-index: 99;
  }
  .add-section .btn-primary {
    height: 48px !important;
    width: 100%;
  }
  .sm-card {
      margin-bottom: 0;
      padding: 15px;
  }
}