/* Dropdown menu styles - Fix for category dropdown issues */
.category-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1000; /* Ensure dropdown container has high z-index */
}

.dropdown-toggle {
    position: relative;
    z-index: 1001; /* Make sure button is above the dropdown content */
}

.dropdown-toggle::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 10px;
    transition: transform 0.3s;
}

.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    max-height: 80vh; /* Use viewport height for better scaling */
    overflow-y: auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    border-radius: 8px;
    margin-top: 8px;
    padding: 8px 0;
    right: 0;
    left: auto;
    top: 100%;
    border: 1px solid #e0e0e0;
}

/* Make sure dropdown is above other elements */
.dropdown-content.show {
    display: block;
}

/* Improve dropdown items */
.dropdown-item {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #007bff;
} 