#top-line {
  display: flex;
  align-items: center;
  gap: $normal-padding;
  .searchButtonContainer {
    @include hide;
  }

  i {
    display: flex;
  }
  @include for-mobile {
    p {
      @include hide;
    }
    h2 {
      font-size: $main-font-m;
    }
    .header.search.hidden {
      @include hide;
    }
    .searchButtonContainer {
      @include visible;
    }
  }
}

.chosenString {
  position: relative;
}

div .chosen {
  tr {
    background-color: $active-transparent-color-dark;
    border-radius: $main-border-radius;
  }
}
.logStringHeaderContainer {
  position: absolute;
  top: 12px;
  right: 8px;
  z-index: 7;
  opacity: 0.4;
  &:hover {
    opacity: 1;
    cursor: pointer;
  }
}

.logsTable {
  width: 100%;
  position: relative;

  height: 100%;
  border-collapse: collapse;

  .message {
    white-space: nowrap;
  }
  #endOfLogs {
    position: absolute;
    bottom: 5vh;
  }
}

.breakLines {
  .message {
    p {
      white-space: pre-line;
      word-break: break-all;
    }
  }
}

.searchedText {
  background-color: tomato;
}
h2.noLogsMessage {
  display: flex;
  height: 100%;
  margin-top: 25%;
  place-self: center;
  color: #a3a3b9;
}

.show {
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0);
  height: 42px;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  .icon {
    display: flex;
    align-items: center;
    vertical-align: bottom;

    .log.log-Eye::before {
      font-size: 25px;
    }
  }
}
.searchIcoContainer {
  position: absolute;
  left: 16px;
}

.search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;

  vertical-align: baseline;
  input {
    box-sizing: border-box;
    width: 200px;
    font-size: $main-font-m;
    background-color: $inpun-color;
    border-radius: 10px;
    padding: 0 14px 0 14px;
    height: 40px;

    border: 1px solid $text-placeholder-color;
  }
  input:focus {
    outline: none;
    border: 2px solid $active-color;
    // caret-color: transparent;
  }
  input::placeholder {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translate(0, -50%);
  }
}

.logs {
  overflow-y: scroll;

  @include for-mobile {
    &#logs {
      padding-left: 0;
      padding-right: 0;
      overflow: overlay;
    }
  }
}
.timeBadgeWrapper {
  margin-left: $normal-padding;
  position: relative;
  @include for-mobile {
    margin-left: 0;
  }
}
.timeBudge {
  padding: 6px 12px 6px 12px;
  position: relative;
  text-align: center;
  width: max-content;
  margin-left: auto;
  margin-right: auto;

  background-color: $active-color;
  color: $text-onactive-color-dark;
  margin-top: $normal-padding;
  margin-bottom: $normal-padding;
  border-radius: 20px;
  font-size: $main-font-s;
  z-index: 4;
  font-weight: 600;
  &.pined {
    position: absolute;
    margin-top: 0;
    margin-bottom: 0;

    left: 0;
    right: 0;
    // transform: translateY(%);

    z-index: 2;
  }
}

.logs::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: rgba(240, 238, 238, 0);
}

.logs {
  &::-webkit-scrollbar-corner {
    display: none;
  }
}

.lds-ellipsis {
  display: flex;
  align-self: center;
  justify-content: center;
  position: relative;
  height: 10px;
}
.lds-ellipsis div {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4e49da;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
