:root {
  --sidebarWidth: 350px;
  --sidebarBrandHeight: 93px;
  --filterDropdownText: #838383;
  --filterDropdownBorder: #626262;
  --filterDropdownBg: #3c404f;
  --grayButtonText: #838383;
  --greenButtonText: #49bd4e;
  --yellowButtonText: #ffce22;
  --redButtonText: #ff2149;
}

body.dark {
  --borderColor: #1f2127;
  --contentBg: #1f2127;
  --mainBg: #1f2127;
  --inputText: rgba(255, 255, 255, 0.5);
  --tableInputBg: #12141c;
  --mobileSearchBG: rgb(60 64 79 / 50%);
  --socialIconsBG: #191c23;
  --socialIconsColor: #ffffff;
  --checkboxBG: #38363d;
  --selectedTagBG: #12141c;
  --dataTableBorder: #272e43;
  --tableSortBG: #1f2127;
  --paginationHoverBG: #12141c;
}
body.light {
  --borderColor: #e9e9e9;
  --contentBg: #e9e9e9;
  --mainBg: #ffffff;
  --inputText: rgba(18, 20, 28, 0.5);
  --tableInputBg: #e9e9e9;
  --mobileSearchBG: rgb(233 233 233 / 50%);
  --socialIconsBG: #ffffff;
  --socialIconsColor: var(--secondary);
  --checkboxBG: #e9e9e9;
  --selectedTagBG: #d5d5d5;
  --dataTableBorder: #e9e9e9;
  --tableSortBG: #e9e9e9;
  --paginationHoverBG: #e9e9e9;
  --sidebarLightBorder: #e9e9e9;
}

body.dark input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

:is(.layout-wrapper, .layout-container) {
  width: 100%;
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
}

body.path-dashboard , body.path-frontpage {
  padding-top: 89px !important;
}
body.path-dashboard.user-logged-in[data-once="contextualToolbar-init"] {
  padding-top: 128px !important;
}
body.path-dashboard.user-logged-in.toolbar-tray-open.toolbar-horizontal[data-once="contextualToolbar-init"] {
  padding-top: 166px !important;
}
body.path-dashboard header, body.path-frontpage header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  gap: 20px;
}

body.user-logged-in[data-once="contextualToolbar-init"] header {
  top: 39px;
}
body.user-logged-in.toolbar-tray-open.toolbar-horizontal[data-once="contextualToolbar-init"] header {
  top: 79px;
}


header {
  border-bottom: 1px solid var(--borderColor);
}

/* Perfect Scrollbar */

.ps__rail-y {
  background-color: transparent !important;
  width: 10px;
}
.ps__rail-y:hover {
  background-color: transparent !important;
}
.ps__thumb-y {
  background-color: var(--scrollerBG);
}
.ps__rail-y:hover > .ps__thumb-y {
  background-color: var(--scrollerBG) !important;
  width: 6px !important;
}

.logo-small {
  text-align: left;
}
.brand {
  font-size: 25px;
  line-height: 32px;
  font-weight: 600;
  text-transform: uppercase;
}
.brand-tagline {
  color: var(--textGray);
  font-size: 12px;
  line-height: 16px;
}

/* Sidebar */

.layout-sidebar {
  width: var(--sidebarWidth);
  position: fixed;
  top: 87px;
  left: 0;
  bottom: 0;
  z-index: 9;
  height: 100vh;
  padding-bottom: var(--sidebarBrandHeight);
  background-color: var(--primary);
  border-right: 1px solid var(--sidebarLightBorder);
  transition: all 0.5s ease-in-out;
}

body.user-logged-in[data-once="contextualToolbar-init"] .layout-sidebar {
  top: 126px;
}
body.user-logged-in.toolbar-tray-open.toolbar-horizontal[data-once="contextualToolbar-init"] .layout-sidebar {
  top: 166px;
}

.layout-sidebar.is-expanded {
  left: 0;
  transition: all 0.5s ease-in-out;
}


.sidebar-brand {
  max-height: var(--sidebarBrandHeight);
  position: relative;
}
.layout-sidebar .sidebar-brand {
  display: none;
}

