.acb_debug_log {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 20px;
    position: relative;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    gap: 24px;
    transition: all 0.3s ease;

    // Inactive states
    .inactive {
        opacity: 0.6;
        filter: grayscale(1);
        transition: all 0.3s ease;
    }

    // Left Section
    .acb_left {
        position: relative;
        background: #ffffff;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;

        label {
            cursor: pointer;
        }

        &:hover {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        h3 {
            display: flex;
            gap: 10px;
            align-items: center;
            font-size: 1.25rem;
            color: #1a1a1a;
            margin-bottom: 24px;
        }

        .wpnts-switch-sitescriptmodification,
        .wpnts-switch-sitessecurityissues {
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            position: relative;
            width: 100%;
            // background: #f8f9fa;
            padding: 16px;
            border-radius: 8px;
            transition: all 0.2s ease;

            &:hover {
                background: #f1f3f5;
            }

            label {
                margin: 0 12px;
                color: #4a5568;
            }

            // PRO and NEW tags
            p.PRO_TAG,
            p.NEW_TAG {
                position: absolute;
                padding: 4px 8px;
                color: white;
                border-radius: 6px;
                font-size: 11px;
                font-weight: 500;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            }

            p.PRO_TAG {
                right: 16px;
                background: #008080;
            }

            p.NEW_TAG {
                right: 50px;
                background: #3182ce;
            }

            .wpnts_ispro {
                display: flex;
                align-items: center;
                gap: 12px;

                &.inactive {
                    opacity: 0.6;
                }
            }
        }

        .wpnts-switch-sitessecurityissues {
            margin-top: 24px;
        }

        svg.wcs_tooltip_icon {
            width: 16px;
            height: 16px;
            color: #718096;
            transition: color 0.2s ease;

            &:hover {
                color: #4a5568;
            }
        }

        // Form inputs
        .formInput {
            width: 100%;
            max-width: 500px;
            margin-top: 24px;

            &.global-settings-mode {
                display: none;
                opacity: 0.5;
                pointer-events: none;
            }

            &.mail-config {
                margin: 16px 0;
            }

            textarea {
                height: 160px;
                width: 100%;
                padding: 12px;
                border: 1px solid #e2e8f0;
                border-radius: 8px;
                background-color: #f8f9fa;
                resize: vertical;
                transition: all 0.2s ease;

                &:focus {
                    outline: none;
                    border-color: #008080;
                    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
                }
            }

            input {
                width: 100%;
                padding: 12px;
                border: 1px solid #e2e8f0;
                border-radius: 8px;
                background-color: #f8f9fa;
                transition: all 0.2s ease;

                &:focus {
                    outline: none;
                    border-color: #008080;
                    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
                }
            }

            input#authorPaneltoMail {
                width: auto;
            }

            .wpnts-setting {
                position: relative;

                .passimg {
                    position: absolute;
                    right: 12px;
                    top: 50%;
                    transform: translateY(-50%);
                    font-size: 18px;
                    cursor: pointer;
                }

                select {
                    width: 100%;
                    padding: 12px;
                    border: 1px solid #e2e8f0;
                    border-radius: 8px;
                    background-color: #f8f9fa;
                    appearance: none;
                    cursor: pointer;
                    transition: all 0.2s ease;

                    &:focus {
                        outline: none;
                        border-color: #008080;
                        box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
                    }

                    &:hover {
                        border-color: #008080;
                    }
                }

                &::after {
                    content: '';
                    position: absolute;
                    right: 12px;
                    top: 50%;
                    transform: translateY(-50%);
                    border-left: 5px solid transparent;
                    border-right: 5px solid transparent;
                    border-top: 5px solid #4a5568;
                    pointer-events: none;
                }
            }
        }

        // Form and buttons
        form#wpnts_site_debuglog_settings {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .save-webhook {
            padding: 12px 24px;
            border: none;
            background-color: #008080;
            color: white;
            font-weight: 600;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.2s ease;
            width: fit-content;

            &:hover {
                background-color: #006666;
                transform: translateY(-1px);
            }
        }

        .error-log-btn {
            display: flex;
            gap: 5px;
        }
    }

    // Right Section
    .acb_right {
        flex: 1;
        padding: 20px;

        .lines-content.monaco-editor-background {
            background: #dfdfdf;
        }

        .margin-view-overlays {
            background: #cfcece;
        }

        span.wpnts-log {
            &.active {
                color: #e53e3e;
            }

            &.inactive {
                color: #38a169;
            }
        }
    }

    // Video Section
    .acb_video {
        flex: 1;
        padding: 20px;

        .wcs-player-wrapper {
            position: relative;
            padding-top: 30%;
            border: 6px solid white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

            .wcs-react-player {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }
        }
    }
}

// Responsive Styles
@media screen and (max-width: 1024px) {
    .acb_debug_log {
        flex-direction: column;
        padding: 16px;
        gap: 16px;

        .acb_left,
        .acb_right,
        .acb_video {
            width: 100%;
            padding: 16px;
        }

        .acb_left .formInput {
            width: 100%;
            max-width: none;
        }
    }
}

@media screen and (max-width: 768px) {
    .acb_debug_log {

        .wpnts-switch-sitescriptmodification,
        .wpnts-switch-sitessecurityissues {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;

            p.PRO_TAG,
            p.NEW_TAG {
                position: static;
                display: inline-block;
                margin-top: 8px;
            }

            .wpnts_ispro {
                width: 100%;
                justify-content: space-between;
            }
        }
    }
}

@media screen and (max-width: 480px) {
    .acb_debug_log {
        padding: 12px;

        .acb_left,
        .acb_right,
        .acb_video {
            padding: 12px;
        }

        .save-webhook {
            width: 100%;
        }

        .formInput .wpnts-setting {
            select {
                width: 100%;
            }
        }
    }
}