.manage-hosts {
  .header-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: $pad-medium;
  }

  .ace-fleet {
    margin-bottom: $pad-medium;
  }

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

  &__label-actions {
    button {
      &:first-child {
        margin-right: $pad-medium;
      }
    }
  }

  &__label-block {
    margin-top: $pad-medium;

    .title {
      display: flex;
      align-items: center;
      span {
        font-size: $x-small;
        font-weight: $bold;
      }
      button {
        margin-left: $pad-small;
        padding: 0;
        height: auto;

        img {
          margin: 0;
        }
      }
    }
    .description {
      span {
        vertical-align: text-top;
        font-size: $x-small;
        opacity: 0.5;
      }
    }
  }

  &__toggle-view {
    .fleeticon {
      width: 24px;
      height: 24px;
      margin-left: 12px;
      fill: $ui-gray;
    }

    &--active {
      .fleeticon {
        fill: $core-fleet-purple;
      }
    }
  }

  .data-table-container {
    .data-table {
      &__wrapper {
        overflow-x: scroll;
      }
    }
  }

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

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

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

  &__status_dropdown {
    width: 159px;

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

      .Select-menu {
        max-height: none;
      }
    }
  }

  &__team-dropdown {
    border: 0 !important;
    position: relative;

    :hover {
      cursor: pointer !important;
    }

    &.is-focused {
      .Select-control {
        border: 0 !important;
        height: 32px;
      }
    }

    .Select-menu-outer {
      position: absolute;
      width: 330px;
      min-width: 125px;
      left: -12px;
      border-radius: 6px;
    }
  }

  &__header {
    .Select-control {
      background-color: #fff;
      border: 0 !important;
      border-radius: none;
      position: none;
      width: max-content; // move select arrow
      height: 20px;

      &:hover {
        box-shadow: none;
      }

      &:hover .Select-value-label {
        color: $core-vibrant-blue !important;
      }

      .Select-arrow-zone {
        padding-left: $pad-small;

        .Select-arrow {
          top: 1px !important;
          margin-top: 0 !important;
        }
      }

      .Select-multi-value-wrapper {
        width: max-content; // move select arrow
        height: 20px;
        margin-bottom: $pad-xsmall;

        .Select-input {
          display: none !important;
        }

        .Select-value {
          position: relative; // move select arrow
          display: inline-block; // move select arrow
          line-height: 28px;
          padding: 0;
          border: 0 !important;
          background-color: #fff !important;
          right: 0;
          left: 0;
          bottom: 0;
          top: 0;

          &.is-focused {
            border: 0 !important;
          }
          :hover {
            border: 0 !important;
          }

          .Select-value-label {
            font-size: $large !important;
          }
        }
      }
    }
  }
}
