/* Category Dropdown Styles */
.category-vertical-list {
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 250px;
}

.category-item {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
    position: relative;
}

.category-link:hover {
    background-color: #f8f9fa;
    color: #3BB77E;
}

.category-link img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 4px;
}

.category-link i {
    margin-left: auto;
    font-size: 12px;
    color: #999;
}

.subcategory-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 1000;
    display: none;
    padding: 8px 0;
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory-list li {
    border-bottom: 1px solid #f5f5f5;
}

.subcategory-list li:last-child {
    border-bottom: none;
}

.subcategory-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
    transition: background-color 0.3s ease;
}

.subcategory-link:hover {
    background-color: #f0f8f0;
    color: #3BB77E;
}

.subcategory-link img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 3px;
}

.no-subcategories, .error-message {
    padding: 10px 15px;
    color: #999;
    font-size: 14px;
    text-align: center;
}

.error-message {
    color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .subcategory-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e0e0e0;
        border-radius: 0;
        margin-top: 5px;
    }
}
