html {
  scroll-padding-top: 52px;
}
body {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #333;
  background: #e9e9f6;

  line-height: 24px;
}
a {
  color: #333;
  text-decoration: none;
}
.card p {
  margin-bottom: 5px;
}
a:hover {
  color: #5f2ee5;
}

.list-none {
  list-style: none;
}

.card.custom-card {
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0px 6px 16px 2px rgba(0, 0, 0, 0.05);
  border: 0;
  position: relative;
  margin-block-end: 0.75rem;
  width: 100%;
}

.page {
  min-height: 100vh;
}
.page-right-section {
  transition: all 0.05s ease;
}
.page-header {
  min-width: 100%;
  height: 3.25rem;
  z-index: 100;
  position: sticky;
  top: 0;
  border-block-end: 1px solid #dadce0;
  transition: all 0.1s ease;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 10px;
  padding-inline-start: 10px;
  background: linear-gradient(90deg, #5f2ee5 0%, #3c2d89 100%);
}
.search-icon {
  position: absolute;
  top: 6px;
  right: 10px;
  color: #333;
  font-size: 17px;
}
.form-control:focus {
  box-shadow: none;
  border-color: #5f2ee5;
}
.form-check-input:checked {
  background-color: #5f2ee5;
  border-color: #5f2ee5;
}
.form-check-input {
  margin-top: 5px;
}
.search-form {
  box-shadow: 0 4px 12px #dfe3f3;
  background-color: #ffffff;
  padding: 4px 10px;
}
#search-result-tree ul {
  list-style-type: none;
  padding-left: 12px;
  margin-top: 10px;
}
#search-result-tree li {
  display: flex;
  align-items: center;
}
#search-result-tree i {
  margin-right: 8px;
  font-size: 18px;
  color: #333;
}
.sort-result-header {
  padding: 8px 8px 0 8px;
}
.sort-result-header .dropdown-toggle::after {
  margin-left: 2px;
}
.sort-result-header .dropdown-menu {
  --bs-dropdown-min-width: 8rem;
}
#search-result-tree a {
  text-decoration: none;
  color: #333; /* Adjust color as needed */
  text-overflow: ellipsis;
    max-width: 98%;
    white-space: nowrap;
    overflow: hidden;
}
.page-sidebar .nav-tabs .nav-link,
.page-sidebar .nav-tabs .nav-link:focus,
.page-sidebar .nav-tabs .nav-link:hover {
  color: #333;
  font-weight: 500;
  padding: 4px 16px;
}
.page-sidebar .nav-tabs .nav-item.show .nav-link,
.page-sidebar .nav-tabs .nav-link.active {
  color: #5f2ee5;
  font-weight: 500;
}
.page-footer {
  min-width: 100%;
  z-index: 100;
 
  position: fixed;
  transition: all 0.1s ease;
  padding: 4px 6px 4px 20rem;
  box-shadow: 0 -1px 12px #dfe3f3;
  background: #fff;
  font-size: 12px;
  bottom: 0;
    right: 0;
    left: 0;
}
.tree-view .nav-link {
  padding-left: 1rem;
  text-transform: capitalize;
  color: #333;
}
.tree-view .nav-item > a {
  display: flex;
  align-items: start;
}
.tree-view .nav-item i {
  margin-right: 6px;
  font-size: 16px;
}

.page-sidebar {
  width: 20rem;
  border-inline-end: 1px solid #dadce0;
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 103;
  transition: all 0.05s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  top: 51px;
  box-shadow: 0 2px 5px #dfe3f3;
  background-color: #e9e9f6;
}
.tab-content {
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 15px;
}
.tree-view {
  max-height: calc(100vh - 135px);
  overflow-y: auto;
}
.logo-main {
  height: 30px;
}
.logo-small {
  display: none;
}

.sidebar-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.custom-box {
 
  padding: 8px; 
 
  display: inline-block; 
  background-color: white;
    border: solid 1px #DFE3F3;
   margin-bottom:16px;
 
    /* box-shadow: 0px 4px 12px #DFE3F3; */
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); 
}


.main-content {
  padding-inline-start: 20rem;
}
.menu-expand .main-content {
  padding-inline-start: 5rem;
}
.innerpages .card {
  min-height: calc(100vh - 80px);
  border: 1px solid #e9e9f6;
  padding-left: 18px !important;
}
.menu-expand .innerpages .card {
  padding-left: 16rem !important;
}

.tree-view .nav-link {
  position: relative;
  padding: 2px;
  line-height: 21px;
}

[data-bs-toggle="collapse"].collapsed .arrow-icon:before {
  content: "\ea6e";
  font-family: "remixicon" !important;
  font-size: 18px;
}
.sub-hedings {
  padding-left: 40px;
}

