@import '~antd/lib/modal/style/index';

@import '../../themes/default/index';
@import '../../mixins/index';

// @dialog-prefix-cls: ant-modal
.@{dialog-prefix-cls} {
    padding-bottom: 0;
    box-shadow: 0 0 20px 0 @gray-9;
    &-title {
        color: @text-color-base;
        font-size: @font-size-lg;
    }
    &-content {
        border-top: 3px @border-style-base @primary-color;
        border-bottom: 3px @border-style-base @primary-color;
    }
    &-close {
        &-x {
            height: 36px;
            line-height: 36px;
            color: @gray-9;
            i {
                display: none;
              }
            &:after {
                font-family: 'polestar' !important;
                content: '\E217';
            }
        }
    }
    &-header {
        padding: 7px 24px;
        background: @modal-header-bg;
        border-bottom: @modal-border-width-base @modal-border-style-base @modal-border-color;
        height: unset;
    }
    &-body {
        padding: 10px 20px 15px 20px;
    }
    &-footer {
        padding: 15px 20px;
        border-top: unset;

        &.ps-modal-footer-loading {
            // background-color: rgba(0, 0, 0, 0.5);
            button {
                opacity: 0.5;
            }
        }
    }
}
