/* ===================================
   PRODUCT LISTS STYLES
   =================================== */

/* Container for both include and exclude lists */
.vro-product-list-container {
    margin-bottom: 0; /* Reset default margin */
}

/* Apply margin only to include list */
.vro-product-list-container:has(.vro-product-include) {
    margin-bottom: 20px;
}

.vro-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9fafb;
    border-left: 2px solid #1aa3ff;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 10px;
}

.vro-product-exclude {
    border-left-color: #f6404f;
}

.vro-product-list li {
    position: relative;
    padding: 8px 18px 8px 30px;
    margin: 0px 0px 0px 18px;
}

/* List header styles */
.vro-product-list .vro-list-header {
    background-color: #f9fafb;
    padding: 15px 0px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.vro-product-title {
    margin: 0;
    padding: 0;
}

/* Icon styles */
.vro-list-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    background-color: #1aa3ff;
}

/* Include list specific styles */
.vro-product-include .vro-list-icon {
    background-color: #1aa3ff;
}

/* Exclude list specific styles */
.vro-product-exclude .vro-list-icon {
    background-color: #f6404f;
}

/* Font Awesome icon for check and times */
.vro-list-icon::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    line-height: 1;
}

.vro-product-include .vro-list-icon::before {
    content: "\f00c"; /* check-circle */
}

.vro-product-exclude .vro-list-icon::before {
    content: "\f00d"; /* times-circle */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vro-product-list li {
        padding: 8px 15px 8px 25px;
        margin: 0px 0px 0px 15px;
    }

    .vro-list-icon {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
    
}
