@import "variables";

:host {
  position: relative;

  ::ng-deep #searchDiff {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: white;
    transition: transform 0.5s;

    button {
      font-size: 12px;

      &.prev {
        border-right-color: transparent !important;
      }

      &.next {
        border-left-color: transparent !important;
      }
    }
  }

  @media(max-width: 1620px) {
    #searchDiff {
      position: static;
      transform: unset;
    }
  }

  ::ng-deep .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
  }

  ::ng-deep #refreshIcon .btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: #e4e5e8;
    font-size: 15px;
    color: #9aa5cd;
    margin: 0 5px;

  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  border-top: 1px solid $blue-50;
  border-bottom: 1px solid $blue-50;

  .actions-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    > * {
      margin-right: 12px;
    }
  }

  .settings {
    display: flex;
    align-items: center;
    gap: 24px;

    .export-button {
      line-height: 11px;
      padding: 0;
      color: $blue-400;
    }
  }

  .btn-add-experiment {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    background-color: $blue-50;
    border-radius: 4px 0 0 4px;
    &.plus {
      border-radius: 0 4px 4px 0;
      padding: 0 12px;
      margin-left: -1px;
    }
    &:focus {
      position: relative;
      z-index: 1;
    }
  }


}


::ng-deep .light-theme .mat-mdc-select-value-text {
  i {vertical-align: middle;}
}
::ng-deep .light-theme .mat-mdc-option .mdc-list-item__primary-text {
  white-space: nowrap;
  i {vertical-align: middle;}
}

::ng-deep .mat-mdc-menu-content {
  height: 100%;
}

.next-diff {
  display: flex;
  gap: 12px;
}
