$modal-width: calc(100% - 160px);
$modal-height: calc(100vh - 32px);
$modal-top: 32px;
$modal-left: 160px;
@include wrap-class() {
    .wcc-app-modal-backdrop {
        width: $modal-width;
        height: $modal-height;
        overflow-x: hidden;
        overflow-y: auto;
        position: fixed;
        background-color: rgba(51, 51, 51, 0.75);
        display: flex;
        justify-content: center;
        align-items: center;
        top: $modal-top;
        left: $modal-left;
        z-index: 99999999;
        &.wcc-app-modal-floating {
            background-color: rgba(0,0,0,0.15);
            .wcc-app-modal {
                box-shadow: 0 5px 20px #0000001a;
                border: 1px solid #e8e8eb;
                border-radius: 3px;
            }
        }
    }

    .wcc-app-modal {
        background: #ffffff;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 660px;
        transition: all 0.4s ease;
        max-height: calc(100% - 3.5rem);
        .wcc-button-close {
            fill: color(mono, white);
        }
        border-radius: 12px;
    }

    .wcc-app-modal-header {
        padding: 20px 30px;
        display: flex;
    }
    .wcc-app-modal-footer {
        padding: 0px 30px 20px 30px;
    }
    .wcc-app-modal-header {
        position: relative;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        h4 {
           margin: 0;
        }
    }

    .wcc-app-modal-footer {
        flex-direction: column;
        .wcc-app-modal-actions button {
            margin-left: 10px;
        }
    }

    .wcc-app-modal-body {
        position: relative;
        padding: 20px 30px;
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    .wcc-button-close {
        position: absolute;
        right: 15px;
        border: none;
        cursor: pointer;
        background: transparent;
    }

    .wcc-app-modal-fade-enter {
        opacity: 0;
    }

    .wcc-app-modal-fade-modal-leave-active {
        opacity: 0;
    }

    .wcc-app-modal-fade-enter .wcc-app-modal {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
}
.wcc-connect-success {
    width: $modal-width;
    height: $modal-height;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    top: $modal-top;
    left: $modal-left;
    z-index: 999;
}