/**
 * Admin Styles for Composable Products
 *
 * @package WC_Composable_Product
 */

/* Hide composable panel by default */
#composable_product_data {
    display: none;
    padding: 12px;
}

/* Show composable panel when composable type is selected */
body.product-type-composable #composable_product_data {
    display: block;
}

.composable_criteria_group {
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 12px;
}

#_composable_categories,
#_composable_tags {
    min-height: 150px;
}

/* Hide composable-specific elements by default (but not tabs) */
.options_group.show_if_composable {
    display: none;
}

/* Show composable elements when composable product type is selected */
body.product-type-composable .options_group.show_if_composable {
    display: block;
}

/* Hide the Composable Options tab link by default */
.product_data_tabs li.composable_options {
    display: none;
}

/* Show the Composable Options tab when composable type selected */
body.product-type-composable .product_data_tabs li.composable_options {
    display: block;
}

.composable_options.composable_tab a::before {
    content: '\f323';
    font-family: 'Dashicons';
}

/* Enhanced select styling */
.wc-composable-product-admin .select2-container {
    min-width: 50%;
}

/* Help tips */
.woocommerce-help-tip {
    color: #666;
}
