.manage-queries-page {
  &__header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: $pad-xxlarge;
  }

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

  &__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-medium;
    padding-top: $pad-xsmall;

    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;
    }
  }

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

      thead {
        // Width for all columns except checkbox and "Name" columns
        // For observers all columns except "Name" and "Author" columns
        // Width calculation adjusts for each row's horizontal padding
        th:not(:nth-child(1)):not(:nth-child(2)) {
          width: calc(180px - (27px * 2));
        }
      }

      tbody {
        td {
          overflow: hidden;
          text-overflow: ellipsis;
        }
        // Width and overflow behavior for the link in the "Name" column
        td {
          .button {
            display: block;
            text-align: start;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
          }
        }
      }
    }
  }
}
