:root {
  --highlight-color: rgb(237, 242, 249);
  --border-style: 1px solid #dce5e9;
  --main-title-color: #333;
  --title-background-color: #eee;
  --energy-tag-color: rgb(103, 164, 243);
  --denominator-tag-color: rgb(238, 116, 163);
  --numerator-tag-color: rgb(105, 211, 105);
  --background-color: rgb(255, 255, 255);
  --button-color: #485dd1;
  --list-bkg-color: #d9e9f8;
  --column-height: 100%;
  --other-tag-color: #c5e5f5;
  --menu-height: 40px;
  --toolbar-height: 40px;
  --active-color: #ffffff;
}

body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--background-color);
  line-height: 1 !important;
  overflow: hidden !important;

}

.maincontainer {
  display: flex;
  width: 98vw;
  position: absolute;
  top: 135px;
  height: calc(100% - 215px);
  transition: top 0.3s ease-out;

}

.pcontainer {
  height: fit-content;
  width: fit-content;
  position: absolute;
}

.periodic_title_text {
  text-align: center;
  padding-top: 0;
  margin-top: 0%;
  margin-right: auto;
  position: absolute;
  top: 90px;
  width: 100%;
  transition: top 0.3s ease-out;
}

.title-main {
  font-size: 22px;
  font-weight: 700;
  color: #1a2332;
  letter-spacing: 0.3px;
}

.title-stats {
  font-size: 13px;
  color: #6c757d;
  margin-top: 6px;
  letter-spacing: 0.4px;
}

.title-stat {
  font-weight: 500;
}

.title-stat-sep {
  margin: 0 10px;
  color: #adb5bd;
}

.textcollapsed {
  top: 195px !important;
}

.maincollapsed {
  top: 230px !important;
}

.empty {
  height: 80px;
}

.info {
  height: 80px;
  width: 180px !important;
  border: 1px solid #0d6f99;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 4.8fr 2fr;
  height: calc(100vh - var(--menu-height) - var(--toolbar-height));
  width: 100%;
  position: absolute;
  margin: 0 0 0 0;
  top: calc(var(--menu-height) + var(--toolbar-height));
  bottom: 4px;
  grid-column-gap: 3px;
}

.periodic {
  height: fit-content;
  display: grid;
  position: relative;
  grid-template-columns: repeat(18, 0.8fr);
  grid-template-rows: repeat(7, 0.8fr);
  width: 1500px;
}

.actlant {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(18, 0.8fr);
  grid-template-rows: 0.8fr;
  background-color: #fff;
  color: #444;
}


@media (max-width: 800px) {
  body {
    font-size: 0.8rem;
    overflow-y: hidden;
  }

  .maincontainer {
    overflow: scroll;
    top: 120px;
  }

  .pcontainer {
    height: calc(100vh - 200px);
    overflow-y: scroll;
  }


  .periodic_title_text {
    font-size: 1rem !important;
    position: absolute;
    text-align: center;
    background-color: #fff;
    top: 100px;
    width: 100%;
  }

  .title-main {
    font-size: 16px;
  }

  .title-stats {
    font-size: 11px;
  }

  .report_title {
    font-size: 1rem !important;
  }

  .reportcontainer {
    font-size: 0.8rem;
  }

  .list-group-head {
    font-size: 0.9rem !important;
  }

  .periodic {
    width: 50% !important;
    /* Adjust width to fit mobile screen */
    grid-template-columns: repeat(4, 1fr);
    /* 5 columns for mobile */
    grid-template-rows: auto;
    /* Auto rows to adjust content */
  }

  .actlant {
    width: 50% !important;
    /* Adjust width to fit mobile screen */
    grid-template-columns: repeat(4, 1fr);
    /* 5 columns for mobile */
    grid-template-rows: auto;
    /* Auto rows to adjust content */
  }

  .grid-wrapper {
    position: relative;
    /* optional depending on your layout */
    top: 50px;
    display: grid;
    height: calc(100vh - 50px);
    /* or height: 100vh; if top offset isn't needed */
    grid-template-rows: 0.7fr 1.5fr 1fr;
    grid-template-columns: 100%;
  }

  .badge {
    width: 29px !important;
    height: 28px !important;
  }



.boxlabel {
    margin-left: 0px !important
  }

  .colone,
  .colthree,
  .coltwo {
    height: 100% !important;
  }

  .split {
    top: 70px !important;
    /* grid-template-rows: 1fr 10px 1fr;
    grid-template-columns: 100% !important; */
  }

  .navwrapper {
    height: auto;
  }

  #navcollapse form {
    width: 100%;
  }

  #navcollapse .navbar-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    margin-left: 0 !important;
  }

  .site-nav .nav-item {
    min-width: 0;
  }

  .site-nav .nav-link {
    display: block;
    width: 100%;
    font-size: 12.5px !important;
    padding: 8px 4px !important;
    margin: 0 !important;
    text-align: center;
    white-space: nowrap;
  }

  .site-nav .dropdown-menu {
    right: 0;
    left: auto;
  }

  .site-search {
    gap: 4px;
    margin-bottom: 6px;
  }

  .site-search .form-control {
    height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .site-search .btn {
    height: 36px;
  }

  #filtersbutton {
    width: 36px;
    flex-basis: 36px;
  }

  #searchbutton {
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .textcollapsed {
    top: 220px !important;
  }

  .maincollapsed {
    top: 255px !important;
  }

}

