.acb_api {
    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;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    gap: 24px;
    transition: all 0.3s ease;

    .acb_left {
        position: relative;
        background: #ffffff;
        border-radius: 10px;
        padding: 20px;
        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;
        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;
        }

        .delete-log {
            display: flex;
            flex-direction: column;
            gap: 12px;

            button#reset-log {
                width: auto;
                padding: 12px 20px;
                border: none;
                background-color: #008080;
                color: white;
                font-weight: 600;
                cursor: pointer;
                border-radius: 8px;
                transition: all 0.2s ease;

                &:hover {
                    background-color: #006666;
                    transform: translateY(-1px);
                }
            }
        }

        [class*="wpnts-switch-"] {
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            position: relative;
            width: 95%;
            // background: #f8f9fa;
            padding: 16px;
            border-radius: 8px;
            transition: all 0.2s ease;

            &:hover {
                background: #f1f3f5;
            }

            label {
                margin: 0 12px;
                color: #4a5568;
            }

            .activity-parents {
                margin-bottom: 5px;

                label {
                    margin-left: 8px;
                }

                input {
                    width: 100%;
                    padding: 12px;
                    border: 1px solid #e2e8f0;
                    border-radius: 8px;
                    background-color: #f8f9fa;
                    appearance: none;
                    cursor: pointer;
                    transition: all 0.2s ease;
                    margin-top: 10px;

                    &:focus {
                        outline: none;
                        border-color: #008080;
                        box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
                    }
                }
            }

            .wpnts_ispro.inactive {
                opacity: 0.6;
                filter: grayscale(1);
            }

            p.PRO_TAG {
                position: absolute;
                right: 16px;
                color: white;
                background: #008080;
                border-radius: 6px;
                font-size: 11px;
                padding: 4px 8px;
                box-shadow: 0 2px 4px rgba(0, 128, 128, 0.2);
            }

            .parent-section {
                width: 100%;



                p.NEW_TAG,
                p.BETA_TAG {
                    position: absolute;
                    right: 60px;
                    top: 8px;
                    color: white;
                    padding: 2px 8px;
                    border-radius: 6px;
                    font-size: 11px;
                    font-weight: 500;
                    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                }

                p.NEW_TAG {
                    background: #3182ce;
                }

                p.BETA_TAG {
                    background: #ed8936;
                }

                .toogle-section {
                    display: flex;
                    align-items: center;
                    justify-content: normal;
                }
            }
        }

        svg.wcs_tooltip_icon {
            width: 16px;
            height: 16px;
            color: #718096;
            transition: color 0.2s ease;

            &:hover {
                color: #4a5568;
            }
        }
    }

    .acb_right,
    .acb_video {
        flex: 1;
        padding: 20px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

        .formInput {
            width: 100%;
            max-width: 500px;
            margin-top: 15px;

            label {
                margin-bottom: 2px;
            }

            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);
                }
            }


            .global-settings {
                display: flex;
                flex-direction: row-reverse;
                justify-content: center;
                align-items: center;
                gap: 5px;
            }

            .wpnts-setting {
                position: relative;
                margin-top: 5px;

                select,
                input {
                    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);
                    }
                }

            }
        }

        .save-webhook {
            padding: 12px 24px;
            border: none;
            background-color: #008080;
            color: white;
            font-weight: 600;
            cursor: pointer;
            border-radius: 8px;
            margin-top: 16px;
            transition: all 0.2s ease;

            &:hover {
                background-color: #006666;
                transform: translateY(-1px);
            }
        }
    }
}

// Responsive styles
@media screen and (max-width: 1024px) {
    .acb_api {
        flex-direction: column;
        padding: 16px;
        gap: 16px;

        .acb_left,
        .acb_right,
        .acb_video {
            width: 100%;
            padding: 16px;
        }

        .acb_right,
        .acb_video {
            .formInput {
                width: 100%;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .acb_api {
        [class*="wpnts-switch-"] {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;

            .parent-section {
                .toogle-section {
                    width: 100%;
                    justify-content: space-between;
                }
            }

            p.PRO_TAG,
            p.NEW_TAG,
            p.BETA_TAG {
                position: static;
                display: inline-block;
                margin-top: 8px;
            }
        }
    }
}

@media screen and (max-width: 480px) {
    .acb_api {
        padding: 12px;

        .acb_left,
        .acb_right,
        .acb_video {
            padding: 12px;
        }

        .save-webhook {
            width: 100%;
        }
    }
}