::ng-deep .loading {
  .content {
    pointer-events: none;
  }
}

.search-box {
  margin-bottom: 10px;

  .search-input {
    width: 100%;
    background: #3a3c3f;
    border: 1px solid #555;
    color: #ddd;
    padding: 5px 10px;
    border-radius: 4px;

    &:focus {
      border-color: #1890ff;
      outline: none;
    }

    &::placeholder {
      color: #888;
    }
  }
}

.board-list {
  flex: 1;
  overflow-y: auto;
  border: 1px solid #555;
  border-radius: 4px;
  background: #2b2d30;
  max-height: 300px;

  .empty-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #888;
    gap: 10px;

    i {
      font-size: 48px;
    }
  }

  .board-item {
    display: flex;
    align-items: center;
    padding: 10px;
    height: 60px;
    border-bottom: 1px solid #3a3c3f;
    cursor: pointer;
    position: relative;

    &.disabled {
      cursor: not-allowed;
      opacity: 0.5;
    }

    &:hover:not(.disabled) {
      background: #3a3c3f;
    }

    &.selected {
      background: #1890ff20;
    }

    &:last-child {
      border-bottom: none;
    }

    .board-img {
      width: 120px;
      height: 60px;
      margin-right: 10px;

      img {
        height: 60px;
      }
    }

    .board-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 4px;

      .board-name {
        font-weight: 500;
        color: #ddd;
        font-size: 14px;
      }

      .board-desc {
        font-size: 12px;
        color: #999;
      }

      .board-brand {
        font-size: 11px;
        color: #666;
      }
    }

    .check-icon {
      color: #1890ff;
      font-size: 20px;
      margin-left: 8px;
    }
  }
}