.extraction-config{
    .extraction-config-title{
        height: 44px;
        padding: 12px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--color-black);
        background-color: var(--color-soft-gray);
        border-top: 0.5px solid var(--color-silver-gray);
        border-bottom: 0.5px solid var(--color-silver-gray);
        cursor: pointer;

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

    .authorization-field-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        padding: 16px 12px 0 12px;

        .input-container-accounts {
            display: flex;
            position: relative;
            flex-direction: column;
            gap: 8px;
            width: 265px;

            .accounts-label {
                color: var(--color-black);
                line-height: 17.92px;
            }

            .tag-input-container {
                width: 274px;
                border: 1px solid var(--color-silver-gray);
                padding: 5px 6px;
                border-radius: 4px;
                display: flex;
                flex-direction: column;
                gap: 5px;
                position: relative;

                .tags {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 5px;

                    .tag {
                        background-color: var(--color-off-white);
                        padding: 4px 6px;
                        border: .5px solid var(--color-medium-gray);
                        border-radius: 2px;
                        display: flex;
                        align-items: center;
                        gap: 8px;

                        span {
                            font-size: 10px;
                        }

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

                .tag-input {
                    display: none;
                }
            }


            .input-field {
                height: 36px;
                padding: 8px 6px 8px 10px;
                border: 1px solid var(--color-silver-gray);
                border-radius: 4px;
                font-size: 12px;
                color: var(--color-medium-gray);
                display: flex;
                align-items: center;
            }

            .select-accounts {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                position: absolute;
                padding: 4px 8px;
                background: var(--color-off-white);
                border: 0.5px solid var(--color-medium-gray);
                z-index: 9;
                overflow: hidden;
                border-radius: 2px;
                top: 31px;
                left: 4px;

                .input-metrics {
                    flex-shrink: 0;
                    position: absolute;
                    width: 71px;
                    height: 22px;
                    top: -0.5px;
                    left: -0.5px;
                    background: transparent;
                    border: none;
                    z-index: 13;
                    outline: none;
                }

                .text-accounts {
                    flex-shrink: 0;
                    flex-basis: auto;
                    position: relative;
                    height: 14px;
                    color: var(--color-black);
                    font-size: 10px;
                    font-weight: 400;
                    line-height: 14px;
                    text-align: left;
                    white-space: nowrap;
                    z-index: 15;
                }

                .button-accounts {
                    width: 16px;
                    height: 16px;
                    border: none;
                    background-color: transparent;
                    cursor: pointer;
                }
            }

            .input-accounts-buttons {
                display: flex;
                align-items: center;
                justify-content: space-between;

                .update-list,
                .select-all,
                .clear {
                    height: 15px;
                    cursor: pointer;
                    color: var(--color-orange);
                    background-color: transparent;
                    border: none;
                    font-size: 11px;
                    font-weight: 400;
                    line-height: 15px;
                }
            }
        }
    }

    .fields-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        padding: 16px 12px 0 12px;
        margin: 0;

        .input-container-fields {
            display: flex;
            position: relative;
            flex-direction: column;
            gap: 8px;
            width: 265px;

            .fields-label {
                color: var(--color-black);
                font-weight: 400;
                display: flex;
                align-items: center;
                gap: 0.2rem;

                .warning-icon{
                    margin-top: 2px;
                }
            }

            .tag-input-container {
                width: 274px;
                border: 1px solid var(--color-silver-gray);
                padding: 5px 6px;
                border-radius: 4px;
                display: flex;
                flex-direction: column;
                gap: 5px;
                position: relative;

                .tags {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 5px;

                    .tag {
                        background-color: var(--color-off-white);
                        padding: 4px 6px;
                        border: .5px solid var(--color-medium-gray);
                        border-radius: 2px;
                        display: flex;
                        align-items: center;
                        gap: 8px;

                        span {
                            font-size: 10px;
                        }

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

                .tag-input {
                    display: none;
                }
            }

            .input-field-select {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                position: relative;
                width: 274px;
                height: 58px;
                padding: 5px 6px 5px 4px;
                border: 1px solid var(--color-silver-gray);
                border-radius: 4px;
                overflow-x: auto;
                white-space: nowrap;
            }

            .span {
                flex-shrink: 0;
                flex-basis: auto;
                position: relative;
                height: 14px;
                color: var(--color-black);
                font-size: 10px;
                font-weight: 400;
                line-height: 14px;
                text-align: left;
                white-space: nowrap;
                z-index: 6;
            }

            .select-accounts-active {
                display: flex;
                align-items: center;
                padding: 4px 8px;
                background: var(--color-off-white);
                border: 0.5px solid var(--color-medium-gray);
                z-index: 9;
                overflow: hidden;
                border-radius: 2px;
                position: absolute;
                top: 26px;
                left: 4px;

                .input-metrics {
                    flex-shrink: 0;
                    position: absolute;
                    width: 71px;
                    height: 22px;
                    top: -0.5px;
                    left: -0.5px;
                    background: transparent;
                    border: none;
                    z-index: 13;
                    outline: none;
                }

                .text-accounts {
                    flex-shrink: 0;
                    flex-basis: auto;
                    position: relative;
                    height: 14px;
                    color: var(--color-black);
                    font-size: 10px;
                    font-weight: 400;
                    line-height: 14px;
                    text-align: left;
                    white-space: nowrap;
                    z-index: 15;
                }

                .button-accounts {
                    width: 16px;
                    height: 16px;
                    border: none;
                    background-color: transparent;
                    cursor: pointer;
                }
            }

            .select-accounts-clicks {
                display: flex;
                align-items: center;
                padding: 4px 8px;
                background: var(--color-off-white);
                border: 0.5px solid var(--color-medium-gray);
                z-index: 9;
                overflow: hidden;
                border-radius: 2px;
                position: absolute;
                top: 26px;
                left: 124px;

                .input-metrics {
                    flex-shrink: 0;
                    position: absolute;
                    width: 71px;
                    height: 22px;
                    top: -0.5px;
                    left: -0.5px;
                    background: transparent;
                    border: none;
                    z-index: 13;
                    outline: none;
                }

                .text-accounts {
                    flex-shrink: 0;
                    flex-basis: auto;
                    position: relative;
                    height: 14px;
                    color: var(--color-black);
                    font-size: 10px;
                    font-weight: 400;
                    line-height: 14px;
                    text-align: left;
                    white-space: nowrap                    ;
                    z-index: 15;
                }

                .button-accounts {
                    width: 16px;
                    height: 16px;
                    border: none;
                    background-color: transparent;
                    cursor: pointer;
                }
            }

            .select-accounts-cost {
                display: flex;
                align-items: center;
                padding: 4px 8px;
                background: var(--color-off-white);
                border: 0.5px solid var(--color-medium-gray);
                z-index: 9;
                overflow: hidden;
                border-radius: 2px;
                position: absolute;
                top: 52px;
                left: 4px;

                .input-metrics {
                    flex-shrink: 0;
                    position: absolute;
                    width: 71px;
                    height: 22px;
                    top: -0.5px;
                    left: -0.5px;
                    background: transparent;
                    border: none;
                    z-index: 13;
                    outline: none;
                }

                .text-accounts {
                    flex-shrink: 0;
                    flex-basis: auto;
                    position: relative;
                    height: 14px;
                    color: var(--color-black);
                    font-size: 10px;
                    font-weight: 400;
                    line-height: 14px;
                    text-align: left;
                    white-space: nowrap;
                    z-index: 15;
                }

                .button-accounts {
                    width: 16px;
                    height: 16px;
                    border: none;
                    background-color: transparent;
                    cursor: pointer;
                }
            }

            .select-accounts-checkouts {
                display: flex;
                align-items: center;
                padding: 4px 8px;
                background: var(--color-off-white);
                border: 0.5px solid var(--color-medium-gray);
                z-index: 9;
                overflow: hidden;
                border-radius: 2px;
                position: absolute;
                top: 52px;
                left: 80px;

                .input-metrics {
                    flex-shrink: 0;
                    position: absolute;
                    width: 71px;
                    height: 22px;
                    top: -0.5px;
                    left: -0.5px;
                    background: transparent;
                    border: none;
                    z-index: 13;
                    outline: none;
                }

                .text-accounts {
                    flex-shrink: 0;
                    flex-basis: auto;
                    position: relative;
                    height: 14px;
                    color: var(--color-black);
                    font-size: 10px;
                    font-weight: 400;
                    line-height: 14px;
                    text-align: left;
                    white-space: nowrap;
                    z-index: 15;
                }

                .button-accounts {
                    width: 16px;
                    height: 16px;
                    border: none;
                    background-color: transparent;
                    cursor: pointer;
                }
            }

            .input-fields-buttons {
                display: flex;
                align-items: center;
                justify-content: space-between;

                .update-description {
                    height: 15px;
                    color: var(--color-orange);
                    cursor: pointer;
                    background-color: transparent;
                    border: none;
                    font-size: 11px;
                    line-height: 15px;
                }

                .clear-field {
                    height: 15px;
                    color: var(--color-orange);
                    cursor: pointer;
                    background-color: transparent;
                    border: none;
                    font-size: 11px;
                    line-height: 15px;
                }
            }
        }
    }

    .platform-extra-fields-container{
        .platform-extra-fields{
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 16px 12px 0 12px;

            label{
                color: var(--color-black);
                font-weight: 400;
                display: flex;
                align-items: center;
                gap: 0.2rem;

                .warning-icon{
                    margin-top: 1px;
                }
            }
        }
    }

    .input-container-order {
        display: flex;
        align-items: flex-end;
        gap: 12px;
        position: relative;
        padding: 16px 12px 0 12px;

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

            .order-label {
                color: var(--color-black);
                line-height: 17.92px;
                padding-bottom: 5px;
                display: flex;
            }

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

            .select-field-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;

                .select-text {
                    flex-grow: 1;
                }

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

        .action-buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            padding: 10px 10px 10px 10px;
            background: var(--color-off-white);
            border-radius: 4px;

            .button-icon {
                background: none;
                border: none;
                cursor: pointer;
                width: 24px;
                height: 24px;
                display: flex;
                align-items: center;

                img{
                    width: 20px;
                    height: 20px;
                }
            }
        }
    }

    .button-add-filter-container {
        display: flex;
        align-items: flex-end;
        gap: 12px;
        position: relative;
        padding: 16px 12px 10px 12px;

        .button-icon {
            display: flex;
            align-items: center;
            gap: 4px;
            background-color: transparent;
            border: none;
            cursor: pointer;
        }

        .add-filter {
            color: var(--color-gray);
            line-height: 17.92px;
            font-size: 12.8px;
        }
    }

    .filters{
        padding: 18PX;

        .filter-content{
            background-color: var(--color-off-white);
            padding: 10px;
            border-radius: 4px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 10px;

            .filter-fields{
                display: flex;

                .filter-select-wrapper{
                    display: flex;
                    flex-direction: column;
                    gap: 10px;

                    .filter-select-actions{
                        display: flex;
                        align-items: center;
                        gap: 8px;

                        .filter-fields {
                            width: 205px;
                        }

                        .filter-button-remove{
                            button{
                                background: none;
                                border: none;
                                cursor: pointer;
                            }
                        }
                    }
                }
            }
        }

        .filter-operation-wrapper,
        .filter-value-wrapper{
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .filter-operation-wrapper{
            .filter-operation-select{
                width: 205px;
            }
        }

        .filter-value-wrapper{
            .filter-value{
                width: 205px;
            }
        }

        .filter-checkbox-wrapper{
            display: flex;
            gap: 5px;
            align-items: center;
        }
    }
}