.colone,
.colthree,
.coltwo {
  overflow: hidden !important;
  position: relative;
  height: calc(100vh - 30px - 50px);
  width: 100% !important;
  padding-bottom: 30px;
}

.colone {
  border-left: var(--border-style);
}

.colthree {
  border-right: var(--border-style);
}

.panels {
  resize: horizontal;
}


.tablebody {
  position: relative;
  overflow: auto !important;
  padding: 2px;
  /* border:  var(--border-style); */
  height: calc(90vh - 30px);
}

.split {
  display: grid;
  grid-template-columns: 2fr 5px 4fr;
  /* grid-template-columns: 100% !important; */
  height: calc(100vh - 30px);
  width: 100vw;
  position: absolute;
  right: 2px;
  left: 2px;
  top: 50px;
}

.footer_class {
  position: relative;
  height: 10%;

}

.header_class {
  font-size: 12px;
  font-weight: 700;
}

.scrollable {
  height: 95%;
  /* calc(100vh - var(--menu-height) - var(--toolbar-height) - 30px); */
  overflow-y: auto;
  overflow-x: hidden;
  /* padding-bottom: 700px; */
  /* Firefox scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #d3d3d3 transparent;
}

/* Chrome/Safari scrollbar styling */
.scrollable::-webkit-scrollbar {
  width: 3px;
  /* ~7.56px */
}

.scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: #d3d3d3;
  /* Light grey */
  border-radius: 2mm;
  border: none;
}

.scrollable::-webkit-scrollbar-thumb:hover,
.scrollable::-webkit-scrollbar-thumb:active {
  background-color: #a9a9a9;
  /* Darker grey when active */
  width: 2mm;
  /* This won't work as expected - see note below */
}

/* Alternative approach for active state with different width */
.scrollable:hover::-webkit-scrollbar {
  width: 2mm;
  /* ~3.78px when hovering */
}

.scrollable:hover::-webkit-scrollbar-thumb {
  background-color: #a9a9a9;
}

/* Compact metadata table */
#report-information {
  font-size: 15px;
}

#report-information table {
  width: 100%;
  height: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 0;
}

#report-information table > :not(caption) > * > * {
  padding: 7px 6px;
  font-size: 15px;
  line-height: 1.3;
  vertical-align: middle;
}

#report-information table td:first-child {
  width: 34%;
  white-space: normal;
}

#report-information table td:last-child {
  width: 66%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#report-information table a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.page {
  display: none;
}

.ui-dialog .ui-dialog-content {
  overflow: hidden;
}

.active {
  display: inline-block;
}

/* JP CSS */
.save_button {
  color: #777;
  margin: -20px 0 0 0;
  padding: 0px 4px 0px 4px;
  border: 0px;
  opacity: 0.5;
  font-size: 15px;
  position: absolute;
}

/*LIST OF ITEMS*/
.jp_accordion {
  transition: 0.4s;
  background-color: #fff;
  left: 20px;
}

.jp_accordion:hover {
  background-color: var(--list-bkg-color);
}

.activelist {
  background-color: var(--list-bkg-color);
}

