/* Filter Container */
.integrazo-wczo-setup-filter-content {
    display: none;
    background-color: #f9f9f9;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 70%;
    margin-left: 170px;
}

.integrazo-wczo-setup-filter-clear-all {
    font-size: 0.9rem;
    color: #007bff;
    text-align: right;
    cursor: pointer;
    margin-bottom: 15px;
}

.integrazo-wczo-setup-filter-clear-all:hover {
    text-decoration: underline;
}

/* Filter Group and Row */
.integrazo-wczo-setup-filter-block {
    margin-bottom: 10px;
}

.integrazo-wczo-setup-filter-group {
    width: 100%;
}

.integrazo-wczo-setup-filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

/* Inputs and Dropdowns */
.integrazo-wczo-setup-filter-field,
.integrazo-wczo-setup-filter-condition,
.integrazo-wczo-setup-filter-value {
    flex: 1 1 300px;
    max-width: 100%;
    padding: 10px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.integrazo-wczo-setup-filter-value {
    flex: 2;
}

/* Action Buttons */
.integrazo-wczo-setup-filter-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.integrazo-wczo-setup-filter-add-icon,
.integrazo-wczo-setup-filter-close-icon {
    background-color: #e0e0e0;
    color: #666;
    font-size: 1rem;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.integrazo-wczo-setup-filter-add-icon:hover,
.integrazo-wczo-setup-filter-close-icon:hover {
    background-color: #ccc;
}

/* Connector (AND/OR) Dropdown Between Blocks */
.integrazo-wczo-setup-filter-connector {
    text-align: center;
    margin: 10px 0;
}

.integrazo-wczo-setup-filter-logic {
    padding: 8px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 12%;
    /* width: 100px; */
}

/* Responsive Design */
@media (max-width: 768px) {
    .integrazo-wczo-setup-filter-row {
        flex-wrap: wrap;
    }
    .integrazo-wczo-setup-filter-field,
    .integrazo-wczo-setup-filter-condition,
    .integrazo-wczo-setup-filter-value {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }
    .integrazo-wczo-setup-filter-actions {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .integrazo-wczo-setup-filter-row {
        flex-wrap: wrap;
    }
    .integrazo-wczo-setup-filter-field,
    .integrazo-wczo-setup-filter-condition,
    .integrazo-wczo-setup-filter-value {
        flex: 1 1 calc(50% - 15px);
    }
}

@media (min-width: 1200px) {
    .integrazo-wczo-setup-filter-row {
        flex-wrap: nowrap;
    }
    .integrazo-wczo-setup-filter-field,
    .integrazo-wczo-setup-filter-condition,
    .integrazo-wczo-setup-filter-value {
        flex: 1 1 calc(33% - 15px);
    }
    .integrazo-wczo-setup-filter-actions {
        justify-content: flex-end;
    }
}
