.catcConditionSearch {
    background-color: #fff;
    display: inline-flex;
}

.catc-spinner {
    float: none !important;
}

.catcDeleteCondition {
    min-width: auto;
    height: auto;
    padding: 4px 8px;
    border: 1px solid #c3c4c7;
    background: #fff;
    color: #646970;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.catcDeleteCondition:hover {
    color: #d63638;
    border-color: #d63638;
    background: #fff;
}

.catcDeleteCondition .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 1;
    vertical-align: middle;
}

.catcConditionSearch[role="tagslist"]{
    border-color: #7e8993;
    box-shadow: none;
    border-radius: 3px;
    padding: 0;
}

.catcCondition > div{
    /* Padding removed - using gap in flexbox instead */
}

.catcCondition > div:nth-child(2) select{
    min-width: 80px; /* More flexible minimum width */
    width: 100%; /* Take full container width */
}

/* .catcCondition > div:nth-child(3) input{
    width: 300px;
} */

.catcConditionSearch + .select2-container .select2-search--inline .select2-search__field{
    margin-top: 0;
}

/* Multiple Select (Country, etc.) Styling */
.catcConditionSelectMultiple + .select2-container {
    /* min-width: 300px; */
}

.catcConditionSelectMultiple + .select2-container .select2-selection--multiple {
    min-height: 32px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    padding: 2px 4px;
}

.catcConditionSelectMultiple + .select2-container .select2-selection--multiple:focus,
.catcConditionSelectMultiple + .select2-container.select2-container--focus .select2-selection--multiple {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

.catcConditionSelectMultiple + .select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #2271b1;
    border: 1px solid #2271b1;
    color: #fff;
    border-radius: 3px;
    padding: 2px 8px;
    margin: 2px 4px 2px 0;
}

.catcConditionSelectMultiple + .select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 5px;
    font-weight: bold;
}

.catcConditionSelectMultiple + .select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #f0f0f1;
}

.catcConditionSelectMultiple + .select2-container .select2-search--inline .select2-search__field {
    margin-top: 4px;
    min-width: 150px;
}

/* OR Divider Styling */
.catc-or-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    text-align: center;
}

.catc-or-divider::before,
.catc-or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dcdcde;
}

.catc-or-divider span {
    padding: 0 15px;
    color: #646970;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}


/* Apply To Wrapper */
.catc-apply-to-wrapper .catcApplyToSearch {
    background-color: #fff;
    display: inline-flex;
}

/* Not Purchasable Notice */
.catc-not-purchasable-notice {
    margin: 1em 0;
    padding: 1em;
    background-color: #f0f6fc;
    border-left: 4px solid #2271b1;
    color: #1d2327;
}

.catc-not-purchasable-notice::before {
    content: "\f348";
    font-family: dashicons;
    font-size: 20px;
    margin-right: 8px;
    vertical-align: middle;
    color: #2271b1;
}
/* Select2 placeholder fix — prevent cropping */
.catcConditionSearch + .select2-container {
    min-width: 250px;
}

.catcConditionSearch + .select2-container .select2-selection--multiple .select2-search__field,
.catcApplyToSearch + .select2-container .select2-selection--multiple .select2-search__field {
    width: 100% !important;
}

.select2-container .select2-selection--multiple .select2-search--inline {
    width: 100%;
}
