.cbbox {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.cbbox input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.cbbox label {
    cursor: pointer;
    margin-bottom: 0;
    font-weight: normal;
}

.chosen-container-multi .chosen-choices {
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 38px;
}

.chosen-container-multi .chosen-choices li.search-choice {
    background: #007bff;
    color: white;
    border: 1px solid #0056b3;
    border-radius: 3px;
    margin: 3px 5px 3px 0;
    padding: 3px 20px 3px 5px;
}

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    color: white;
    font-weight: bold;
}

/* Horizontal Vendor Card Styles */
.vendor-horizontal-card {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.vendor-horizontal-card:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
    border-color: #007bff;
}

.vendor-horizontal-card:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.02);
    pointer-events: none;
}

.vendor-card-content {
    display: flex;
    align-items: stretch;
    min-height: 120px;
}

.vendor-image-wrapper {
    flex: 0 0 150px;
    position: relative;
    /* padding: 15px; */
}

.vendor-profile-img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.vendor-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.vendor-details-wrapper {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vendor-main-info {
    flex: 1;
}

.vendor-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendor-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.vendor-meta-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.experience-tag,
.location-tag {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    border: 1px solid #e0e0e0;
}

.experience-tag {
    background: #e3f2fd;
    color: #1976d2;
}

.vendor-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vendor-specialization,
.vendor-category-tag {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #363636;
    border: 1px solid #e0e0e0;
}

.vendor-description {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.vendor-highlights {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}

.vendor-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars .fa-star {
    color: #ddd;
    font-size: 14px;
}

.rating-stars .fa-star.filled {
    color: #ffc107;
}

.rating-value {
    font-size: 13px;
    color: #666;
}

.projects-completed {
    font-size: 13px;
    color: #28a745;
    font-weight: 500;
}

.vendor-actions {
    display: flex;
}

.contact-btns {
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-profile-btn {
    background: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.view-profile-btn:hover {
    background: #007bff;
    color: white;
}

.crown-icon svg {
    width: 25px;
    height: 25px;
    /* fill: gold; */
    /* SVG will be gold-colored */
    vertical-align: middle;
}

.vendor-mobile-top,
.vendor-mobile-bottom {
    display: none;
}

.vendor-desktop-layout {
    display: block;
}

.mobile-actions {
    display: none;
}

.desktop-actions {
    display: flex;
}

.vendor-bottom-content {
    width: 100%;
}

.section-label {
    font-weight: 600;
    font-size: 12px;
    color: #333;
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vendor-card-content {
        overflow: hidden;
        display: block;
    }

    .vendor-image-wrapper {
        float: left;
        flex: 0 0 40%;
        order: 1;
        padding: 15px 10px 15px 15px;
    }

    .vendor-profile-img {
        width: 100%;
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
    }

    .vendor-details-wrapper {
        display: flow;
        flex: 0 0 60%;
        order: 2;
        padding: 15px 15px 0 10px;
        justify-content: flex-start;
    }

    .vendor-bottom-content {
        flex: 0 0 100%;
        order: 3;
        padding: 15px 0px;
        border-top: 1px solid #f0f0f0;
        margin-top: 0;
    }

    .vendor-header-section {
        text-align: left;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 5px;
    }

    .vendor-name {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .vendor-meta-info {
        justify-content: flex-start;
        margin-bottom: 8px;
        gap: 8px;
    }

    .desktop-actions {
        display: none;
    }

    .mobile-actions {
        display: flex;
        justify-content: flex-start;
        gap: 5px;
        margin-top: 8px;
    }

    .mobile-actions .contact-btns {
        padding: 4px 8px;
        font-size: 11px;
        margin-right: 0;
    }

    .vendor-bottom-content .vendor-specializations,
    .vendor-bottom-content .vendor-categories {
        margin-bottom: 8px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }

    .vendor-bottom-content .vendor-specialization,
    .vendor-bottom-content .vendor-category-tag {
        font-size: 11px;
        padding: 3px 6px;
    }

    .vendor-description {
        display: none;
    }

    .vendor-highlights {
        margin-top: 0;
        gap: 10px;
    }
}

.vendor-actions .material-icons {
    font-size: 18px;
    vertical-align: middle;
}

.vendor-meta-info .material-icons {
    font-size: 18px;
    vertical-align: middle;
}

.vendor-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 12px;
    vertical-align: middle;
    line-height: 1.4;
    text-transform: uppercase;
    color: white;
}

.vendor-badge.premium {
    background-color: #090b52;
    /* violet / premium feel */
}

.vendor-badge.gold {
    background-color: #f1c40f;
    /* classic gold */
    color: #333;
    /* darker text for better contrast on yellow */
}