.sidebar-cross {
  position: absolute;
  top: 0;
  right: -24px;
  display: none;
  color: var(--secondary);
  z-index: 2;
  cursor: pointer;
}
.sidebar-cross svg {
  width: 24px;
  height: 24px;
}

.sidebar-content {
  padding: 12px 20px 34px;
  height: 100vh;
  max-height: 100%;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollerthumb) var(--scrollerBG);
}
.sidebar-content ul li {
  list-style-type: none;
  margin-bottom: 12px;
}
.sidebar-content .accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--borderColor);
  cursor: pointer;
}
.sidebar-content ul li .filter-title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}
.sidebar-content ul li .filter-arrow {
  width: 34px;
  height: 34px;
  background-color: var(--contentBg);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  color: var(--primary-text);
  cursor: pointer;
}
.sidebar-content .accordion-header.active .filter-title {
  color: var(--secondary);
}
.sidebar-content .accordion-header.active .filter-arrow {
  background-color: var(--secondary);
  color: #ffffff;
}
.sidebar-content .accordion-header:hover .filter-title {
  color: var(--secondary);
}
.sidebar-content .accordion-header:hover .filter-arrow {
  background-color: var(--secondary);
  color: #ffffff;
}

.sidebar-content .accordion-content {
  display: none;
  background-color: var(--contentBg);
  padding: 10px 18px;
}

/* filter types */

/* select from list */

.select-item + .select-item {
  margin-top: 8px;
}

/* Custom checkbox */

.select-item input[type="checkbox"] {
  display: none;
}
.select-item label {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: var(--primary-text);
  display: block;
  width: 100%;
}
.select-item input[type="checkbox"] + label {
  font-size: 12px;
  line-height: 1;
  padding: 8px 18px;
  text-transform: uppercase;
  border-radius: 3px;
  position: relative;
}
.select-item input[type="checkbox"] + label .icon-close {
  display: none;
  color: #ffffff;
}
.select-item input[type="checkbox"]:checked + label {
  background-color: var(--secondary);
  color: #ffffff;
}
.select-item input[type="checkbox"]:checked + label .icon-close {
  display: block;
}

/* Custom Radio */

.select-item input[type="radio"] {
  display: none;
}
.select-item label {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: var(--primary-text);
  display: block;
  width: 100%;
  transition: all 0.2s ease-in-out;
}
.select-item input[type="radio"] + label {
  font-size: 12px;
  line-height: 1;
  padding: 7px 18px;
  text-transform: uppercase;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.select-item input[type="radio"] + label:hover{
  background-color: var(--secondary);
  color: #ffffff;
}
.select-item input[type="radio"] + label .icon-close {
  display: none;
  color: #ffffff;
}
.select-item input[type="radio"]:checked + label {
  background-color: var(--secondary);
  color: #ffffff;
}
/* .select-item input[type="radio"]:checked + label .icon-close {
  display: block;
} */

.select-item select,
input[type="text"],
input[type="number"],
input[type="date"] {
  background-color: var(--primary);
  color: var(--inputText);
  display: block;
  width: 100%;
  padding: 10px 18px;
  border: none;
}

.select-item label:not(input[type="checkbox"] + label) {
  margin-bottom: 8px;
}

.filter-search {
  position: relative;
  margin-bottom: 12px;
}

.filter-search .icon-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  color: var(--inputText);
}
.icon-close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  cursor: pointer;
  color: var(--inputText);
}
.filter-search input {
  padding-left: 32px;
}

.select-item .multi-items {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 16px;
}

.column-6 {
  width: 50%;
}
.multi-items .column-6 {
  width: calc(50% - 8px);
}

.multi-select-dropdown {
  margin-top: 0;
  position: relative;
}
.multi-select-dropdown .dropdown-content {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  background-color: var(--primary);
  border: 1px solid var(--borderColor);
  padding: 20px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollerthumb) var(--scrollerBG);
}

.multi-select-dropdown .dropdown-content label input {
  display: none;
}
.multi-select-dropdown .dropdown-content label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}
.multi-select-dropdown .dropdown-content label:not(:last-child){
  margin-bottom: 16px;
}
.multi-select-dropdown .dropdown-content label::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background-color: var(--checkboxBG);
  border: 1px solid var(--primary-text);
}

