html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: Montserrat, sans-serif;
  overflow: hidden;
}
.main {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}
#mynetwork {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
#current-location {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#current-location-select {
  width: 200px;
  padding: 7px;
  font-size: 16px;
  border: none;
}
.drawing-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  background-color: #a1f1d6;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
}
.drawing-loading svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-top: 2px;
}

.x-small-icon {
  transform: scale(0.07);
  width: 50px;
  height: 50px;
  margin-top: -15px;
  margin-right: -3px;
}

.small-icon {
  transform: scale(0.1);
  width: 50px;
  height: 50px;
}
.middle-icon {
  transform: scale(0.14);
  width: 50px;
  height: 50px;
  margin-top: 7px;
  margin-right: 4px;
}
.large-icon {
  transform: scale(0.19);
  width: 50px;
  height: 50px;
  margin-top: 20px;
  margin-right: 8px;
}
.xlarge-icon {
  transform: scale(0.23);
  width: 50px;
  height: 50px;
  margin-top: 40px;
  margin-right: 12px;
}
.node-size-text3 {
  margin-top: 5px;
}
.node-size-text4 {
  margin-top: 15px;
}

.node-size-text0 {
  margin-top: -10px;
}

.circle {
  height: 200px;
  width: 200px;
  border-radius: 100%;
  background: #808080;
  margin-top: -250px;
}
.box {
  height: 180px;
  width: 180px;
  background: #808080;
  margin-top: -250px;
}
.triangle {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 200px solid #808080;
  margin-top: -250px;
}
.box-tilted {
  height: 180px;
  width: 180px;
  background: #808080;
  margin-top: -250px;
  transform: rotate(45deg);
}
.legend-hex {
  transform: scale(0.25);
  margin-bottom: 120px;
  margin-right: -35px;
}

.hex1:before {
  content: "\2b22";
  color: gray;
  font-size: 135px;
  position: absolute;
  top: -50px;
  left: -270px;
}
.hex2:before {
  content: "\2b22";
  display: block;
  color: #f0f;
  font-size: 135px;
  -webkit-transform: rotate(-30deg);
  -moz-transform: rotate(-30deg);
  -o-transform: rotate(-30deg);
  transform: rotate(-30deg);
}
.legend-2 .legend-item {
  margin-bottom: -15px;
}
.legend-img {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  margin-right: 2px;
}
.edge-type-container {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}
.edge-type {
  width: 20px;
  height: 4px;
  background: #000;
}
.star-shape {
  position: relative;
  display: block;
  margin: -200px 0 0;
  width: 0px;
  height: 0px;
  border-right: 120px solid transparent;
  border-bottom: 90px solid #808080;
  border-left: 120px solid transparent;
  -webkit-transform: rotate(37deg);
  -moz-transform: rotate(37deg);
  -ms-transform: rotate(37deg);
  -o-transform: rotate(37deg);
  transform: rotate(37deg);
}
.star-shape:before {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  top: -56px;
  left: -72px;
  content: "";
  border-bottom: 84px solid #808080;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  -webkit-transform: rotate(323deg);
  -moz-transform: rotate(323deg);
  -ms-transform: rotate(323deg);
  -o-transform: rotate(323deg);
  transform: rotate(323deg);
}
.star-shape:after {
  position: absolute;
  display: block;
  width: 0px;
  height: 0px;
  top: 0;
  left: -120px;
  content: "";
  border-right: 120px solid transparent;
  border-bottom: 90px solid #808080;
  border-left: 120px solid transparent;
  -webkit-transform: rotate(286deg);
  -moz-transform: rotate(286deg);
  -ms-transform: rotate(286deg);
  -o-transform: rotate(286deg);
  transform: rotate(286deg);
}
.legend {
  position: absolute;
  bottom: 4px;
  left: 0;
  z-index: 9999;
  padding: 10px;
  background: #f5f5f5;
  display: flex;
  gap: 50px;
  transition: left 0.4s ease-in-out;
}
#filter-container {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 9999;
}
#filter-content {
  position: relative;
  background-color: #f5f5f5;
  left: -400px;
}
#filter-area {
  width: 400px;
  height: 200px;
}
#filter-content {
  transition: all 0.4s ease-in-out;
  padding: 10px;
}
#node-filter-select,
#edge-filter-select {
  width: 200px;
  padding: 7px;
  font-size: 16px;
  border: none;
}
#node-filter-select option,
#edge-filter-select option {
  width: 200px;
}
#edge-filter-select {
  margin-top: 15px;
}
#selected-nodes,
#selected-edges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.selected-node,
.selected-edge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  background: #dad7cd;
  border-radius: 5px;
  cursor: pointer;
}
.selected-node:hover {
  background: #e0dfdf;
}
#filter {
  position: absolute;
  box-sizing: border-box;
  top: 0px;
  right: -40px;
  z-index: 9999;
  height: 40px;
  width: 40px;
  background-color: #f5f5f5;
  padding: 5px;
  cursor: pointer;
}
#filter:hover {
  background-color: #e0dfdf;
}
.show-hide {
  position: absolute;
  right: -50px;
  bottom: 0;
  top: 0;
  margin: auto;
  height: fit-content;
  background-color: #f5f5f5;
  padding: 8px;
  font-weight: 700;
  cursor: pointer;
  transform: rotate(90deg);
}
.show-hide:hover {
  background-color: #e0dfdf;
}
.legend-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.legend-item {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 5px;
  max-height: 50px;
}
.legend-item.legend-item-edge-type {
  margin-top: 26px;
}
.cluster-layer {
  display: flex;
}
.cluster-layer .svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.filter-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.legend-1 .legend-item {
  margin-bottom: 25px;
}
.legend-color {
  width: 20px;
  margin-left: 10px;
}
.layers {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: fit-content;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
}
.layer-item {
  background: #dad7cd80;
  padding: 8px;
  cursor: pointer;
}
.layer-item[is-active="1"] {
  background: #5e5d5d;
  color: #fff;
}
.layer-item:hover {
  background: #dad7cd;
}
#loader {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff80;
  text-align: center;
}
#loader #progress {
  width: 80%;
  margin: 10% auto;
  background-color: #d3d3d3;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
}
#loader #progress-bar {
  background-color: green;
  height: 100%;
  width: 0;
}
#popup {
  width: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  max-height: 100%;
  height: auto;
  overflow: auto;
  box-shadow: 0 0 10px #00000080;
  background-color: #f5f5f5;
  padding: 10px;
  opacity: 0;
  transition: width 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
.down-arrow {
  display: flex;
  gap: 20px;
  padding: 5px;
  align-items: center;
}
.info-card-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}
.info-card-container:hover {
  transform: scale(0.93);
}
.props-container {
  margin-top: 50px;
}
.info-card-title {
  font-weight: 700;
  font-size: 17px;
}
.info-card-content {
  font-size: 14px;
}
.feather-arrow-down {
  width: 50px;
  height: 50px;
}
.node-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.node-card:hover {
  transform: scale(0.93);
}
.node-card-name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
}
.node-card-role {
  font-size: 12px;
}
.key-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.key-number {
  display: flex;
  background: #eed7c5;
  border-radius: 50%;
  width: 30px !important;
  height: 30px !important;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}
