.overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100vh;
  width: 100vw;
  z-index: 20;
  background: none;
  outline: none;
  border: none;
  color: var(--text-color);
  text-align: left;
  pointer-events: none;
}
.overlay.active {
  pointer-events: all;
}

.container {
  position: fixed;
  top: 50%;
  right: -100%;
  width: 260px;
  height: 95vh;
  z-index: 20;
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
  background-color: var(--bg-rgba);
  border-radius: 12px;
  box-shadow: var(--bg-box-shadow);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, right 0.4s;
}
.overlay.active .container {
  opacity: 1;
  right: 10px;
}

.header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dotted var(--text-color-secondary);
}

.head {
  font-weight: 700;
  font-size: 16px;
}

.actions {
  display: flex;
}

.main {
  padding: 20px 20px 80px 20px;
  height: 100%;
  overflow-y: scroll;
}
.main::-webkit-scrollbar {
  width: 5px;
}
.main::-webkit-scrollbar-track {
  background: inherit;
}
.main::-webkit-scrollbar-thumb {
  background: var(--scroll);
  border-radius: 10px;
}

.item {
  margin-bottom: 30px;
}

.item_head {
  font-weight: 700;
  font-size: 14px;
}

.options {
  margin: 15px 0px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px 10px;
}

.icon_container {
  height: 35px;
  width: 35px;
}

.top_bar {
  height: 24px;
  background: var(--text-color-secondary);
  width: 100%;
  border-radius: 4px;
}
.top_bar.selected {
  background: var(--component-color);
}

.body {
  display: flex;
  height: 100%;
  width: 100%;
  margin-top: 5px;
}

.sidebar {
  border-radius: 5px;
  width: 22px;
  background: #52616e;
  /* border: 1px solid var(--component-color); */
}

.main_section {
  height: 100%;
  border-radius: 5px;
  flex: 1;
  margin-left: 5px;
  border: 1px dotted var(--text-color-secondary);
  background: #52616e;
}

.body.selected .sidebar {
  background: var(--component-color-secondary);
}

.body.selected .main_section {
  background: var(--component-color-secondary);
  border: 1px dotted var(--component-color);
}