.multi-select-dropdown .dropdown-content label:has(input:checked)::before {
  background-color: var(--secondary);
  background-image: url("../images/checkmark.svg");
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

.multi-select-dropdown .label-with-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label-with-checkbox .select-sector-label{
  cursor: pointer;
}

.label-with-checkbox .select-sector-label svg {
  width: 13px;
}

.multi-select-dropdown .label-with-checkbox input {
  display: none;
}
.multi-select-dropdown .label-with-checkbox label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.multi-select-dropdown .label-with-checkbox label::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background-color: var(--checkboxBG);
  border: 1px solid var(--primary-text);
}

.multi-select-dropdown .label-with-checkbox input:checked + label::before {
  background-color: var(--secondary);
  background-image: url("../images/checkmark.svg");
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

button#clearButton {
  background: transparent;
  border: 0;
  box-shadow: none;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

#clearButton .icon-close {
  position: static;
  display: block;
  transform: translate(0);
}
#clearButton .icon-close svg {
  width: 13px;
  height: 13px;
  color: var(--primary-text);
}

.underlaying-search-wrapper {
  position: relative;
}
.selected-options {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}
.selected-options span {
  display: inline-block;
  font-size: 12px;
  line-height: 14px;
  background: var(--selectedTagBG);
  padding: 6px 10px;
  border-radius: 4px;
  margin-left: 8px;
  margin-bottom: 8px;
}
.selected-options .all-selected-options {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}
.checkbox-dropdown{
  margin-bottom: 16px;
}
.checkbox-dropdown #searchInput {
  outline: none;
}
.checkbox-dropdown #searchInput:focus {
  border: 1px solid var(--primary-text);
}
.checkbox-dropdown .dropdown-list {
  position: relative;
  padding: 20px;
  max-height: 250px;
  overflow-y: hidden;
  background-color: var(--primary);
  border: 1px solid var(--borderColor);
}
.checkbox-dropdown .dropdown-list label input {
  display: none;
}
.checkbox-dropdown .dropdown-list label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  position: relative;
  padding-left: 30px;
  word-wrap: break-word;
  cursor: pointer;
}
.checkbox-dropdown .dropdown-list label:not(:last-child){
  margin-bottom: 16px;
}
.checkbox-dropdown .dropdown-list label::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background-color: var(--checkboxBG);
  border: 1px solid var(--primary-text);
}
.checkbox-dropdown .dropdown-list label:has(input:checked)::before {
  background-color: var(--secondary);
  background-image: url("../images/checkmark.svg");
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

/* Sidebar Footer */

.sidebar-footer {
  padding: 0 20px;
}

.sidebar-footer-inner {
  background-color: var(--contentBg);
  padding: 40px 18px 20px;
}

.social-icons {
  margin-bottom: 36px;
}
.social-icons ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.social-icons ul li {
  list-style-type: none;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--socialIconsBG);
  border-radius: 100px;
  color: var(--socialIconsColor);
}

.social-icons ul li:hover {
  background-color: #0a0c12;
  color: #ffffff;
}

.footer-links ul:not(.contextual-links) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links ul li {
  list-style-type: none;
}
.footer-links a {
  color: var(--primary-text);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

.data-source {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  margin-top: 25px;
}
.data-source span {
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-left: 7px;
}

.copyright-sidebar {
  margin-top: 45px;
}

.copyright-sidebar p {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: var(--textGray);
  text-align: center;
}

/* Main content */

.main-content {
  width: 100%;
  height: 100%;
  padding-left: var(--sidebarWidth);
  background-color: var(--mainBg);
  margin-left: auto;
}

.main-content-inner {
  padding-left: 35px;
  padding-right: 50px;
  padding-bottom: 100px;
  width: 100%;
  height: 100%;
  display: inline-block;
}

.navbar-main {
  padding: 14px 50px 14px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--sidebarBrandHeight);
  border-bottom: 1px solid var(--borderColor);
  background-color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-links {
  flex-shrink: 0;
}
.navbar-links.mobile-links {
  display: none;
}

.navbar-links ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
}

