.wc-etransactions__header {
    display: flex;
    justify-content: space-between;
    background-color: $color-white;
    border: 1px solid $color-border;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;

    &__logo {

        & img {
            height: 80px;
            vertical-align: middle;
        }
    }

    &__support,
    &__config {

        &__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: 900px;
                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: space-between;
                    border-bottom: 1px solid $color-border;
                    padding: 15px;

                    &__title {
                        font-size: 15px;
                        font-weight: 400;
                        color: $color-text;
                    }

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

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

                &__body {
                    padding: 15px;
                }

                &__footer {
                    display: flex;
                    justify-content: center;
                    padding: 15px;
                    padding-bottom: 25px;

                    &__btn {
                        display: inline-block;
                        font-size: 12px;
                        font-weight: 400;
                        line-height: 1.42857;
                        text-align: center;
                        background-color: $color-link;
                        color: $color-white;
                        text-transform: uppercase;
                        background-image: none;
                        border: 1px solid $color-link;
                        border-radius: 3px;
                        cursor: pointer;
                        user-select: none;
                        vertical-align: middle;
                        white-space: nowrap;
                        text-decoration: none;
                        padding: 6px 8px;
                        margin-bottom: 0;
        
                        &:hover {
                            color: $color-white;
                            background-color: $color-link-hover;
                            text-decoration: none;
                            border: 1px solid $color-link-hover;
                        }
                    }
                }
            }
        }
    }

    &__support {
        display: flex;

        &__contact {
            display: flex;
            align-items: center;

            &__icon {

                & img {
                    width: 42px;
                    height: auto;
                }
            }

            &__text {
                display: flex;
                flex-direction: column;
                justify-content: center;
                border-left: 1px solid;
                padding-left: 15px;
                margin-left: 15px;
                margin-right: 15px;

                & p {
                    font-size: 12px;
                    font-weight: 400;
                    color: $color-text;
                    padding: 0;
                    margin: 0;
                    margin-bottom: 8.5px;
                }
            }
        }

        &__buttons {
            display: flex;
            flex-direction: column;
            justify-content: space-around;

            &__download {
                display: inline-block;
                font-size: 12px;
                font-weight: 400;
                line-height: 1.42857;
                text-align: center;
                background-color: $color-primary;
                color: $color-white;
                text-transform: uppercase;
                background-image: none;
                border: 1px solid $color-primary;
                border-radius: 3px;
                cursor: pointer;
                user-select: none;
                vertical-align: middle;
                white-space: nowrap;
                text-decoration: none;
                padding: 6px 8px;
                margin-bottom: 0;

                &:hover {
                    color: $color-white;
                    background-color: $color-primary;
                    text-decoration: none;
                    border: 1px solid $color-primary;
                }
            }
        }
    }

    &__config {

        &__popup {

            &__content {

                &__body {

                    & .requirement {
                        display: flex;
                        align-items: center;

                        & svg {
                            display: block;
                            height: 12px;
                            width: auto;
                            fill: $color-success-text;
                            margin-right: 5px;
                        }

                        &.error {

                            & svg {
                                fill: $color_danger;
                            }
                        }
                    }

                    &__test-request {

                        & .success,
                        & .warning {
                            display: none;
                        }

                        & .loader {
                            &::before {
                                content: "";
                                display: block;
                                width: 40px;
                                height: 40px;
                                border: 4px solid $color-border;
                                border-top-color: $color-primary;
                                border-radius: 50%;
                                animation: loader 0.8s linear infinite;
                            }
                        }

                        &.success .success {
                            display: flex;
                        }

                        &.fail .warning {
                            display: flex;
                        }

                        &.tested {
                            & .loader {
                                display: none;
                            }
                        }
                    }

                    &__form {

                        &__footer {
                            border-top: 1px solid $color-border;
                            padding: 20px 0;
                    
                            & button {
                                background: $color-link;
                                border-color: $color-link;
                                color: $color-white;
                                border: none;
                                outline: none;
                                padding: 8px 16px;
                                font-size: 14px;
                                font-weight: 600;
                                line-height: 1.5;
                                border-radius: 4px;
                                cursor: pointer;
                    
                                &:hover {
                                    opacity: 0.8;
                                }
                            }
                        }
                    }
                    
                }
            }
        }
    }
}