// arco-btn
.arco-btn + .arco-btn {
  margin-left: 10px;
}
.arco-btn-text {
  &:not(.arco-btn-only-icon) .arco-btn-icon {
    margin-right: 4px;
  }
}
// .arco-pagination
.arco-table {
  .arco-table-pagination {
    display: block;
    margin-top: 16px;
  }
  .arco-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .arco-pagination-item {
      border: 1px solid var(--color-border);
      line-height: 30px;
    }
    .arco-pagination-item-active {
      border-color: var(--color-primary);
      background-color: var(--color-primary);
      color: #fff;
    }
    .arco-select-view-single {
      border-color: var(--color-border);
    }
    .arco-pagination-total {
      flex-grow: 2;
    }
  }
}

// arco-table
.action-column {
  .arco-btn {
    height: 20px;
    padding: 0;
    border: none !important;
    outline: none !important;
    line-height: 20px;
    margin: 0;

    &:not(:first-child) {
      margin-left: 10px;
    }
    &:not(.arco-btn-disabled):hover {
      transform: scale(1.1);
    }
  }
}

// arco-input
// .arco-input-wrapper,
// .arco-select-view-single {
//   border-color: #d9d9d9;
//   background-color: transparent;
//   &:hover {
//     border-color: #bebebe;
//   }
// }

// arco-modal
.arco-modal-wrapper {
  .arco-modal {
    border-radius: 8px;

    .arco-modal-close-btn {
      font-size: 20px;
    }
    .arco-icon-hover::before {
      width: 24px;
      height: 24px;
      border-radius: 4px;
    }
    .arco-modal-header {
      padding: 20px;
      border-bottom: 1px solid var(--color-border);
      margin: 0;
      height: auto;
      text-align: left;
    }
    .arco-modal-title {
      color: var(--color-text-dark);
    }
    .arco-modal-close {
      width: 24px;
      height: 24px;
    }
    .arco-modal-body {
      padding: 20px;
    }
    .arco-modal-footer {
      padding: 0 20px 20px;
      margin: 0;
      border: none;

      .arco-btn:not(:nth-child(1)) {
        margin-left: 8px;
      }
    }

    &.arco-modal-simple {
      border-radius: 8px;
      padding: 0;
      .arco-modal-header {
        border: none;
        padding-bottom: 8px;
      }
      .arco-modal-body {
        padding: 0 20px 20px 48px;
      }
      .arco-modal-footer {
        text-align: right;
      }
    }
  }
}

// .arco-select
.arco-select-dropdown {
  .arco-select-option {
    &.arco-select-option-selected {
      color: var(--color-primary);

      &.arco-select-option-active {
        &:hover {
          color: var(--color-primary);
        }
      }
    }
  }
}