.navbar-links ul li {
  list-style: none;
}
.navbar-links a {
  color: var(--primary-text);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}
.navbar-links ul li span {
  vertical-align: middle;
  display: inline-block;
  margin-right: 10px;
}

.navbar-links.mobile-links ul {
  display: block;
}

.navbar-links.mobile-links ul li a {
  display: block;
  padding-top: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--borderColor);
}

.navbar-main .right-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
  gap: 32px;
  padding-left: 20px;
}

.navbar-search {
  position: relative;
  max-width: 350px;
  width: 100%;
  margin-left: auto;
}

.navbar-search-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-text);
}
.navbar-search-mobile {
  flex-shrink: 0;
  display: none;
}
.navbar-search-mobile .navbar-search-icon {
  position: relative;
  transform: translateY(0);
  top: auto;
  right: auto;
}

.navbar-search input {
  background-color: var(--contentBg);
  padding: 15px 50px 15px 34px;
  border-radius: 100px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: var(--inputText);
}

.mode-switcher input {
  display: none;
}
.mode-switcher label.toggle-btn {
  width: 72px;
  height: 36px;
  position: relative;
  background-color: var(--contentBg);
  display: block;
  border-radius: 100px;
  cursor: pointer;
}

.mode-switcher label.toggle-btn::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("../images/mode-dark.svg");
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  transform: translate(6px, 6px);
  border-radius: 50px;
  transition: all 0.4s ease-in-out;
}
.mode-switcher input:checked + label.toggle-btn::after {
  left: 0;
  right: auto;
  transform: translate(42px, 6px);
  transition: all 0.4s ease-in-out;
  background: url("../images/mode-light.svg");
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
}

.user-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.user-action-dropdown {
  position: relative;
}

.user-action-dropdown .dropdown-title {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dropdown-title svg {
  color: var(--primary-text);
}
.user-dropdown {
  display: none;
  position: absolute;
  top: 55px;
  right: 0;
  background-color: var(--filterDropdownBg);
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  min-width: 180px;
  padding: 8px;
}

.user-dropdown li {
  list-style-type: none;
  width: 100%;
}
.user-dropdown li:not(:first-child) {
  margin-top: 3px;
}
.user-dropdown a {
  color: #fff;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  display: block;
  padding: 8px 16px;
}
.user-dropdown a i {
  margin-right: 12px;
  font-size: 22px;
  vertical-align: middle;
}

.user-profile {
  display: flex !important;
  align-items: center;
  width: 60px;
  height: 60px;
}

.user-profile .avatar {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-right: 8px;
}
.user-profile .user-info {
  flex-grow: 1;
  flex-shrink: 0;
}

.user-info h6 {
  margin: 0;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
}

.user-info small {
  color: white;
  font-weight: 400;
  font-size: 13px;
}

.user-dropdown hr {
  border: 0;
  border-bottom: 1px solid #fcfcfc45;
  margin: 0 -8px;
}

/* Filters dropdown */

.filter-dropdown {
  min-width: 246px;
  display: inline-block;
  position: relative;
  margin-right: 22px;
}

.filter-dropdown .filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  line-height: 21px;
  color: var(--filterDropdownText);
  border: 2px solid var(--filterDropdownBorder);
  border-radius: 5px;
  padding: 9px 30px;
  cursor: pointer;
}
.filter-dropdown .filter-title .selected-value {
  margin-right: 6px;
}

.filter-dropdown ul {
  display: none;
  background-color: var(--filterDropdownBg);
  padding: 15px 0 20px 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
}
.filter-dropdown.bottom ul {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  box-shadow: var(--filterShadowBottom);
}

.filter-dropdown ul li {
  font-size: 15px;
  line-height: 36px;
  color: var(--primary-text);
  font-weight: 400;
  cursor: pointer;
  list-style-type: none;
  padding: 0px 30px 0 40px;
}

.filter-dropdown ul li:hover {
  background-color: var(--filterDropdownHoverBg);
}

.filter-dropdown.active .filter-title {
  color: #fff;
  border-color: var(--secondary);
  background-color: var(--secondary);
}

