.manage-queries-page {
  &__header-wrap {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  &__header {
    display: flex;
    align-items: center;

    .form-field {
      margin-bottom: 0;
    }
  }

  &__text {
    margin-right: $pad-large;
  }

  &__title {
    font-size: $large;

    .fleeticon {
      color: $core-fleet-blue;
      margin-right: 15px;
    }

    .fleeticon-success-check {
      color: $ui-success;
    }

    .fleeticon-offline {
      color: $ui-error;
    }

    .fleeticon-mia {
      color: $core-fleet-black;
    }
  }

  &__description {
    margin: 0 0 $pad-xxlarge;

    h2 {
      text-transform: uppercase;
      color: $core-fleet-black;
      font-weight: $regular;
      font-size: $small;
    }

    p {
      color: $core-dark-blue-grey;
      margin: 0;
      font-size: $x-small;
      font-style: italic;
    }
  }

  &__action-button-container {
    display: flex;
    align-items: flex-start;
  }

  .button {
    font-size: $x-small;

    img {
      transform: scale(0.5);
    }
  }

  &__modal-buttons {
    width: 100%;
    display: flex;
    justify-content: flex-end;

    .button:first-child {
      margin-right: $pad-medium;
    }
  }

  .form-field--dropdown {
    margin: 0;
  }

  &__platform_dropdown {
    width: 159px;

    .Select-menu-outer {
      width: 364px;
      max-height: 310px;

      .Select-menu {
        max-height: none;
      }
    }
    .Select-value {
      padding-left: $pad-medium;
      padding-right: $pad-medium;

      &::before {
        display: inline-block;
        position: absolute;
        padding: 5px 0 0 0; // centers spin
        content: url(../assets/images/icon-filter-black-16x16@2x.png);
        transform: scale(0.5);
        height: 26px;
        left: 2px;
      }
    }
    .Select-value-label {
      padding-left: $pad-large;
    }
  }

  .queries-list-wrapper {
    .data-table__table {
      table-layout: fixed;

      .selection__header {
        text-align: center;
      }

      &:not(.is-observer) {
        thead {
          th:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(4)) {
            width: 100px;
          }
          th:nth-child(1) {
            width: 8px;
          }
          th:nth-child(2) {
            width: 200px;
          }
          th:nth-child(4) {
            width: 40px;
          }
          @include breakpoint(tablet) {
            th:nth-child(3),
            th:nth-child(5),
            th:nth-child(7) {
              display: none;
            }
          }
          @include breakpoint(ltdesktop) {
            th:nth-child(1) {
              width: 8px;
            }
            th:nth-child(3),
            th:nth-child(5) {
              display: none;
            }
          }
        }

        tbody {
          td:nth-child(1) {
            text-align: center;
          }
          @include breakpoint(tablet) {
            td:nth-child(3),
            td:nth-child(5),
            td:nth-child(7) {
              display: none;
            }
          }
          @include breakpoint(ltdesktop) {
            td:nth-child(3),
            td:nth-child(5) {
              display: none;
            }
          }
        }
      }

      &.is-observer {
        thead {
          th:not(:nth-child(1)):not(:nth-child(2)) {
            width: 100px;
          }
          th:nth-child(1) {
            width: 200px;
          }
          th:nth-child(2) {
            width: 40px;
          }
          @include breakpoint(tablet) {
            th:nth-child(3),
            th:nth-child(5) {
              display: none;
            }
          }
          @include breakpoint(ltdesktop) {
            th:nth-child(3) {
              display: none;
            }
          }
        }

        tbody {
          @include breakpoint(tablet) {
            td:nth-child(3),
            td:nth-child(5),
            td:nth-child(6) {
              display: none;
            }
          }
          @include breakpoint(ltdesktop) {
            td:nth-child(3),
            td:nth-child(5) {
              display: none;
            }
          }
        }
      }
    }

    tbody {
      td {
        overflow: hidden;
        text-overflow: ellipsis;
        .button {
          display: block;
          text-align: start;
          width: 100%;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
    }
  }
  .author_name__cell {
    img,
    div,
    span {
      display: flex;
      align-items: center;
    }
    div {
      padding-right: $pad-small;
    }
  }
}
