/* === HEADER STYLES === */

.header {
  position: sticky;
  top: 0;
  z-index: 250;
  height: 64px;
  background: var(--eds_ui_background__default, #fff);
  border-bottom: 2px solid var(--eds_ui_background__light, #f7f7f7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
  font-family: Equinor;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2em;
  letter-spacing: 0.013em;
  color: rgb(61, 61, 61);
  margin: 0;
}

.headerLeft {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: Equinor !important;
}

.headerRight {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.headerLeft a {
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.headerText {
  font-family: Equinor !important;
}

.headerMain,
.searchContainer,
.dropdownWrapper {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

.headerMainHome {
  margin: 0;
  color: rgb(61, 61, 61);
  font-family: Equinor;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.667em;
  text-align: left;
}

/* === ICON BUTTON STYLES === */

.icon-button {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50%;
  color: #006400;
  cursor: pointer;
  position: relative;
}

.icon-button:hover {
  background-color: #e0e0e0;
}

.icon-button .tooltip {
  visibility: hidden;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  font-size: 12px;
}

.icon-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* === SEARCH BAR === */

.searchBar {
  position: relative;
  background: var(--eds_ui_background__light, rgba(247, 247, 247, 1));
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  border: 1px solid transparent;
  z-index: 0;
  padding: 6px 8px;
  border-radius: 4px;
}

.searchInput {
  flex-grow: 1;
  min-height: 0;
  min-width: 200px;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  margin: 0;
  color: rgb(0, 0, 0);
  font-family: Equinor, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 0.025em;
  text-align: left;
  box-sizing: border-box;
  outline: none;
}

.searchInput::placeholder {
  color: #999!important;
}

.searchXicon {
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: visible;
  border-radius: 50%;
  z-index: 1;
  padding: 4px;
  height: 16px;
  width: 16px;
  position: relative;
  cursor: pointer;
}

.searchXicon:hover {
  background-color: #e0e0e0;
}

.searchBar svg {
  color: #666;
}

#search-external, #search-external-banner {
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  appearance: none;
  box-sizing: border-box;
  background: transparent;
  margin: 0;
  font-family: Equinor;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 0.025em;
  text-align: left;
}

/* === DROPDOWN STYLES === */

.custom-dropdown {
  position: relative;
  font-family: Equinor, sans-serif;
}

.dropdown-header,
.dropdown-header-banner {
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  background: rgb(247, 247, 247);
  padding: 10px;
  margin: 0;
  color: rgb(61, 61, 61);
  font-family: Equinor;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 0.025em;
  text-align: left;
  height: 40px;
  outline: transparent solid 1px;
  box-shadow: rgb(111, 111, 111) 0px -1px 0px 0px inset;
  cursor: pointer;
  user-select: none;
}

.custom-dropdown.open .dropdown-header , .dropdown-header-banner {
  border: 2px solid #006400;
}

.dropdown-options {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  border-top: none;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
}

.custom-dropdown.open .dropdown-options {
  display: block;
}

.dropdown-options label {
  display: block;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 400; /* Normal weight */
  color: #000;
  font-family: Equinor;  
  font-size: 1rem;

}

.dropdown-options label:hover {
  background-color: #eee;
}

.dropdown-options input[type="checkbox"] {
  accent-color: #006400; /* Dark green checkboxes */
}

.arrow {
  float: right;
}

/* === OTHER STYLES === */

#visibleItemCount, #visibleItemCountBanner {
  margin: 0;
  color: rgb(61, 61, 61);
  font-family: Equinor;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25em;
  text-align: left;
  padding-bottom: 30px;
}

.smallText {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 8px;
  font-family: Equinor;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.333em;
  text-align: left;
  color: rgb(111, 111, 111);
}


.custom-dropdown.open .dropdown-options {
  display: block;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.4); /* This adds the shadow */
  border-radius: 4px; /* Optional: makes it look cleaner */
}

.dropdown-options label {

  gap: 8px; /* Adjust the spacing between checkbox and text */
 color:gray
}

#selectionCount1, #selectionCount{
  color:gray
}









.searchBar {

 
  display: flex;
  align-items: center;
  padding: 6px 10px;
  transition: border-color 0.2s ease-in-out;
}

/* When hovering the searchBar */
.searchBar:hover {
  border-color: darkgreen;
}

/* When the input inside .searchBar is focused */
.searchBar:has(input:focus) {
  border-color: darkgreen;
}



/* banner */
.side-banner {
  position: absolute;
  top: 64px; /* Adjust depending on your header height */
  right: 0;
  width: 640px;
  background-color: white;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.side-banner.hidden {
  display: none;
}

.side-banner-content {
  padding: 20px;
}
 
.banner-header-row {
  display: flex;
  align-items: center; /* Vertically centers items */
  justify-content: space-between; /* One on the left, one on the right */
  height: 70px; /* Adjust height to match the button if needed */
  padding-bottom: 24px;
}

.bannerHeader {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
  margin: 0px;
    color: rgb(61, 61, 61);
    font-family: Equinor;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.429em;
    text-align: left; 
    border-radius: 50%;
    cursor: pointer;
}



.bannerClose:hover {
  background-color: #e0e0e0;
}




/* banner style */

/* Make the banner take full height of the screen minus the header (e.g., 60px) */
#side-banner {
  position: fixed;
 
  bottom: 0;
  right: 0;
 
 
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
  overflow: hidden;
}

/* Let the banner content fill the banner and enable scrolling internally */
.side-banner-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 16px;
}

/* Let the middle content scroll, keeping header fixed */
.plant-table-banner {
  flex-grow: 1;
  overflow-y: auto;
  margin-top: 16px;
}

/* Optional: to make sure other non-table content doesn't take too much height */
.searchContainer,
.dropdownWrapper,
.smallText,
#visibleItemCountBanner {
  flex-shrink: 0;
}
.scroll-wrapper {
  flex-grow: 1;
  overflow-y: auto;
}


.comment{
  margin: 0px;
  color: rgb(61, 61, 61);
  font-family: Equinor;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25em;
  text-align: left;
  padding-bottom: 50px;
}

.container{
  padding-bottom: 20px;
}

.pva-floating-style{
  visibility: hidden!important;
}