.container {
  position: relative;
}

// can't transition changes from different ant buttons,
// so we'll need to style them here
.button {
  transition:
    background-color 300ms ease-in 0s,
    color 300ms ease 0s,
    border-color 300ms ease 0s,
    box-shadow 300ms ease 0s;

  height: 28px;
  max-width: 240px;

  --ant-color-text-disabled: var(--ant-color-text);

  &--hover {
    // important used here because ant default :hover state
    // would otherwise override this
    color: var(--ant-button-primary-color) !important;
    background-color: var(--fidesui-minos) !important;

    box-shadow:
      0px 1px 2px 0px rgba(0, 0, 0, 0.06),
      0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  }

  &--parent-hover {
    background-color: var(--fidesui-neutral-50);
    border-color: var(--ant-button-default-border-color);
    box-shadow:
      0px 1px 2px 0px rgba(0, 0, 0, 0.06),
      0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  }

  &--inactive {
    color: var(--fidesui-neutral-400);
  }
}

.add-button-container {
  position: absolute;
  left: 100%;
  top: 0;
  padding-left: 0.5rem;
  transition: opacity 0.3s ease-in 0s;
}

.add-button {
  --ant-control-height: 28px;
  border-color: transparent;

  box-shadow:
    0px 1px 2px 0px rgba(0, 0, 0, 0.06),
    0px 1px 3px 0px rgba(0, 0, 0, 0.1);

  opacity: 0;
  &--visible {
    opacity: 1;
  }
  &:focus {
    opacity: 1;
  }
}