.jp_list-panel {
  padding: 1px 0px 0px 0px;
  background-color: var(--background-color);
  max-height: 0;
  font-size: 10px;
  margin-left: 10px;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.list-cbox {
  float: left;
  border: 1px solid #3479e6;
  margin-top: 12px !important;
  position: relative;
  left: 3px;
}

.list-text {
  left: 10px;
}

.jp_chart_container {
  padding: 5px;
  height: 95%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  align-items: center;
  position: relative;
  /* display: inline-block; */
  /* border: 5px solid red; */
}

.caption_class {
  padding: 5px;
  position: inherit;
}

.div-table {
  display: table;
  width: 100%;
  /* background-color: #eee;          */
  /* border: 1px solid #cccbcb;        */
  border-spacing: 5px;
  /* cellspacing:poor IE support for  this */
}

.div-table-row {
  display: table-row;
  width: auto;
  clear: both;
}

.div-table-col {
  float: left;
  /* fix for  buggy browsers */
  display: table-column;
  padding-right: 10px;
  /* width: 50px; */
  /* background-color: #ccc;   */
}

#compounds .jp_list-panel {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  column-gap: 4px;
  margin-left: 0;
  padding: 2px 2px 2px 0;
}

#compounds .jp_list-panel > .list-cbox {
  float: none;
  position: static;
  margin: 0 !important;
  justify-self: center;
}

#compounds .jp_list-panel > .list-group-item {
  width: auto;
  left: auto;
  position: static;
  margin-left: 0;
  padding: 4px 6px;
  display: block;
}

.spec-list-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  column-gap: 4px;
  width: 100%;
  white-space: nowrap;
}

.spec-id {
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-beamline {
  color: #6c757d;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
}
#compounds .spec-header-check {
  display: block;
}

#compounds .spec-header-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  column-gap: 4px;
  padding: 2px 6px;
  color: #8a94a3;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}


/*LIST*/

/* JP CSS */
.vcenter {
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px 20px 20px;
  position: absolute;
  width: 100%;
  height: 100%;
}

.cmd-info {
  right: 10px;
  padding: 20px 20px 20px 20px;
  position: absolute;
}

.dash_tile {
  border-radius: 10px;
  border: var(--border-style);
  border-right: var(--border-style);
  border-top: var(--border-style);
  border-bottom: var(--border-style);
  margin-top: 0px;
  margin: 2px;
  float: left;
  background-color: #fff !important;
  height: calc(100vh - var(--menu-height) - var(--toolbar-height));
}

.mslong {
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
}

.small {
  width: 92px;
  height: 92px;
  border-radius: 5px;
}

.msmall {
  width: 340px;
  height: 150px;
  border-radius: 5px;
}

.right-side {
  right: 20px;
  top: 0;
  left: 0;
}

.right-container {
  right: 20px;
  position: absolute;
}

.long {
  width: 480px;
  height: 890px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  padding-top: 5px;
}


.periodic_title {
  max-width: 100%;
  margin-right: auto;
}

.reportcontainer {
  height: calc(100vh - 35px);
  bottom: 3px;
  top: 0;
  right: 1px;
  left: 1px;
  position: fixed;
  background-color: white;
}

/* .container-fluid{
  padding:0;
} */

.footer_container {
  height: 30px;
  position: fixed;
  border: var(--border-style);
  bottom: 0px;
  display: inline-block;
  padding-top: 6px;
  padding-bottom: 5px;
  width: calc(100vw);
  background-color: #f5f5f5 !important;
  color: #bbb;
}

.report_back_button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--main-title-color);
  font-size: 18px;
  background-repeat: no-repeat;
  background-color: #ffffff;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  position: relative;
  display: inline-block;
}


.demo {
  padding: 10px 10px 10px 25px;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

.energy {
  text-align: left;
  font-size: 15px;
  background-color: rgb(210, 226, 247) !important;
  padding: 15px;
  /* color: rgb(67, 61, 99); */
  cursor: pointer;
  border: var(--border-style);
}

.energy:hover {
  background-color: rgb(0, 0, 0) !important;
  cursor: pointer;
  color: var(--background-color) !important;
}

.infotext {
  text-align: left;
  color: rgb(158, 156, 156);
  font-size: 10px;
  padding: 15px;
  border: 0px !important;
}



.boxreport {
  color: #000;
  border-radius: 5px;
  padding: 5px;
  font-size: 160%;
  border: 1px solid #fff;
  right: 0px;
  width: 100%;
  float: right;
  margin: 0 auto;
  position: relative;
}

.box:hover {
  transition: transform 0.1s;
  /* Animation */
  transform: scale(2);
  border: 1px solid #070707;
  color: #fff !important;
  padding: 5px;
  font-size: 120%;
  z-index: 500000;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  background-color: #000 !important;
  transition: transform 0.1s ease-out;
}

.box {
  background-color: #444;
  border-radius: 5px;
  padding: 6px;
  width: 95px;
  height: 95px;
  font-size: 22px;
  font-weight: 900;
  border: 1px solid #fdf9f9;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  color: var(--active-color);
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.8);

}

