
/* Sidebar Dropdown Menu */
aside.position-fixed.left-0.bottom-0.z-index-4 {
    z-index: 10000;
}

.three-dots-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 2px 6px;
    color: #888;
    opacity: 0;
    transition: opacity 0.2s, color 0.2s;
    border-radius: 4px;
    margin-left: 5px;
}

.three-dots-btn:hover {
    background-color: #eee;
    color: #333;
}

.collection-item:hover .three-dots-btn,
.sidebar-request-row:hover .three-dots-btn {
    opacity: 1;
}

.sidebar-dropdown {
    position: absolute;
    right: 10px;
    top: 25px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 10001;
    display: none;
    min-width: 140px;
    padding: 4px 0;
    max-height: calc(100vh - 16px);
    overflow: auto;
}

.sidebar-dropdown.show {
    display: block;
}

.sidebar-dropdown-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.1s;
}

.sidebar-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #000;
}

.sidebar-dropdown-item.delete {
    color: #d32f2f;
}

.sidebar-dropdown-item.delete:hover {
    background-color: #ffebee;
}

/* Ensure sidebar items are relative for positioning */
.collection-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.sidebar-request-row {
    position: relative;
}

.sidebar-request-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sidebar-request-info {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
