@import '../../styles/abstracts/variables';

.data-capture-form-card {
  &__title {
    max-width: 500px;
  }
  &__content-title {
    max-width: 440px;
  }
  &__content {
    border: 1px solid $grey2;
    border-radius: 8px;
  }
  &__picture {
    border-right: 1px solid #e5e5e5;
    height: 82px !important;

    img,
    .ant-skeleton-avatar {
      width: 82px !important;
      height: 82px !important;
      object-fit: cover;
      border-top-left-radius: 8px;
      border-bottom-left-radius: 8px;
    }
  }
  &__actions {
    border-radius: 16px;
    border-right: none;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -webkit-box-shadow: $boxShadow2;
    -moz-box-shadow: $boxShadow2;
    box-shadow: $boxShadow2;
    .ant-list-item {
      padding: 16px 20px;
      cursor: pointer;
      &:hover {
        background: rgba(37, 127, 252, 0.05);
        &:first-child {
          border-top-left-radius: 16px;
          border-top-right-radius: 16px;
        }
        &:last-child {
          border-bottom-left-radius: 16px;
          border-bottom-right-radius: 16px;
        }
      }
    }
  }
}
.data-capture-form-card-overlay {
  padding-top: 0;
  margin-top: -4px;
  min-width: 186px;
  .ant-popover-inner {
    border-radius: 16px;
  }
  .ant-popover-arrow {
    display: none;
  }

  .ant-popover-inner-content {
    border-radius: 16px;
    padding: 0;
  }
}