[data-bs-toggle="collapse"][aria-expanded="true"] .arrow-icon:before {
  content: "\ea4e";
  font-family: "remixicon" !important;
  font-size: 18px;
}

[data-bs-toggle="collapse"].collapsed .book-icon:before {
  content: "\ead5";
  font-family: "remixicon" !important;
  font-size: 18px;
  margin-right: 6px;
}
/* Arrow Icon for Expanded (Up Arrow) */
[data-bs-toggle="collapse"][aria-expanded="true"] .book-icon:before {
  content: "\eadb"; /* Remixicon up arrow */
  font-family: "remixicon" !important;
  font-size: 18px;
  margin-right: 6px;
}
/* Subitem icons */
.nav-item i {
  margin-right: 8px; /* Spacing for subitem icons */
}
#myTabContent {
  background-color: #fff;
}
.menu-toggle-icon {
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  cursor: pointer;
  transition: all 0.5s;
  background: #f4f5f8;
  margin-left: 12px;
}

.scrollbarBox::-webkit-scrollbar-thumb,
.scrollbarBox::-webkit-scrollbar-track {
  background-color: transparent;
}
.scrollbarBox:hover::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
}
.scrollbarBox:hover::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  border-radius: 4px;
  background-color: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 6px;
}

.dropdown-item:hover {
  color: #333;
}

.dropdown .dropdown-item {
  font-size: 13px !important;
  font-weight: 400 !important;
  padding: 0 15px;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #5f2ee5;
  color: #fff;
}
.dropdown-menu .dropdown-menu {
  left: 100% !important;
}
.custom-card:hover .icon i:before {
  content: "\ea70" !important;
}

.page-sidebar .nav-item a.active {
  background-color: #5f2ee5;
  color: #fff !important;
}

.section-heading {
  font-size: 29px;
  font-weight: 500;

  margin-bottom: 8px;
  color: #5f2ee5;
}
.sub-heading {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 8px;
  color: #333;
}
.main-card {
  border-radius: 12px;
  /* margin-bottom: 44px; */
}
.main-card .card-body {
  padding-top: 10px;
  padding-bottom: 10px;
}
.form-control {
  height: 35px;
  border-radius: 4px;
}
.custom-card {
  border: 1px solid #f6f6f6;
  background-color: #fff;
  box-shadow: 0px 1px 4px 0px #0000000d;
  padding: 16px 16px 0 16px;
  border-radius: 6px;
}

.menu-toggle-icon {
  border-radius: 5px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  transition: all 0.5s;
  background: #e8e8ff;
  margin-left: 20px;
  display: none;
}

@media (max-width: 767px) {
  .page-header {
    justify-content: start;
  }
  .menu-expand .innerpages .card {
    padding-left: 18px !important;
  }
  .section-heading {
    font-size: 26px;
  }

  .page-footer {
    text-align: center;
  }
  .main-content.dashboard {
    padding-top: 0 !important;
  }
  .page-sidebar {
    transform: translateX(0);
    transition: all 0.3s ease-in;
    z-index: 1066;
    background-color: #e9e9f6;
  }
  .page-header,
  .main-content,
  .page-footer,
  .menu-expand .page-header,
  .menu-expand .main-content,
  .menu-expand .page-footer {
    padding-inline-start: 0rem;
  }
  .menu-expand .page-sidebar {
    display: block;
    width: 16rem;
    transform: translateX(-100%);
  }
  .page-right-section {
    padding-bottom: 30px;
  }

  .menu-expand .logo-small {
    max-width: 82%;
  }

  .card-scrollable {
    max-height: calc(100vh - 350px);
    min-height: calc(100vh - 350px);
  }
  .menu-toggle-icon {
    margin-right: 12px;
  }
  .menu-expand .sn-sub-nav {
    position: static;
    box-shadow: none;
    padding: 0 20px;
    margin: 0;
  }

  .menu-toggle-icon {
    margin-left: 10px;
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .state-actions span {
    display: none;
  }
  .page-sidebar {
    width: 19rem;
  }

  .main-content {
    padding-inline-start: 10rem;
  }

  .page-header {
    padding-inline-start: 2rem;
  }
}

@media (max-width: 1023px) {
  .innerpages .main-content,
  .main-content {
    padding-top: 0 !important;
  }

  .m-logo {
    margin-right: 10px;
  }

  .user-info .btn-group > .btn {
    padding: 0 !important;
  }
}

.fw-medium {
  font-weight: 600 !important;
}

.ps-20 {
  padding-left: 20px;
}
.fs-14 {
  font-size: 14px !important;
}
.page-bottom-margin {
  margin-bottom: 45px;
}

#search-result .dropdown{
  display: none;
}


#search-result .search-heading {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 4px 0;
    display: block;
}

#search-result .search-heading .arrow-icon, #search-result .search-heading .book-icon{
  display: none;
}