/**
 *
 * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). 
 * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc..  
 * 
 * This source code is licensed under the Apache license.
 * See LICENSE file in the project root for license information.
 *
 */
.@{ant-prefix}-popconfirm {
  .sp-popconfirm-title {
    .font-body-medium();
  }

  .sp-popconfirm-content {
    .font-body-medium();
    font-weight: 400;
  }

  .sp-popconfirm-title + .sp-popconfirm-content {
    .font-assets-caption-regular();
    margin-top: 2px;
    color: @color-text-icon-2;
  }

  .@{ant-prefix}-popover-message {
    padding: 0;
    display: flex;
    flex: 1;
  }

  .@{ant-prefix}-popover-message-title {
    padding: 0;
    flex: 1;
  }

  .@{ant-prefix}-popover-inner-content {
    min-width: 160px;
    max-width: 280px;
    padding: @spacing-xl;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .@{ant-prefix}-popover-buttons {
    margin-bottom: 0;
    margin-top: @spacing-xl;
    display: flex;
    flex-direction: row-reverse;
  }
  .sp-popconfirm-icon {
    margin-right: 8px;
    font-size: 16px;
    &.sp-success {
      color: @color-function-success-main;
    }
    &.sp-info {
      color: @color-primary-brand;
    }
    &.sp-warning {
      color: @color-function-warning-main;
    }
    &.sp-error {
      color: @color-function-danger-main;
    }
  }
}
