@import './base/variables';
@import './base/global';

.wc-etransactions__deactivate {

    &__popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99999;

        &.show {
            display: block;
        }

        &__overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba($color: #000000, $alpha: 0.3);
            cursor: pointer;
        }

        &__content {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            max-width: 500px;
            transform: translate(-50%, -50%);
            background-color: $color-white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,.5);

            &__header {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                border-bottom: 1px solid $color-border;
                padding: 10px;

                &__close {
                    cursor: pointer;
                    padding: 5px;

                    & svg {
                        display: block;
                        height: 14px;
                        width: auto;
                        fill: $color-text;
                    }
                }
            }

            &__body {
                padding: 10px;

                & ul {
                    list-style: disc;
                    padding-left: 40px;
                }
            }

            &__footer {
                display: flex;
                gap: 10px;
                padding: 10px;
                padding-bottom: 20px;
            }
        }
    }
}