.yc-popconfirm {
  .yc-popconfirm-popup-content {
    padding: 16px;
    background-color: var(--color-bg-popup);
    border: 1px solid var(--color-neutral-3);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-text-2);
    font-size: 14px;
    line-height: 1.5715;
    display: flex;
    flex-direction: column;
    gap: 16px;

    .yc-popconfirm-body {
      display: flex;
      align-items: center;
      gap: 8px;
      .yc-popconfirm-icon {
        font-size: 18px;
        height: 22px;
        width: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .yc-popconfirm-content {
        text-align: left;
        word-wrap: break-word;
      }
    }
    .yc-popconfirm-footer {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
    }
  }
  .yc-popconfirm-popup-arrow {
    z-index: 1;
    background-color: var(--color-bg-popup);
    border: 1px solid var(--color-neutral-3);
  }
}
@types: {
  info: rgb(var(--primary-6));
  success: rgb(var(--success-6));
  warning: rgb(var(--warning-6));
  error: rgb(var(--danger-6));
};
each(@types,  {
  &.yc-popconfirm-@{key} {
    .yc-popconfirm-icon {
      color: @value;
    }
  }
});