.filter-dropdown .filter-title:hover{
  color: #fff;
  border-color: var(--secondary);
  background-color: var(--secondary);
}

.filter-dropdown.bottom.active .filter-title {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.top-filter-bar {
  padding: 21px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
}

.left-filters {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.right-filters {
  flex-grow: 1;
  text-align: right;
}

.Button {
  font-size: 15px;
  line-height: 21px;
  color: var(--grayButtonText);
  border: 2px solid var(--grayButtonText);
  border-radius: 5px;
  padding: 9px 30px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background-color: transparent;
}
.Button:hover {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.Button.green {
  color: var(--greenButtonText);
  border: 2px solid var(--greenButtonText);
}
.Button.green:hover {
  background-color: var(--greenButtonText);
  color: #fff;
  border-color: var(--greenButtonText);
}
.Button.green.active {
  background-color: var(--greenButtonText);
  color: #fff;
  border-color: var(--greenButtonText);
}
.Button.yellow {
  color: var(--yellowButtonText);
  border: 2px solid var(--yellowButtonText);
}
.Button.yellow:hover {
  background-color: var(--yellowButtonText);
  color: #fff;
  border-color: var(--yellowButtonText);
}
.Button.yellow.active {
  background-color: var(--yellowButtonText);
  color: #fff;
  border-color: var(--yellowButtonText);
}
.Button.red {
  color: var(--redButtonText);
  border: 2px solid var(--redButtonText);
}
.Button.red:hover {
  background-color: var(--redButtonText);
  color: #fff;
  border-color: var(--redButtonText);
}
.Button.red.active {
  background-color: var(--redButtonText);
  color: #fff;
  border-color: var(--redButtonText);
}
.Button.orange {
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.Button.orange:hover {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.Button.orange.active {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.Button span {
  vertical-align: middle;
  margin-right: 4px;
}

.right-filters .Button{
  padding: 8px 20px;
}

.right-filters .Button:not(:last-child) {
  margin-right: 22px;
}

/* Performance-chart */

.Performance-chart {
  background-color: var(--primary);
  border-radius: 10px;
  min-height: 280px;
  max-width: 1280px;
  height: 600px;
  padding: 28px;
}

.title-heading {
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
  margin-bottom: 6px;
  font-weight: 400;
}
.description {
  font-size: 14px;
  line-height: 20px;
  color: var(--inputText);
  font-weight: 400;
}

.filters-row.row-middle {
  padding: 26px 0 75px;
}

.filter-dropdown.top ul {
  bottom: 100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-shadow: var(--filterShadowTop);

}
.filter-dropdown.top.active .filter-title {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Data Table */

table.dataTable thead .sorting {
  background-image: url("../images/sorting.svg");
  text-transform: capitalize;
}

table.dataTable thead .sorting_asc {
  background-image: url("../images/sorting-asc.svg") !important;
}

table.dataTable thead .sorting_desc {
  background-image: url("../images/sorting-desc.svg") !important;
}

#main-table {
  float: none !important;
}

table.dataTable tbody tr {
  background-color: var(--primary) !important;
}
table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd {
  background-color: var(--primary) !important;
}

table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td {
  border-top: 1px solid var(--dataTableBorder);
}

table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  background-color: var(--tableSortBG);
}

table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  background-color: var(--tableSortBG);
}

table.dataTable.display tbody tr:hover > .sorting_1,
table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
  background-color: #eaeaea;
}

#main-table .dataTables_length {
  float: none !important;
  display: inline-block;
  margin-right: 50px;
}
#main-table .dataTables_length label {
  text-transform: capitalize;
}
#main-table .dataTables_filter {
  float: none !important;
  display: inline-block;
  max-width: 528px;
  width: 100%;
}

#main-table .dataTables_length select {
  border: none;
  background-color: var(--tableInputBg);
  color: var(--primary-text);
  min-height: 50px;
  min-width: 88px;
  padding: 0 20px;
  margin-left: 10px;
  margin-right: 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("../images/triangle-down.svg");
  background-repeat: no-repeat;
  background-position: center right 16px;
  cursor: pointer;
}
#main-table .dataTables_filter label {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 0;
}
#main-table .dataTables_filter input {
  height: 50px;
  background-color: var(--tableInputBg);
  padding: 13px 22px;
  margin-left: 3px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  line-height: 20px;
  color: var(--primary-text);
  flex-grow: 1;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
  color: var(--primary-text);
}