/* Non-highlighted elements (dimmed look) */
.box.nothighlighted {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

/* .box.highlighted {
  border-color: var(--highlight-color);
} */

.loader {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: scale(0.7);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  background: white;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.atom-container {
  position: relative;
  width: 200px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.nucleus {
  position: absolute;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, rgb(59, 3, 55) 0%, #1a0219 100%);
  border-radius: 100%;
  animation: pulse 2s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: rotate 3s linear infinite;
}

.orbit-1 {
  width: 52px;
  height: 51px;
  border-color: rgba(188, 187, 200, 0.8);
  animation-duration: 1s;
}

.orbit-2 {
  width: 82px;
  height: 75px;
  border-color: rgba(188, 187, 200, 0.8);
  animation-duration: 2s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 106px;
  height: 115px;
  border-color: rgba(188, 187, 200, 0.8);
  animation-duration: 3s;
}

.electron {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.electron-1 {
  background: radial-gradient(circle, #570957 0%, #5e1338 100%);

}

.electron-2 {
  background: radial-gradient(circle, #570957 0%, #5e1338 100%);

}

.electron-3 {
  background: radial-gradient(circle, #570957 0%, #5e1338 100%);

}

.loading-text {
  color: #132929;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.boxlabel {
  background-color: #000;
  color: #fff;
  border-radius: 5px;
  padding: 5px 7px 5px 7px;
  font-size: 12px;
  border: 1px solid #fff;
  margin-left: 162px;
  writing-mode: vertical-rl;
  text-align: center;
  vertical-align: middle;
  height: 95px;
}


.element {
  color: inherit;
  font-size: 100%;
  /* float: left; */
  text-align: left;
}

.element.underlined {
  /* text-decoration: underline; */
  font-weight: bold;
  color: inherit;
}

.element_details {
  color: rgb(243, 247, 242);
  font-size: 500%;
  text-align: left;
  width: 50px;
  height: 40px;
}

.eldata {
  color: inherit;
  font-size: 40%;
  /* float: right; */
  text-align: right;
}

.ellabel {
  color: inherit;
  font-size: 40%;
  font-weight: bold;
  float: left;
}

.elreport {
  color: rgb(19, 69, 204);
  font-size: 28px;
  float: left;
  text-align: left;
  /* padding-bottom: 3px; */
  /* margin-bottom: 3px; */
}

.elreport a {
  color: rgb(19, 69, 204);
}

.eldatareport {
  color: rgb(22, 64, 75);
  font-size: 16px;
  text-align: initial;
  float: right;
  padding: 5px 0 5px 0;
}

.ellabelreport {
  /* color: #fff; */
  font-size: 16px;
  float: left;
  padding: 5px 0 5px 0;
}

.list-group-item {
  border: none;
  /* border-bottom: var(--border-style); */
  width: 90%;
  position: relative;
  border-radius: 0;
  text-align: left;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 5px;
  left: 20px;
}

.list-group-head {
  border: none;
  border-bottom: var(--border-style);
  width: 100%;
  /* position: relative; */
  border-radius: 0;
  text-align: left;
  padding: 10px 10px 7px 7px;
  font-size: 14px;
  font-weight: 600;
  margin-left: 0;
  color: var(--font-color);
  text-decoration: none !important;
  left: 20px;
  margin-top: -1px;
  display: inline-block;
}

.list-group-item:hover {
  background-color: var(--list-bkg-color) !important;
}

.list-group-item:first-child {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.graph-container {
  width: 100%;
  height: 100%;
}

label {
  margin-bottom: 0;
  white-space: normal;
}


.badge {
  display: flex;
  align-items: center;
  font-size: 16px;
  width: 33px !important;
  height: 32px !important;
  padding: 5px;
  padding-left: 11px;
  font-weight: 700;
  border-radius: 3px;
  background-color: var(--other-tag-color);
  /* Light blue background color */
  color: #333;
  /* Dark text color */
  border: none !important;
  margin: 1px;
}


.badgedraged {
  font-family: "Font Awesome 5 Free";
  font-size: 20px;
  top: 28px;
  left: -17px;
  bottom: 20px;
  position: relative;
  color: rgb(15, 15, 15);
  font-weight: 600;
  z-index: 100;
}

.nopadding {
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
}



input[type="file"] {
  border: var(--border-style);
  outline-style: hidden;
}

input[type="file"]::file-selector-button {
  border: var(--border-style);
  padding: 0.6em;
  color: #fff;
  border-radius: 0.3em;
  background-color: #3479e6;
  transition: 1s;
}

.align-middle {
  text-align: center;
  vertical-align: middle;
}

.pxrdstyle {
  width: 350px;
  height: 300px;
  margin-left: -120px;
  margin-top: 20px;
}

.pxrdstyle:active {
  transform: scale(2.5);
  z-index: 5;
  position: fixed;
  top: 30%;
  left: 40%;
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(100);
  /* width:70%; 
  height:75%; */
}

.columns {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}

.columns div {
  margin-right: 14px;
}

.checkbox-label {
  margin-left: 5px;
  /* Adjust this value as needed */
}

.gutter {
  background-color: rgb(255, 255, 255);
  background-repeat: no-repeat;
  background-position: 50%;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
  cursor: col-resize;
}

/*Viewer*/

.submitcontainer {
  height: calc(100vh - 30px);
  margin: 0px;
  width: 100vw;
}

input[type="file"] {
  visibility: hidden;
  width: 0;
  height: 0;
}


.energytag {
  background-color: var(--energy-tag-color);
  cursor: grab;
}

.numeratortag {
  background-color: var(--numerator-tag-color);
  cursor: grab;
}

.denominatortag {
  background-color: var(--denominator-tag-color);
  cursor: grab;
  padding-left: 13px;
}

.filebutton {
  padding: 5px;
  height: 29px;
  width: 30px;
  cursor: pointer;
}

.hideel {
  background: transparent !important;
  color: transparent !important;
  display: none;
  pointer-events: none;
  /* opacity: 0.7; */
}

.collabel {
  color: #fff;
}

.report_title {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  padding: 4px;
  border-bottom: var(--border-style);
  color: black;
}

.datacolumns {

  border-radius: 2px;
  position: relative;
  padding: 4px 4px 4px 2px;
  margin: 5px 5px 5px 0px;
  background-color: #ffffff;
  opacity: 1;
  white-space: nowrap;
  width: 100%;
  vertical-align: middle;
  display: inline-block;
}


.btn-light {
  background-color: var(--other-tag-color);
}

.btn-light:hover {
  background-color: var(--list-bkg-color);
  border: var(--border-style);
}

.btn:hover {
  border: var(--border-style);
}

.menubar {
  height: var(--menu-height);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  border: var(--border-style);
  gap: 1px;
  align-items: center;
  padding: 2px;
  background-color: #f8f8f8;
  right: 0px;
  left: 0;
  height: var(--toolbar-height);
}

.toolbar button {
  font-size: 16px;
  color: black !important;
}

.toolbarimg {
  width: 20px;
  height: 20px;
  z-index: 1;
}

.blur-box {
  box-shadow: inset 0px -4px 3px #eee;
}

.report-container {
  margin: -5px 0 50px 50px !important;
  width: calc(100vh -20px);
  background: #fff;
  border-right: var(--border-style);
  border-left: var(--border-style);
  border-image: radial-gradient(rgb(250, 250, 250) 60%, #dfdbdb 0%, #ffffff 90%) 1 stretch;
}

/* SweatAlert */
.swal2-popup {
  font-size: 1.2rem !important;
  font-family: Arial, sans-serif;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #334155; /* Soft dark gray instead of pure black */
  border-radius: 6px;
  padding: 8px 16px;
  margin: 0 4px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

.nav-link:hover {
  background-color: #f1f5f9; /* Very light slate */
  color: #0284c7; /* Primary blue accent */
}

/* Title-page toolbar */
.site-navbar {
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #e8eef5 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.site-search {
  flex: 1 1 420px;
  max-width: 760px;
  gap: 6px;
}

.site-search .form-control {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
  color: #1f2937;
  background: #f7f9fc;
  border: 1px solid #dfe6ef;
  border-radius: 999px;
  box-shadow: none;
}

.site-search .form-control:focus {
  background: #fff;
  border-color: #b6cdf5;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.08);
}

.site-search .btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: none !important;
}

.site-search .btn:hover,
.site-search .btn:focus {
  border: 0 !important;
  box-shadow: none !important;
}

#filtersbutton {
  width: 38px;
  flex: 0 0 38px;
  color: #475569;
  background: #eef3f9;
}

#filtersbutton:hover,
#filtersbutton:focus {
  color: #0d6efd;
  background: #e2e9f2;
}

#searchbutton {
  padding: 0 18px;
  color: #fff;
  background: #3c5780;
  font-weight: 600;
}

#searchbutton:hover,
#searchbutton:focus {
  color: #fff;
  background: #0b5ed7;
}

.site-nav {
  gap: 2px;
}

.site-nav .nav-link {
  padding: 8px 12px;
  margin: 0 2px;
}

.navwrapper {
  margin-left: 0;
  position: absolute;
  width: calc(100%);
  height: 120px;
}

/* Keep the search buttons on one line. The search form is a flex row, so a
   button whose label wraps to two lines (e.g. "Filters") would stretch the
   whole row — and the input + other buttons with it — making them look huge. */
#searchbutton,
#filtersbutton {
  white-space: nowrap;
  flex: 0 0 auto;
}

.navbar-toggle {
  cursor: pointer;
}

.navbar-collapse {
  transition: max-height 0.3s ease-out;
}

.navbar-collapse.collapsed {
  max-height: 60px;
  overflow: hidden;
}

.navbar-collapse.expanded {
  max-height: 100px;
  /* height: 100px; */
  /* adjust as needed */
}

.autocomplete {
  border: 1px dotted #ccc;
  z-index: 1;
  position: fixed;
  top: 60px;
  /* max-width: 220px;
  width:220px;  */
  width: 30%;
  display: none;
  cursor: pointer;
  border-radius: 5px;
  background-color: #ffffff;


  /* padding: 3px; */
}

.autocomplete ul {
  list-style-type: none;
  padding: 0;
  width: 100%;
  margin: 0;
  padding: 5px;
  overflow-y: scroll;
  max-height: 600px !important;
}

.autocomplete ul li {
  padding: 5px 0;
}

.autocomplete ul li:hover {
  background: #eee;
}

.yellow {
  background-color: #6af4aa !important;
}

.red {
  background-color: #fa809e !important;
}

.purple {
  background-color: #de9ff3 !important;
}

.drag-and-drop {
  border: 2px dashed #686868;
  border-radius: 20px;
  width: 100%;
  padding: 10px;
  height: 50vh;
  vertical-align: middle;
  text-align: center;
  position: relative;
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s ease;
}

.swal2-html-container {
  background: rgba(226, 220, 220, 0) !important;
  font-size: 1em;
}

.swal2-popup {
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.7), rgba(247, 247, 248, 0.7));
  border: var(--border-style);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
}

.swal2-close {
  outline: var(--main-title-color);
  border: var(--border-style);
  width: 1em;
  height: 1em;
  color: #000;
  margin: 5px;
  background-color: var(--other-tag-color);
  outline: 0;
}


button:focus {
  outline: 0;
  box-shadow: none !important;
}

.file-label {
  display: inline-block;
  padding: 9px;
  background-color: var(--other-tag-color);
  border-radius: 5px;
  cursor: pointer;
  margin-top: 0px;
  margin-right: 2px;
  border: 1px solid var(--main-title-color);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.file-label:hover {
  background-color: rgb(160, 195, 247);
}


.drag-and-drop.dragover {
  border-color: #333;
  background-color: #ececec;
}

.drag-and-drop.visible {
  display: block;
}

.hidden {
  display: none;
}

.info-popup {
  background-color: #ffffff;
  color: #000;
}

.dropdown-item:hover {
  background-color: #d8d8d8;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* .dropdown-item{
  padding-left: 5px;
  font-size: 11px;
} */
/* Autocomplete Styling */
.autocomplete {
  position: absolute;
  z-index: 1000;
  background-color: white;
  border: 1px solid #ddd;
  max-height: 200px;
  overflow-y: auto;
  min-width: 300px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 4px;
  margin-top: 2px;
}

.autocomplete ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.autocomplete li {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
}

.autocomplete li:last-child {
  border-bottom: none;
}

.autocomplete li:hover {
  background-color: #f0f8ff;
  color: #000;
}
