/* Meta box styling */
#buynobur_product_redirect .inside {
    padding: 15px !important;
    background-color: #f9f9f9 !important;
    border-radius: 4px;
    margin: 0 !important;
}

.buynobur-metabox-content p {
    margin-bottom: 15px;
}

.buynobur-metabox-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.buynobur-metabox-content select,
.buynobur-metabox-content input[type="url"] {
    width: 50%;
    margin-bottom: 10px;
}

.buynobur-metabox-content .description {
    color: #666;
    font-style: italic;
    font-size: 12px;
    line-height: 1.4;
}

.buynobur-metabox label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}
.buynobur-metabox select,
.buynobur-metabox input[type="url"] {
    width: 50%;
    margin-bottom: 10px;
}
.buynobur-metabox .description {
    color: #666;
    font-style: italic;
    font-size: 12px;
}
.buynobur-targeting-section h4 {
    margin: 10px 0 5px 0;
    color: #23282d;
}
.buynobur-targeting-section label {
    font-weight: normal;
}

/* Select2 styling */
.buynobur-taxonomy-group h4 {
    margin: 0 0 8px 0;
    color: #23282d;
    font-size: 14px;
}

/* Make Select2 tags display inline */
.buynobur-metabox .select2-container--default .select2-selection--multiple .select2-selection__choice,
.woocommerce_page_buynobur-settings .select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-block !important;
    float: left !important;
    margin: 2px 4px 2px 0 !important;
}

/* Override Select2 tag styling with WordPress blue */
.buynobur-metabox .select2-container--default .select2-selection--multiple .select2-selection__choice,
.woocommerce_page_buynobur-settings .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #2271b1 !important;
    color: white !important;
    margin: 6px !important;
    padding: 6px 12px !important;
    padding-left: 20px !important;
}

 .woocommerce_page_buynobur-settings .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	border-right: none!important;
	color: #fff;
}

/* Ensure proper spacing for Select2 container */
.select2-container {
    margin-bottom: 10px !important;
}

.select2-container .select2-selection--multiple {
    min-height: 47px!important;
}

/* Global settings field widths */
.form-table select[name="buynobur_global_redirect_type"],
.form-table input[name="buynobur_global_custom_url"] {
    width: 50% !important;
}
