/* New dataTable component css styles */
.Rows-container {
  margin: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  position: absolute;
}

/* Fix scrollbar spacing issues */
.Rows {
  overflow: overlay !important;
}

.Row {
  color: var(--subtext-color);
  display: flex;
  text-align: left;
  align-items: center;
  border-top: 1px solid var(--card-bg-color);
  justify-content: space-between;
  width: auto !important;
  left: 0;
  right: 0;
  margin: 0 32px;
}

.Row--header {
  flex-shrink: 0;
  color: var(--text-color);
  border-bottom: 1px solid var(--card-bg-color);
}

.Row--header__edit-bar {
  flex-grow: 1;
  margin: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.Row--header__edit-bar > span {
  display: inline-block;
}

.Row--header .Row__cell {
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}

.Row--header .Row__cell:not(.Row__cell--action) {
  display: flex;
  align-items: center;
}

.Row:first-of-type {
  border-top: 0;
}

.Row--active {
  border-radius: 8px;
  border-color: transparent;
  background-color: var(--track-list-active-color);
}

.Row--active + .Row {
  border-color: transparent;
}

.Row--active .button--action--overlay:not(.button--toggle) {
  background-color: var(--button-bg-color);
}

.Row:hover,
.Row--active {
  color: var(--text-color);
}

.Row--active:first-child {
  border-radius: 0 0 8px 8px;
}

.Row:hover .button--action--overlay,
.Row--busy .button--action--overlay,
.Row--active .button--action--overlay {
  opacity: 1;
}

.Row:hover .button--action--overlay + .table__row__cell--text,
.Row--busy .button--action--overlay + .table__row__cell--text,
.Row--active .button--action--overlay + .table__row__cell--text {
  opacity: 0;
}

.Row__cell {
  text-align: left;
  overflow: hidden;
  margin-right: 32px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.Row__cell:not(.Row__cell--action) {
  font-size: 0.92em;
}

.Row__cell__text {
  font-size: 0.92em;
}

.Row__cell--action {
  overflow: visible;
  text-align: center;
  position: relative;
  flex-shrink: 0 !important;
  font-size: 1em;
}

.Row__cell:first-of-type {
  margin-left: 16px;
}

.Row__cell:last-of-type {
  margin-right: 16px;
}

.Row__cell__label {
  vertical-align: middle;
  display: inline-block;
}

.Row--placeholder {
  opacity: 0.2;
}

.button--action--overlay {
  text-align: center;
  position: absolute;
  top: -25%;
  z-index: 1;
  opacity: 0;
  margin: auto;
  padding: 4px;
  transition: none;
  border-radius: 32px;
  background-color: transparent;
}

.button--toggle.button--action--overlay::before {
  border-radius: 50%;
  background-color: var(--main-color);
  width: 100%;
  height: 100%;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  /* wave animation */
  animation-name: wave;
  animation-duration: 0.6s;
  animation-delay: 0.4s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.Sort-indicator {
  display: inline-block;
  vertical-align: middle;
}

.button--table-action .icon,
.button--action--overlay .icon {
  width: 1.24em;
}