.dataTables_wrapper .dataTables_paginate .paginate_button, .dataTables_wrapper .dataTables_paginate .paginate_button.previous {
  color: var(--primary-text) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled{
  color: #666 !important;
}

#main-table .dataTables_wrapper .dataTables_info, #main-table .dataTables_wrapper .dataTables_paginate{
  padding-top: 28px;
}

table.dataTable > thead > tr > th, table.dataTable > thead > tr > td {
  padding-right: 20px;
}

table.dataTable > tfoot > tr > th, table.dataTable > tfoot > tr > td{
  text-transform: capitalize;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--paginationHoverBG);
  border: 1px solid transparent;
  color: var(--primary-text) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: var(--primary-text) !important;
  background: var(--paginationHoverBG);
  border-color: transparent;
}

/* Table arrow icon */

.link-on-table .table-link-icon{
  color: var(--secondary);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.dt-hasChild .table-link-icon{
  transform: rotate(90deg);
}

.table-filters-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 55px;
  padding-block: 40px 28px;
}

.total-entries {
  flex-shrink: 0;
}

.total-entries input {
  display: inline-block;
  max-width: 88px;
  width: auto;
  font-size: 16px;
  line-height: 20px;
  background-color: var(--tableInputBg);
  padding: 15px 22px;
}
.total-entries {
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
}
.total-entries .show-entries {
  margin-right: 12px;
}
.total-entries .table-type {
  margin-left: 16px;
}
.table-search {
  flex-grow: 1;
}

.table-search input {
  display: inline-block;
  max-width: 528px;
  width: 100%;
  font-size: 16px;
  line-height: 20px;
  background-color: var(--tableInputBg);
  padding: 15px 22px;
  border-radius: 5px;
}

table.dataTable {
  background-color: var(--primary);
  font-size: 14px;
  line-height: 20px;
  min-width: 1920px;
}

table.dataTable thead th, table.dataTable thead td {
  font-weight: 500;
}

table.dataTable tbody th, table.dataTable tbody td {
  padding: 8px 20px;
}

.clickable-table-column {
  display: flex;
  align-items: center;
  gap: 20px;
}
.clickable-table-column svg {
  max-width: 15px;
  color: var(--secondary);
}

.sidebar-toggle {
  color: var(--secondary);
  display: none;
  width: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-start;
  margin-right: 16px;
}

.search-for-mobile {
  position: fixed;
  inset: 0;
  background: var(--mobileSearchBG);
  z-index: 100;
}

.search-for-mobile .navbar-search {
  left: 50%;
  transform: translateX(-50%);
  top: 100px;
}

.risk-dropdown-title {
  display: none;
  font-size: 15px;
  line-height: 21px;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: 5px;
  padding: 11px 30px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  min-width: 150px;
  cursor: pointer;
}

.risk-carrot {
  margin-left: 8px;
  margin-bottom: 2px;
  display: inline-block;
}

.risk-dropdown-title.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.reset-icon-mobile{
  display: none;
}

.reset-for-mobile {
  display: none;
  position: absolute;
  top: 10px;
  right: 0;
  font-size: 14px;
  line-height: 18px;
}
.reset-for-mobile span {
  vertical-align: middle;
  display: inline-block;
}

.sidebar-toggle-button{
  background: none;
  border: 0;
  box-shadow: none;
  margin-right: 20px;
  display: none;
  cursor: pointer;
}

#main-table .dataTables_wrapper .dataTables_info {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 10px;
  height: 50px;
  display: inline-flex;
  align-items: center;
}


/* Ensure dropdown is visible by default */
.dropdown-for-mobile {
  display: block;
}

/* Hide dropdown on mobile when collapsed */
@media screen and (max-width: 995px) {
  .dropdown-for-mobile.collapsed {
      display: none;
  }
}
