.table_container {
  position: relative;
  height: auto;
  width: 100%;
  overflow: scroll hidden;
}

.table_container::-webkit-scrollbar {
  height: 5px;
}
.table_container::-webkit-scrollbar-thumb {
  background: var(--scroll);
  border-radius: 5px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.table_head {
  text-align: left;
  background: var(--secondary-bg);
  width: 100%;
}
.table th {
  text-transform: capitalize;
  color: var(--text-color-secondary);
}
.table th.active_column {
  color: var(--text-color);
}

.table th,
.table td {
  text-align: left;
  padding: 10px;
}

.table tr {
  cursor: pointer;
}
.table tr:hover {
  background: var(--secondary-bg-hover);
}

.table tbody {
  font-weight: 500;
  color: var(--text-color);
}

.more_actions_container {
  position: relative;
}

.more_actions {
  position: absolute;
  width: 150px;
  /* top: -12px;
  left: -155px; */
  margin-top: -12px;
  margin-left: -155px;
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: rgb(0 0 0 / 24%) 0px 0px 2px 0px,
    rgb(0 0 0 / 24%) -20px 20px 40px -4px;
  display: flex;
  padding: 10px;
  flex-direction: column;
  transform: scale(0.5);
  transform-origin: top right;
  opacity: 0;
  pointer-events: none;
  transition: all 0.15s ease-out;
}
.more_actions.active {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}
.more_actions.last {
  top: calc(-100% - 12px);
  transform-origin: bottom right;
}
.more_actions.last .arrow {
  top: 65%;
}

.arrow {
  position: absolute;
  background: var(--secondary-color);
  height: 12px;
  width: 12px;
  right: -6px;
  top: 20%;
  transform: rotate(-135deg);
  border-left: 1px solid rgba(145, 158, 171, 0.12);
  border-bottom: 1px solid rgba(145, 158, 171, 0.12);
}

.more_actions_button {
  background: none;
  box-shadow: none;
  outline: none;
  font-weight: 500;
  text-transform: capitalize;
  justify-content: flex-start;
  border-radius: inherit;
  width: 100%;
  padding: 5px;
}
.more_actions_button:hover {
  box-shadow: none;
  background: none;
}
.more_actions_button:active {
  box-shadow: none;
}
/* 
.editableCells {
  font-family: "Public sans", sans-serif;
  font-size: 16px;
  color: var(--text-color);
  resize: none;
  background: none;
  outline: none;
  border: none;
  margin-top: 10px;
  overflow: hidden;
  width: auto;
}
.editableCells::-webkit-scrollbar {
  display: none;
}

.editableCells:focus {
  overflow-y: scroll;
  background: red;
}
.editableCells:focus::-webkit-scrollbar {
  display: block !important;
} */

.editable_cell {
  max-height: 40px;
  max-width: 400px;
  outline: none;
  border: none;
  scrollbar-gutter: stable;
  overflow: hidden hidden;
  padding-right: 10px;
}

.editable_cell:focus {
  overflow: hidden auto;
}

.table_container.loading {
  min-height: 500px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    rgb(36, 48, 59),
    var(--secondary-color)
  );
  -webkit-animation: loadskeleton 1.25s ease infinite;
  animation: loadskeleton 1.25s ease infinite;
  background-size: 200%;
}

@keyframes loadskeleton {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -200% 0;
  }
}
