.manage-software-page {
  &__vibrant-blue {
    color: $core-vibrant-blue;
  }

  &__header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;

    .button-wrap {
      display: flex;
      justify-content: flex-end;
      min-width: 266px;
    }
  }

  &__manage-automations {
    padding: $pad-small $pad-medium;
  }

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

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

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

  &__title {
    font-size: $large;
  }

  &__description {
    margin: 0;
    margin-bottom: 40px;

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

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

    img {
      transform: scale(0.5);
    }
  }

  .rightcaret {
    &::before {
      content: url("../assets/images/icon-chevron-blue-16x16@2x.png");
      transform: scale(0.5) rotate(-90deg);
      width: 16px;
      border-radius: 0px;
      padding: 0px;
      padding-right: 10px;
      margin-top: 5px;
    }
  }

  .upcaret {
    &::before {
      content: url("../assets/images/icon-chevron-blue-16x16@2x.png");
      transform: scale(0.5) rotate(180deg);
      width: 16px;
      border-radius: 0px;
      padding: 0px;
      padding-right: 2px;
      margin-right: $pad-small;
      margin-top: 5px;
      position: relative;
      top: -4px;
      left: 6px;
    }
  }

  &__details {
    display: inline-flex;
    vertical-align: middle;
    margin-left: $pad-small;
    margin-top: -20px;

    .hint {
      color: $core-fleet-black;

      &--brand {
        color: $core-vibrant-blue;
      }
    }
  }

  .table-container {
    min-height: 435px;
  }
  .data-table__wrapper {
    overflow-x: auto;
  }
  .form-field--dropdown {
    margin: 0;
  }
  .component__tabs-wrapper .table-container__header {
    display: none;
  }
  &__empty-software {
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;

    .empty-software__inner {
      display: flex;
      flex-direction: column;

      h1 {
        font-size: $small;
        font-weight: $bold;
        margin-bottom: $pad-medium;
      }

      p {
        color: $core-fleet-black;
        font-weight: $regular;
        font-size: $x-small;
        margin: 0;
      }

      a {
        color: $core-vibrant-blue;
        font-size: $x-small;
        font-weight: $bold;
        text-decoration: none;
        margin-left: 0;
      }

      img {
        height: 12px;
        width: 12px;
        margin: 0;
      }
    }
  }
  &__count {
    display: flex;

    :first-child {
      margin-right: $pad-small;
    }
    .count-error {
      color: $ui-error;
    }
    .count-loading {
      color: $ui-fleet-black-50;
    }
  }

  &__status_dropdown {
    width: 219px;

    .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;
      font-size: $small !important;
    }
  }
  .table-container__search-input {
    width: 420px;
  }
  .data-table-container {
    .data-table__table {
      table-layout: fixed;

      thead {
        .name__header {
          width: 35%;
        }
        .hosts_count__header {
          width: 56px;
          border-right: 0;
        }
        .id__header {
          width: 180px;
        }
      }

      tbody {
        .name__cell,
        .version__cell {
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
        .id__cell {
          padding: 0;
        }
        .vulnerabilities__cell {
          img {
            transform: scale(0.5);
          }
        }
      }

      tr {
        .software-link {
          color: $core-vibrant-blue;
          visibility: hidden;
          font-weight: bold;
          text-decoration: none;
          vertical-align: middle;

          a {
            text-decoration: none;
          }
          img {
            height: 16px;
            width: 16px;
            vertical-align: middle;
          }

          .link-text {
            padding-right: $pad-xxsmall;
          }
        }

        &:hover {
          .software-link {
            visibility: visible;
          }
        }
      }
    }
  }
  .text-muted {
    color: $ui-fleet-black-50;
  }
}
