.container-webhook {
    .webhook-new-section {
        padding: 16px;
        position: relative;
        z-index: auto;

        .webhook-new-section-title {
            display: block;
            padding: 0 0 16px 0;
            font-size: 16px;
            font-weight: 400;
            color: var(--color-black);
        }

        form {
            display: flex;
            flex-direction: column;
            gap: 16px;

            .webhook-name {
                display: flex;
                flex-direction: column;
                gap: 8px;

                label {
                    font-size: 12.8px;
                    font-weight: 400;
                }
            }

            .webhook-textarea {
                display: flex;
                flex-direction: column;
                gap: 8px;

                .template-webhook-title {
                    display: flex;
                    gap: 5px;
                    align-items: center;

                    label {
                        font-size: 12.8px;
                        font-weight: 400;
                    }
                }


                textarea {
                    width: 255px;
                    height: 239px;
                    border-radius: 4px;
                    border: 1px solid var(--color-silver-gray);
                    padding: 8px 6px;
                    resize: none;
                }
            }

            .webhook-cell-destiny {
                display: flex;
                flex-direction: column;
                gap: 8px;

                .webhook-cell-destiny-title {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    label {
                        font-size: 12.8px;
                        font-weight: 400;
                    }

                    button {
                        cursor: pointer;
                        background-color: transparent;
                        border: none;
                    }
                }

                .webhook-cell-destiny-content {
                    display: flex;
                    align-items: flex-end;
                    gap: 12px;
                    position: relative;

                    .container-cell-select {
                        display: flex;
                        flex-direction: column;
                        flex-grow: 1;
                        gap: 8px;
                        position: relative;
                        display: inline-block;

                        .select-field-cell {
                            cursor: pointer;
                            opacity: 0;
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                        }

                        .select-field-cell-custom {
                            border: 1px solid var(--color-silver-gray);
                            padding: 8px 12px;
                            border-radius: 4px;
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            cursor: pointer;
                            height: 36px;

                            .select-text-cell {
                                flex-grow: 1;
                                font-size: 12.8px;
                                font-weight: 400;
                            }

                            .select-icon {
                                width: 16px;
                                height: 19px;
                                margin-left: 8px;
                            }
                        }
                    }

                    .input-cell {
                        input {
                            width: 60px;
                            height: 36px;
                            border: 1px solid var(--color-silver-gray);
                            border-radius: 4px;
                            padding: 8px 6px;
                            font-size: 12.8px;
                            font-weight: 400;
                        }
                    }
                }
            }

            .webhook-notify-error {
                display: flex;
                align-items: center;
                gap: 5px;

                label {
                    font-size: 12.8px;
                    font-weight: 400;
                }
            }

            .webhook-buttons {
                display: flex;
                gap: 8px;

                .button {
                    width: 99px;
                }

                .button-generate-webhook {
                    background-color: var(--color-silver-gray);
                    width: 165px;
                    height: 36px;
                    border: none;
                    border-radius: 4px;
                    padding: 10px 20px;
                }
            }
        }
    }

    .screen-webhook {
        position: relative;
        z-index: auto;
        will-change: transform;
        transform: translateZ(0);

        .webhook-header {
            display: flex;
            flex-direction: column;
            gap: 16px;
            padding: 16px;

            .webhook-title {
                font-size: 16px;
                font-weight: 400;
                color: var(--color-black);
            }

            .webhook-message {
                font-size: 12.8px;
                font-weight: 400;
                color: var(--color-gray);
            }

            .webhook-button {
                display: flex;
                gap: 5px;
                align-items: center;
                justify-content: center;
                background-color: var(--color-orange);
                color: var(--color-white);
                width: 266px;
                height: 36px;
                padding: 8px 12px;
                border: none;
                border-radius: 4px;
                cursor: pointer;

                .webhook-button-text {
                    font-size: 12.8px;
                    height: 11px;
                }
            }
        }

        .webhook-list {
            .webhook-item {
                display: flex;
                flex-direction: column;
                gap: 12px;
                padding: 0 0 16px 0;
                border-top: 1px solid var(--color-silver-gray);
                border-bottom: 1px solid var(--color-silver-gray);

                .webhook-item-header {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    height: 44px;
                    padding: 8px 16px;
                    background-color: var(--color-off-white);
                    position: relative;

                    .webhook-item-title-container {
                        display: flex;
                        align-items: center;
                        gap: 8px;

                        .webhook-item-title {
                            font-size: 14px;
                            font-weight: 700;
                        }
                    }

                    .webhook-item-options {
                        background: none;
                        border: none;
                        cursor: pointer;
                        padding: 0;
                    }

                    .webhook-options-menu {
                        display: none;
                        position: absolute;
                        top: 100%;
                        right: 0;
                        background: var(--color-white);
                        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                        z-index: 1000;

                        ul {
                            list-style: none;
                            margin: 0;
                            padding: 0;
                            border-radius: 4px;

                            .webhook-options-item {
                                display: flex;
                                align-items: center;
                                gap: 8px;
                                width: 100%;
                                padding: 12px 16px;
                                background: none;
                                border: none;
                                text-align: left;
                                cursor: pointer;
                                font-size: 12.8px;
                                color: var(--color-gray);

                                &:hover {
                                    background: var(--color-off-white);
                                }

                                span {
                                    height: 18px;
                                    line-height: 21.92px;
                                }

                                .webhookNotify {
                                    display: flex;
                                    align-items: center;
                                    gap: 8px;
                                    background-color: var(--color-white);
                                    width: 100%;
                                    background: none;
                                    border: none;
                                    text-align: left;
                                    cursor: pointer;
                                    font-size: 12.8px;
                                    color: var(--color-gray);

                                    &:hover {
                                        background: var(--color-off-white);
                                    }

                                    span {
                                        height: 18px;
                                        line-height: 21.92px;
                                    }
                                }
                            }

                            li:last-child {
                                border-top: 1px solid var(--color-silver-gray);
                            }
                        }
                    }
                }

                .webhook-item-status {
                    .webhook-item-status-info {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        font-size: 12.8px;
                        padding: 5px 16px;

                        .webhook-item-status-button {
                            background: none;
                            border: none;
                            cursor: pointer;
                        }
                    }

                    .webhook-item-details {
                        display: flex;
                        flex-direction: column;
                        gap: 4px;
                        padding: 0 16px;

                        .webhook-item-details-header {
                            display: flex;
                            align-items: center;
                            gap: 4px;
                            color: var(--color-orange);
                            height: 18px;

                            .webhook-item-details-title {
                                font-size: 12.8px;
                            }

                            .webhook-item-details-toggle {
                                background: none;
                                border: none;
                                cursor: pointer;
                                width: 16px;
                                height: 16px;
                            }
                        }

                        .webhook-item-details-content {
                            display: none;
                            flex-direction: column;
                            gap: 10px;
                            background-color: var(--color-off-white);
                            padding: 8px 10px;
                            font-size: 12px;

                            .webhook-item-details-destination {
                                display: flex;
                                align-items: center;
                                gap: 4px;

                                .webhook-item-details-destination-icon {
                                    width: 14px;
                                    height: 14px;
                                    cursor: pointer;
                                }
                            }

                            .webhook-item-details-endpoint {
                                display: flex;
                                gap: 4px;
                                line-height: 15.4px;

                                .webhook-item-details-endpoint-label {
                                    font-weight: 700;
                                }

                                .webhook-item-details-endpoint-button {
                                    background: none;
                                    display: flex;
                                    align-items: center;
                                    gap: 4px;
                                    border: none;
                                    cursor: pointer;
                                    color: var(--color-orange);

                                    .webhook-item-details-endpoint-icon {
                                        width: 14px;
                                        height: 14px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}