// placeholder
@import (optional, reference) '../../style/themes/index';

@toast-prefix-cls: ~'@{mega-prefix}-toast';

.@{toast-prefix-cls} {
  .ant-modal-content {
    border-radius: 4px;
  }
  .ant-modal-header {
    padding: 0 20px;
    height: 50px;
    background-color: fade(@border-color-split, 70%);
    border-radius: 10px 10px 0 0;
    .ant-modal-title {
      font-weight: 700;
      line-height: 50px;
    }
  }
  .ant-modal-body {
    padding: 20px;
    .section-title {
      font-size: 16px;
      line-height: 20px;
      margin-bottom: 0;
      height: 30px;
    }
    .title-error .anticon {
      color: @warning-color;
      font-weight: 700;
      font-size: 18px;
      margin-right: 8px;
    }
    .title-tip .anticon {
      transform: rotate(-90deg);
      color: @primary-color;
      font-weight: 700;
      font-size: 18px;
      margin-right: 8px;
    }
    .section-content {
      min-height: 36px;
      padding: 10px 14px;
      line-height: 26px;
    }
    .content-error {
      background-color: fade(@warning-color, 10%);
      margin-bottom: 20px;
    }
    .content-tip {
      background-color: fade(@primary-color, 10%);
    }
  }
  .ant-modal-footer {
    display: flex;
    justify-content: space-between;
    line-height: 36px;
    .countdown {
      margin-right: 12px;
    }
  }
}
