page-agent-list {
  display: block;

  .main-content {
    box-shadow: none;
    overflow-x: hidden;
    min-height: 300px;
  }

  sharp-switch {
    margin-top: 5px;
    margin-left: 5px;
  }

  .fa {
    margin: 0 8px;
    cursor: pointer;

    &.fa-sliders {
      font-size: 14px;
    }

    &.fa-times-circle {
      color: red;
      font-size: 16px;

      &.protected {
        color: #A7A3A3;
        cursor: default;
      }
    }

    &.fa-plus {
      margin: 0;
    }

    &.fa-question-circle-o {
      cursor: help;
      margin: 0;
    }
  }

  .operate-layer {
    display: flex;

    tag-manager {
      margin-left: 15px;
      margin-bottom: 5px;

      .tag-item {
        max-width: 80%;
      }
    }

    .fa {
      margin: 0;
    }

    .btn {
      padding: 6px;
      border-radius: 4px;

      &.btn-ok.active {
        background: var(--global-theme-color-light, #00bbb4);
        color: white;

        .fa {
          color: white;
        }
      }
    }

    .batch-layer {
      flex: 1;
      display: flex;

      .btn-group {
        height:32px;

        .btn {
          margin-right: 0;
        }
      }

      .filter-tag {
        flex: 1;
      }

      .btn-ok {
        border: 1px solid var(--global-theme-color-light, #00bbb4);
        color: var(--global-theme-color-light, #00bbb4);
        background: #FFF;
        padding: 5px;
        margin-right: 15px;
      }
    }

    .search-layer {
      width: 400px;
      display: flex;
      float: right;
      z-index: 0;

      input {
        width: 260px;
      }

      .btn {
        flex: 1;
        margin: 0 0 15px 10px;
        height: 34px;

        &.btn-search {
          flex: none;
          width: 50px;
        }

        .fa {
          color: #FFF;
          margin-right: 5px;
        }
      }

      .input-group {
        display: inline-flex;
      }

      .input-group-addon {
        height: 34px;
        width: 34px;
        text-align: center;
        padding: 10px;
        outline: none;

        .fa {
          color: gray;
        }
      }
    }
  }

  .enabled {
    color: #00C8C1;
  }

  .disabled {
    color: #8D8D8D;
  }

  th, td {
    & > label {
      display: block;
      margin-bottom: 0;
      cursor: pointer;
    }
  }

  td {
    &.invalid {
      color: #A6A29D;
    }

    .fa.fa-sliders {
      color: var(--global-theme-color-light, #00bbb4);
    }

    .to-bear-box {
      display: flex;

      .fa {
	width: 11px;
	margin: 3px 0 0 0;
      }

      .icomoon-relation {
	color: #70dad6;
	transform: scale(0.9);
      }

      .a-normal {
	max-width: calc(100% - 25px);
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0 3px;
      }
    }
  }

  .table-inline-pro {
    .tag-list {
      margin-top: -10px;
    }

    form {
      display: none;
    }
  }

  .no-data-table {
    border: none;

    .nil-tr {
      text-align: center;
      line-height: 400px;

      &:hover {
        background: #FFF;
      }
    }

    td {
      color: #CECECE;
    }
  }

  .batch-operate-btn-layer {
    text-align: center;
    padding-top: 10px;

    .btn {
      margin: 10px;
    }
  }

  .update-version-btn {
    height: 15px;
    line-height: 14px;
    padding: 0 3px;
    margin-left: 2px;
    text-align: center;
    font-size: 12px;
    transform: scale(0.9);
    background: white;
    border-color: var(--global-theme-color-light, #00bbb4);
    color: var(--global-theme-color-light, #00bbb4);
    position: relative;
    top: -1px;
  }

  .group {
    overflow: visible;
    padding-right: 5px;

    .group-style {
      float: right;
    }

    label {
      border: none;
      background: none;
      padding: 0;

      &::after {
        content: none!important;
      }
    }

    section {
      border-radius: 3px;
    }
  }

  .unhealthy-status {
    opacity: 0.5;
    cursor: default;
  }
}

[data-page=pageAgentManagement],
[data-page=agentManagement] {
  .dropdown-menu {
    min-width: 100px;
  }

  .filter-type-container {
    position: absolute;
    right: 10px;

    &.auto {
      right: 35px;
    }
  }

  .filter-type {
    max-height: 300px;
    overflow-y: auto;

    li {
      padding: 5px 15px 5px 0;
      display: flex;

      &:hover {
	background: #F8F8F8;
      }

      .i-den {
	width: 26px;
	text-align: center;
      }
    }
  }

  a[target=_blank] {
    text-decoration: underline;
    padding: 0 2px;
  }
}

.modal-batch-upgrades {
  width: 500px;
}
