.pdb-rna-view-container {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 93%;
  overflow: hidden;
  border: 1px solid #4b4a4a;
  background-color: #fff;
}
#mainMenu {
  position: relative;
  z-index: 10;
  height: 7%;
  line-height: 7%;
  background-color: #696969;
  color: #efefef;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  border-left: 1px solid #696969;
  border-right: 1px solid #696969;
}

#mainMenu form {
  margin-top: 1%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 4px;
}

#nestedBP {
  margin-right: 5px;
}

.menuSelectbox {
  width: 30%;
}

.menu-dropdown {
  position: relative;
  display: inline-block;
}

.menu-dropdown button {
  background: #efefef;
  color: #333;
  border: 1px solid #dadada;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.menu-dropdown button:hover {
  background: #ddd;
}

#bpFilterBtnIcon {
  display: inline-block;
  margin-left: 4px;
}

#bpFilterBtnIcon.active {
  transform: rotate(180deg)translate(0px, -2px);
}

.menu-dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  border: 0.5px solid #dadada;
  right: 0;
  top: 100%;
  z-index: 5;
  min-width: 150px;
}

.menu-dropdown-content label {
  display: block;
  padding: 4px 8px;
  cursor: pointer;
  color: #000;
}

.menu-dropdown.show .menu-dropdown-content {
  display: block;
}

.pdb-rna-view-error {
  margin-top: 20px;
  text-align: center;
}
.pdb-rna-view-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-weight: bold;
  z-index: 1;
}
.pdb-rna-view-tooltip {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  display: none;
}
.pdb-rna-view-tooltip-highlight {
  position: absolute;
  bottom: 30px;
  right: 10px;
  z-index: 1;
  display: none;
}
.pdb-rna-view-btn-group{
  position: absolute;
  user-select: none;
  top: 10px;
  right: 10px;
  z-index: 4;
}
.pdb-rna-view-btn {
  display: inline-block;
  padding: 3px 1px 0px 3px;
  background-color: #c5c5c5;
  cursor: pointer;
  border-radius: 4px;
}
.pdb-rna-view-btn:hover {
  background-color: #a2a2a2;
}

#tooltip {
  background: rgb(210, 211, 211);
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px;
  opacity: 1;
  z-index: 4;
}
.multiselect {
  width: 10px;
  display: inline;
}

.selectBox {
  position: relative;
}

.selectBox select {
  width: 100%;
}

.overSelect {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#checkboxes {
  display: none;
  background:rgb(255, 255, 255);
  border: 0.5px #dadada solid;
  float: right;
  width: 165px;
}

#checkboxes label {
  text-align: left;
  color: rgb(0,0,0);
}

.help-icon {
  scale: 0.9;
}

.help-tooltip {
  max-width: 280px;
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.help-tooltip a {
  color: #0066cc;
  text-decoration: underline;
}

.pdb-rna-view-btn-group.left {
  right: 0px;
  left: 10px;
}

.bp-list-btn {
  background: #efefef;
  color: #333;
  border: 1px solid #dadada;
  border-radius: 4px;
  padding: 4px 8px;
}

.bp-list-dialog {
  position: absolute;
  top: 40px; /* adjust near zoom buttons */
  left: 10px;
  width: 180px;
  background: white;
  border: 1px solid #ccc;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.bp-list-dialog ul li:hover {
  background: #f0f0f0;
}
