.acb_traffic {
    display: flex;
    -webkit-box-shadow: 2px 4px 10px 1px rgba(0, 0, 0, 0.47);
    box-shadow: 2px 4px 10px 1px rgba(201, 201, 201, 0.47);
    padding: 15px;
    font-size: 12px;
    font-family: sans-serif;
    position: relative;

    .acb_left h3 {
        display: flex;
        gap: 7px;
        align-items: center;
    }

    .acb_left {
        box-shadow: 7px 0px 12px 0px rgba(201, 201, 201, 0.47);
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 1px 1px 1px 1px #008080;
    }

    .acb_left {
        flex: 1;
        padding: 15px;

        h3 {
            margin-bottom: 10px;
            position: relative;

            .wcs_title {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                right: 0;
                cursor: pointer;
            }
        }

        input.PrivateSwitchBase-input {
            position: absolute;
            left: 12px;
            top: 17px;
        }

        .wpx_deleteButton {
            width: 30px;
            font-size: 10px;
            padding: 8px;
            border: none;
            background-color: teal;
            color: white;
            font-weight: bold;
            cursor: pointer;
            border-radius: 4px;
        }

        button.wpx-buld-delete {
            width: 95px;
            padding: 9px;
            border: none;
            background-color: teal;
            color: white;
            font-weight: bold;
            cursor: pointer;
            border-radius: 4px;
            margin-left: 6px;
            margin-bottom: 13px;
        }

        input.wpx-search-leads {
            border: 1px solid #eee;
            color: #7a7a7a;
            font-size: 11px;
            font-weight: 500;
            height: 37px;
            outline: none;
            padding: 0 15px;
            width: 242px;
            border-radius: 6px;
            margin-bottom: 13px;
        }


        svg.wcs_tooltip_icon {
            width: 15px;
            height: 15px;
        }
    }

    // Improved inactive overlay
    .inactive-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, rgba(0, 30, 60, 0.15) 0%, rgba(0, 88, 105, 0.15) 100%);
        color: white;
        font-size: 18px;
        z-index: 100;
        transition: all 0.4s ease;
        animation: fadeIn 0.5s ease forwards;

        &:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.2);
            z-index: -1;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        img.wpnts_woocommerce {
            width: 160px;
            height: 160px;
            filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
            margin-bottom: 20px;
            animation: pulse 3s infinite;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            padding: 15px;

            @keyframes pulse {
                0% {
                    transform: scale(1);
                }

                50% {
                    transform: scale(1.05);
                }

                100% {
                    transform: scale(1);
                }
            }
        }

        .action-btns {
            text-align: center;
            width: 100%;
            max-width: 420px;
            padding: 25px;
            background-color: rgba(0, 64, 77, 0.75);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            transform: translateY(0);
            transition: all 0.3s ease;

            &:hover {
                transform: translateY(-5px);
                box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
                background-color: rgba(0, 71, 86, 0.85);
            }

            h3.inactive-text {
                color: #ffffff;
                font-size: 20px;
                margin-bottom: 10px;
                text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            }

            h4.inactive-text {
                color: rgba(255, 255, 255, 0.95);
                font-size: 18px;
                font-weight: 500;
                margin-bottom: 25px;
                text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            }

            .install-btn {
                display: flex;
                flex-direction: column;
                align-items: center;

                button.install-action {
                    padding: 14px 32px;
                    border: none;
                    border-radius: 8px;
                    background: linear-gradient(135deg, #00c2c2 0%, #008b8b 100%);
                    color: white;
                    font-weight: bold;
                    font-size: 16px;
                    cursor: pointer;
                    margin-top: 15px;
                    transition: all 0.3s ease;
                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
                    position: relative;
                    overflow: hidden;
                    border: 1px solid rgba(255, 255, 255, 0.25);

                    &:before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: -100%;
                        width: 100%;
                        height: 100%;
                        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
                        transition: all 0.5s ease;
                    }

                    &:hover {
                        background: linear-gradient(135deg, #00dadb 0%, #00a3a4 100%);
                        transform: translateY(-3px);
                        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);

                        &:before {
                            left: 100%;
                        }
                    }

                    &:active {
                        transform: translateY(0);
                        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
                    }
                }
            }
        }
    }

    @media only screen and (max-width: 768px) {
        flex-direction: column;

        .acb_left {
            flex: 1;
            margin: 10px;
        }

        .inactive-overlay {
            .action-btns {
                max-width: 85%;
                padding: 20px;

                h3.inactive-text {
                    font-size: 20px;
                }

                h4.inactive-text {
                    font-size: 16px;
                    margin-bottom: 20px;
                }

                .install-btn button.install-action {
                    padding: 12px 25px;
                    font-size: 15px;
                }
            }
        }
    }

    @media only screen and (max-width: 480px) {
        .inactive-overlay {
            .action-btns {
                max-width: 90%;
                padding: 15px;

                h3.inactive-text {
                    font-size: 18px;
                }

                h4.inactive-text {
                    font-size: 14px;
                    margin-bottom: 15px;
                }

                .install-btn button.install-action {
                    padding: 10px 20px;
                    font-size: 14px;
                }
            }

            img.wpnts_woocommerce {
                width: 120px;
                height: 120px;
            }
        }
    }
}